I'm sorry if this is a stupid question, (i'm very new to coding) but is there any way to keep an original model from getting deleted because the new model has to spawn?
Here's the code:
"model = game.Workspace.Cars.RedCar1 backup = model:clone() -- backs up the model so it can respawn
while true do wait(7) -- regenerates the model after 7 seconds model:remove() model = backup:clone() -- loads the backup of the model model.Parent = game.Workspace.Cars model:MakeJoints()()
end"
model = game.Workspace.Cars.RedCar1 backup = model:clone() -- backs up the model so it can respawn while true do wait(7) -- regenerates the model after 7 seconds model:destroy() model = backup:clone() -- loads the backup of the model backup = model:clone() -- backs up the model so it can respawn model.Parent = game.Workspace.Cars model:MakeJoints() end