-- Compiled with @isentinel/roblox-ts v4.0.11 local TS = _G[script] --* Command to kick players from the server. local _centurion = TS.import(script, TS.getModule(script, "@rbxts", "centurion").out) local CenturionType = _centurion.CenturionType local Command = _centurion.Command local Guard = _centurion.Guard local Register = _centurion.Register local adminOrDeveloper = TS.import(script, script.Parent.Parent, "guards").adminOrDeveloper local KickCommand do KickCommand = setmetatable({}, { __tostring = function() return "KickCommand" end, }) KickCommand.__index = KickCommand function KickCommand.new(...) local self = setmetatable({}, KickCommand) return self:constructor(...) or self end function KickCommand:constructor() end function KickCommand:kick(_, players) for _1, player in players do player:Kick("Kicked by admin.") end end local _decorator = Command({ arguments = { { type = CenturionType.Players, description = "The players to kick.", name = "players", } }, description = "Kicks players from the server", name = "kick", }) local _descriptor = Guard(adminOrDeveloper)(KickCommand, "kick", { value = KickCommand.kick, }) if _descriptor then KickCommand.kick = _descriptor.value end local _descriptor_1 = _decorator(KickCommand, "kick", { value = KickCommand.kick, }) if _descriptor_1 then KickCommand.kick = _descriptor_1.value end KickCommand = Register()(KickCommand) or KickCommand end return { KickCommand = KickCommand, }