Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 5 years ago
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.

5
udim2.new doesn't take a string as argument - remove the quotes lucldIy 3 — 5y

2 answers

Log in to vote
-1
Answered by 5 years ago

Like lucldIy said, remove the quotes from the UDim2.

0
yah starmaq 1290 — 5y
2
this should be a comment not an answer LoganboyInCO 150 — 5y
Ad
Log in to vote
-3
Answered by 5 years ago
local ItWorked = true
print("lucldIy cool")

Answer this question