Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command shop:
- trigger:
- open chest with 3 rows named "&9Select A Kit:" to player
- format slot 13 of player with wooden sword named "&7Starter Sword" with lore "&7||&9Price &8» &7$10||&7" to close then run [set {clickedslot.%player%} to 13]
- on inventory click:
- clicked slot is 13:
- if player's balance is greater than 9:
- message "&9SkyPvP &8» &7You've bought a Starter Sword"
- remove 10 from player's balance
- execute console command "menu grab sword1 %player%"
- else
- message "&9SkyPvP123 &8» &cYou need atleast $10 to buy this!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement