RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a script that clones a model after it is destroyed"
-- script for model local model = script.Parent local function onModelDestroyed() local clonedModel = model:Clone() clonedModel.Parent = game.Workspace clonedModel:SetPrimaryPartCFrame(model:GetPrimaryPartCFrame()) end model.AncestryChanged:Connect(function(child, parent) if parent == nil then wait(1) onModelDestroyed() end end)