Confused on rotation script

Hey devs! So Im trying to make a spinning blade (btw ik the easier way but tweenservice is fun also i can keep this in mind next time)

So I’m making a blade spinning with tween service here is the goal

local goals = { CFrame = part.CFrame * CFrame.Angles(0 ,math.rad(??),0)}

The question mark in my question, I want it to full on make a circle.
If you can help thank you.

Also yes I tried 180, 360 -/+.

Do math.rad(1) and make it a loop

1 Like
local goals = {["CFrame"] = part.CFrame * CFrame.Angles(0 ,math.rad(180),0)}

You were nearly there, CFrame is both a property name (in this case one of the properties you are attempting to tween) and a custom userdata/value type. Due to this, the field must be stored as a string value like in the above, so that the script doesn’t confuse it with a reference to the CFrame class.

2 Likes

Ohhhhh, ok now i see thank you for your help.