local DermaCheckbox = vgui.Create( "DCheckBoxLabel" ) // Create the checkbox
DermaCheckbox:SetParent( DermaPanel )
DermaCheckbox:SetPos( 25, 50 ) // Set the position
DermaCheckbox:SetText( "God Mode" ) // Set the text next to the box
DermaCheckbox:SetConVar( "sbox_godmode" ) // Change a ConVar when the box it ticked/unticked
DermaCheckbox:SetValue( 0 ) // Initial value ( will determine whether the box is ticked too )
DermaCheckbox:SizeToContents() // Make its size the same as the contents
DermaCheckbox:SetColor( "Blue" ) // Set the color to the check mark