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

How do I prevent tanks in use from being removed?

I want to edit the script so that destroyed tanks in the game are removed but all the tanks that are being in used are left unaffected. Here's the current code.

local obj = Workspace['IS-4M']; 
local clone = obj:Clone()

while true do
    wait(120) -- wait 5 minutes
    if Workspace:findFirstChild("IS-4M") then 
        Workspace['IS-4M']:Destroy()
    end

    local cclone = clone:Clone()

    cclone.Parent = Workspace
    cclone:MakeJoints()
end

1 answer

✓ Accepted answer

Check any seats in the tank to see if they're any welds in it.

1 comment

0

Use the script to check the welds is what I mean.

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