Advertisement
Melon100

tnt tag

Feb 27th, 2020
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. options:
  2. Start-Permission: admin
  3.  
  4. command /start:
  5. permission: {@Start-Permission}
  6. trigger:
  7. delete {oni::*}
  8. set {_players::*} to all players
  9. loop 3 times:
  10. {_players::*} is set
  11. set {_p} to random element out of {_players::*}
  12. add {_p} to {oni::*}
  13. remove {_p} from {_players::*}
  14. broadcast "&d今回の鬼は&c%{oni::*}% です!!"
  15. loop all players:
  16. if {oni::*} contains player:
  17. stop
  18. else:
  19. add loop-player to {nige::*}
  20. equip {oni::*} with tnt with nbt "{ench:[{""id:27"",""lvl:1""}]}"
  21. command "/tp @a %座標%"
  22. send "&a&l========================="
  23. send "&e&lTNT TAG"
  24. send "&6鬼はTNTを逃げに擦りつけましょう!!"
  25. send "&6逃げは鬼にやられないように、隠れたり逃げたりしましょう!!"
  26. send "&c&l敵陣営とのチーミングは禁止行為です。(&4BAN対象)"
  27. send "&6それでは、頑張ってください!!"
  28. send "&a&l========================="
  29. set {kaisi} to 1
  30. add 45 to {time}
  31. wait 45 second
  32. loop all players:
  33. if {oni::*} contains loop-player:
  34. command "/particle minecraft:explosion ~ ~ ~ 2 2 2 1 100 force %loop-player%"
  35.  
  36. every tick:
  37. if {kaisi} is 1:
  38. loop all players:
  39. if {oni:*} contains loop-player:
  40. send action bar "&c残り%{time}%秒で爆発します!!あなたは今鬼です!!" to loop-player
  41. if {nige::*} contains loop-player:
  42. send action bar "&a残り%{time}%秒で爆発します!!あなたは今逃げです!!" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement