No scripts in a tank, yet it randomly deletes/disappears. Why?

Seems really weird, but maybe;

  • Check your other scripts in the game?
  • Roblox studio virus? Check your plugins?

e.e

2 Likes

Only have the Studio+ plugin installed. Everything else is ROBLOX created ones.

And as for the other scripts, almost all of them are just dealing with GUIs/leaderstats. I have disabled any suspect ones, yet the same issue occurred.

2 Likes

It seems like it’s deleting certain billboard guis (or humanoid names can’t tell) and lighting from the other tank every couple of seconds

Before
image
After
image

Before
image
After
image

So it’s not just the tank.

  • Maybe it’s because the game is old?
  • Maybe it’s a broken while loop?
  • Try publishing a new place?
  • Disable all scripts to see if it’s a roblox studio issue?

Super weird…

1 Like

Tried in a new, empty baseplate place and it did the same, exact thing.

1 Like

Did you try disabling all the scripts? Even the ones that aren’t related? e.e

1 Like

Did you search in the explorer for scripts to make sure there weren’t any hiding? A lot of scripts especially harmful ones get hidden really deep in very hard to find places or cloned to every part like below
image

Yep, removed all scripts. Issue still persisted.

1 Like

Maybe restart studio? Never head of that bug/issue… ._.

Have done that too, as I’ve opened and closed Studio a few times since this issue has been happening all day

1 Like

Well then… I really have no clue what’s going on ._. That’s some weird bug…Sorry. xd

Are the missing parts anchored?

1 Like

I can’t tell what parts are missing and what are not since the tank is a boxy build around a mesh. No parts are anchored.

Could you share us a place? So we can find that script causing this! :+1:

Thing is, it happens at every place, regardless of scripts being present or not. I have posted a link to the tank in my original post, however. It has original scripts in it.

1 Like

Does the issue persist when you disable all plugins, restart studio, create an empty base plate to add the tank to and remove all scripts from the game (by running a script similar to what’s below) in that order? And does this only happen when testing in studio, or does it happen to a published place as well?

RemoveAllScripts

Make sure that if you decide to run this, you do it by saving the script and clicking the run script under the model tab so that this script doesn’t just delete itself before deleting all other scripts

local removeChildScripts 
removeChildScripts = function(root)
	for i,v in pairs(root:GetChildren()) do
		if v:IsA("BaseScript") then v:Destroy() return end
		if #v:GetChildren() > 0 then
			removeChildScripts(v)
		end
	end
end
removeChildScripts(game)

Have you tried checking the output, maybe you’ve forgot to remove a script or a ‘virus’. Plugins might also cause this issue,

1 Like

Is it simple enough as collission?

1 Like

No output present.

I don’t think a simple collision would be responsible for teleporting the tank randomly imo, also wouldn’t explain it randomly disappearing

1 Like

It could just be falling through the world instantly, try set all the parts CanCollide to true just incase. If that doesnt work, do you have any other CollisionGroups??

Oh wow I had a similar issue occurring to my mech vehicle as well, where everything just disappears, including the player.

The answer was actually NAN errors caused by my humanoid movement script.

But for your situation I have no idea what’s causing it since it’s been mentioned it still occurs without any scripts causing it. Perhaps it’s a modeling issue? All I know it’s just really similar to a NAN error.