Hi guys! Everything works apart from.... Any ideas why on the second to last line where I set the position, It doesn't go to that position?? No errors! Thanks.

script.Parent.MouseButton1Down:connect(function()
	script.Parent.Parent.Parent.Page2:TweenPosition(UDim2.new(-0.7,0,0.1,0), "Out", "Quart", 0.25, false, nil)
	script.Parent.Parent.Parent.Page2Page2.Visible = true
	script.Parent.Parent.Parent.Page2.Visible = false
	script.Parent.Parent.Parent.Page2Page2:TweenPosition(UDim2.new(0.2, 0,0.1, 0), "Out", "Quart", 0.25, false, nil)
    script.Parent.Parent.Parent.Page2.Position = UDim2.new(0.9,0,0.1,0)
end)

2 comments

0

Do you really have a GuiObject called Page2Page2?

0

Yup :P