How would I detect the amount of players in a block or between 8 points and check the team color to see if teams are equal or teams unequal. I'm confused on this subject.
Implemented this, worked just fine in local server. You could also use FindPartsInRegion3
players = {} script.Parent.Touched:connect(function(part) if part.Parent and part.Parent:FindFirstChild("Humanoid") then players[part.Parent.Name] = true end end) script.Parent.TouchEnded:connect(function(part) if part.Parent and part.Parent:FindFirstChild("Humanoid") then players[part.Parent.Name] = false end end) while wait(5) do local names = {} for k,v in pairs(players) do if v then table.insert(names, k) end end print(table.concat(names, ", ")) end