Game is "Broken". Trying to run the game breaks the game

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!

I am currently trying to playtest my studio game, which as states before, “Breaks”. When I try to play through the studio launcher, it shows me the skybox and then loads forever. If I launch it through the Roblox client, it gives me a maintenance error.

  1. What is the issue? Include screenshots / videos if possible!
    The game crashes/freezes upon playtesting (in studio).

I get this error when I try to play it through Roblox or it just infinitely says “Joining server”

"Roblox has shut down the server for maintenance"

Update: I’ve waited on the game loading screen (Roblox client launcher) and now it says I have an internet issue, which surely isn’t the case. I’m not sure if maybe that happened because the loading timed out, or if I truly have broken my game.

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

I’ve tried removing scripts that may be problems. There was a script that had a “while true do” loop in it, which may be the stem for this entire issue. The only confusing part is, why would I still be having issues if I’ve deleted the script and saved the game without the script? Also, I’m trying to find a way to fix this particular file since it’s a relatively large game, and it would be difficult to copy and paste all of the assets (including Roblox terrain) into a new game/file.

And yes, I did look for solutions, but I really couldn’t find any fitting my particular issue.

2 Likes

Filter the game for scripts and remove anything suspicious. It’s possible that you may have a virus.

1 Like

Honestly, that’s what I’ve been thinking, but I’m not sure that’s the issue. I’ve gone through each script and none of them seem to be infected. Is there a way for a script to have a non-visible virus? If so then maybe this is the case. But if there’s no way of doing that, I think this is not a virus issue, since I hand made all of my scripts, and no free models have been put into this game.

Plugins can also insert viruses (though Roblox has somewhat controlled this issue by allowing users to specifically disallow script injection permissions). Your own scripts won’t be infected (most likely), but just double check to make sure there are no other scripts in the game.

You can simply search “Script” on the game’s explorer to fetch a complete list of all the game’s scripts.

I see. Well, I searched the scripts and seems that there are only scripts made by me. Do you think a core script might have been injected?

Might not be an issue of viruses then. Are you getting any errors/warnings on the output/console log?

Very weird, but I know if you call :Destroy on a player instance until there are none left it’ll shutdown the server and crash the roblox client for maintence but I highly doubt that is the issue.

The only errors/warnings I’ve encountered recently would be an injection error (I denied a plugin from doing that and I think I should uninstall it) and a camera warning (I forgot the exact warning but I did research and it’s something that seems to happen often)

My biggest suggestion would be disable all the scripts (not CoreScripts) and plugins you have. Although you are very sure that it is your scripts, it’s better to take another check.

If the problem still persists, enable the settings called “Show Hidden Objects” in Studio settings and check if there are suspicious scripts in the hidden services.

1 Like

This is a good idea. Disable every script and see if that solves your issue. If it does, then you can individually enable each script until you find which script (or scripts - if there are multiple) are causing your game to break.

Maybe plugin that inject script and hide it somewhere. 2020-12-27 (7)

when I do that it dosen’t change anything.

Are you stating that the problem still persist? Read my response again, I added another suggestion.

The problem does still persist, and looking thought the scripts I see a lot of services named “Instance” but I feel those are normal.

And now my studio is noticeably more laggy.

Does this problem persists every game you opened and played in Studio?

no. I’ve tried play testing other games and opening other roblox games and all of them seem just fine

Can you send the place file? I’ll do the inspecting.

sure, I’ll private message it to you

Do you have any scripts that would cause insane lag? If you had a script that had many while true do’s it might lag the game and it would never load.

there is probably a virus in your game remove any “virus checker” plugins or something or find the virus script