Advertisement
miyasoku

一時保存

May 4th, 2020
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. on walk on sand:
  2. if {tntrun} is true:
  3. if {tntgame.%player%} is true:
  4. wait 1 tick
  5. set block 2 below player to air
  6.  
  7. on walk on gravel:
  8. if {tntrun} is true:
  9. if {tntgame.%player%} is true:
  10. wait 1 tick
  11. set block 2 below player to air
  12.  
  13. command /game [<text>] [<text>]:
  14. permission: skript.game
  15. permission message: &cこのコマンドを実行する権限がありません。
  16. trigger:
  17. if arg-1 is "tntrun":
  18. if arg-2 is "start":
  19. broadcast "&aゲームを開始します。"
  20. wait 1 second
  21. send title "&a&lStart!" to all player 1 seconds
  22. set {tntrun} to true
  23. if arg-2 is "stop":
  24. set {tntrun} to false
  25.  
  26. command /join [<text>]:
  27. trigger:
  28. if arg-1 is "tntrun":
  29. set {tntgame.%player%} to true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement