of     1   

Relvala
#228184872Tuesday, November 28, 2017 8:28 AM GMT

Or do I have to make another loop script that disables and enables the one that might error in a certain amount of time? One of my mob spawners broke because a player left at the exact frame some event was happening and caused it to not find a property.
128Gigabytes
#228184996Tuesday, November 28, 2017 8:40 AM GMT

you could make it ignore errors with pcall if you wanna be inefficient or you can just make your script better so it doesn't error when someone leaves.
Relvala
#228185133Tuesday, November 28, 2017 8:53 AM GMT

I believe the script erroring because of a player leaving is a rarity. Seriously, right after finding all the children in Players and figuring out one of them is near a spawn position block does not have a single wait () between them. But since the game.Players:GetChildren() was on somewhere between line 5 and 9 and the script errored in line 1446 I think it actually took some time to find the matching line to the player's position. I'm guessing while the script was looking for the matching line then the player left at the same time causing it to error.
drysty
#228185819Tuesday, November 28, 2017 10:08 AM GMT

nein
128Gigabytes
#228197435Tuesday, November 28, 2017 7:55 PM GMT

If thats the case all you have to do is check and make sure that their character exist and has a torso (I'm assuming torso is the part you are checking for their position.) which you should be doing anyway because its possible for their character or torso to not exist without them leaving.

    of     1