So sorry, I should know how to script but I do not. Check out this video on how to make a walk-through door, it may give you some insight into how to make a walk-through part. https://www.worldtobuild.com/learn/video?id=1
Our documentation site can also be found at https://docs.worldtobuild.com.