Files
Hunter/scripts/ModeRuntime/Modes/TeamDeathmatch.luau
T

13 lines
419 B
Luau

--!strict
local Types = require(script.Parent.Parent.Types)
local Common = require(script.Parent.Parent.Common)
local function start(ctx: Types.ModeContext): Types.ModeInstance
return Common.instance(ctx, {kill = function(player: Player)
local side = Common.sideOf(player)
if side then ctx.scoring.add(side, 1, "Elimination", player) end
end})
end
return {id = "TeamDeathmatch", usesMap = false, start = start}