Advertisement
70sOn7

ClickZ Clickers

Nov 30th, 2017
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. every second:
  2. loop all players:
  3. display board named "&6&lClick&e&lZ" to player
  4. make score of " " in board of player to 10
  5. make score of "&6Clicks: " in board of player to 9
  6. make score of " &e%{clicks.%loop-player%}%" in board of player to 8
  7. move display of player to sidebar
  8.  
  9. command /clicker [<text>]:
  10. trigger:
  11. if arg-1 is not set:
  12. send "&6/clicker (Clicker)"
  13. if arg-1 is set:
  14. if arg-1 is "+1":
  15. send "&6You have gotten the &e+1 &6clicker!"
  16. give coal named "&e+1" with lore "&7&o(Right-Click)" to the player
  17.  
  18. on right click:
  19. if player is holding coal named "&e+1" with lore "&7&o(Right-Click)":
  20. add 1 to {clicks.%player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement