Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick on zombie:
- open chest with 3 row named "&rランクアップ!" to player
- format slot 10 of player with stone named "&c&lBronze" with lore "&a必要なコイン: &61000||&eクリックでランクアップします" to close then run "rank set b %player%"
- format slot 11 of player with coal named "&7&lSilver" with lore "&a必要なコイン: &61000||&eクリックでランクアップします" to close then run "rank set s %player%"
- format slot 12 of player with iron ingot named "&6&lGold" with lore "&a必要なコイン: &61000||&eクリックでランクアップします" to close then run "rank set g %player%"
- format slot 14 of player with gold ingot named "&f&lPlatinum" with lore "&a必要なコイン: &61000||&eクリックでランクアップします" to close then run "rank set pla %player%"
- format slot 15 of player with emerald named "&b&lDiamond" with lore "&a必要なコイン: &61000||&eクリックでランクアップします" to close then run "rank set d %player%"
- format slot 16 of player with emerald named "&d&lPlutonium" with lore "&a必要なコイン: &61000||&eクリックでランクアップします" to close then run "rank set plu %player%"
- command /rank set [<text>] [<offline player>]:
- permission: skript.rank.set
- trigger:
- if arg 1 is "c":
- set {rank.%uuid of arg 2%} to "&4&lCopper"
- if arg 1 is "b":
- if {coin.uuid of arg 2} is more than 999:
- remove 1000 from {coin.%uuid of arg 2%}
- set {rank.%uuid of arg 2%} to "&c&lBronze"
- if arg 1 is "s":
- if {coin.uuid of arg 2} is more than 999:
- remove 1000 from {coin.%uuid of arg 2%}
- set {rank.%uuid of arg 2%} to "&7&lSilver"
- if arg 1 is "g":
- if {coin.uuid of arg 2} is more than 999:
- remove 1000 from {coin.%uuid of arg 2%}
- set {rank.%uuid of arg 2%} to "&6&lGold"
- if arg 1 is "pla":
- if {coin.uuid of arg 2} is more than 999:
- remove 1000 from {coin.%uuid of arg 2%}
- set {rank.%uuid of arg 2%} to "&f&lPlatinum"
- if arg 1 is "d":
- if {coin.uuid of arg 2} is more than 999:
- remove 1000 from {coin.%uuid of arg 2%}
- set {rank.%uuid of arg 2%} to "&b&lDiamond"
- if arg 1 is "plu":
- if {coin.uuid of arg 2} is more than 999:
- remove 1000 from {coin.%uuid of arg 2%}
- set {rank.%uuid of arg 2%} to "&d&lPlutonium"
Advertisement
Add Comment
Please, Sign In to add comment