Increasing an objects rotation speed

Im trying to make it where a part will spin. And every second that part rotates for it increases the rotation speed.

Here is a script I have in a part right now -

while true do
	script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0.06,0,0)
	wait()
   end

To sum it up I want it where the part slowly starts spinning slowly and then gets faster overtime. Thanks.

you could multiply it by 1.1 or 1.2?

I think you could set a rotation param and acculate it each loop.

I know but I didn’t know how to exactly do that.

Thanks but how would I do that?

make this higher

local speed = 0.06

while wait() do
	script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(speed, 0, 0)
	speed = math.clamp(speed + (0.01 / 10), 0.06, 100)
end