Question, How Would I Get Gui To Rotate?

So, I need help Rotating Gui, Is it the same as rotating parts? I have no idea of how to do this, All answers help.

Do you mean something like this?

@paetemc2 No I meant in a script.

script.Parent.Rotation = 45

It is not the same as parts, as parts are 3D, but frames are 2D.

Also, if you want it to constantly rotate then

while task.wait() do
   script.Parent.Rotation += 5
end