Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make a ClickDetector Door?

Asked by
Siv 0
9 years ago

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.

0
Make parts. Add a script with some code. Add a click detector. Redbullusa 1580 — 9y
0
The problem is, I have no idea how do the scripting part. Siv 0 — 9y

1 answer

Log in to vote
0
Answered by 9 years ago

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)

0
Okay, thank you for the help! Siv 0 — 9y
Ad

Answer this question