Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on first join:
- set player's balance to 10
- command /sword1:
- trigger:
- if player's balance is less than 10:
- message "&9SkyPvP&8 »&7 You need atleast $10 to buy this sword!"
- else:
- remove 10 from player's balance
- execute console command "menu grab %player% sword1"
- message "&9SkyPvP &8» &7You have bought Tier 1 sword for $10"
- command /sword2:
- trigger:
- if player's balance is less than 100:
- message "&9SkyPvP&8 »&7 You need atleast $100 to buy this sword!"
- else:
- remove 100 from player's balance
- execute console command "menu grab %player% sword2"
- message "&9SkyPvP &8» &7You have bought Tier 2 sword for $100"
- command /sword3:
- trigger:
- if player's balance is less than 300:
- message "&9SkyPvP&8 »&7 You need atleast $300 to buy this sword!"
- else:
- remove 300 from player's balance
- execute console command "menu grab %player% sword3"
- message "&9SkyPvP &8» &7You have bought Tier 3 sword for $300"
- command /sword4:
- trigger:
- if player's balance is less than 500:
- message "&9SkyPvP&8 »&7 You need atleast $500 to buy this sword!"
- else:
- remove 500 from player's balance
- execute console command "menu grab %player% sword4"
- message "&9SkyPvP &8» &7You have bought Tier 4 sword for $500"
- command /sword5:
- trigger:
- if player's balance is less than 800:
- message "&9SkyPvP&8 »&7 You need atleast $800 to buy this sword!"
- else:
- remove 800 from player's balance
- execute console command "menu grab %player% sword1"
- message "&9SkyPvP &8» &7You have bought Tier 5 sword for $800"
- command /shop:
- trigger:
- menu open %player% shop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement