would this work

Can someone quickly mash these bits of code (not correct lua) together?



Function ENT:Touch( hitEt ) 
    if hitEt is usergroup  "agroup" then
        allow the player(hitEt) to walk through it(almost like it ceases  to exist) else
    print "denied"
    hitEt:kill()
    end
end


When i say usergroup i am meaning a custom group defined in users.txt