I'm trying to do is when the model is destroyed it'll fix itself. I tried fixing it but, it's not working so please help here's the script thanks!

object = script.Parent 
if (object ~= nil) and (object ~= game.Workspace) then 
model = object 
messageText = "regenerating " .. model.Name .. "" 

message = Instance.new("Message") 
message.Text = messageText 
backup = model:clone() -- Make the backup 
waitTime = 255 --Time to wait between regenerations 
wait(math.random(0, waitTime)) 
while true do 
wait(waitTime) -- Regen wait time 

message.Parent = game.Workspace 
model:remove() 

wait(2.5) -- Display regen message for this amount of time 

model = backup:clone() 
model.Parent = game.Workspace 
model:makeJoints() 
message.Parent = nil 
end 
end 
-----
True model destroy:fix itself
end 
end

5 comments

0

If this isn't an ancient free model I'd be astonished

0

It's not a freemodel.

0

Stop reposting omg

0

I'm not

0

True model destroy:fix itself an attempt was made.