Advertisement
Guest User

Untitled

a guest
Jul 21st, 2021
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. command /frakcevinice:
  2. trigger:
  3. open virtual chest inventory with size 1 named "&c&lFrakcni menu vinice" to player
  4. format gui slot 0 of player with gold ingot named "&6&lFrakcni penize - &a%{economy::balance::policedep}%$"
  5. format gui slot 4 of player with tripwire hook named "&c&lxxx"
  6. format gui slot 8 of player with book and quill named "&2&lManagment zamestnancu"
  7.  
  8. on inventory click:
  9. if clicked inventory isn't player's inventory:
  10. if inventory name of player's current inventory is "&c&lFrakcni menu vinice":
  11. clicked slot = 0:
  12. open virtual chest inventory with size 1 named "&c&lVinice - Penize" to player
  13. format gui slot 3 of player with gold ingot named "&c&lVybrat penize"
  14. format gui slot 8 of player with gold ingot named "&c&lVlozit penize"
  15.  
  16. on inventory click:
  17. if clicked inventory isn't player's inventory:
  18. if inventory name of player's current inventory is "&c&lVinice - Penize":
  19. clicked slot = 3:
  20. send "&c&lVINICE &7Napis do chatu castku, kterou chces vybrat"
  21. close player's inventory
  22. set {vinice::player} to true
  23. wait 4 second
  24. add {vinice::player::%player's uuid%} to {economy::balance::policedep}
  25.  
  26. on chat:
  27. if {vinice::player::%player's uuid%} is true:
  28. set {vinice::player::%player's uuid%} to message
  29.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement