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

Can someone explain why this does not work? I am following a CFrame tutorial. [SOLVED]

local newCFrame = CFrame.Angles(0,math.rad(45),0)

The Part that this script is under does not even move, nor turn 45 degrees.

2 comments

1

All looks correct. Have you tried multiplying the CFrame with newCFrame?

1

@Bilinear, thanks bro, I just needed to do that lol. I hope it is okay with you if I post your answer as the official one. Ill give you credit.

1 answer

-- Answer by Bilinear, be sure to thank him and upvote his comment. 
local part = script.Parent
local newCFrame = CFrame.Angles(0, math.rad(45), 0)
part.CFrame = part.CFrame * newCFrame

Answer by

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