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

Detector?

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

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

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.

2 comments

0

The event-based system is more efficient, however.

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.

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