Help with skript

  • 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.

ClashCat7

Member
Jun 30, 2020
2
0
0
21
Hello i'm trying to figure out how to make a skript where when a player is standing at certain co ords, it will teleport them somewhere else. Can anyone help me?
 
Hello, there are a few ways to do this. I would recommend using world guard regions. You can detect when a player enters a region and run code when they do. You can do this in vanilla skript and world guard. You can also use bounds with skBee.
Code:
on region enter:
    if "%region%" contains "examplename":
        teleport player to {otherLocation}
 
Status
Not open for further replies.