Its simple press the green flag.
Thanks to My friend @Ibbyregz255 for helping me make this nice piece of scratch programming.