DJ_CITROX

Untitled

Aug 28th, 2014
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. on rightclick with slimeball:
  2. if name of player's tool is "&6Amulet Boskiej Ochrony":
  3. if player has permission "amulet.slimeball":
  4. set {czas} to difference between {opoznienie.%player%} and now
  5. if {czas} is less than {@ball} seconds:
  6. send "{@tag2}&c Musisz Zaczekac Jeszcze %difference between {@ball} seconds and {czas}%"
  7. else:
  8. send "{@tag2}{@msg}"
  9. execute command "/playsound mob.ghast.fireball %name of player%"
  10. apply Fire Resistance 3 to the player for 960 seconds
  11. wait 0.1 seconds
  12. set {opoznienie.%player%} to now
  13. stop
  14.  
  15. on rightclick with magma cream:
  16. if name of player's tool is "&6Amulet Magicznego Uzdrowienia":
  17. if player has permission "amulet.cream":
  18. set {czas} to difference between {opoznienie.%player%} and now
  19. if {czas} is less than {@ball} seconds:
  20. send "{@tag2}&c Musisz Zaczekac Jeszcze %difference between {@ball} seconds and {czas}%"
  21. else:
  22. send "{@tag2}{@msg}"
  23. execute command "/playsound mob.ghast.fireball %name of player%"
  24. apply regeneration 2 to the player for 30 seconds
  25. set {opoznienie.%player%} to now
  26. stop
Advertisement
Add Comment
Please, Sign In to add comment