taktie0304

Untitled

May 29th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.28 KB | None | 0 0
  1. on rightclick on zombie:
  2. open chest with 3 row named "&rランクアップ!" to player
  3. format slot 10 of player with stone named "&c&lBronze" with lore "&a必要なコイン: &61000||&eクリックでランクアップします" to close then run "rank set b %player%"
  4. format slot 11 of player with coal named "&7&lSilver" with lore "&a必要なコイン: &61000||&eクリックでランクアップします" to close then run "rank set s %player%"
  5. format slot 12 of player with iron ingot named "&6&lGold" with lore "&a必要なコイン: &61000||&eクリックでランクアップします" to close then run "rank set g %player%"
  6. format slot 14 of player with gold ingot named "&f&lPlatinum" with lore "&a必要なコイン: &61000||&eクリックでランクアップします" to close then run "rank set pla %player%"
  7. format slot 15 of player with emerald named "&b&lDiamond" with lore "&a必要なコイン: &61000||&eクリックでランクアップします" to close then run "rank set d %player%"
  8. format slot 16 of player with emerald named "&d&lPlutonium" with lore "&a必要なコイン: &61000||&eクリックでランクアップします" to close then run "rank set plu %player%"
  9.  
  10. command /rank set [<text>] [<offline player>]:
  11. permission: skript.rank.set
  12. trigger:
  13. if arg 1 is "c":
  14. set {rank.%uuid of arg 2%} to "&4&lCopper"
  15. if arg 1 is "b":
  16. if {coin.uuid of arg 2} is more than 999:
  17. remove 1000 from {coin.%uuid of arg 2%}
  18. set {rank.%uuid of arg 2%} to "&c&lBronze"
  19. if arg 1 is "s":
  20. if {coin.uuid of arg 2} is more than 999:
  21. remove 1000 from {coin.%uuid of arg 2%}
  22. set {rank.%uuid of arg 2%} to "&7&lSilver"
  23. if arg 1 is "g":
  24. if {coin.uuid of arg 2} is more than 999:
  25. remove 1000 from {coin.%uuid of arg 2%}
  26. set {rank.%uuid of arg 2%} to "&6&lGold"
  27. if arg 1 is "pla":
  28. if {coin.uuid of arg 2} is more than 999:
  29. remove 1000 from {coin.%uuid of arg 2%}
  30. set {rank.%uuid of arg 2%} to "&f&lPlatinum"
  31. if arg 1 is "d":
  32. if {coin.uuid of arg 2} is more than 999:
  33. remove 1000 from {coin.%uuid of arg 2%}
  34. set {rank.%uuid of arg 2%} to "&b&lDiamond"
  35. if arg 1 is "plu":
  36. if {coin.uuid of arg 2} is more than 999:
  37. remove 1000 from {coin.%uuid of arg 2%}
  38. set {rank.%uuid of arg 2%} to "&d&lPlutonium"
Advertisement
Add Comment
Please, Sign In to add comment