Here's the code i'm having trouble on.
local tweenService = game:GetService("TweenService")
local part = script.Parent
local tweeningInformation = TweenInfo.new(
5,
CFrame.Angles(math.rad(1),math.rad(0),math.rad(0))
0,
false,
0
)
I simply want a part to rotate for five seconds and then stop.

5 comments
have u tried using a for loop
not yet
wait so what's the problem though also CFrame.Angles(math.rad(180),math.rad(0),math.rad(0))
it gives me an error.
the radian equivalent of 0 degrees is still 0, there is no point in changing from 0 deg. to 0 rad.