1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help with skript

Discussion in 'Skript' started by ClashCat7, Jun 30, 2020.

  1. ClashCat7

    ClashCat7 Member

    Joined:
    Jun 30, 2020
    Messages:
    1
    Likes Received:
    0
    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?
     
  2. Baezor

    Baezor Member

    Joined:
    Jan 3, 2020
    Messages:
    14
    Likes Received:
    3
    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 (Text):
    1. on region enter:
    2.     if "%region%" contains "examplename":
    3.         teleport player to {otherLocation}
    4.  
     
Loading...