Could someone help me. I would like to know how to make a gui turn in a circle thats smooth? can anyone help?
✓ ANSWER ACCEPTED
how to make a gui turn? (smoothly)
1 answer
✓ Accepted answer
something like this:
local TweenService = game:GetService("TweenService");
local gui = script.Parent--the GUI;
gui.Rotation = 0;
local properties = {
Rotation = 360;
};
local tweenInfo = TweenInfo.new(2, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0, false, 0 )
base = TweenService:Create(gui , tweenInfo, properties);
base:Play()
This discussion is preserved as it was. New answers, comments, and votes are closed.

11 comments
Im getting a error on the gui.Roation its underlining the "="
i just uppdated the code, it was a typo
Never mind fixed it thanks!
Oh thanks :)
make sure the variable, gui, is set to the variable you want to rotate
i've changed the "gui" to Frame as I want the frame to move but nothing is happening when I changed gui to Frame I change every other gui in that code to Frame?
any GuiObject that has a property
Rotationshould workYh also when I did that it said Rotation is not a valid member of ScreenGUI
a ScreenGUI doesn't have
Rotationas one of its properties: https://developer.roblox.com/en-us/api-reference/class/ScreenGuiMhm even tho Its Local frame its still saying Rotation is not a valid member of ScreenGUI
set the "gui" variable to anything that is not a ScreenGUI, or anything that doesn't have a
Rotationproperty