catsorios Posted August 25, 2021 Share Posted August 25, 2021 I just need a skript to detect if a player is holding a nether star and send them to a specific location. I tried messing around with skript and searching up how to do this but nothing ever works! Thank you in advance! Link to comment Share on other sites More sharing options...
Lapzzo Posted August 25, 2021 Share Posted August 25, 2021 Tell me if this is what you wanted: on join: if {joins::*} does not contain player's uuid: add player's uuid to {joins::*} set {NetherStar::%player%} to false every 1 second: if {NetherStar::%player%} is false: if player has nether star: teleport player to 0,0,0 in world "world" Its not the best way, but works. Btw change the cords and the worlds Link to comment Share on other sites More sharing options...
catsorios Posted August 26, 2021 Author Share Posted August 26, 2021 15 hours ago, Lapzzo said: Tell me if this is what you wanted: on join: if {joins::*} does not contain player's uuid: add player's uuid to {joins::*} set {NetherStar::%player%} to false every 1 second: if {NetherStar::%player%} is false: if player has nether star: teleport player to 0,0,0 in world "world" Its not the best way, but works. Btw change the cords and the worlds I put into the server but when I reload the skript it says: I fixed the indentation errors but the last error ("There's no world in a periodic event if no world is given in the (etc))" I dont know how to fix. Also sry for the late response Link to comment Share on other sites More sharing options...
Wyndexx Posted August 31, 2021 Share Posted August 31, 2021 (edited) every 1 second in "world" just replace the 'world' with the name of the world you want to check if the player is in Edited August 31, 2021 by Gam3rBoi Main MC account: Gam3rBoi (VIP in MH) Alt MC account: *Gam3rBoi2147 Farcade server owner Skripter with 6+ months experience + time learning coding concepts Message me through the forums if you need anything! 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