I’m just doing a simple tween animation for a gui frame where it just goes up and down. It works just fine going down but when it tries to go back up and off the screen it doesn’t and just teleports to 0,0,0,0 then teleports to its end destination. I have no idea what is the cause of this and especially since it was working just perfectly as of last night. So I might need some help on making the gui just not go to 0,0,0,0.
game.ReplicatedStorage.AchievementsEvent.BlueRockEvent.OnClientEvent:Connect(function() script.Parent:TweenPosition(UDim2.new(0, 0, .12, 0), Enum.EasingDirection.InOut, Enum.EasingStyle.Elastic, 1.5, true) wait(1) script.Parent:TweenPosition(UDim2.new(0, 0, -0.3, 0), Enum.EasingDirection.InOut, Enum.EasingStyle.Cubic, 0.7, true) end)
and i’m new to posting topics so I don’t know how to do the code box thing.