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.
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.
Like lucldIy said, remove the quotes from the UDim2.
yah
this should be a comment not an answer
local ItWorked = true
print("lucldIy cool")
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
udim2.new doesn't take a string as argument - remove the quotes