Advertisement
okaz_

Untitled

May 31st, 2020
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. command /setspawn:
  2. trigger:
  3. if sender does not have permission "skript.admin":
  4. send "&c権限がありません。"
  5. stop
  6. if sender has permission "skript.admin":
  7. set {firstspawn} to player's location
  8. send "&e初期スポーン地点を &7%{firstspawn}% &eに設定しました。"
  9. stop
  10.  
  11. command /spawn:
  12. trigger:
  13. send "&e3秒後にスポーン地点に移動します。"
  14. wait 3 seconds
  15.  
  16. teleport player to {firstspawn}
  17. stop
  18.  
  19. on first join:
  20. set join message to "&e[&d+&e] &7%player%"
  21. teleport player to {firstspawn}
  22. execute console command "/execute @a ~ ~ ~ /playsound minecraft:entity.arrow.hit_player master @p ~ ~ ~ 10 2"
  23.  
  24. on join:
  25. set join message to "&e[&a+&e] &7%player%"
  26. execute console command "/execute @a ~ ~ ~ /playsound minecraft:entity.arrow.hit_player master @p ~ ~ ~ 10 1"
  27.  
  28. on quit:
  29. set quit message to "&e[&c-&e] &7%player%"
  30. execute console command "/execute @a ~ ~ ~ /playsound minecraft:entity.arrow.hit_player master @p ~ ~ ~ 10 0.5"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement