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

...Studio crashes as soon as I open it?

I have no idea how that's possible. My actual game works fine. Has this ever happened to anyone else?

http://imgur.com/HpOG3tQ

3 comments

0

Does this happen all the time?

0

Yes, every time I click Edit on my game.

0

Edit or Solo? If it's edit then you've got a problem with roblox studio, reinstall it and try again.

1 answer

This will happen if you have a loop without a form of delay.

while true do
end

repeat
until true

for i = 1,2 do
end
--All of these will crash your game

To fix it add a delay(like wait)

while true do
	wait()
end

repeat
	wait()
until true

for i = 1,2 do
	wait()
end

Hope it helps!(Post your code too so we can fix it easier.)

2 comments

0

Yes, but that's when you actually run the game. I didn't make any script like that. Studio just crashes when I try to open it.

1

@funyun That's a bug caused by ROBLOX; My Studio does that for a lot of Updates, but, it can also be caused by Anti-Viruses, Firewalls, Anti-Malware, ect., so, it is something only ROBLOX can really fix. :(

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