Void Teleport Command

  • 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 comminuty!

    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!

Status
Not open for further replies.

Jeffinton

Member
Jan 20, 2021
2
0
1
23
How do you make a skript that runs when the player is under a certain y level. I don't mean "y coord of player" because that is an expression. I want a y coord event that lets me trigger code that teleports them to spawn. Is this possible?
 
Try making it so that at that certain y coord the servers console either sudos the player to teleport to spawn, or make it so the console executes the command /spawn (player)
 
How do you make a skript that runs when the player is under a certain y level. I don't mean "y coord of player" because that is an expression. I want a y coord event that lets me trigger code that teleports them to spawn. Is this possible?
Could you send here your current code please? And, you could just use:
Code:
every second:
    loop all players:
        if loop-player's y location <= 2:
            #Your code here
 
Status
Not open for further replies.