GUI Tweening not working

Hello Developers,
I wanted an animated GUI because I do not like it when it just pops up on your screen, I watched a tutorial and it did not work, Can someone assist me with this? Thanks.
Code:

local CreditsFrame = script.Parent.Parent.Parent.ScrollingFrame
local OpenButton = script.Parent

OpenButton.MouseButton1Click:Connect(function()
	CreditsFrame:TweenPosition(
	UDim2.new(0.266, 0, 0.072, 0),
	"Out",
	"Quad",
	1,
	false,
	)
end)

Remove the comma after false.

OpenButton.MouseButton1Click:Connect(function()
	CreditsFrame:TweenPosition(
	UDim2.new(0.266, 0, 0.072, 0),
	"Out",
	"Quad",
	1,
	false
	)
end)
1 Like