familychicken

Untitled

Aug 8th, 2019
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.48 KB | None | 0 0
  1. variables:
  2. {uuid::%player%.money} = 10000
  3. {uuid::%player%.mp} = 0
  4. {uuid::%player%.mc} = 0
  5. {uuid::%player%.boost} = 1
  6. {uuid::%player%.xp} = 0
  7. {uuid::%player%.level} = 1
  8. {uuid::%player%.itemadd} = 0
  9. {uuid::%player%.automaker} = 0
  10. {uuid::%player%.ascendbuy} = 1000
  11. {uuid::%player%.needxp} = 200
  12.  
  13. on mine of cobblestone:
  14. cancel event
  15. command "/execute %player% ~ ~ ~ /playsound minecraft:block.stone.break ambient %player% ~ ~ ~ 100 1"
  16. add 10*{uuid::%player%.boost} to {uuid::%player%.money}
  17. add 2*{uuid::%player%.boost} to {uuid::%player%.xp}
  18. add 3*{uuid::%player%.boost} to {uuid::%player%.mp}
  19. loop 1+{uuid::%player%.itemadd} times:
  20. command "/give %player% cobblestone 1"
  21.  
  22. on mine of iron ore:
  23. cancel event
  24. command "/execute %player% ~ ~ ~ /playsound minecraft:block.stone.break ambient %player% ~ ~ ~ 100 1.1"
  25. add 50*{uuid::%player%.boost} to {uuid::%player%.money}
  26. add 5*{uuid::%player%.boost} to {uuid::%player%.xp}
  27. add 10*{uuid::%player%.boost} to {uuid::%player%.mp}
  28. loop 1+{uuid::%player%.itemadd} times:
  29. command "/give %player% iron_ore 1"
  30.  
  31. on mine of diamond ore:
  32. cancel event
  33. command "/execute %player% ~ ~ ~ /playsound minecraft:block.stone.break ambient %player% ~ ~ ~ 100 1.2"
  34. add 250*{uuid::%player%.boost} to {uuid::%player%.money}
  35. add 8*{uuid::%player%.boost} to {uuid::%player%.xp}
  36. add 20*{uuid::%player%.boost} to {uuid::%player%.mp}
  37. loop 1+{uuid::%player%.itemadd} times:
  38. command "/give %player% diamond_ore 1"
  39.  
  40. on mine of emerald ore:
  41. cancel event
  42. command "/execute %player% ~ ~ ~ /playsound minecraft:block.stone.break ambient %player% ~ ~ ~ 100 1.3"
  43. add 1500*{uuid::%player%.boost} to {uuid::%player%.money}
  44. add 20*{uuid::%player%.boost} to {uuid::%player%.xp}
  45. add 50*{uuid::%player%.boost} to {uuid::%player%.mp}
  46. loop 1+{uuid::%player%.itemadd} times:
  47. command "/give %player% emerald_ore 1"
  48.  
  49. on mine of gold ore:
  50. cancel event
  51. command "/execute %player% ~ ~ ~ /playsound minecraft:block.stone.break ambient %player% ~ ~ ~ 100 1.4"
  52. add 5000*{uuid::%player%.boost} to {uuid::%player%.money}
  53. add 40*{uuid::%player%.boost} to {uuid::%player%.xp}
  54. add 100*{uuid::%player%.boost} to {uuid::%player%.mp}
  55. loop 1+{uuid::%player%.itemadd} times:
  56. command "/give %player% gold_ore 1"
  57.  
  58. every 3 tick:
  59. loop all players:
  60. send action bar with text "&e現在の所持金 &f: &a%{uuid::%loop-player%.money}% &b採掘ポイント &f: &a%{uuid::%loop-player%.mp}% &a経験値 &b%{uuid::%loop-player%.xp}% &f/ &b%(10*{uuid::%loop-player%.level})*1.8% &bレベル &a%{uuid::%loop-player%.level}% &eブースト &f: &6x%{uuid::%loop-player%.boost}%" to loop-player
  61. if {uuid::%loop-player%.mp} >= {uuid::%loop-player%.ascendbuy}:
  62. add 1 to {uuid::%loop-player%.guessascendcoin}
  63. set {uuid::%loop-player%.ascendbuy} to {uuid::%loop-player%.ascendbuy}*1.2
  64. if {uuid::%loop-player%.xp} >= {uuid::%loop-player%.needxp}:
  65. message "&6採掘レベルが上がりました!" to loop-player
  66. message "&cレベル &d%{uuid::%loop-player%.level}% &f→ &bレベル &a%{uuid::%loop-player%.level}+1%" to loop-player
  67. message "&e ブースト x%{uuid::%loop-player%.boost}% &f→ &e&lx%{uuid::%loop-player%.boost}*1.1%" to loop-player
  68. message "&b 一回の採掘で手に入るアイテム &6+ &c%{uuid::%loop-player%.itemadd}+1% &f→ &6+ &a%{uuid::%loop-player%.itemadd}+2%" to loop-player
  69. command "/scoreboard players add %loop-player% level 1"
  70. remove (10*{uuid::%loop-player%.level})*1.8 from {uuid::%loop-player%.xp}
  71. set {uuid::%loop-player%.needxp} to {uuid::%loop-player%.needxp}*1.7
  72. add 1 to {uuid::%loop-player%.level}
  73. set {uuid::%loop-player%.boost} to {uuid::%loop-player%.boost}*1.1
  74. add 1 to {uuid::%loop-player%.itemadd}
  75. command "/execute %loop-player% ~ ~ ~ /playsound minecraft:entity.player.levelup ambient %loop-player% ~ ~ ~ 2 0.6"
  76.  
  77. command /mreset <player>:
  78. permission: skript.admin
  79. trigger:
  80. set {uuid::%arg%.money} to 10000
  81. set {uuid::%arg%.mp} to 0
  82. set {uuid::%arg%.mc} to 0
  83. set {uuid::%arg%.boost} to 1
  84. set {uuid::%arg%.xp} to 0
  85. set {uuid::%arg%.level} to 1
  86. set {uuid::%arg%.itemadd} to 0
  87. set {uuid::%arg%.guessascendcoin} to 0
  88. set {uuid::%arg%.ascendcoin} to 0
  89. set {uuid::%arg%.ascendbuy} to 1000
  90. set {uuid::%arg%.needxp} to 200
  91. command "/scoreboard players set %arg% level 1"
  92. message "&b君の負け(reset)! &cなんでリセットされたら 考えておいてください、 &6そしたら何かが見えてくるはずです"
  93.  
  94. every tick:
  95. loop all players:
  96. if {uuid::%loop-player%.automaker} >= 1:
  97. if loop-player have 64 cobblestone:
  98. command "/clear %loop-player% cobblestone 0 64"
  99. command "/menu grab %loop-player% cb-1"
  100. if loop-player have 64 iron ore:
  101. command "/clear %loop-player% iron_ore 0 64"
  102. command "/menu grab %loop-player% i-1"
  103. if loop-player have 64 diamond ore:
  104. command "/clear %loop-player% diamond_ore 0 64"
  105. command "/menu grab %loop-player% d-1"
  106. if loop-player have 64 emerald ore:
  107. command "/clear %loop-player% emerald_ore 0 64"
  108. command "/menu grab %loop-player% e-1"
  109. if loop-player have 64 gold ore:
  110. command "/clear %loop-player% gold_ore 0 64"
  111. command "/menu grab %loop-player% gore-1"
  112.  
  113. every 5 ticks:
  114. loop all players:
  115. if {uuid::%loop-player%.automaker} >= 2:
  116. if loop-player have 64 stone:
  117. command "/clear %loop-player% stone 6 64"
  118. command "/menu grab %loop-player% cb-2"
  119. if loop-player have 64 iron ingot:
  120. command "/clear %loop-player% iron_ingot 0 64"
  121. command "/menu grab %loop-player% i-2"
  122. if loop-player have 64 diamond:
  123. command "/clear %loop-player% diamond 0 64"
  124. command "/menu grab %loop-player% d-2"
  125. if loop-player have 64 emerald:
  126. command "/clear %loop-player% emerald 64"
  127. command "/menu grab %loop-player% e-2"
  128. if loop-player have 64 gold ingot:
  129. command "/clear %loop-player% gold_ingot 0 64"
  130. command "/menu grab %loop-player% gore-2"
  131.  
  132. on mine:
  133. add 1 to {uuid::%player%.mc}
  134.  
  135. command /automaker <number>:
  136. trigger:
  137. set {uuid::%player%.automaker} to arg
  138.  
  139. on block damage:
  140. if event-block is cobblestone:
  141. command "/effect %player% clear"
  142. if event-block is iron ore:
  143. command "/effect %player% clear"
  144. command "/effect %player% minecraft:mining_fatigue 99999 1 true"
  145. if event-block is diamond ore:
  146. command "/effect %player% clear"
  147. command "/effect %player% minecraft:mining_fatigue 99999 2 true"
  148. if event-block is emerald ore:
  149. command "/effect %player% clear"
  150. command "/effect %player% minecraft:mining_fatigue 99999 3 true"
  151. if event-block is gold ore:
  152. command "/effect %player% clear"
  153. command "/effect %player% minecraft:mining_fatigue 99999 4 true"
  154.  
  155. command /discord:
  156. trigger:
  157. message "&6SimpleMining &7&lⅡ &bの 公式 &9Discord &bです!"
  158. message "&bhttps://discord.gg/q86bpVU"
  159.  
  160. command /stats:
  161. trigger:
  162. message "&7------------------------------"
  163. message "&6%player%"
  164. message "&e所持金 &f: &a%{uuid::%player%.money}%"
  165. message "&b採掘ポイント &f: &a%{uuid::%player%.mp}%"
  166. message "&eブースト &f: &ax%{uuid::%player%.boost}%"
  167. message "&6採掘回数 &f: &c%{uuid::%player%.mc}%"
  168. message "&7------------------------------"
  169.  
  170. command /ascend:
  171. trigger:
  172. message "&6昇天します...."
  173. wait 3 seconds
  174. if {uuid::%player%.guessascendcoin} >= 100:
  175. add {uuid::%player%.guessascendcoin} to {uuid::%player%.ascendcoin}
  176. message "&eAscend &6(昇天) &fしました。"
  177. message "&6AscendCoin &f: &a%{uuid::%player%.ascendcoin}% &c+ %{uuid::%player%.guessascendcoin}%"
  178. message "&eBoost x %{uuid::%player%.ascendcoin}/100%"
  179. else:
  180. message "&cごめんね...いまのあなたにはそれほどの力はないわ..."
  181.  
  182. command /ifascend:
  183. trigger:
  184. message "&6もしあなたが今アセンドしたら..."
  185. message "&6AscendCoin &f: &c+ %{uuid::%player%.guessascendcoin}%"
Advertisement
Add Comment
Please, Sign In to add comment