--[[
Thanks for taking my admin script! Easy to add commands just copy the example that i have for killing yourself and u should be good!
P.S: Have some sort of LUA knowledge to edit this!!!!!!
create ur commands list here! :)

example.

kill:

--]]

local msg = Instance.new("Hint")

msg.Name = "Message"
msg.Parent = Workspace
msg.Text = "Loading GoodCommands Script made by GoodkidMad"
wait(10)
msg:remove()
end

function PfP(t)   
    local Sel = {}   
    for i, a in pairs(game.Players:GetChildren()) do       
   if string.lower(string.sub(a.Name,1,string.len(t))) == string.lower(t) then          
    Sel[#Sel + 1] = a       
  end   
end 
 return Sel 
end

player = game.Players["GoodkidMad"]

function commands(t) 
     if string.lower(t) == "kill:me" then
  game.Workspace[player.Name].Humanoid.Health = 0 
     elseif string.sub(string.lower(t),1,5) == "kill:" then
     for i, a in pairs(PfP(string.sub(string.lower(t),6))) do           
     a.Character.Humanoid.Health = 0     
     end
 end
end

player.Chatted:connect(commands)

function commands(t) 
     if string.lower(t) == "god:me" then
	 local plrz = GetPlr(plr, msg:lower():sub(5)) 
     for i, v in pairs(plrz) do == "god:" then
     coroutine.resume(coroutine.create(function()          
     if v and v.Character and v.Character:findFirstChild("Humanoid") then
	 v.CHaracter.Humanoid.Health = 9e9
     end
 end))
end
end

I don't see any problems but I just made this and I'm tired so I want to make sure this is correct!