Yes it is the same error, it’s so wierd.
That worked thx, but i’m still confused… I have another game with the same code and it works perfectly (code provided in the post not by the people) but anyway thanks
Because if you use tweenInfo it would be first EasingStyle then EasingDirection but if you use “ExampleButton” u need first EasingDirection then EasingStyle:
local tweenInfo = TweenInfo.new(
1, -- Length
Enum.EasingStyle.Quint, -- Easing Style
Enum.EasingDirection.Out, -- Easing Direction
0, -- Replay
false, -- Reverse
0 -- Delay
)
exampleButton:TweenSize(UDim2.new(5,0,5,0), Enum.EasingDirection.Out, Enum.EasingStyle.Quint, 1, true, nil)
1 Like