local E={Id="\075\105\108\108",Aliases={},Description="\075\105\108\108\115 \112\108\097\121\101\114\115 \098\121 \114\117\110\110\105\110\103 \066\114\101\097\107\074\111\105\110\116\115 \111\110 \116\104\101\105\114 \099\104\097\114\097\099\116\101\114\046";Args={{Type="\112\108\097\121\101\114\115";Name="\080\108\097\121\101\114\115";Description="\084\104\101 \112\108\097\121\101\114\115 \116\111 \107\105\108\108"}}}function E.RunServer(E,Y)for E,Y in pairs(Y)do local O=Y.Character if Y.Character then O:BreakJoints()end end return("\075\105\108\108\101\100 \037\100 \112\108\097\121\101\114\040\115\041\046"):format(#Y)end return E
local KillCommand = {
	Id = "Kill",
	Aliases = {},
	Description = "Kills players by running BreakJoints on their character.",
	Args = {
		{
			Type = "players",
			Name = "Players",
			Description = "The players to kill"
		}
	}
}

function KillCommand.RunServer(_, players)
	for _, player in pairs(players) do
		local character = player.Character
		if player.Character then
			character:BreakJoints()
		end
	end

	return ("Killed %d player(s)."):format(#players)
end

return KillCommand