I’m trying to make my Roblox game but When I want to even click the script it crashes Studio. All of the scripts are empty. What would I have to do if I needed to restart?
Do I need to make a new game?
I’m trying to make my Roblox game but When I want to even click the script it crashes Studio. All of the scripts are empty. What would I have to do if I needed to restart?
Could you show us the code of the script that is crashing it?
It is completely empty this has been happening for a week.
All of the scripts are empty the one I clicked on I made today.
If its empty, why not delete them? Or is it crashing even when you open it and not just in playtest.
When I click them to delete it just crashes.
Unless there’s other code you need to have with it, box select the buildings and paste it into another place, unfortunately that’s all the advice I have.
Have you tried right-clicking on the scripts and deleting?
I just did it and it still crashes
Have you used any free models? I don’t think this would do anything but there may be a script effecting it.
I don’t understand how that could be happening, considering they’re empty scripts.
The only other thing I can think of is deleting the scripts through the command line, but if this doesn’t work, then you would likely need to copy whatever progress you have into another world
You can use this in the command line:
ServerScriptService = game:GetService(“ServerScriptService”) for i, v in pairs(ServerScriptService:GetChildren()) do if v:IsA(“Script”) then v:Destroy() end end
Do I do this in command bar or new script?
Enter this into the command bar.
yes, do it on the command bar, before u do that save a copy of ur place
Curious if this is a plug-in that could potentially be modifying script.source of newly created scripts to flood it with potential overflow or some sort. You may think that they are empty but they could very well not be? Just a thought.
I would start by getting rid of plugins if I were you.
@DreamWakeStudios makes a good point. Try to see if the source is plugins by adding scripts into ServerScriptService in another world and trying to open or delete them, since plugins are common for all games.
This has happened to me before, only with other GUI prompts. For some reason, sometimes when you right click on some options like the animation editor, or the explorer, or clicking on script errors from the Output, Roblox Studio will just close itself without any notice, or crash warning. I do not know what causes this, and reinstalling does absolutely nothing. Whenever I animated, I literally try and speed run my animation in hopes I can get work done before it decides to just break. I would post about it in the Studio Bugs section, but I’m no regular.
You could try the simple reinstall fix, because our situations may not be correlated, but that might not work. Still worth a shot though.
-Void_Xiety
Hey i had this problem too i fixed it by disabling ALL plugins i had enabled hope this helps!
Something like this is happing to me too
probaly free models, or plugins, or your own scripts with a loop without a wait() that crashes your game