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