From GMod Wiki
				
				
				
				
																
				
				
								
				 Description
Creates a button that players can click on.
 Usage
| Description | Button that prints "Hello World!" in the console when it's clicked | 
|---|
| Used on |  | 
|---|
| Code | local button = vgui.Create("Button")
button:SetSize( 150,30 )
button:Center()
button:SetText( "Click me" )
button:SetVisible( true )
function button:OnMousePressed()
	print("Hello World!")
end | 
|---|
| Output | "Hello World!" | 
|---|