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

What would I use to make an automatic door?

Asked by 10 years ago

I am not asking for a script (Though one would be a nice suprise)

But I want to know what I would use to make an automatic door.

I know how to make the brick move and stuff, i am just confused on how to make it, if the player is near the door, it opens.

Thanks!

-Tempestatem

1 answer

Log in to vote
0
Answered by
Chili1924 150
10 years ago

You could place an invisible brick near each side of the door to serve as 'trigger bricks', so that when a player comes in contact with one of the 'trigger bricks', the automatic door opens.

This can be done using the Touched event. Please remember to use a Debounce for best results.

0
Also make CanCollide off. Grenaderade 525 — 10y
Ad

Answer this question