Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on inventory click:
- if inventory name of player's current inventory is "&9Select A Kit:":
- cancel event
- clicked slot > 12
- clicked slot < 14
- player's balance is greater than 9:
- remove 10 from player's balance
- message "&9SkyPvP123 &8» &7You have bought a Starter Sword for &9$10"
- execute console command "menu grab %player% sword1"
- else:
- message "&9SkyPvP123 &8» &7You have to have atleast &9$10 &7to buy this!"
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement