Basically, i have a script that disables other scripts so i won’t have to disable every script i make for the map. I have a task.wait in a script that errors after the wait time ends (literally 25 seconds) which means that for some reason the thread continues. this is my script:
script.Parent.Parent = game.ServerStorage
local scripts = game.ServerStorage.Maps:GetDescendants()
for index = 1, #scripts do
if scripts[index]:IsA("Script") then
scripts[index].Enabled = false
end
end
(numeric for loop since it’s slightly faster)