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

How to make a ClickDetector Door?

Hello, I want to make a secret room in my game and I want to be able to click a block and then a latch to slide open from the floor.

How would I do this?

If you need to see more just join my game, username is Siv.

Thanks.

2 comments

0

Make parts. Add a script with some code. Add a click detector.

0

The problem is, I have no idea how do the scripting part.

1 answer

Your question is not precise enough. your basically asking us how to script a block to move like a platform. Here is a video link on how to do that: blog.roblox.com/2014/12/watch-the-complete-roblox-hour-of-code-tutorial-series/ as far as the click detector goes you will need to add one to the part you want to click and connect it in the script using part.Clicked.connect:onClick(part)

1 comment

0

Okay, thank you for the help!

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