on step on red wool: if {al.loop-player} is on: if "%region at player%" contains "spawn": teleport player to {al.miejsce.%player%} on any move: if {al.loop-player} is on: loop all region's in radius 1 around player: if loop-region is "spawn": set {al.miejsce.%player%} to location of player every 1 ticks: loop all players: if {al.loop-player} is on: if "%region at player%" contains "spawn": teleport player to {al.miejsce.%player%}