nasuhahahafff

Untitled

Jun 7th, 2018
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.20 KB | None | 0 0
  1. variables:
  2. {kill::%player%} = 0
  3. {sneak::%player%} = 0
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13. on death:
  14. add 1 to {kill::%attacker%}
  15. give gold ingot named "&c100$" to attacker
  16. send "&b%victim% から100$を奪取した!" to attacker
  17. chance of 50%:
  18. give gold nugget named "&c50$" to attacker
  19. chance of 10%:
  20. give gold nugget named "&c50$" to attacker
  21. chance of 5%:
  22. give gold nugget named "&c50$" to attacker
  23. send "&b敵をkillした! &e現在のkill数 %{kill::%attacker%}%" to attacker
  24.  
  25. command /givemoney <number>:
  26. permission: gun.admin
  27. trigger:
  28. if arg-1 is 50:
  29. give gold nugget named "&c50$" to player
  30. stop
  31. if arg-1 is 100:
  32. give gold ingot named "&c100$" to player
  33. stop
  34. if arg-1 is 1000:
  35. give gold block named "&c1000$" to player
  36. stop
  37. if arg-1 is 10000:
  38. give emerald named "&b10000$" to player
  39. stop
  40. if arg-1 is 100000:
  41. give emerald block named "&r&kaa&r&a100000$&r&kaa" to player
  42. stop
  43. if arg-1 is not set:
  44. message "&c$の金額を指定してください"
  45. stop
  46. message "&cその$貨幣は存在しません"
  47.  
  48. on rightclick holding a gold ingot:
  49. if {sneak::%player%} is 1:
  50. remove 1 gold ingot from the player
  51. give 2 of gold nugget named "&c50$" to player
  52. if {sneak::%player%} is 0:
  53. set {_a} to amount of player's held item in player's inventory
  54. if {_a} >= 10:
  55. give gold block named "&c1000$" to player
  56. remove 10 gold ingot from the player
  57. on rightclick holding a gold block:
  58. if {sneak::%player%} is 1:
  59. remove 1 gold block from the player
  60. give 10 of gold ingot named "&c100$" to player
  61. if {sneak::%player%} is 0:
  62. set {_a} to amount of player's held item in player's inventory
  63. if {_a} >= 10:
  64. give emerald named "&b10000$" to player
  65. remove 10 gold block from the player
  66. on rightclick holding a emerald:
  67. if {sneak::%player%} is 1:
  68. remove 1 emerald from the player
  69. give 10 of gold block named "&c1000$" to player
  70. if {sneak::%player%} is 0:
  71. set {_a} to amount of player's held item in player's inventory
  72. if {_a} >= 10:
  73. give emerald block named "&r&kaa&r&a100000$&r&kaa" to player
  74. remove 10 emerald from the player
  75. on rightclick holding a emerald block:
  76. if {sneak::%player%} is 1:
  77. remove 1 emerald block from the player
  78. give 10 of emerald named "&b10000$" to player
  79. on sneak toggle:
  80. if {sneak::%player%} is 1:
  81. set {sneak::%player%} to 0
  82. stop
  83. if {sneak::%player%} is 0:
  84. set {sneak::%player%} to 1
  85. stop
  86. command /kill:
  87. aliases: k
  88. trigger:
  89. set {_p} to "%player%" parsed as player
  90. open chest with 1 rows named "&cKillステータス" to player
  91. wait 1 tick
  92. format slot 0 of player with skull of player named "&c%player% のステータス" with lore "&b現在kill数 %{kill::%player%}% kill" to act unstealable
  93.  
  94. on rightclick:
  95. if {sneak::%player%} is 1:
  96. if player's held item is air:
  97. execute player command "kill"
  98.  
  99. command /gunreload:
  100. permission: gun.admin
  101. trigger:
  102. execute console command "sk reload Drop"
  103.  
  104. on rightclick holding a gold nugget:
  105. if {sneak::%player%} is 0:
  106. set {_a} to amount of player's held item in player's inventory
  107. if {_a} >= 2:
  108. give 1 of gold ingot named "&c100$" to player
  109. remove 2 gold nugget from the player
Add Comment
Please, Sign In to add comment