Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Why does this not work?

Basically what i am trying to do is clone the torso in its exact position and rotation over and over.

local faak = Instance.new ("Part")
faak.Parent = game.Workspace
faak.Name = "Zhet"
faak.Size = Vector3.new(1,2,1)
faak.Position = CFrame.fromEulerAnglesXYZ("Left Leg")
faak.Rotation = CFrame.fromEulerAnglesXYZ("Left Leg")
faak.Anchored = true
faak.CanCollide = false
while true do
	game.Workspace.Zhet:clone()
	wait(1)
	game.Workspace.Zhet:clone()
	wait(1)
end

1 answer

You're using clone correctly, but not parenting it! When you :clone(), it copies the object, but sets the new one's parent as nil! Therefore, you need to parent it!

game.Workspace.Zhet:clone().Parent = game.Workspace

This discussion is preserved as it was. New answers, comments, and votes are closed.