ArtzifyHD

apple

Aug 23rd, 2017
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. on eat of golden apple:
  2. if player doesn't have permission "gapple.consume":
  3. if data value of item is 1:
  4. set {_waited} to difference between {gopple.%player%.lastused} and now
  5. if {_waited} is less than 5 hours:
  6. message "&cYou still have a &6&lGopple &ccooldown for another &c&l%difference between 15 minutes and {_waited}%"
  7. cancel event
  8. stop
  9. else:
  10. send "&c&l█&l█&l█&l█&l█&l█&l█&l█"
  11. send "&c&l█&l█&l█&e&l█&l█&c&l█&l█&l█ &6&lGopple:"
  12. send "&c&l█&l█&l█&e&l█&c&l█&l█&l█&l█ &7Consumed"
  13. send "&c&l█&l█&6&l█&l█&l█&l█&c&l█&l█"
  14. send "&c&l█&6&l█&l█&f&l█&6&l█&l█&l█&c&l█ &6Cooldown remaining:"
  15. send "&c&l█&6&l█&f&l█&6&l█&l█&l█&l█&c&l█ &700:15:00"
  16. send "&c&l█&6&l█&l█&l█&l█&l█&l█&c&l█"
  17. send "&c&l█&6&l█&l█&l█&l█&l█&l█&c&l█"
  18. send "&c&l█&l█&6&l█&l█&l█&l█&c&l█&l█"
  19. send "&c&l█&l█&l█&l█&l█&l█&l█&l█"
  20. set {gopple.%player%.lastused} to now
Advertisement
Add Comment
Please, Sign In to add comment