UDON_JP

SkyWarsJoinSkript

Apr 14th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. command /randomtp:
  2. trigger:
  3. loop {map1::*}:
  4. add loop-value to {teleport::*}
  5. loop {solo::*}:
  6. set {_position} to random integer out of {teleport::*}
  7. teleport loop-value to {_position}
  8. remove {_position} from {teleport::*}
  9. delete {teleport::*}
  10.  
  11. command /swsolojoin <player>:
  12. aliases: /swsj
  13. trigger:
  14. if {solo::*} contains arg-1:
  15. send "&c既にゲームに参加しています。"
  16. stop
  17. add arg-1 to {solo::*}
  18. clear arg-1's inventory
  19. execute console command "/mv tp %arg-1% map1"
  20. execute console command "/menu grab %arg-1% wait"
  21. send "&7%arg-1% &eがゲームに参加しました! (&b%amount of {solo::*}%&e/&b8&e)!" to {solo::*}
  22. if amount of {solo::*} is 1:
  23. wait 1 second
  24. loop {map1::*}:
  25. add loop-value to {teleport::*}
  26. loop {solo::*}:
  27. set {_position} to random location out of {teleport::*}
  28. teleport loop-value to {_position}
  29. remove {_position} from {teleport::*}
  30. clear {teleport::*}
  31. gamestart()
  32. stop
  33. function gamestart():
  34. send "&a10&e秒後に&bゲージが&e開きます" to {solo::*}
  35. wait 5 second
  36. send "&65&e秒後に&bゲージが&e開きます" to {solo::*}
  37. wait 1 second
  38. send "&c4&e秒後に&bゲージが&e開きます" to {solo::*}
  39. wait 1 second
  40. send "&c3&e秒後に&bゲージが&e開きます" to {solo::*}
  41. wait 1 second
  42. send "&c2&e秒後に&bゲージが&e開きます" to {solo::*}
  43. wait 1 second
  44. send "&c1&e秒後に&bゲージが&e開きます" to {solo::*}
  45. wait 1 second
  46. send {solo::*} title "&c&lGame Start!" for 3 seconds
Add Comment
Please, Sign In to add comment