Why is my script tweening not working, There is not differences between both tweens?
Script:
Problem: The second Tween which returns the GUI to its formal position is not working, there are no errors that show up in the output How do I fix this? (After line 8)
01 | script.Parent.Info.MouseButton 1 Click:Connect( function () |
02 | local GUI = script.Parent.Frame |
03 | local debounce = false |
05 | if debounce = = false then |
07 | GUI:TweenPosition(UDim 2. new( 0.32 , 0 , 0.284 , 0 ), "InOut" , "Sine" , 0.5 , true ) |
08 | elseif debounce = = true then |
10 | GUI:TweenPosition(UDim 2. new( 0.32 , 0 , 1.1 , 0 ), "InOut" , "Sine" , 0.5 , true ) |