Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick with slimeball:
- if name of player's tool is "&6Amulet Boskiej Ochrony":
- if player has permission "amulet.slimeball":
- set {czas} to difference between {opoznienie.%player%} and now
- if {czas} is less than {@ball} seconds:
- send "{@tag2}&c Musisz Zaczekac Jeszcze %difference between {@ball} seconds and {czas}%"
- else:
- send "{@tag2}{@msg}"
- execute command "/playsound mob.ghast.fireball %name of player%"
- apply Fire Resistance 3 to the player for 960 seconds
- wait 0.1 seconds
- set {opoznienie.%player%} to now
- stop
- on rightclick with magma cream:
- if name of player's tool is "&6Amulet Magicznego Uzdrowienia":
- if player has permission "amulet.cream":
- set {czas} to difference between {opoznienie.%player%} and now
- if {czas} is less than {@ball} seconds:
- send "{@tag2}&c Musisz Zaczekac Jeszcze %difference between {@ball} seconds and {czas}%"
- else:
- send "{@tag2}{@msg}"
- execute command "/playsound mob.ghast.fireball %name of player%"
- apply regeneration 2 to the player for 30 seconds
- set {opoznienie.%player%} to now
- stop
Advertisement
Add Comment
Please, Sign In to add comment