Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I prevent tanks in use from being removed?

Asked by
painzx3 43
9 years ago

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

Log in to vote
0
Answered by 9 years ago

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

0
Use the script to check the welds is what I mean. bobafett3544 198 — 9y
Ad

Answer this question