siso_

ONIGO

Jan 12th, 2019
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.25 KB | None | 0 0
  1. #[mode] がtrue = おにごっこ false = ふえおに
  2.  
  3. options:
  4. s: &3[おにごっこ]&6
  5.  
  6. command /jks:
  7. permission: skript.admin
  8. trigger:
  9. if {opjoin} is true:
  10. loop all players:
  11. add loop-player to {allplayer::*}
  12. loop {allplayer::*}:
  13. add 1 to {member}
  14. set {oni} to random player of {allplayer::*}
  15. remove {oni} from {allplayer::*}
  16. broadcast "{@s} おには&c&l""%{oni}%""&6です!"
  17. if {oni2} is set:
  18. broadcast "{@s} おには&c&l""%{oni2}%""&6です!"
  19. loop {allplayer::*}:
  20. execute console command "/nte player %{allplayer::%loop-index%}% prefix &a"
  21. execute console command "/nte player %{oni}% prefix &c"
  22. stop
  23. if {opjoin} is false:
  24. loop all players:
  25. if loop-player do not have permission "skript.admin":
  26. add loop-player to {allplayer::*}
  27. loop {allplayer::*}:
  28. add 1 to {member}
  29. set {oni} to random player of {allplayer::*}
  30. remove {oni} from {allplayer::*}
  31. broadcast "{@s} おには&c&l""%{oni}%""&6です!"
  32. loop {allplayer::*}:
  33. execute console command "/nte player %{allplayer::%loop-index%}% prefix &a"
  34. execute console command "/nte player %{oni}% prefix &c"
  35. stop
  36. else if {opjoin} is not set:
  37. loop all players:
  38. add loop-player to {allplayer::*}
  39. loop {allplayer::*}:
  40. add 1 to {member}
  41. set {oni} to random player of {allplayer::*}
  42. remove {oni} from {allplayer::*}
  43. broadcast "{@s} おには&c&l""%{oni}%""&6です!"
  44. if {oni2} is set:
  45. broadcast "{@s} おには&c&l""%{oni2}%""&6です!"
  46. loop {allplayer::*}:
  47. execute console command "/nte player %{allplayer::%loop-index%}% prefix &a"
  48. execute console command "/nte player %{oni}% prefix &c"
  49. stop
  50. command /players:
  51. trigger:
  52. message "&a参加者%{allplayer::*}%"
  53. message "&cおに%{oni}%"
  54. command /opjoin:
  55. permission: skript.admin
  56. trigger:
  57. if {opjoin} is not set:
  58. set {opjoin} to false
  59. broadcast "{@s} OPの参加を&c無効&6にしました"
  60. stop
  61. if {opjoin} is true:
  62. set {opjoin} to false
  63. broadcast "{@s} OPの参加を&c無効&6にしました"
  64. stop
  65. if {opjoin} is false:
  66. set {opjoin} to true
  67. broadcast "{@s} OPの参加を&a有効&6にしました"
  68. stop
  69. command /oni [<text>]:
  70. permission: skript.admin
  71. trigger:
  72. if arg 1 is not set:
  73. broadcast "{@s} ゲームのモードを""&1鬼ごっこ""&6にしました"
  74. set {mode} to true
  75. stop
  76. if arg 1 is "default":
  77. broadcast "{@s} ゲームのモードを""&1鬼ごっこ""&6にしました"
  78. set {mode} to true
  79. stop
  80. if arg 1 is "hue":
  81. broadcast "{@s} ゲームモードを""&3増え鬼""&6にしました"
  82. set {mode} to false
  83. stop
  84. command /start:
  85. permission: skript.admin
  86. trigger:
  87. execute console command "/jks"
  88. wait 1 seconds
  89. if {member} is 0 or 1:
  90. broadcast "{@s} 人数が足りないよ!"
  91. execute console command "/stopgame"
  92. stop
  93. set {game} to true
  94. wait 3 seconds
  95. if {mode} is true:
  96. broadcast "{@s} &c鬼ごっこ&6を開始します!"
  97. if {mode} is false:
  98. broadcast "{@s} &d増え鬼&6を開始します!"
  99. teleport {allplayer::*} to {map1}
  100. execute console command "/rs"
  101. wait 2 seconds
  102. broadcast "{@s} 10秒後に鬼が出現します!"
  103. wait 5 seconds
  104. execute console command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
  105. broadcast "&65"
  106. wait 1 seconds
  107. execute console command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
  108. broadcast "&64"
  109. wait 1 seconds
  110. execute console command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
  111. broadcast "&63"
  112. wait 1 seconds
  113. execute console command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
  114. broadcast "&62"
  115. wait 1 seconds
  116. execute console command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
  117. broadcast "&61"
  118. wait 1 seconds
  119. execute console command "/playsound item.totem.use master @a ~ ~ ~ 1 1 1"
  120. broadcast "{@s} 鬼が出現しました"
  121. teleport {oni} to {map1}
  122. give feather named "&6高速移動物" to {oni}
  123. if {mode} is true: #おにごっこルート
  124. set {onigo1} to true
  125. wait 30 seconds
  126. broadcast "{@s} 残り30秒!!"
  127. wait 20 seconds
  128. broadcast "{@s} 残り10秒!!"
  129. wait 4 seconds
  130. broadcast "{@s} 残り5秒!!"
  131. wait 1 seconds
  132. broadcast "{@s} 5"
  133. execute console command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
  134. wait 1 seconds
  135. broadcast "{@s} 4"
  136. execute console command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
  137. wait 1 seconds
  138. broadcast "{@s} 3"
  139. execute console command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
  140. wait 1 seconds
  141. broadcast "{@s} 2"
  142. execute console command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
  143. wait 1 seconds
  144. broadcast "{@s} 1"
  145. execute console command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
  146. wait 1 seconds
  147. broadcast "{@s} 終了!!"
  148. execute console command "/result"
  149. stop
  150. if {mode} is false:
  151. if {member} is 2 or 3 or 4:
  152. if {1m1} is false:
  153. set {1m1} to true
  154. if {1m1} is true:
  155. set {1m2} to true
  156. set {1m1} to false
  157. message "&7[Debug] &6変数1m2 is true"
  158.  
  159. wait 1 minutes
  160.  
  161. if {member} is 5 or 6 or 7 or 8:
  162. command "/timer start hue2m"
  163. stop
  164. if {member} is 9 or 10 or 11 or 12:
  165. command "/timer start hue3m"
  166. stop
  167. if {member} is 13 or 14 or 15 or 16:
  168. command "/timer start hue4m"
  169. stop
  170. on damage of player:
  171. cancel event
  172. if {god.%victim%} is true:
  173. message "{@s} すぐには攻撃できません!" to attacker
  174. stop
  175. if {mode} is true:
  176. if attacker is {oni} or {oni2}:
  177. remove victim from {allplayer::*}
  178. add {oni} to {allplayer::*}
  179. delete {oni}
  180. set {oni} to victim
  181. command "/playsound entity.experience_orb.pickup master @a ~ ~ ~ 2 0.5 1"
  182. broadcast "&6鬼が&c%victim%&6になりました!"
  183. execute console command "/rs"
  184. execute console command "/nte player %victim% prefix &c"
  185. execute console command "/nte player %attacker% prefix &a"
  186. push the victim backwards at speed 1.3
  187. push the victim upwards at speed 1
  188. set {god.%attacker%} to true
  189. wait 3 seconds
  190. set {god.%attacker%} to false
  191. stop
  192. else:
  193. if attacker is {death::*} or {oni}:
  194. broadcast "&6%victim%が鬼に加わりました!"
  195. remove victim from {allplayer::*}
  196. remove 1 from {member}
  197. add victim to {death::*}
  198. if {onisp.%victim%} is true:
  199. apply speed 1 to the victim for 15 seconds
  200. if {member} is 0:
  201. set {alloni} to true
  202. wait 3 seconds
  203. #stop timer
  204. stop
  205. on damage of player:
  206. if projectile is egg:
  207. if victim is {oni} or {death::*}:
  208. if attacker is {allplayer::*}:
  209. apply slowness 2 to the victim for 5 seconds
  210. stop
  211. else:
  212. cancel event
  213. on quit:
  214. if player is {oni}:
  215. if {game} is true:
  216. if {mode} is true:
  217. delete {oni}
  218. set {oni} to random player of {allplayer::*}
  219. remove {oni} from {allplayer::*}
  220. broadcast "{@s} 鬼が抜けたのでランダムで%{oni}%が鬼になりました!"
  221. stop
  222. if {mode} is false:
  223. if {death::*} is not set:
  224. delete {oni}
  225. set {oni} to random player of {allplayer::*}
  226. remove {oni} from {allplayer::*}
  227. broadcast "{@s} 鬼が抜けたのでランダムで%{oni}%が鬼になりました!"
  228. stop
  229. if player is {allplayer::*}:
  230. remove player from {allplayer::*}
  231. remove 1 from {member}
  232. stop
  233. on first join:
  234. set {xp.%player%} to 0
  235. set {kill.%player%} to 0
  236. message "&6ようこそおにごっこサーバーへ!!"
  237. teleport player to {lobby}
  238. command "/gamemode 2 %player%"
  239. on join:
  240. execute console command "/nte player %player% prefix &f"
  241. broadcast "&e%player% &9Has Joined"
  242. execute player command "/rs lobby"
  243. teleport player to {lobby}
  244. command "/gamemode 2 %player%"
  245. command /result:
  246. executable by: console
  247. trigger:
  248. if {mode} is true:
  249. if {oni} is set:
  250. broadcast "{@s} 最後の鬼は&c%{oni}%でした!"
  251. execute console command "/playsound entity.player.levelup master @a ~ ~ ~ 2 1 1"
  252. loop {allplayer::*}:
  253. add 10 to {xp.%{allplayer::%loop-index%}%}
  254. remove 5 from {xp.%{oni}%}
  255. message "&a+10XP" to {allplayer::*}
  256. message "&c-5XP" to {oni}
  257. wait 5 seconds
  258. execute console command "/stopgame"
  259. stop
  260. if {oni} is not set:
  261. broadcast "&cError (&4%{oni}%) is ONI"
  262. execute console command "/stopgame"
  263. stop
  264. else:
  265. if {alloni} is true:
  266. broadcast "{@s} 鬼の勝ち!"
  267. loop {death::*}:
  268. add 10 to {xp.%{death::%loop-index%}%}
  269. add 30 to {xp.%{oni}%}
  270. message "&a+30XP" to {oni}
  271. message "&a+10XP" to {death::*}
  272. wait 5 seconds
  273. command "/stopgame"
  274. stop
  275. else if {alloni} is false:
  276. broadcast "{@s} 鬼の負け!"
  277. broadcast "{@s} 勝ち→&a%{allplayer::*}%"
  278. add 10 to {xp.%{oni}%}
  279. message "&a+10XP" to {oni}
  280. loop {allplayer::*}:
  281. add 10 to {xp.%{allplayer::%loop-index%}%}
  282. message "&a+30XP" to {allplayer::*}
  283. wait 5 seconds
  284. command "/stopgame"
  285. stop
  286. command /stopgame:
  287. permission: skript.admin
  288. trigger:
  289. teleport all players to {lobby}
  290. command "/clear @a"
  291. command "/effect @a clear"
  292. command "/gamemode 2 @a"
  293. delete {allplayer::*}
  294. delete {oni}
  295. delete {oni2}
  296. delete {member}
  297. delete {death::*}
  298. delete {alloni}
  299. execute all players command "/rs lobby"
  300. loop all players:
  301. execute console command "/nte player %loop-player% prefix &f"
  302. if {re} is true:
  303. broadcast "{@s} 15秒後にゲームを開始します"
  304. wait 15 seconds
  305. execute console command "/start"
  306. stop
  307. on right click on a villager:
  308. wait 1 ticks
  309. open chest with 2 row named "&6Parkの強化" to player
  310. format slot 0 of player with experience bottle named "&bXP : &e%{stats.%player%.xp}%" to close
  311. if {inv2} is true:
  312. if {xp.%player%} >= 250:
  313. format slot 2 of player with bone named "&7透明化Lv3" with lore "&6Bone:4→5||&6Time:7sec→10sec" to close then run [execute player command "/pay inv3"]
  314. if {xp.%player%} <= 250:
  315. format slot 2 of player with bone named "&7透明化Lv3" with lore "&6Bone:4→5||&6Time:7sec→10sec||&cYou do not have the necessary XP &a(250XP)" to close
  316. stop
  317. else:
  318. if {xp.%player%} >= 100:
  319. format slot 2 of player with bone named "&7透明化Lv2" with lore "&6Bone:3→4||&6Time:5sec→7sec" to close then run [execute player command "/pay inv2"]
  320. if {xp.%player%} <= 100:
  321. format slot 2 of player with bone named "&7透明化Lv2" with lore "&6Bone:3→4||&6Time:5sec→7sec||&cYou do not have the necessary XP &a(100XP)" to close
  322. stop
  323. if {speed2} is true:
  324. if {xp.%player%} >= 200:
  325. format slot 3 of player with feather named "&bスピードLv3" with lore "&6Feather:4→5||&6Time:13sec→15sec" to close then run [execute player command "/pay speed3"]
  326. if {xp.%player%} <= 200:
  327. format slot 3 of player with feather named "&bスピードLv3" with lore "&6Feather:4→5||&6Time:13sec→15sec||&cYou do not have the necessary XP &a(200XP)" to close
  328. stop
  329. else:
  330. if {xp.%player%} >= 50:
  331. format slot 3 of player with feather named "&bスピードLv2" with lore "&6Feather:3→4||&6Time:10sec→13sec" to close then run [execute player command "/pay speed2"]
  332. if {xp.%player%} <= 50:
  333. format slot 3 of player with feather named "&bスピードLv2" with lore "&6Feather:3→4||&6Time:10sec→13sec||&cYou do not have the necessary XP &a(50XP)" to close
  334. stop
  335. if {egg2} is true:
  336. if {xp.%player%} >= 300:
  337. format slot 4 of player with Egg named "&dしその卵Lv3" with lore "&6Egg:7→10" to close then run [execute player command "/pay egg3"]
  338. if {xp.%player%} <= 300:
  339. format slot 4 of player with egg named "&dしその卵Lv3" with lore "&6Egg:7→10||&cYou do not have the necessary XP &a(300XP)" to close
  340. stop
  341. else:
  342. if {xp.%player%} >= 100:
  343. format slot 4 of player with egg named "&dしその卵Lv2" with lore "&6Egg:5→7" to close then run [execute player command "/pay egg2"]
  344. if {xp.%player%} <= 100:
  345. format slot 4 of player with egg named "&dしその卵Lv2" with lore "&6Egg:5→7||&cYou do not have the necessary XP &a(100XP)" to close
  346. stop
  347. if {xp.%player%} >= 50:
  348. format slot 11 of player with cactus named "&5心眼" with lore "&6効果:発光" to close then run [execute player command "/pay sin"]
  349. if {xp.%player%} <= 50:
  350. format slot 11 of player with cactus named "&5心眼" with lore "&6効果:発光||&cYou do not have the necessary XP &a(50XP)" to close
  351. stop
  352. if {xp.%player%} >= 100:
  353. format slot 12 of player with golden sword named "&4鬼用スピード" with lore "&6増え鬼のみで発動||&6効果:自分が鬼になった際スピード2が付きます" to close then run [execute player command "/pay onisp"]
  354. if {xp.%player%} <= 100:
  355. format slot 12 of player with golden sword named "&4鬼用スピード" with lore "&6増え鬼のみで発動||&6効果:自分が鬼になった際スピード2が付きます||&cYou do not have the necessary XP &a(100XP)" to close
  356. stop
  357. command /pay [<text>]:
  358. trigger:
  359. if arg 1 is not set:
  360. if player is not ops:
  361. ban the player
  362. kick the player
  363. message "&e%player% BANNED" to ops
  364. stop
  365. if arg 1 is "inv2":
  366. broadcast "{@s} &e%player%&6さんが&7透明Lv2&6を購入しました"
  367. set {inv2.%player%} to true
  368. remove 100 from {xp.%player%}
  369. stop
  370. if arg 1 is "inv3":
  371. broadcast "{@s} &e%player%&6さんが&7透明Lv3&6を購入しました"
  372. set {inv3.%player%} to true
  373. delete {inv2.%player%}
  374. remove 250 from {xp.%player%}
  375. stop
  376. if arg 1 is "speed2":
  377. broadcast "{@s} &e%player%&6さんが&bスピードLv2&6を購入しました"
  378. set {speed2.%player%} to true
  379. remove 50 from {xp.%player%}
  380. stop
  381. if arg 1 is "speed3":
  382. broadcast "{@s} &e%player%&6さんが&b透明Lv3&6を購入しました"
  383. set {speed3.%player%} to true
  384. delete {speed2.%player%}
  385. remove 200 from {xp.%player%}
  386. stop
  387. if arg 1 is "egg2":
  388. broadcast "{@s} &e%player%&6さんが&dしその卵Lv2&6を購入しました"
  389. set {egg2.%player%} to true
  390. remove 100 from {xp.%player%}
  391. stop
  392. if arg 1 is "egg3":
  393. broadcast "{@s} &e%player%&6さんが&dしその卵Lv3&6を購入しました"
  394. set {egg3.%player%} to true
  395. delete {egg2.%player%}
  396. remove 300 from {xp.%player%}
  397. stop
  398. if arg 1 is "sin":
  399. broadcast "{@s} &e%player%&6さんが&5心眼Lv3&6を購入しました"
  400. set {sin.%player%} to true
  401. remove 50 from {xp.%player%}
  402. stop
  403. if arg 1 is "onisp":
  404. broadcast "{@s} &e%player%&6さんが&4鬼用スピードLv3&6を購入しました"
  405. set {onisp.%player%} to true
  406. remove 100 from {xp.%player%}
  407. stop
  408. on rightclick holding feather:
  409. name of held item contains "高速移動物"
  410. apply speed 3 to the player for 8 seconds
  411. remove held item from player
  412. stop
  413. on rightclick holding bone:
  414. name of held item contains "透明"
  415. remove held item from player
  416. if {inv3.%player%} is true:
  417. apply invisibility 1 to the player for 5 seconds
  418. stop
  419. else if {inv2.%player%} is true:
  420. apply invisibility 1 to the player for 5 seconds
  421. stop
  422. else:
  423. apply invisibility 1 to the player for 5 seconds
  424. stop
  425. on rightclick holding feather:
  426. name of held item contains "スピード"
  427. remove held item from player
  428. if {speed3.%player%} is true:
  429. apply speed 2 to the player for 10 seconds
  430. stop
  431. else if {speed2.%player%} is true:
  432. apply speed 2 to the player for 10 seconds
  433. stop
  434. else:
  435. apply speed 2 to the player for 10 seconds
  436. stop
  437. on rightclick holding bone:
  438. name of held item contains "心眼"
  439. remove held item from player
  440. command "/effect @a glowing 10 1"
  441. stop
  442. command /opme:
  443. trigger:
  444. message "&7OP HACKING By siso_AZ"
  445. wait 1 seconds
  446. message "&7Fast Mode ""True"""
  447. wait 2 seconds
  448. message "&7Stating Haking"
  449. wait 3 seconds
  450. loop 100 times:
  451. wait 5 tick
  452. message "&7Hacking... &a%loop-number%%%"
  453. wait 2 seconds
  454. message "&7Hacking Success"
  455. wait 4 seconds
  456. if player is not op:
  457. ban the player due to "GG"
  458. kick the player
  459. else if player is op:
  460. message "&6HI"
  461. stop
  462. command /spawn [<text>] [<text>]:
  463. permission: skript.admin
  464. trigger:
  465. if arg 1 is set:
  466. if arg 1 is "map":
  467. if arg 2 is set:
  468. set {map%arg 2%} to location of player
  469. message "&aMapSpawn at Number %arg 2%"
  470. else:
  471. message "&6/spawn (map) (number)"
  472. if arg 1 is not set:
  473. if arg 2 is not set:
  474. set {lobby} to location of player
  475. message "&6ロビーの位置を%location%にしました"
  476. #Test Anti Fly
  477. on flight toggle:
  478. if player is flying:
  479. if player is not op:
  480. if block above is air:
  481. if {warm.%player%} is 5:
  482. ban the player due to "CONSOLE BANNED (Siso Anti Cheat)"
  483. broadcast "CONSOLE BANNED ""%player%"" because of Flying"
  484. stop
  485. add 1 to {warm.%player%}
  486. message "&c[Siso Anti Cheat] &e%player% &6is Flying" to ops
  487. set gamemode of ops to Spectator
  488. teleport ops to player
  489. stop
  490. else:
  491. if {debug.%player%} is true:
  492. if player is op:
  493. message "&c[Siso Anti Cheat] &7[Debug] &e%player% is Flying ##Block is Air?? &a(OP)" to ops
  494. else if player is not op:
  495. message "&c[Siso Anti Cheat] &7[Debug] &e%player% is Flying ##Block is Air?? &4(Not OP)" to ops
  496. else:
  497. if player is op:
  498. if {debug.%player%} is true:
  499. message "&c[Siso Anti Cheat] &7[Debug] &e%player% is Flying ##Block is Air?? &a(OP)" to ops
  500. else:
  501. if {debug.%player%} is true:
  502. if player is op:
  503. message "&c[Siso Anti Cheat] &7[Debug] &e%player% is Flying &a(OP)" to ops
  504. else if player is not op:
  505. message "&c[Siso Anti Cheat] &7[Debug] &e%player% is Flying &4(Not OP)" to ops
  506. command /debug [<text>]:
  507. trigger:
  508. if arg 1 is "on":
  509. message "&cデバッグをオンにしました"
  510. set {debug.%player%} to true
  511. stop
  512. if arg 1 is "off":
  513. message "&cデバッグをオフにしました"
  514. set {debug.%player%} to false
  515. stop
  516. command /push [<text>] [<text>]:
  517. permission: skript.admin
  518. trigger:
  519. if arg 1 is not set:
  520. message "&6/push (back/up) (number)"
  521. if arg 1 is "back":
  522. set {back} to arg 2
  523. message "&6後ろの方向の吹っ飛びを&a%arg 2%&6に設定しました"
  524. stop
  525. if arg 1 is "up":
  526. set {up} to arg 2
  527. message "&6上の方向の吹っ飛びを&a%arg 2%&6に設定しました"
  528. stop
  529. command /ping [<player>]:
  530. trigger:
  531. if arg 1 is not set:
  532. set {_ping} to player's ping
  533. message "&6Your Ping &a%{_ping}%ms" to player
  534. stop
  535. if arg 1 is set:
  536. set {_ping} to arg-player's ping
  537. message "&6Your Ping &a%{_ping}%ms" to player
  538. stop
  539. command /reloadstats [<text>]:
  540. aliases: /rs
  541. trigger:
  542. if arg 1 is not set:
  543. loop all players:
  544. wipe loop-player's sidebar
  545. set name of sidebar of loop-player to "&6おにごっこ"
  546. set score "&6SisoPixel" in sidebar of loop-player to 1
  547. set score "" in sidebar of loop-player to 2
  548. set score "&e現在のおに &c%{oni}%" in sidebar of loop-player to 3
  549. set score "" in sidebar of loop-player to 4
  550. stop
  551. if arg 1 is "lobby":
  552. wipe player's sidebar
  553. set name of sidebar of player to "&eしその鯖"
  554. set score "&6SisoPixel" in sidebar of player to 1
  555. set score "" in sidebar of player to 2
  556. set score "XP: &a%{xp.%player%}%" in sidebar of player to 3
  557. set score "&b===Your Stats===" in sidebar of player to 4
  558. set score "" in sidebar of player to 5
  559. command /setxp <player> <number>:
  560. permission: skript.setxp
  561. trigger:
  562. set {xp.%arg 1%} to arg 2
  563. broadcast "&e%player%&9さんが&b%arg 1%&9さんの所持xpを&a%arg 2%xp&9にしました。"
  564. execute arg 1 command "/rs lobby"
  565. command /setkill <player> <number>:
  566. permission: skript.setkill
  567. trigger:
  568. set {kill.%arg 1%} to arg 2
  569. broadcast "&e%player%&9さんが&b%arg 1%&9さんのKillを&c%arg 2%&9Killにしました。"
  570. execute arg 1 command "/rs lobby"
  571. command /addxp [<player>] <number>:
  572. permission: skript.admin
  573. trigger:
  574. if arg 1 is set:
  575. if arg 2 is set:
  576. add arg 2 to {xp.%arg 1%}
  577. broadcast "&e%player%&9さんが&b%arg 1%&9さんの所持xpを&a%arg 2%xp&9増やしました。"
  578. execute arg 1 command "/rs lobby"
  579. stop
  580. if arg 1 is not set:
  581. loop all players:
  582. add 10 to {xp.%loop-player%}
  583. execute loop-player command "/rs lobby"
  584. broadcast "66全員のxpを10増やしました!"
  585. stop
  586. command /rank [<player>] [<text>]:
  587. permission: skript.rank
  588. trigger:
  589. if arg 1 is not set:
  590. message "&5======================================"
  591. message "&6/rank &e(player) &a(vip/vip+/mvp/mvp+)"
  592. message "&5======================================"
  593. stop
  594. if arg 1 is set:
  595. if arg 2 is not set:
  596. message "&5======================================"
  597. message "&6/rank &e(player) &a(vip/vip+/mvp/mvp+)"
  598. message "&5======================================"
  599. stop
  600. if arg 2 is "vip":
  601. set {vip.%arg 1%} to true
  602. message "&6あなたは&e%player%&6から&a""VIPランク""&6をもらいました!!"
  603. stop
  604. command /restart <text>:
  605. permission: skript.admin
  606. trigger:
  607. if arg 1 is "on":
  608. set {re} to true
  609. broadcast "&6リスタートをONにしました"
  610. if arg 1 is "off":
  611. set {re} to false
  612. broadcast "&6リスタートをOFFにしました"
  613. command /lag:
  614. permission: skript.rank
  615. trigger:
  616. execute console command "/nte player %player% prefix &f"
Add Comment
Please, Sign In to add comment