taktie0304

Untitled

May 29th, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.22 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必要なコイン: &62000||&eクリックでランクアップします" to close then run "rank set b %player%"
  4. format slot 11 of player with coal named "&7&lSilver" with lore "&a必要なコイン: &615000||&eクリックでランクアップします" to close then run "rank set s %player%"
  5. format slot 12 of player with iron ingot named "&6&lGold" with lore "&a必要なコイン: &650000||&eクリックでランクアップします" to close then run "rank set g %player%"
  6. format slot 14 of player with gold ingot named "&f&lPlatinum" with lore "&a必要なコイン: &6300000||&eクリックでランクアップします" to close then run "rank set pla %player%"
  7. format slot 15 of player with emerald named "&b&lDiamond" with lore "&a必要なコイン: &62000000||&eクリックでランクアップします" to close then run "rank set d %player%"
  8. format slot 16 of player with emerald named "&d&lPlutonium" with lore "&a必要なコイン: &65000000||&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 {rank.%uuid of arg 2%} is "&4&lCopper":
  17. if {coin.uuid of arg 2} is more than 1999:
  18. remove 2000 from {coin.%uuid of arg 2%}
  19. set {rank.%uuid of arg 2%} to "&c&lBronze"
  20. else:
  21. send "&cお金が足りません"
  22. else:
  23. send "&cランクが足りません"
  24. if arg 1 is "s":
  25. if {rank.%uuid of arg 2%} is "&c&lBronze":
  26. if {coin.uuid of arg 2} is more than 14999:
  27. remove 15000 from {coin.%uuid of arg 2%}
  28. set {rank.%uuid of arg 2%} to "&7&lSilver"
  29. else:
  30. send "&cお金が足りません"
  31. else:
  32. send "&cランクが足りません"
  33. if arg 1 is "g":
  34. if {rank.%uuid of arg 2%} is "&7&lSilver":
  35. if {coin.uuid of arg 2} is more than 49999:
  36. remove 50000 from {coin.%uuid of arg 2%}
  37. set {rank.%uuid of arg 2%} to "&6&lGold"
  38. else:
  39. send "&cお金が足りません"
  40. else:
  41. send "&cランクが足りません"
  42. if arg 1 is "pla":
  43. if {rank.%uuid of arg 2%} is "&6&lGold":
  44. if {coin.uuid of arg 2} is more than 299999:
  45. remove 300000 from {coin.%uuid of arg 2%}
  46. set {rank.%uuid of arg 2%} to "&f&lPlatinum"
  47. else:
  48. send "&cお金が足りません"
  49. else:
  50. send "&cランクが足りません"
  51. if arg 1 is "d":
  52. if {rank.%uuid of arg 2%} is "&f&lPlatinum":
  53. if {coin.uuid of arg 2} is more than 1999999:
  54. remove 2000000 from {coin.%uuid of arg 2%}
  55. set {rank.%uuid of arg 2%} to "&b&lDiamond"
  56. else:
  57. send "&cお金が足りません"
  58. else:
  59. send "&cランクが足りません"
  60. if arg 1 is "plu":
  61. if {rank.%uuid of arg 2%} is "&f&lPlatinum":
  62. if {coin.uuid of arg 2} is more than 4999999:
  63. remove 5000000 from {coin.%uuid of arg 2%}
  64. set {rank.%uuid of arg 2%} to "&d&lPlutonium"
  65. else:
  66. send "&cお金が足りません"
  67. else:
  68. send "&cランクが足りません"
Advertisement
Add Comment
Please, Sign In to add comment