Make 2 brushes that will be the doors you want to open.
Make 2 brushes with 'origin' tool texture that will be the ''axis'' where the door will rotate on.
Attachment 664
Make each door script_brushmodel (with its origin brush too), like this:
Attachment 665
Attachment 666
Now copy this script (change values if needed)
PHP Code:
main()
{
door1= getent("lol1","targetname");
door2= getent("lol2","targetname");
t=0;
while(1)
{
if(t==10)
{
door1 rotateyaw(90,2);
door2 rotateyaw(-90,2);
door2 waittill("rotatedone");
}
t++;
wait 60;
}
}