I was making GUIs and I notice they don't do anything when THEY SHOULD do something. I made a code that simply when the button is clicked print hello and it refuses to do it. someone help me!!!!!!!

script.Parent.MouseButton1Click:Connect(function()
	print("hello")
end)

It is a textbutton

5 comments

0

That's probably just a you problem then, guis are working fine for me.

0

Provide the code to see what is going on. Make sure your GUIs are set up correctly and you're actually using a Text or Image button.

0

I'm having problems with TextButton on SurfaceGuis

0

I don't have this problem. Tested GUI buttons on both a ScreenGui and SurfaceGui and everything is working fine for me.

0

post your code???