help me
1 Like
- get the timers extension on the project (go to extensions and scroll until you find it)
- make a variable called “AttackCoolDown” (or whatever name you want)
- make the variable be true when the attack button is pressed and add a timer block and inside of it, make the variable false, also put all that inside a “if” block (it’s in the logic part) that has “if AttackCoolDown = false”.
here: https://arcade.makecode.com/S50772-87064-14869-24769
there should be more ways to do it but idk about any of them.
thanks
1 Like