while true do
game.Workspace.ChickenNugget:Clone().Parent = game.Workspace
wait(0.7)
end
✓ ANSWER ACCEPTED
how do I make my cloned object spawn in a specific position?
2 answers
✓ Accepted answer
For first, create a variable to clone.
And set the position with variable.Position = Vector3.new(x,y,z)
Here is the script:
while true do
local brick = game.Workspace.ChickenNugget:Clone()
brick.Parent = game.Workspace
brick.Position = Vector3.new(0,0,0) -- Put the position.
-- for set model position you can use brick:SetPrimaryPartCFrame(CFrame.new(0,0,0))
wait(0.7)
end
-- yHasteeD --
Hope it helped :)
5 comments
0
Thanks
0
How could I make the cloned parts get deleted after a certain amount of time?
1
you can use Debris. for this create another question.
0
jalbreak use :Destroy() after your brick to destroy it
1
The debris is better. you can see here: https://developer.roblox.com/api-reference/class/Debris
Try doing this:
while true do
local ChickenNuggetClone = game.Workspace.ChickenNugget:Clone().Parent =
ChickenNuggetClone.Position.CFrame = CFrame.new(0,0,0) -- Put the position of the chicken nugget here
wait(1)
end
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
game.Workspace.ChickenNugget.Position = Vector3.new(x, y, z) lol