this script changes the values by and I want to change the values TO. Please help me
model:SetPrimaryPartCFrame((model.MainPart.CFrame) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)))
this script changes the values by and I want to change the values TO. Please help me
model:SetPrimaryPartCFrame((model.MainPart.CFrame) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)))
That's because you're multiplying the CFrame. If you read my answer on your previous question carefully, you would see that I said:
model:SetPrimaryPartCFrame(CFrame.new(model.MainPart.Position) * CFrame.Angles(0, math.rad(45), 0)
I made a new CFrame that holds only the position, and multiplied by the angle.
Hope this helps! :)
This discussion is preserved as it was. New answers, comments, and votes are closed.