NoCol Gun System Help

So what I am trying to do is disable Team Kill and make it reliable with Free For All (Simple Detail: making a player get killed without teams)

If there’s any solutions, It be best if you reply. I’m new to NoCol

The quickest way would be to make a bunch of teams and only assign 1 player per team,

Another solution would be when implementing it into your codebase, have it check if the current mode is team, or free for all and if free for fall ignore the team checking in the code

Do you mind if you could send an example code of “1 player per team”?

Yeah so it would be along the lines of when a player joins create a team with their name as the team name and select a unique color for the team.

I didnt test the code but it would be along the lines of
You will need to think of some way to keep track of colors that arnt in use that way every player gets on different teams

local Players = game:GetService("Players")
local Teams = game:GetService("Teams")

local function playerAdded(player)
    local team = Instance.new("Team")
    team.Name = player.Name
    team.TeamColor = BrickColor.new() -- but make it a unique team color
    team.AutoAssignable = false
    team.Parent = teams
    player.Team = team
end

Players.PlayerAdded:Connect(playerAdded)
Players.PlayerRemoving:Connect(function(player)
    local team = Teams:FindFirstChild(player.Name)
    if team then
        team:Destroy()
        team = nil
    end
end)

for _, player in ipairs(Players:GetPlayers()) do
    task.spawn(playerAdded, player)
end