Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Is there anyway to disable Game script timeout. Like remove it so it dosesn't timeout?

I am trying to render big things. But I keep getting Game script timeout. Is there a way to turn it off so I don't get the error?

1 answer

Yes...and no. Yes, ScriptContext:SetTimeout, with this , you can set the script timeout for your current session.(Usually needed for offline world generation scripts). You might want to take a look at the roblox MicroProfiler. here: https://developer.roblox.com/en-us/articles/MicroProfiler

See More On Script Context And How To Use It Here: https://developer.roblox.com/en-us/api-reference/class/ScriptContext

Hope This Helped!

2 comments

0

So lets say I want to set the delay for 50 sec. What do I have to type?

0

Follow the link, where it says to see more on the script context

This discussion is preserved as it was. New answers, comments, and votes are closed.