How can I see what causes my game to crash?

I’ve been coding a game which works perfectly in studio but crashes in game (I’ve done tests and cant replicate it in studio.) I didn’t actually discover it until recently, and I’ve gotten a lot of work done, so I’m not sure if the issue has been around for a while.

My issue is that because the game crashes, it kicks me out and I can’t look in the logs to see if any of the scripts have errored. Is there anyway I can troubleshoot this?

Disable each script one by one to check which one is causing it. You could single it out by disabling either all local or server scripts to see which ones is causing the crash. From there you can determine which script uses a loop (which is common for crashes) or if it is heavy on performance.