I need help figuring out how to script an off track detection system. I use parts that are on the track surface currently and the Zone+ module by foreverHD. I have found that with my cars the server lags quite a bit. I have tried to use the single use methods the module has however it wont work with more than one person in game.
Maybe I am using the module wrong but any alternatives would be great. If any examples are needed i will be happy to share them with you.
I’d recommend avoiding modules that aren’t needed. In this case, I would use either GetPartsInPart or preferably GetPartBoundsInBox. Also make sure to use a debounce or something related so that the the function only triggers once instead of constantly while inside the zone, and also only once per vehicle rather than for every part.
However, Touched and TouchEnded will also work if you use them appropriately.