Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick with blaze powder:
- if name of player's tool is "&a&l<<Hide All Players>>":
- if {cd::%player%} is not set:
- wait 1 tick
- hide players from player
- send "&6All players hide."
- set the name of the player's tool to "&6&l<<Show All Players>>"
- set {cd::%player%} to true
- wait 3 seconds
- delete {cd::%player%}
- stop
- else:
- send "&aWait a bit."
- if name of player's tool is "&6&l<<Show All Players>>":
- if {cd::%player%} is not set:
- wait 1 tick
- reveal players to player
- send "&6You can see all players."
- set the name of the player's tool to "&a&l<<Hide All Players>>"
- set {cd::%player%} to true
- wait 3 seconds
- delete {cd::%player%}
- stop
- else:
- send "&aWait a bit."
- command /showitem:
- trigger:
- if player do not have clock named "&6&l<<Show All Players>>":
- give blaze powder named "&6&l<<Show All Players>>" to player
- command /hideitem:
- trigger:
- if player do not have clock named "&a&l<<Hide All Players>>":
- give blaze powder named "&a&l<<Hide All Players>>" to player
- on join:
- if {cd::%player%} is set:
- delete {cd::%player%}
- on chat:
- set {_waited} to difference between {spam.%player%.lastused} and now
- if {_waited} is less than 1 seconds:
- message "&cPlease do not spam!"
- cancel event
- stop
- set {spam.%player%.lastused} to now
Add Comment
Please, Sign In to add comment