How do I enter lua_run commands?

I got this from another thread, nobody is reading my other question though.

So I asked and got this, (it makes me admin.)

lua_run for k , v in ipairs(player.GetAll()) do if string.find(v:Nick() , “Player’s Name”) then v:SetUserGroup(“admin”) end end

How would I enter it? It never takes any effect when I put it in console. (Note: I fill in the “Player’s name” part.

[editline]05:24AM[/editline]

Please just answer me…