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

How do i make a 1 single button bring down 2 level crossing barriers?

Asked by 10 years ago

I have 2 level crossing barriers but they need to have a separate button each, but i want to make 1 button do this function.

1 answer

Log in to vote
1
Answered by
Maxomega3 106
10 years ago

It should be as easy as taking the two scripts and make them be triggered by the same event.

i.e. If you have a .Touched function that are connected to the same part in both scripts, they will both trigger if you touch that part.

Ad

Answer this question