SHARE
TWEET

Untitled

CREAMPAN0408 Apr 20th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on rightclick with compass:
  2.     if name of player's tool is "&a&lHide All Players":
  3.         if {cd::%player%} is not set:
  4.             wait 1 tick
  5.             hide players from player
  6.             send "&6All players hide."
  7.             play sound "ENTITY_GUARDIAN_FLOP" for player
  8.             set the name of the player's tool to "&6&lShow All Players"
  9.             set {cd::%player%} to true
  10.             wait 3 seconds
  11.             delete {cd::%player%}
  12.             stop
  13.         else:
  14.             send "&aWait a bit."
  15.     if name of player's tool is "&6&lShow All Players":
  16.         if {cd::%player%} is not set:
  17.             wait 1 tick
  18.             reveal players to player
  19.             send "&6You can see all players."
  20.             play sound "ENTITY_GUARDIAN_HURT" for player
  21.             set the name of the player's tool to "&a&lHide All Players"
  22.             set {cd::%player%} to true
  23.             wait 3 seconds
  24.             delete {cd::%player%}
  25.             stop
  26.         else:
  27.             send "&aWait a bit."
  28.  
  29. command /showitem:
  30.     trigger:
  31.         if player do not have clock named "&6&lShow All Players":
  32.             give blaze powder named "&6&lShow All Players" to player
  33.  
  34. command /hideitem:
  35.     trigger:
  36.         if player do not have clock named "&a&lHide All Players":
  37.             give blaze powder named "&a&lHide All Players" to player
  38.            
  39. on join:
  40.     if {cd::%player%} is set:
  41.         delete {cd::%player%}
  42.  
  43. on chat:
  44.    set {_waited} to difference between {spam.%player%.lastused} and now
  45.    if {_waited} is less than 1 seconds:
  46.       message "&cPlease do not spam!"
  47.       cancel event
  48.       stop
  49.    set {spam.%player%.lastused} to now
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top