local hinge = script.Parent.Hinge == (one brick)
local Model = script.Parent.B1 == (two bricks)
local hingePos = hinge.Position
for i = 1, 360 do
Model:SetPrimaryPartCFrame(CFrame.new(hingePos) * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(1,0,0) )
wait()
end
I'm trying to make the model spin around the hinge.
for some reason this script doesn't show any result to me, what's wrong?
how do I set, SetPrimaryPartCFrame?