So, i wanna make something like this:
Like this smooth rotation effect.
Thanks for Reading and Helping, TinkyWinkyDev.
So, i wanna make something like this:
Like this smooth rotation effect.
Thanks for Reading and Helping, TinkyWinkyDev.
Could use that for starters. You could also just constantly alter the rotation of the gui w/o tweenservice too. Using this below
if that helps
I already use the Gui.Rotation but, its kinda glitch… I will try to use the TweenService… Thanks for Helping.
Try something like this:
local gui = script.Parent
local TS = game:GetService("TweenService")
local tweeninfo = TweenInfo.new(1, Enum.EasingStyle.Quint, Enum.EasingDirection.Out, 0, false, 0) -- change this to make it like you want it to be
local Rotate1 = {
Rotation = 30 -- change this to make it like you want it to be
}
local tweeninfo2 = TweenInfo.new(1, Enum.EasingStyle.Quint, Enum.EasingDirection.Out, 0, false, 0) -- change this to make it like you want it to be
local Rotate2 = {
Rotation = -30 -- change this to make it like you want it to be (keep it negative but with the same absolute value)
}
local part1 = TS:Create(gui,tweeninfo,Rotate1)
local part2 = TS:Create(gui,tweeninfo,Rotate2)
while wait(1) do
part1:Play()
wait(1)
part2:Play()
end
Thanks for helping me, you helped a lot… I will be inspired by your code, but I will not do the same, good luck.
Also, for the rotation, the lower the number (higher when its negative), the less it rotates.
To add on, you can use other tweening functions such as :TweenSize()
, :TweenPosition()
and :TweenSizeAndPosition()
that don’t require as much code.
Hmmmm… This helped too, thanks.
Thanks you all for helping me with this.