fadsiadsaffd Posted November 8, 2020 Share Posted November 8, 2020 Hey Im really bad a skript and I have a server with my friends from school. I was wondering if someone could make me a skript that prevents people from going to nether roof (or makes them take damage) as some of my friends do this and crash the server. Thanks so much!!! :D Link to comment Share on other sites More sharing options...
HunterLux Posted November 8, 2020 Share Posted November 8, 2020 You could track the y-coord of the player and if their y-coord is greater or equal to the one you proposed, do whatever you want to them. I made a script for that purpose but it's right out of my head so I haven't tested it for errors yet: #You can change the number of seconds this event happens, but I made it 5 to prevent lag. every 5 seconds: loop all players: if loop-player's world = "name of the nether world": if loop-player's y-coord >= 127: kill loop-player Link to comment Share on other sites More sharing options...
fadsiadsaffd Posted November 8, 2020 Author Share Posted November 8, 2020 Thank you so much. You are very helpful! 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