Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /rankup:
- trigger:
- open virtual chest inventory with size 3 named "&8» &3Menu &8- &7Rankup" to player
- wait 1 tick
- set {_num} to 0
- loop 4 times:
- format gui slot {_num} of player with black glass pane named "&0"
- add 1 to {_num}
- format gui slot {_num} of player with blue glass pane named "&0"
- add 1 to {_num}
- format gui slot 8 of player with black glass pane named "&0"
- set {_num} to 18
- loop 4 times:
- format gui slot {_num} of player with black glass pane named "&0"
- add 1 to {_num}
- format gui slot {_num} of player with blue glass pane named "&0"
- add 1 to {_num}
- format gui slot 26 of player with black glass pane named "&0"
- format gui slot 22 of player with nether star named "&3Tilbage" with lore "&8» &7Klik for at gå tilbage til &bmenuen&7." to close then run player command "menu"
- format gui slot 10 of player with book named "&3Rankup hjælp" with lore "&8» &7Hvis du ikke ved hvordan||&8» &7du opfylder et bestemt krav,||&8» &7Så kan du læse det her."
- format gui slot 13 of player with emerald named "&3Rankup" with lore "&8» &7Nuværende mine&8: &b%{mine.%{uuid.%player%}%}%||&8» &7Næste mine&8: &b%{nextmine.%{uuid.%player%}%}%||&8» &b&nKlik for at rankup"
- if {mine.%{uuid.%player%}%} is "A":
- if player's balance is greater than or equal to 10000:
- set {_krav1} to "&b&m$10.000"
- else:
- set {_krav1} to "&c$10.000"
- if {blocksminet.coalore.%{uuid.%player%}%} is greater than or equal to 150:
- set {_krav2} to "&b&m150 coal ores minet"
- else:
- set {_krav2} to "&c150 coal ores minet"
- format gui slot 16 of player with 358:0 named "&3Krav" with no nbt with lore "&8» %{_krav1}%||&8» %{_krav2}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement