Dodalbys ktos w tym skrypcie zeby z permisja teleport.admin teleportowalo automatycznie na spawna? a nie po 5 sekundach i zeby mozna bylo ruszac myszka podczas teleportacji, bo wystarczy ze leciutko rusze i juz blokuje teleport
command /setspawnn:
trigger:
if player has permission "pak.setspawn":
set {spawn} to location of player
send "&8» &7Ustawiles punkt spawnu &epomyslnie!"
else:
send "&8» &7Brak dostepu do: &e(pak.setspawn)"
command /spawn:
trigger:
if player has permission "pak.spawn":
set {_loc} to "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%"
send "&8» &eTeleportacja &7nastopi za &e5 sekund. &7Nie ruszaj sie!"
wait 5 real seconds
if "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%" is {_loc}:
teleport player to {spawn}
send "&8» &7Teleportacja &epomyslna!"
else:
send "&8» &eRuszyles sie! &7Teleportacja anulowana!"