-- Team balancer local function balanceTeams() -- Sort players by K/D, move top players to weaker team end
local remotes = ReplicatedStorage:WaitForChild("Remotes") local shootRemote = remotes:WaitForChild("Shoot") big paintball script
local function onPlayerShoot(player, weaponType, mousePos) -- Validate ammo, cooldown, and line-of-sight -- Perform raycast, apply damage, award points end -- Team balancer local function balanceTeams() -- Sort
shootRemote.OnServerEvent:Connect(onPlayerShoot) mousePos) -- Validate ammo