pUpdate=function()
Head.CFrame = CFrame.new(char.Head.CFrame.p, cam.CoordinateFrame * Vector3.new(0,0,-100))
for i,v in pairs(pWelds) do
v.CFrame = Head.CFrame:toWorldSpace(CFrame.new(nWelds[i]))
v.Rotation = Vector3.new(rWelds[i].x,rWelds[i].y,rWelds[i].z) + Head.Rotation
end
end
This is the function. As you look around, the parts in the model should move around in relative location to you head, but they rotate independently of the head.
- The Poptard - |