Is there a way to add something in ulx like this so in ulx there is a "suicide" button I have been using this code!
hook.Add("OnPlayerChat", "!kill", function(player, text, TeamOnly, dead)
if text:lower():sub(1,4) == "!kill" then
if player == LocalPlayer() then
LocalPlayer():ConCommand("kill")
end
return true
end
end)