The code goes as follows. Am I missing something here? It seems like it should be working, and spawning parts, but only spawns one for uppertorso.
function Stando(blarg)
local part = Instance.new("Part")
local root = script.Parent:FindFirstChild(blarg)
part.Size = root.Size
part.Parent = workspace
part.Anchored = true
part.CanCollide = false
local offset = Vector3.new(1,0.45,2)
while true do
part.CFrame = root.CFrame*CFrame.new(offset)
part.Orientation = root.Orientation
wait()
end
end
spawn(Stando("UpperTorso"))
spawn(Stando("LowerTorso"))
spawn(Stando("LeftUpperArm"))
spawn(Stando("RightUpperArm"))
spawn(Stando("LeftLowerArm"))
spawn(Stando("RightLowerArm"))
spawn(Stando("LeftHand"))
spawn(Stando("RightHand"))
spawn(Stando("LeftUpperLeg"))
spawn(Stando("RightUpperLeg"))
spawn(Stando("LeftLowerLeg"))
spawn(Stando("RightLowerLeg"))
spawn(Stando("LeftFoot"))
spawn(Stando("RightFoot"))
