local part = script.Parent for i = 1,50 do wait(.1) part.CFrame = CFrame.fromEulerAnglesXYZ.Vector3 + Vector3.new(0,math.rad(1),0) end
You replaced (
with a .
And you also assigned a bad argument to the fromEulerAnglesXYZ
. Note that Vector3
by itself is a table, not a Vector.
You also need to multiply the CFrame, not add Vectors.
local part = script.Parent for i = 1,50 do wait(.1) part.CFrame =part.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(1),0) end