Advertisement
sniperwolf1130

crashgunPvP

May 29th, 2020
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.98 KB | None | 0 0
  1. on join:
  2. if {tuto.%player%} is not 1:
  3. teleport player to {tutorial}
  4. set join message to "<light green>%player%<gray>がクラッシュされに飛び込んできたぞ!"
  5. set player's gamemode to adventure
  6. else:
  7. teleport player to {lobby}
  8. set join message to "<light green>%player%<gray>がクラッシュされに飛び込んできたぞ!"
  9. set player's gamemode to adventure
  10. execute command "/clear %player%"
  11. {vip.%player%} is 1
  12. set player's tab list name to "<gray>[<light green>VIP<gray>]<white>%player%"
  13.  
  14. command /setlob:
  15. permission: op
  16. trigger:
  17. set {lobby} to location of player
  18.  
  19. command /settuto:
  20. permission: op
  21. trigger:
  22. set {tutorial} to location of player
  23.  
  24. command /setsenjou <int>:
  25. permission: op
  26. trigger:
  27. set {senjou.%arg%} to location of player
  28.  
  29. on quit:
  30. set quit message to "<gray>おっと!<light red>%player%<gray>はクラッシュしたみたいだ。"
  31.  
  32. on drop:
  33. cancel event
  34.  
  35. every 10 tick:
  36. loop all players:
  37. if block at loop-player is water:
  38. execute command "/senjou %loop-player%"
  39. set loop-player's health to 10
  40. set loop-player's food level to 10
  41. execute command "/effect %loop-player% minecraft:speed 2 2 true"
  42.  
  43. every 60 seconds:
  44. broadcast "<gray>[<light green>VIP<gray>]<gold>契約をするとリロード時間が大幅に短くなるぞ!"
  45.  
  46. on rightclick with iron hoe:
  47. {shooting.%player%} is not 1
  48. name of player's tool contains "<light red>Crash<yellow>Gun"
  49. cancel event
  50. set {shooting.%player%} to 1
  51. shoot a snowball from player at speed 5
  52. execute command "/playsound minecraft:entity.generic.explode master %player% ~ ~ ~ 1 2 0.5"
  53. if {vip.%player%} is 1:
  54. loop 5 times:
  55. execute command "/title %player% actionbar {""text"":""<light red><bold>リロード中...""}"
  56. execute command "/playsound minecraft:block.piston.contract master %player% ~ ~ ~ 1 1 0.5"
  57. wait 1 seconds
  58. else:
  59. loop 10 times:
  60. execute command "/title %player% actionbar {""text"":""<light red><bold>リロード中...""}"
  61. execute command "/playsound minecraft:block.piston.contract master %player% ~ ~ ~ 1 1 0.5"
  62. wait 1 seconds
  63. execute command "/playsound minecraft:item.flintandsteel.use master %player% ~ ~ ~ 2 1 0.5"
  64. execute command "/title %player% actionbar {""text"":""<red><bold>リロード完了!""}"
  65. wait 4 tick
  66. execute command "/title %player% actionbar {""text"":""<light red><bold>リロード完了!""}"
  67. wait 4 tick
  68. execute command "/title %player% actionbar {""text"":""<red><bold>リロード完了!""}"
  69. wait 4 tick
  70. execute command "/title %player% actionbar {""text"":""<light red><bold>リロード完了!""}"
  71. set {shooting.%player%} to 0
  72.  
  73. on leftclick with iron hoe:
  74. cancel event
  75.  
  76. command /getgun:
  77. permission: op
  78. trigger:
  79. give 1 iron hoe named "<light red>Crash<yellow>Gun" with lore "撃った相手をクラッシュさせる最強の銃。" to player
  80.  
  81. command /getkakure:
  82. permission: op
  83. trigger:
  84. give 1 blue dye named "<aqua>光学迷彩" with lore "右クリックで数秒間透明になれる。" to player
  85.  
  86. on rightclick with nether star:
  87. {meisai.%player%} is not 1
  88. cancel event
  89. set {meisai.%player%} to 1
  90. execute command "/effect %player% minecraft:invisibility 5 2 true"
  91. wait 20 second
  92. execute command "/title %player% actionbar {""text"":""<light blue>光学迷彩が使用可能!""}"
  93. set {meisai.%player%} to 0
  94.  
  95. on leftclick with blue dye:
  96. cancel event
  97.  
  98.  
  99. on damage of player:
  100. cancel event
  101. if attacker is holding iron hoe:
  102. name of attacker's tool contains "<light red>Crash<yellow>Gun"
  103. set {_projectile} to projectile
  104. projectile is {_projectile}
  105. broadcast "<light red>%victim%<gray>は<light green>%attacker%<gray>にクラッシュされた!"
  106. execute command "/particle witchMagic %floor(x-coordinate of victim)% %floor(y-coordinate of victim)% %floor(z-coordinate of victim)% 1 1 1 1 100000000 force %victim%"
  107.  
  108. command /vip <player>:
  109. permission: op
  110. trigger:
  111. set {vip.%arg%} to 1
  112. set arg's tab list name to "<gray>[<light green>VIP<gray>]<white>%arg%"
  113.  
  114. command /endtuto <player>:
  115. permission: op
  116. trigger:
  117. set {tuto.%arg%} to 1
  118. broadcast "<yellow>%arg%<gray>がチュートリアルを終了した。ようこそ!"
  119. teleport arg to {lobby}
  120.  
  121. command /senjou <player>:
  122. permission: op
  123. trigger:
  124. set {_tp} to random integer between 1 and 3
  125. teleport arg to {senjou.%{_tp}%}
  126. give 1 iron hoe named "<light red>Crash<yellow>Gun" with lore "撃った相手をクラッシュさせる最強の銃。" to arg
  127. give 1 nether star named "<aqua>光学迷彩" with lore "右クリックで数秒間透明になれる。" to arg
  128.  
  129. command /st <int>:
  130. permission: op
  131. trigger:
  132. teleport player to {senjou.%arg%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement