Jump to content

Needing help with Skript Teleportation


Recommended Posts

Hi, so I wanted to make a code for my server that teleports someone whenever they trigger the condition.

I changed it to a command to make it simpler, but even then I cannot figure out the code.

Here is the code:


command /teleporttest:
        teleport the player to location(x: 15, y: 4, z: 63, world: ul_ColoMiners):

(ColoMiners is the world name)

I tried looking on every forum and documentation website and I couldn't find anything.

I am fairly new to skript, so please try to answers simple. Help would be appreciated 🙂


Link to comment
Share on other sites

The correct usage of the location function is location(x, y, z, world "world"). You don't use : and specify the x y or z. Here is an example where it is filled in. teleport player to location(0, 100, 0, world "world")

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev


[VIP] - 7/27/2020

Community Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now



Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...