I am constructing a lab and I have a big vault door that I want to open and close with the push of a button. I tried looking at other scripts but they either apply to single-part doors or they break upon me attempting to edit it. What should I do?
Change the Rotation of the door.
Note that you have to use Vector3.new when changing the rotation of parts.
For example:
game.Workspace.ExamplePart.Rotation = Vector3.new(NumberHere,NumberHere,NumberHere)
If you want it to go up or down, simply have a variable with an if function to test if the button is pushed, then have a while <var> is true do
to change the part's position for it to change. If there is multiple parts, reverse the script for the other part.
Know that if this doesn't work, I'm not THAT good at scripting, but I thought this would help :)