Children of models being destroyed in workspace

Hello, I’ve been working on a game for quite the while now, and I’ve encountered an issue that I find just impossible to find and remove.

The issue is that when I play the game, children of models in the workspace are being destroyed and now, of course, my local scripts and server scripts cannot find things in the workspace.

I have a video of it in action, and it seems to be that PARTS are being removed, parts of models in workspace, not models. Here is the video:

Solutions I’ve tried so far is, removing plugins that could possibly be a virus. Disabling all my scripts, Restarting studio multiple times, and going through all my scripts to make sure they are not removing anything that is needed in the workspace. None of these solutions worked at all. So I and my friends are thinking it could be a studio or Roblox bug. I’m really not sure at this point.

And it also seems to be that they are only getting destroyed when I click the Client button. when I click the Server button they all come back. Not sure if that helps define the issue or not.

1 Like

I’m confused, am I seeing that as parts not being visible in models or physical parts being absent from workspace? :thinking:

Possibly a bug. Try restarting Studio once.

The parts that are children of the model are being physically removed, I’ve tried restarting studio multiple times. Nothing works.

Alright, two things:

  • Does this occur elsewhere than this game?
  • If all else fails, re-install Studio.
  1. This doesn’t occur in my other published games, but I can tell you that it is also being destroyed when I play the published game.
  2. I’ll reinstall studio right now but I’m not sure that would be the solution. I’ll give it a go though.

You could be pulling them without using clone and they are just moved somewhere else

Double checked all my scripts, even disabled every script in the game. So it shouldn’t be a moving without cloning issue.

Try finding all of :Destroy() events in the scripts with Find Results in the View Tab

I have disabled all my scripts so the issue shouldn’t be script-related. :frowning:

script.Parent.AncestryChanged:Connect(function(child, parent)
	print(child.Name + " -> " + parent.Name)
end)

put that into a script and place the script in one of the objects that’s disappearing and see if it prints anything

1 Like

Done, nothing printed in the output.

That wouldn’t do anything because the problem is client-sided

The issue is client-sided yes. As you see in the video when I click Client, they get destroyed and when I click Server they get cloned back in somehow.

At this point, It might just be a bug

Mind if you send a copy of the game? :thinking:

Perhaps there was something hidden within all this?

Can you define “hidden within all this” are you referring to a virus in the game maybe?

Specifically, maybe a backdoor or something. It is impossible that the parts are being destroyed through client without a LocalScript.

Well, It’s not a script issue because I’ve disabled all scripts.

Are you absolutely certain there are no other scripts?

I’m very very certain there is no other scripts causing this issue.

I guess this would now be considered a roblox bug? Because I have no clue what’s going on