Advertisement
Guest User

help pls

a guest
Jul 17th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. command /dailyrewardgui [<text>]:
  2. trigger:
  3. open virtual chest with size 5 named "Daily Rewards" to player
  4. format gui slot 10 of player with tnt named "&7Daily Reward" with lore "||&bWhen clicking you will||&bbe claiming the follwing:||||&6+100 Royal Coins||&3+20 EXP" to run:
  5. execute player command "/freereward230912309109310939103"
  6. format gui slot 12 of player with emerald named "&aDonator Daily Reward" with lore "||&bWhen clicking you will||&bbe claiming the follwing:||||&6+150 Royal Coins||&3+25 EXP" to run:
  7. execute player command "/freereward230912309109310"
  8.  
  9.  
  10. on weather change to rain or thunder:
  11. cancel event
  12.  
  13. command /freereward230912309109310939103 [<text>]:
  14. trigger:
  15. if arg 1 is not set:
  16. wait 1 tick
  17. set {waited} to difference between {claim.%uuid of player%} and now
  18. if {waited} is less than 25 hours:
  19. send "&a&lTurtle Rewards &7» &cYou must wait %difference between {waited} and 25 hours%"
  20. stop
  21. set {claim.%uuid of player%} to now
  22. message "&a&lTurtle Rewards &7» &aYou have claimed your daily reward!"
  23. message "&7 "
  24. message "&6+100 Royal Coins"
  25. message "&3+20 EXP"
  26. add 100 to {reward.coins}
  27. add 20 to player's xp
  28.  
  29. command /freereward230912309109310 [<text>]:
  30. permission: donator.reward
  31. trigger:
  32. if arg 1 is not set:
  33. wait 1 tick
  34. set {faited} to difference between {claim.%uuid of player%} and now
  35. if {faited} is less than 25 hours:
  36. send "&a&lTurtle Rewards &7» &cYou must wait %difference between {faited} and 25 hours%"
  37. stop
  38. set {claim.%uuid of player%} to now
  39. message "&a&lTurtle Rewards &7» &aYou have claimed your daily reward!"
  40. message "&7 "
  41. message "&6+150 Royal Coins"
  42. message "&3+25 EXP"
  43. add 150 to {reward.coins}
  44. add 25 to player's xp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement