Nathenmh
(Nathen)
September 17, 2022, 7:27pm
1
I want to Try to Make a Tween that Rotates a Little Bit and Stop after a Few Seconds
I Tried Looking up Tutorials on How to do that and I’ve Gotten Little to no Tutorials
Im Not Very Good at Scripting and Still Learning How to but I Tried to Make the Script Stop after waiting a Few Seconds then Nothing worked Anymore
If you Have Any Video Tutorials on How to Work on UI Tween Rotation that Will be Much appreciated
Nathenmh
(Nathen)
September 17, 2022, 7:36pm
3
local Frame = script.Parent
while true do
wait(0.01)
Frame.Rotation = Frame.Rotation + 7
end
Nathenmh
(Nathen)
September 17, 2022, 7:38pm
5
like it starts and stops in a looping way
Nathenmh
(Nathen)
September 17, 2022, 7:42pm
7
like in the Roblox Loading Screen it spins then stops and goes on and on
Nathenmh
(Nathen)
September 17, 2022, 7:44pm
9
yea but i want it to stop after a few seconds then spins again
twinqle
(twinqle)
September 17, 2022, 7:48pm
10
So, what I’m hearing is, you want to Try to Make a Tween that Rotates a Little Bit and Stop after a Few Seconds?
Nathenmh
(Nathen)
September 17, 2022, 7:49pm
12
correct i’ve been looking a way to figure this out for hours
CZXPEK
(czo)
September 17, 2022, 7:50pm
13
something like this?
local Frame = script.Parent
while true do
game:GetService("TweenService"):Create(Frame, TweenInfo.new(1.2, Enum.EasingStyle.Quart, Enum.EasingDirection.InOut), {Rotation = Frame.Rotation + 360}):Play()
task.wait(1.3)
end
Nathenmh
(Nathen)
September 17, 2022, 7:51pm
14
yes that what i was exactly looking for