Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /shop:
- trigger:
- open virtual chest with 6 rows named "&6Shop" to player
- format gui slot 0,1,2,3,4,5,6,7,8,9,17,18,26,27,35,36,44,45,46,47,48,49,50,51,52, and 53 of player with black stained glass pane named "&f"
- format gui slot 20 of player with unbreakable Diamond Sword named "&4PvP" to run function PvP(player)
- function PvP(p: player):
- open virtual chest with 6 rows named "&4PvP &bShop" to {_p}
- format gui slot 10 of {_p} with stone sword named "&bTier 1 Swords" to run:
- if {balance::%{_p}%} >= 50:
- subtract 50 from {player's balance::%{_p}%}
- give {_p} 1 of stone sword named "&bTier 1 Sword"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement