Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- every second:
- loop all players:
- display board named "&6&lClick&e&lZ" to player
- make score of " " in board of player to 10
- make score of "&6Clicks: " in board of player to 9
- make score of " &e%{clicks.%loop-player%}%" in board of player to 8
- move display of player to sidebar
- command /clicker [<text>]:
- trigger:
- if arg-1 is not set:
- send "&6/clicker (Clicker)"
- if arg-1 is set:
- if arg-1 is "+1":
- send "&6You have gotten the &e+1 &6clicker!"
- give coal named "&e+1" with lore "&7&o(Right-Click)" to the player
- on right click:
- if player is holding coal named "&e+1" with lore "&7&o(Right-Click)":
- add 1 to {clicks.%player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement