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必要なコイン: &62000 &eクリックでランクアップします" to close then run "rank set b %player%"
- format slot 11 of player with coal named "&7&lSilver" with lore "&a必要なコイン: &615000 &eクリックでランクアップします" to close then run "rank set s %player%"
- format slot 12 of player with iron ingot named "&6&lGold" with lore "&a必要なコイン: &650000 &eクリックでランクアップします" to close then run "rank set g %player%"
- format slot 14 of player with gold ingot named "&f&lPlatinum" with lore "&a必要なコイン: &6300000 &eクリックでランクアップします" to close then run "rank set pla %player%"
- format slot 15 of player with emerald named "&b&lDiamond" with lore "&a必要なコイン: &62000000 &eクリックでランクアップします" to close then run "rank set d %player%"
- format slot 16 of player with emerald named "&d&lPlutonium" with lore "&a必要なコイン: &65000000 &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 {rank.%uuid of arg 2%} is "&4&lCopper":
- if {coin.%uuid of arg 2%} is more than 1999:
- remove 2000 from {coin.%uuid of arg 2%}
- set {rank.%uuid of arg 2%} to "&c&lBronze"
- broadcast "&a%arg 2%さんが&c&lBronze&aにランクアップしました!"
- else:
- send "&cお金が足りません" to arg 2
- else:
- send "&cランクが足りません" to arg 2
- if arg 1 is "s":
- if {rank.%uuid of arg 2%} is "&c&lBronze":
- if {coin.uuid of arg 2} is more than 14999:
- remove 15000 from {coin.%uuid of arg 2%}
- set {rank.%uuid of arg 2%} to "&7&lSilver"
- broadcast "&a%arg 2%さんが&7&lSilver&aにランクアップしました!"
- else:
- send "&cお金が足りません" to arg 2
- else:
- send "&cランクが足りません" to arg 2
- if arg 1 is "g":
- if {rank.%uuid of arg 2%} is "&7&lSilver":
- if {coin.uuid of arg 2} is more than 49999:
- remove 50000 from {coin.%uuid of arg 2%}
- set {rank.%uuid of arg 2%} to "&6&lGold"
- broadcast "&a%arg 2%さんが&6&lGold&aにランクアップしました!"
- else:
- send "&cお金が足りません" to arg 2
- else:
- send "&cランクが足りません" to arg 2
- if arg 1 is "pla":
- if {rank.%uuid of arg 2%} is "&6&lGold":
- if {coin.uuid of arg 2} is more than 299999:
- remove 300000 from {coin.%uuid of arg 2%}
- set {rank.%uuid of arg 2%} to "&f&lPlatinum"
- broadcast "&a%arg 2%さんが&f&lPlatinum&aにランクアップしました!"
- else:
- send "&cお金が足りません" to arg 2
- else:
- send "&cランクが足りません" to arg 2
- if arg 1 is "d":
- if {rank.%uuid of arg 2%} is "&f&lPlatinum":
- if {coin.uuid of arg 2} is more than 1999999:
- remove 2000000 from {coin.%uuid of arg 2%}
- set {rank.%uuid of arg 2%} to "&b&lDiamond"
- broadcast "&a%arg 2%さんが&b&lDiamond&aにランクアップしました!"
- else:
- send "&cお金が足りません" to arg 2
- else:
- send "&cランクが足りません" to arg 2
- if arg 1 is "plu":
- if {rank.%uuid of arg 2%} is "&b&lDiamond":
- if {coin.uuid of arg 2} is more than 4999999:
- remove 5000000 from {coin.%uuid of arg 2%}
- set {rank.%uuid of arg 2%} to "&d&lPlutonium"
- broadcast "&a%arg 2%さんが&d&lPlutonium&aにランクアップしました!"
- else:
- send "&cお金が足りません" to arg 2
- else:
- send "&cランクが足りません" to arg 2
Advertisement
Add Comment
Please, Sign In to add comment