It works by pressing the green flag once but you can spam it if u want :P I hope you like it :)
Go to https://scratch.mit.edu/projects/398958757 for the completed MAP :D Thanks to @hapykid for hosting the MAP. What type of Project should I make next??? Vote at https://strawpoll.com/1csdk4zr