Guest User

Untitled

a guest
Nov 8th, 2019
83
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /oni [<text>] [<text>]:
  2. permission: skript.admin
  3. trigger:
  4. if arg-1 is "oni":
  5. if arg-2 is "1":
  6. command "/fill -288 78 -84 -288 78 -76 air"
  7. command "/setblock -288 78 -84 stone"
  8. send "&c&l[&4鬼&5ごっこ&c&l]&6鬼を&e[&b1&e]&6にセットしました"
  9. if arg-2 is "2":
  10. command "/fill -288 78 -84 -288 78 -76 air"
  11. command "/setblock -288 78 -82 stone"
  12. send "&c&l[&4鬼&5ごっこ&c&l]&6鬼を&e[&b2&e]&6にセットしました"
  13. if arg-2 is "3":
  14. command "/fill -288 78 -84 -288 78 -76 air"
  15. command "/setblock -288 78 -80 stone"
  16. send "&c&l[&4鬼&5ごっこ&c&l]&6鬼を&e[&b3&e]&6にセットしました"
  17. if arg-2 is "4":
  18. command "/fill -288 78 -84 -288 78 -76 air"
  19. command "/setblock -288 78 -78"
  20. send "&c&l[&4鬼&5ごっこ&c&l]&6鬼を&e[&b4&e]&6にセットしました"
  21. if arg-2 is "5":
  22. command "/fill -288 78 -84 -288 78 -76 air"
  23. command "/setblock -288 78 -76 stone"
  24. send "&c&l[&4鬼&5ごっこ&c&l]&6鬼を&e[&b5&e]&6にセットしました"
  25.  
  26. if arg-1 is "start":
  27. command "/setblock -272 78 -80 stone"
  28. send "&c&l[&4鬼&5ごっこ&c&l]&6鬼ごっこが開始されました"
  29.  
  30. if arg-1 is "stop":
  31. command "/setblock -138 4 134 stone"
  32. broadcast "&c&l[&4鬼&5ごっこ&c&l]&6鬼ごっこが強制終了しました"
  33.  
  34. if arg-1 is "timeset":
  35. if arg-2 is "5":
  36. command "/fill -286 78 -96 -286 78 -88 air"
  37. command "/setblock -286 78 -96 stone"
  38. broadcast "&c&l[&4鬼&5ごっこ&c&l]&6鬼ごっこの制限時間を&e[&b5分&e]&6に設定しました"
  39.  
  40. if arg-2 is "10":
  41. command "/fill -286 78 -96 -286 78 -88 air"
  42. command "/setblock -286 78 -94 stone"
  43. broadcast "&c&l[&4鬼&5ごっこ&c&l]&6鬼ごっこの制限時間を&e[&b10分&e]&6に設定しました"
  44.  
  45. if arg-2 is "15":
  46. command "/fill -286 78 -96 -286 78 -88 air"
  47. command "/setblock -86 78 -92 stone"
  48. broadcast "&c&l[&4鬼&5ごっこ&c&l]&6鬼ごっこの制限時間を&e[&b15分&e]&6に設定しました"
  49.  
  50. if arg-2 is "20":
  51. command "/fill -286 78 -96 -286 78 -88 air"
  52. command "/setblock -286 78 -90 stone"
  53. broadcast "&c&l[&4鬼&5ごっこ&c&l]&6鬼ごっこの制限時間を&e[&b20分&e]&6に設定しました"
  54.  
  55. if arg-2 is "25":
  56. command "/fill -286 78 -96 -286 78 -88 air"
  57. command "/setblock -286 78 -88 stone"
  58. broadcast "&c&l[&4鬼&5ごっこ&c&l]&6鬼ごっこの制限時間を&e[&b25分&e]&6に設定しました"
  59.  
  60. if arg-1 is "help":
  61. send "&b=====&c&l[&4鬼&5ごっこ&c&l]&a====="
  62. send "&e/oni oni &b[1/2/3/4/5]"
  63. send "&6このコマンドは鬼を決めます(5人まで)"
  64. send "&e/oni timeset &b[5/10/15/20/25]"
  65. send "&6このコマンドは鬼ごっこの時間を決めます"
  66. send "&e/oni start"
  67. send "&6このコマンドは鬼ごっこを始めます"
  68. send "&e/oni stop"
  69. send "&6このコマンドは鬼ごっこを止めます"
  70. send "&c&l注意:使うな危険"
  71. send "&b============&a============"
RAW Paste Data