TextEntry

I have this code:



local textbox = vgui.Create("DTextEntry", mom)
		textbox:SetParent( JFrame )
		textbox:SetText( "Reason" )
		textbox:SetMultiline(false)
		textbox:SetSize(500, 25) 
		textbox:SetPos( 175, 500 )
	
		
		Kick = vgui.Create( "DButton" )
		Kick:SetSize( 100, 40 )
		Kick:SetPos( 10, 30 )
		Kick:SetParent( JFrame )
		Kick:SetText( "Kick" )
		Kick.Paint = function()
			draw.RoundedBox( 0, 0, 0, 100, 40, Color( 241, 196, 15 )  )
		end
		Kick.DoClick = function()
			local Players = DermaMenu()
			Players:SetParent( JFrame )
			Players:SetPos( Kick:GetPos() + 110	, Kick:GetPos() + 30 )
			for k,v in pairs( player.GetAll() ) do
				name = v
				Players:AddOption( v:Nick(), function( self ) 
					local DoClick = function Click()
						LocalPlayer():ChatPrint( "hi" )
					end
				end)
			end
			Players.DoClick = function()
				

				
			end 
		end


How do I make it so when I click an option it kicks player with ULX. I have textbox:GetText() as reason.

This derma code is wrongly coded, like DoClick >-<
Search for derma tutorials first.

[lua]
menu:AddOption( player:Nick(), function( self )
print( self:GetText() )
end )
[/lua]