Advertisement
Narwhal_251

Untitled

Sep 25th, 2021
496
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. command /rankup:
  2. trigger:
  3. open virtual chest with 3 rows named "&8Rankup" to player
  4. format gui slot integers between 0 and 100 of player with gray stained glass pane named " "
  5. 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:
  6. if player's group is "default":
  7. if {balance::%player's uuid%} >= 150000:
  8. remove 150000 from {balance::%player's uuid%}
  9. execute console command "/lp user %player% parent set zombie"
  10. broadcast "testserver&8| &a%player% &7has ranked up to &cZombie&7!"
  11. else:
  12. message "&cYou need more for this!"
  13. else:
  14. message "&cYou need &4Default &cfor this!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement