So, I currently have a script which is something like this:
local commands = {}
commands.kill = function()
--function goes here.
end
commands.cmds = function()
for i,v in pairs(commands) do
local clone = --Removed this part
clone.Name = v -- So if v was the "kill" function, how would I get the name "kill" as a string?
end
Where it says clone.Name = v I would like to get the name (for example "kill") of the value in the table. How would I do this?

2 comments
Thanks!
Np