I've made a mistake and now my file doesn't open anymore

So, I’m doing a basic Luau course ( @IVG ) and while I was writing the script, I believe I’ve created an endless action that freezes Rive.

The app doesn’t crash, and the dino error screen never appears. Instead, the entire application becomes unresponsive and I have to force quit it.

Other files open and work normally, but I can’t open this specific file anymore, not even to remove the code I wrote. Again, if I open this file the entire app freezes.

I managed to recover a previous revision of the file, so I’m able to continue working on it. I’m going to upload both versions here: the working revision and the broken one that freezes Rive. Hopefully that helps identify what went wrong.


ScriptCourse_Broken.rev


ScriptCourse_RevisionVersion.rev