Advertisement
nunonuno_riku

Untitled

Nov 29th, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on rightclick holding a sign:
  2. name of held item contains "&6&lpush"
  3. if {%player%.push.CoolDown} is false:
  4. push the player forwards at speed 2.5
  5. set {%player%.push.cooldown} to true
  6. set {%player%.push.cooldown.time} to 5
  7. wait 1 seconds
  8. set {%player%.push.cooldown.time} to 4
  9. wait 1 seconds
  10. set {%player%.push.cooldown.time} to 3
  11. wait 1 seconds
  12. set {%player%.push.cooldown.time} to 2
  13. wait 1 seconds
  14. set {%player%.push.cooldown.time} to 1
  15. wait 1 seconds
  16. set {%player%.push.cooldown} to false
  17. send "&6&lPush&cが使用可能になりました。"
  18. set {%player%.push.cooldown.time} to 5
  19. stop
  20. if {%player%.cooldown} is true:
  21. send "&c[CoolDown]&c&l%{%player%.push.cooldown.time}%&c秒で使用可能になります。"
  22.  
  23.  
  24. on first join:
  25. set {%player%.push.cooldown} to false
  26. stop
  27.  
  28. on join:
  29. set {%player%.push.cooldown} to false
  30. stop
  31.  
  32. command /abcooldown <player>:
  33. permission: skript.admin
  34. trigger:
  35. set {%arg 1%.push.cooldown} to false
  36. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement