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.

Need help with setting locations

Discussion in 'Skript' started by bebeli555, May 17, 2020.

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

    bebeli555 Member

    Joined:
    Feb 6, 2020
    Messages:
    28
    Likes Received:
    0
    So i have this skript i dont understand why it doesnt work. it says no errors and it actually does change the X-Location of {_loc} i tested it with send "%{_loc}%" but for some reason it just teleports me to the current location of my player not the one with x coordinate removed 25 from it??

    Code (Text):
    1. Command /test5:
    2.     trigger:
    3.         set {_loc} to location of player
    4.         remove 25 from x-coordinate of {_loc}
    5.         teleport player to location {_loc}
     
  2. Killerz1243

    Killerz1243 Active Member

    Joined:
    Oct 31, 2019
    Messages:
    78
    Likes Received:
    7
    Code (Text):
    1. teleport player to block 25 below player
    You could do this instead
     
Thread Status:
Not open for further replies.

Share This Page

Loading...