Another solution is to use cframe to manipulate the part.
Roblox how to make sliding glass door.
Create a frame for the door out of normal parts.
Sliding doors can be fun and hard to make.
It s a good idea to have a model of a character so you can judge the size on that.
It s one of the millions of unique user generated 3d experiences created on roblox.
Leave a subscribe and like on the video if it helped you.
Open up roblox studio.
Check out roblox sliding door tutorial.
So i created a script that would stay open for two seconds and close no matter what but that was not what i.
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.
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.
The best solution is to use a body position object because it makes the transition smooth and fluid.
You can put the object in one part and then weld the other parts of the door to that part.
You can read up on that method here.