Hello, I’m currently experiencing an error that makes me go insane. I have a map that my game tries to load and when it does so, it errors with “Script Timeout: Exhausted allowed execution time”.
The bug didn’t appear yesterday, which confuses me even more.
There are no loops that infinitly runs, no function that loops itself, so I am very confused on what this could possibly be caused by, but according to the prints I made before the script times out, it’s due to parenting the map into workspace, but I’m not sure why it errors there.
My friend is also experiencing this problem, less frequently than me but still.
Here are some images:
Here is the console and prints I was talking about.
I’m not sure how i can implement those functions in my script since they aren’t loops, and I also tried putting a task.wait() before and after map.Parent = workspace.
Except loops without wait time, this error can also be caused by too much thread or too much things that run at same time.
The output say it is comming from your 3 functions (loadmap, teleport, touched), so something in one of these function is doing too much things at same time… keep in mind a for_ do is also a loop, in case you got one or multiple for loop.