Mousebutton1click not working?

this doesnt work for some reason

	
					closebutton.MouseButton1Click:Connect(function()
						frame1:Destroy()
						print("A2")
				end)
					weblink.MouseButton1Click:Connect(function()
						currenttextbox = weblink
					print("A1")
				end)

I tried MouseButton1Up and MouseButton1Down but it keeps not working.I dont know if is the problem but the events are in a function of mousebutton1Click

.MouseButton1Down:Connect( should work.

Is the MouseButton1Click function is in another function? if so please send the full code.

1 Like

there might be any other UI blocking the buttons, it might have BackgroundTransparency = 1 check for it once

@flandeingles3 said neither of MouseButton1Down(), MouseButton1Up works…