function MoveWaterDoor(part) -- function to move the Part
while Button1.Value ~= 1 and Button2.Value ~= 1 and Button2.Value ~= 1 do
wait()
end
for n = 0, MagWDoor, IncrementWDoor do
WaterDoorer.CFrame = WaterDoorer.CFrame + (DirectionWDoor * IncrementWDoor)
wait( (TimeWDoor/MagWDoor) * IncrementWDoor )
end
end
This following function doesn't work. It worked before I added the part where it needs to wait, but now it won't work.
It's supposed to keep the door waiting until three buttons are pressed, and once the buttons are pressed it opens the door. The problem is that the door doesn't open... at least not when the script is complete, as mentioned before.
If anyone could help me figure out this annoying issue, that'd be great, thanks.

1 comment
You wrote Button2.Value ~= 1 twice. I assume the second is supposed to say Button3.