I was scripting an automatic door for a group and i wanted it to open and stay open until the player went outside of the sensor.
Roblox how to make sliding glass door.
So i created a script that would stay open for two seconds and close no matter what but that was not what i.
Check out roblox sliding door tutorial.
You can read up on that method here.
Make sure it s not too big or not too small and anchor the parts.
In this tutorial ill be showing you 5 methods for making a door in roblox 1 cancollide door 2 hinge door 3 on click door 4 buttons door 5 aim.
You can put the object in one part and then weld the other parts of the door to that part.
I tried using the touchended event but it was very unreliable and would make the doors flinch every time that i moved inside of the sensor.
It s one of the millions of unique user generated 3d experiences created on roblox.
The best solution is to use a body position object because it makes the transition smooth and fluid.
Another solution is to use cframe to manipulate the part.
Create a frame for the door out of normal parts.
Leave a subscribe and like on the video if it helped you.
Open up roblox studio.