Anti Crash Script Roblox -
Never use a while true do loop without a yield like task.wait() . This prevents the script from taking up 100% of the CPU and crashing the instance.
Limit the amount of data a player can send to the server. Implementing a cooldown or "rate limiter" on your RemoteEvents prevents exploiters from spamming requests to crash the server. anti crash script roblox