local E={Id="\082\101\115\112\097\119\110",Aliases={"\108\111\097\100\099\104\097\114\097\099\116\101\114"};Description="\082\101\115\112\097\119\110\115 \112\108\097\121\101\114\115\' \099\104\097\114\097\099\116\101\114\115\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 \114\101\115\112\097\119\110"}}}function E.RunServer(E,Y)for E,Y in pairs(Y)do(coroutine.wrap(function()Y:LoadCharacter()end))()end return("\082\101\115\112\097\119\110\101\100 \037\100 \112\108\097\121\101\114\040\115\041\046"):format(#Y)end return E
local RespawnCommand = {
	Id = "Respawn",
	Aliases = { "loadcharacter" },
	Description = "Respawns players' characters.",
	Args = {
		{
			Type = "players",
			Name = "Players",
			Description = "The players to respawn"
		}
	}
}

function RespawnCommand.RunServer(_, players)
	for _, player in pairs(players) do
		coroutine.wrap(function()
			player:LoadCharacter()
		end)()
	end

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

return RespawnCommand