Hey Developers, so I’m working on an admin panel and of course, it involves tweening with buttons, etc I’ve looked into a couple of other open-source admin panels & systems to see how they format scripts and how it functions.
On a couple, I’ve seen they define the tween so like
local ScalingTweenInfo = TweenInfo.new(0.2, Enum.EastingStyle.Quint
local FadeTweenInfo = TweenInfo.new(0.2, Enum.EastingStyle.Linear
and I know how to define and all but how would I apply it to a tween? What I usually do when I tween buttons are
local Button = script.parent etc etc
local Frame = script.parent etc etc
Button.MouseButton1Click:Connect(function()
Frame:TweenPosition(UDim2.new(0.303, 0 ,0.045, 0),‘Out’, ‘Sine’, 0.5)
end)