Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how do i make this tweening gui?

Asked by 10 years ago

I need help making this scipt do like a spining image gui.

while true do
TweenSizeAndPosition( UDim2 endSize, UDim2 endPosition, Enum easingDirection = Out, Enum easingStyle = Bounce, float time = 1, bool override = false, function callback = nil )

Would not work for what I need it to do. It does the bouncing but I want it to spin. is there any way to do that?

1 answer

Log in to vote
1
Answered by 10 years ago

If you wanted it to rotate, you'd do something like this:

local gui = script.Parent
while true do
gui.Rotation = gui.Rotation + 1
wait()
end
Ad

Answer this question