I want to make a door that when you click the handle with your mouse, that turns to 180 degrees and can open or close. I don't know what to script in the handle and door to make them rotate on touch.

3 comments

0

use a ClickDetector and CFrame.Angles()

0

Yeah use a ClickDetector and if you're not good with CFrame.Angles, you could change Orientation, but CFrame.Angles are probably superior to this situtation. And after that click, make it so you can click on the Door itself, simply unlocking the Door Part. Hope this helped!

0

But if you want a smooth opening of both the door and the handle, then I recommend using TweenService.