Bruh i just failed help me?

local btn = script.Parent

local isHovering = false

btn.MouseButton1Down:Connect(function()

btn:TweenSize(UDim2.new(1.273, 0,1.134, 0), Enum.EasingDirection.InOut, Enum.EasingStyle.Quint, 0.2, true)

end)

btn.MouseButton1Up:Connect(function()

if not isHovering then
	btn:TweenSize(UDim2.new(2.358, 0,0.271, 0, 0), Enum.EasingDirection.InOut, Enum.EasingStyle.Quint, 0.2, true)
else
	btn:TweenSize(UDim2.new(2.358, 0,0.271, 0, 0), Enum.EasingDirection.InOut, Enum.EasingStyle.Quint, 0.2, true)
end

btn.MouseButton1Up:Connect(function(clicked)
		script.Parent.menuicon.Frame.Visible = true
	if not clicked then
		
		script.Parent.menuicon.Frame.Visible = false
	end

end)

what the problem
(Characters limit)

did you forget to close the then in 21?

if not clicked then that line

add one more end
(character limit)

i added
before adaadadadadadadadadadada

same didnt work bro any other idea
I alr tried that one

u didnt close the function() thing so add one more end()
edit: nvm

maybe it’ll work
character limit

local btn = script.Parent

local isHovering = false

btn.MouseButton1Down:Connect(function()

	btn:TweenSize(UDim2.new(1.273, 0,1.134, 0), Enum.EasingDirection.InOut, Enum.EasingStyle.Quint, 0.2, true)
end)

btn.MouseButton1Up:Connect(function()

	if not isHovering then
		btn:TweenSize(UDim2.new(2.358, 0,0.271, 0, 0), Enum.EasingDirection.InOut, Enum.EasingStyle.Quint, 0.2, true)
	else
		btn:TweenSize(UDim2.new(2.358, 0,0.271, 0, 0), Enum.EasingDirection.InOut, Enum.EasingStyle.Quint, 0.2, true)
	end
end)


btn.MouseButton1Up:Connect(function(clicked)
   script.Parent.menuicon.Frame.Visible = true
   if not clicked then
      script.Parent.menuicon.Frame.Visible = false
	end
end)

also, how can I make it close when clicked again? if you help you’re the best

help then it would be cool
(character limit)

you helped ty
ill test (character limit)

i asked alr for that bro but didn’t work

other question has solved
(character limit)