Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /setdiamondloc:
- trigger:
- set {gratisdiamond} to location of targeted block
- send "%{gratisdiamond}%"
- on rightclick:
- if location of clicked block is {gratisdiamond}:
- if {gratisdiamondtimer::%uuid of player%} is greater than now:
- send "&7Du skal vente &c%difference between {gratisdiamondtimer::%uuid of player%} and now%" to player
- else:
- set {gratisdiamondtimer::%uuid of player%} to now
- add 24 hours to {gratisdiamondtimer::%uuid of player%}
- give player 1 diamond
- send "&7Du modtog 1 &bDiamond"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement