Advertisement
Guest User

Gratis Diamond

a guest
Nov 17th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. command /setdiamondloc:
  2. trigger:
  3. set {gratisdiamond} to location of targeted block
  4. send "%{gratisdiamond}%"
  5.  
  6. on rightclick:
  7. if location of clicked block is {gratisdiamond}:
  8. if {gratisdiamondtimer::%uuid of player%} is greater than now:
  9. send "&7Du skal vente &c%difference between {gratisdiamondtimer::%uuid of player%} and now%" to player
  10. else:
  11. set {gratisdiamondtimer::%uuid of player%} to now
  12. add 24 hours to {gratisdiamondtimer::%uuid of player%}
  13. give player 1 diamond
  14. send "&7Du modtog 1 &bDiamond"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement