I've tried various scripts from watching some YouTube videos and to no avail. I'm building a school that has a auditorium with a curtain on the stage. I want to get this curtain to move up and down when a button is clicked. One script I tried teleports the curtain to the ceiling and then click it again it just keeps teleporting it higher and higher. Is this even possible to do?

So basically what I want to try to do is you push the curtain button and the curtain raises slowly to the ceiling and when the button is pushed again, it just does the opposite.

I have very limited knowledge about scripting with lua so I'm completely lost right now as to how I could achieve this.

Thanks

1 comment

0

Use TweenService. I don’t think there’s a tutorial for how to make a moving curtain, but there is one for sliding doors which is similar. https://youtu.be/ya4GzyZdLMA