Im getting that error, i have a bindtoclose function. I guess it doesnt work properly because when i press test and press stop it takes 30 seconds to unfreeze and gives the error
" Not running script because past shutdown deadline " x300
the bindtoclose function looks like this
function GetDictionaryLength(tab)
local keys = 0
for key,_ in next,tab do
keys = keys + 1
end
return keys
end
game:BindToClose(function()
repeat wait(1) until (GetDictionaryLength(sessionData) == 0)
end)

7 comments
Because you waited too long. It can't wait forever, the game needs to shut down eventually
But why is it waiting too long? what's the issue?
Do i just not add a bindtoclose?
It was working a couple weeks ago, but now its taking forever to exit test mode
Got the same problem.
Okay. So it's a roblox problem?
You might wanna remove the wait(1) but It might make studio crash