JelmerDL Posted November 21, 2019 Share Posted November 21, 2019 HELP!! I just want to change the location of a player by a skript comman but i dont know how it workss! I've already got this: command //warps: trigger: open virtual chest inventory with size 1 named "&0Warp Menu" to player format gui slot 0 of player with nether star named "&5Warp 1" to run: set location of player to 136 121 -137 <----- send "all set" to player the one underlined doesn't work pls help me. Link to comment Share on other sites More sharing options...
Creepers_ Posted November 21, 2019 Share Posted November 21, 2019 Teleport player to 136 121 -137 Link to comment Share on other sites More sharing options...
Stargazers Posted November 21, 2019 Share Posted November 21, 2019 You would have to teleport the player rather than setting their location. The correct syntax for teleporting would be: teleport player to location(x, y, z, world("world")) There is also a yaw & pitch option within the location function (the location function is the location(stuff)), yaw & pitch is used to set a player's direction, to use it, replace the location above with location(x, y, z, world("world"), 0.01, 0.01). [VIP] 2019 [JR.MOD] 10/29/2019 [MOD] 12/30/2019 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now