Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

GUI not going to TweenPosition when button clicked, help???

script.Parent.MouseButton1Down:Connect(function(CloseMenu)
	script.Parent.Parent:TweenPosition(UDim2.new("0.008, 0, 0.034, 800"), 'Out', 'Bounce', 0.5)
end)

But the frame moves up and to the left a bit.

1 comment

5

udim2.new doesn't take a string as argument - remove the quotes

2 answers

Like lucldIy said, remove the quotes from the UDim2.

2 comments

0

yah

2

this should be a comment not an answer

This discussion is preserved as it was. New answers, comments, and votes are closed.