#multi-worlds spawn system

1 messages · Page 1 of 1 (latest)

sinful glade
#

your if has wrong indentation

#

also it ur grammar is wrong

#

also, you should teleport with skript instead of executing console command

#

teleport player to location(x, y, z, world "yourworldname")

#

btw, you could make the countdown better with a loop

#

loop 3 times:
set {_i} to 3 - loop-index
send "blablabla in %{_i}% seconds"
wait 1 second
teleport...

#

with that system you can easily add more delay

hidden hound
sinful glade
#

when /spawn, add a var that player is going to spawn
check on move event separately, if the var is true, delete the var
every second, you can check if the var is set, if it is then cancel and if it's not then continue

#

may be easier with the loop I mentionned

hidden hound
# sinful glade when /spawn, add a var that player is going to spawn check on move event separat...
    trigger:
        set {Spawn::%player%} to 5
        wait 1 tick
        send "&6&lPractice &8» &fyour were teleport to spawn in &a3s"
        wait 1 second
        send "&6&lPractice &8» &fyour were teleport to spawn in &a2s"
        wait 1 second
        send "&6&lPractice &8» &fyour were teleport to spawn in &a1s"
        wait 1 second
        while {Spawn::%player%} is not 0:
           wait 1 tick
           subtract 1 from {Spawn::%player%}
        {Spawn::%player%} is 0
        teleport %player% 10.50 -16 15.50

on any move:
    if {Spawn::%player%} is set:
        delete {Spawn::%player%}
        send "You moved..." to player

#

this what i can do