Jest to mój pierwszy skrypt jaki napisałem więc proszę o wyrozumiałość
command /spawn [<text>]:
trigger:
apply nausea 2 to player for 7 seconds
apply slownnes 2 to player for 7 seconds
send "&cTeleportuje... &7&lPozostalo 5 sekund"
wait 1 second
send "&cTeleportuje... &7&lPozostaly 4 sekundy"
wait 1 second
send "&cTeleportuje... &7&lPozostaly 3 sekundy"
wait 1 second
send "&cTeleportuje... &7&lPozostaly 2 sekundy"
wait 1 second
send "&cTeleportuje... &7&lPozostala 1 sekunda"
wait 1 second
send "&c&lTeleport Powiodl sie..."
teleport %player% to 0 0 100
remove nausea from player
if "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%" isn't {_loc}:
send "&c&lBlad! &7Teleportacja przerwana!"
remove nausea from player
remove slowness from player
stop