Code:
every tick:
loop all players:
if y-coordinate of player is less than 270:
execute console command "kill %player%"
i want people to or tp to spawn or just die (wich is easier) when below an certein hight but this skript doesnt work