Advertisement
Guest User

Untitled

a guest
Jan 19th, 2020
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. on skript load:
  2. create new gui with id "sellwand" with virtual dispenser named "&6Vouch &cShop &7> &cSell Wand":
  3. wait 2 ticks
  4. make gui slot 0, 1, 2, 3, 5, 6, 7, and 8 with gray stained glass pane named " "
  5. make gui slot 4 with stick named "&6Sell&cWand":
  6. if player's balance >= 5000:
  7. give player stick named "&6Sell&cWand"
  8. remove 5000 from player's balance
  9. send "&aSuccessfully bought a &6Sell&cWand&a!"
  10. command sellwand:
  11. trigger:
  12. open gui "sellwand" to player
  13. on right click:
  14. if offhand tool of player is stick named "&6Sell&cWand":
  15. execute player command "sell hand"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement