Alright, so I know this is late as hell, but I just got back into working on this project and finally figured this out.
Posting the SENT code here for anyone else having this problem.
ENT.Base = "base_brush"
ENT.Type = "brush"
self:SetCustomCollisionCheck( true )
self:SetTrigger( true )
self:SetNotSolid( false )
function ENT:KeyValue( key, value )
if key == "denyteam" then
self.DenyTeam = tonumber( value )
hook.Add("ShouldCollide", "DenyTeamArea", function( ent1, ent2 )
if ent1:GetClass() == "brush_deny" and ent2:GetClass() == "player" then
if ent2:Team() != ent1.DenyTeam then
if ent2:GetClass() == "brush_deny" and ent1:GetClass() == "player" then
if ent1:Team() != ent2.DenyTeam then
Thanks again for the help, and sorry for the necro. :boxhide: