Need help with scripting frame position


I am currently trying to make a script that Tweens the Position of a Frame on the players screen. The problem is that after the Tween ends, if I attempt to trigger the Tween again, the Frame will appear from the opposite side and ruin the whole transition.



	player.PlayerGui.Loading.EndSequence.BackgroundColor3 =, 1, 1)

	player.PlayerGui.Loading.EndSequence:TweenPosition(,0,0,0), "InOut", "Quad", 3, true)


	player.Character:MoveTo(, 22.453, 1081.271))

	player.PlayerGui.Loading.EndSequence:TweenPosition(,0,0,0), "InOut", "Quad", 3, true)

I think the problem is that I have not changed the frame position after but I don`t really know how to do that… Can anyone help me please?

You can change a frames position by doing it like

Frame.Position =, y)

Thank you very much! I will go ahead and change the script. I marked your response as a solution. :slight_smile:

1 Like