Teleporting player to world "world" but can't

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

KingDooms

Member
Jun 10, 2020
26
0
1
So i've trying to teleport the player to the world called "world" but i can't because it will just go to the coords of the world there in, any fix?

Down is a fraction of the code and its all in a gui.

Code:
on inventory click:
    if name of event-inventory is "Choose your type":
        if index of event-slot = 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 11 or 12 or 14 or 15 or 17 or 18 or 19 or 20 or 21 or 22 or 23 or 24 or 25 or 26:
            cancel event
        if index of event-slot = 10:
            cancel event
            teleport player to location(-720.5, 129, -76.5,world,90, 0)
 
Last edited:
Status
Not open for further replies.