Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I make an animated door that opens when you click a lever?

I made a script but can't seem to get a script that works the closest I have gotten to making this script is here:

script.Lever.ClickDetector
if.clickdetector enabled opendoor = (90)

I am trying to get the door to slowly open around five seconds and to move 90 degrees.

1 answer

✓ Accepted answer

There are many different ways to animate doors, such as having 2 doors(one invisible, one visible), changing the door's position, or using hinges.

Here is a video by Model Creator that I believe will help you. It shows 5 different ways to make a door.

2 comments

0

I watched the video and the gap between the door frame and the door he was talking about was making the door very unrealistic as I am trying to make an airlock and make an animation where the door opens

0

So is there any way I can get rid of the gap

This discussion is preserved as it was. New answers, comments, and votes are closed.