Opening Doors Automatically

How can I configure doors to open automatically when a player walks near them?
Can I filter which teams trigger the doors in DarkRP?
Thanks in advance.

UPDATE: The automatic opening can be done via creating a “trigger zone” with OnStartTouch and OnEndTouch outputs. Still looking into applying this to specific teams.

trigger_multiple

onstarttouchall
doorname
open

onendtouchall
doorname
close

That’s how I would do it. make sure you don’t have any delays.

Posted the update seconds before I saw this. Any idea how to filter for specific DarkRP teams?

Write a script which is getting the door entity name and only let team members open these specific doors.