ProfesseurCraft

Exemple cooldown skript

Jun 3rd, 2015
532
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. on right click:
  2. if name of player's tool is "&4FireBall":
  3. if {fireBallTimer} isn't set:
  4. set {fireBallTimer} to now
  5. execute player command "/firespell"
  6. else:
  7. set {_waited} to difference between now and {fireBallTimer}
  8. if {_waited} is more than 1 seconds:
  9. execute player command "/firespell"
  10. set {fireBallTimer} to now
  11. else:
  12. message "&dVous devez attendre 3 secondes avant de relancer une boule de feu"
Advertisement
Add Comment
Please, Sign In to add comment