I am looking for a script to close and open doors

If you search resource for ESX you can use this: