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

Detector?

Asked by 10 years ago

How can I make something detect a model that is going past?

I am trying to make a starting line that, when a certain model ( the car ) goes past it activates a lap time, and if the lap time is the fastest in the server it goes onto a GUI. Any ideas ( I haven't found anything like this on the wiki )

2 answers

Log in to vote
3
Answered by 10 years ago

You can just place a big, invisible, non-collidable part where you want to "detect" models, then use the Touched event.

Ad
Log in to vote
1
Answered by
Damo999 182
10 years ago

You could actually use magnitude also. Get a part and put it near the finish line the part should be invisible and CanCollide should be false when the car passes that part it will trigger the lap value to change.

0
The event-based system is more efficient, however. User#11893 186 — 10y
0
Yeah i realized that after reading what you said again but i guess it's always good to have alternative ways of doing things. Damo999 182 — 10y

Answer this question