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.

Block teleport

Discussion in 'Skript' started by Funck, Oct 5, 2019.

Thread Status:
Not open for further replies.
  1. Funck

    Funck Member

    Joined:
    Apr 22, 2018
    Messages:
    30
    Likes Received:
    0
    Hello. I want to make a teleport system with a block. The player steps on a block number 1 (block.pos.1), after which it teleports to the block number 2 (black.ops.Two)

    i have code, but its not working

    Code (Text):
    1.  
    2. command /setpos1:
    3.     trigger:
    4.         set {block.pos.1} to location of player
    5.        
    6. command /setpos2:
    7.     trigger:
    8.         set {block.pos.2} to location of player
    9.        
    10. on any move:
    11.     if location of player is {block.pos.1}:
    12.         teleport player to {block.pos.2}
    13.         message "goto!" to player
    14.  
     
    #1 Funck, Oct 5, 2019
    Last edited: Oct 5, 2019
Thread Status:
Not open for further replies.

Share This Page

Loading...