Im trying to make it where the clone of an object ONLY spawns after one has been destroyed. Sort of like
if Part is destroyed then Part.Clone() spawns
but i can't figure out how to word it for the script. Can anyone please help me?
Say the part was named "Part". You could dupe it into rep. storage, and then do something like this:
while true do if game.Workspace:FindFirstChild("Part") == nil then wait(1.5) game.ReplicatedStorage.Part:Clone() game.Workspace.Part.Position = --Your Position Here end end
Something like that? Might work idk
local PartToClone = game.lighting.PartToClone:Clone() if game.workspace.PartToClone then else PartToClone.Parent = workspace end