pls help my skript doesnt work

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

EdwardV297

Member
Nov 28, 2025
2
0
1
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
 
Tryif (y-coordinate of location of player) is less than 270:.
I'm not sure if you can do this in a single line though...
 

every tick:
loop all players:
if y-location of loop-player is less than 270:
execute console command "kill %player%"


my friend helped me out so no need anymore