local m=game:GetService("\080\108\097\121\101\114\115")local D={Name="\083\104\117\116\100\111\119\110",Description="\075\105\099\107\115 \097\108\108 \112\108\097\121\101\114 \105\110 \116\104\101 \099\117\114\114\101\110\116 \115\101\114\118\101\114";Location="\083\101\114\118\101\114"}D.Execute=function(M,A,t)if A=="\099\111\109\109\097\110\100"then(D.API.sendModalToPlayer(M)).Event:Connect(function(A)if A~=false then local t,L=D.API.filterText(M,A)if t and L then D.Remotes.Event:FireAllClients("\110\101\119\077\101\115\115\097\103\101","",{From="\083\121\115\116\101\109",Content="\084\104\105\115 \115\101\114\118\101\114 \119\105\108\108 \098\101 \115\104\117\116\116\105\110\103 \100\111\119\110 \105\110 \053 \115\101\099\111\110\100\115"})wait(5)for m,D in pairs(m:GetPlayers())do D:Kick(L)end end end end)end end return D
local Players = game:GetService("Players")
local module = {
	Name = "Shutdown",
	Description = "Kicks all player in the current server",
	Location = "Server",
}

module.Execute = function(Client, Type, Attachment)			
	if Type == "command" then
		module.API.sendModalToPlayer(Client).Event:Connect(function(Input)
			if Input ~= false then
				local success, result = module.API.filterText(Client, Input)
				if success and result then
					module.Remotes.Event:FireAllClients("newMessage", "", {From = "System", Content = "This server will be shutting down in 5 seconds"})
					wait(5)
					for i,v in pairs(Players:GetPlayers()) do
						v:Kick(result)
					end
				end
			end
		end)
	end
end

return module