Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /rankup:
- trigger:
- open virtual chest with 3 rows named "&8Rankup" to player
- format gui slot integers between 0 and 100 of player with gray stained glass pane named " "
- format gui slot 10 of player with shiny book named "&ctest Rank" with lore "&4| &7Prefix: &8[&ctest&8]" and "&4| &7Price: &a$150k" and "&4| &7Perks: &2perks" to run:
- if player's group is "default":
- if {balance::%player's uuid%} >= 150000:
- remove 150000 from {balance::%player's uuid%}
- execute console command "/lp user %player% parent set zombie"
- broadcast "testserver&8| &a%player% &7has ranked up to &cZombie&7!"
- else:
- message "&cYou need more for this!"
- else:
- message "&cYou need &4Default &cfor this!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement