Now I know JVS is not very liked by people, but for the people who still use the simple version without onContent spam I've got a way to improve the way the doors work.
I'm sure some of you have experienced this while using JVS Doors.
Person 1: Oh hi nice to see you
Person 1: Please, come on- in?
Person 1: .......stupid jvs
So I present to you a little something I came up with a while playing on Clay Hanson's Server a while back.
Yes, I know some of you little "geniuses" could've thrown this together yourselves(0) (0) [X] OnActivate > Self > Door > OpenCW (or OpenCWW)
(1) (0) [X] OnDoorOpen > Self > playsound > {door sound here}
(2) (300) [X] OnDoorClose > Self > playsound > {door sound here}
(3) (0) [ ] OnActivate > Self > Door > Close
(4) (300) [X] OnDoorOpen > Self > setRayCasting [X]
(5) (0) [X] OnActivate > Self >toggleEventsEnabled > [ 0 3 ]
And now the door opens and closes only
when you click it's hitbox, not the door itself
WARNING: If the events were spammed the door will no longer function properlyTo fix this reset the doors events back to what you see in the code above.
EDIT: On a side note, since RayCasting is now enabled when the door is open (before it wasn't) You can no longer shoot through the door while it's open or see name tags.