I tried this before but it didn't work, so can you please help me? Just give me an example script with the model named Thing and the part named Spawner. Make the wait time before it clones the model to 150. This would help me a lot for making my game and it wouldn't be very hard to use.
Well from considering you said the wait time to 150, I'm guessing you want it to repeat. To make this easier for you I'd recommend positioning the object before placing it in Lightning. I'll still do what you requested.
a = game.Lighting.Thing b = game.Workspace.Spawner while true do c = a:clone() c.Parent = game.Workspace c:MoveTo(b.Position,) wait(150) --if game.Workspace:findFirstChild("Thing") then game.Workspace.Thing:Destroy() --end end
~ Thank me by accepting this answer/bumping up my reputation!
local part = script.Parent local Thingy = game.Lighting.Thingy local debounce = true part.Touched:connect(function() if debounce == true then debounce = false local Thingy = Thingy:Clone() wait(1) Thingy.Parent = Workspace wait(120) debounce = true end end)
You could try this as well. It clones it wherever you cut it from the Workspace.