So I use kohls admin for my game but I made a custom command for it but the question is how do I make more then 1 command? What do I gotta add to it? Here is the custom commands module they give:
Fifth index consists of the function that will run when the command is executed properly. ]]
return {
{{'test','othertest'},{'Test command.','Example'},6,{'number','string/'},function(pl,args)
print(pl,args[1],args[2])
end},
{{"firenuke","nukefire"},{"Nukes the whole server"},5,{"number"},function(pl,args)
game.Workspace.Sounds["EAS Alert Sound"]:Play()
wait(21)
game.Workspace.Sounds.Announcement:Play()
wait(10)
game.Workspace.Sounds["Fire Alarm [LOUD]"]:Play()
wait(44)
game.Lighting.OutdoorAmbient = Color3.new(1, 0, 0.0156863)
game.Lighting.TimeOfDay = ("17:49:43")
game.Lighting.Brightness = ("0")
game.Workspace.Sounds["Troll Song Remix (LOUD)"]:Play()
wait(50)
local clone = game.ReplicatedStorage.FatMan:Clone()
clone.Parent = workspace
clone.Position = Vector3.new(-1006.71, 1839.747, -234.71)
wait(6)
game.Lighting.NukeWhite.Enabled = true
game.Workspace.Sounds["Ear Ringing (Fading)"]:Play()
wait(1)
game.Workspace.Sounds["Troll Song Remix (LOUD)"]:Stop()
wait(35)
for i,v in pairs(game:GetService("Players"):GetPlayers())
do v:Kick("Nuked")
end
end},
};
the part that says fire nuke is the first command but I want to know how to make more then 1 command