I am trying to build a door that automatically slides open and closed. It's going to look like a sliding door you'd see at a supermarket.(two doors that slide away from each other. If you need more detail, look at this and imagine that a bracket= a door. Closed: [] Open: [ <- -> ]) When I tried to do it I ended up clueless. Any help?
How would I script an automatically sliding door?
2 answers
What I would do is out and invisible brick in both sides of the sliding door and when someone touches the brick it would do a for loop
For i = 0, 100, 1 do game.Workspace.slidingdoor1.Position.X = i End
Do the same for the other panel but in another function other wise one door will open and the other will wait for that one to open
I would do exactly what Kurokku said,
What I would do is out and invisible brick in both sides of the sliding door and when someone touches the brick it would do a for loop
For i = 0, 100, 1 do game.Workspace.slidingdoor1.Position.X = i End
Do the same for the other panel but in another function other wise one door will open and the other will wait for that one to open
This discussion is preserved as it was. New answers, comments, and votes are closed.
