Need a Improved vehicle regen / spawn button

I need a easy to install click to spawn button to be used on locomotives, or other vehicles, but not the usual ones, i need one that wont allow players to overlap the vehicle over and over again to the point that is flying in the air or even crashes the server.

The largest complaint is people accidentally, or more often intentionally spawn a locomotive while one is already in the space where the locomotive would spawn, the newly spawned vehicle is now inside the first one, this starts lag, glitching, hinged parts flying around, and even crashes… not good at all… its wrecking my game, i see no point in continuing with the game without a change.

I have no idea how to script properly yet, believe me i have tried learning, but i cant get a good understanding of it.
I know for a fact that there are spawners that include a detection box around the area, the script looks for any objects that should not be within the box before allowing a spawn to accrue. I’m hoping someone reading this would be willing to share one of these spawners and show me how to install it.

This is a highly important system that is needed, because people seem to just love trashing the game, it has gotten worse threw the years as the game got more popular, and the players got more destructive, causing the games popularity to fall rapidly, and then be totally destroyed by physics updates last year… so not im currently trying to bring the game back to being better then ever before.
I vary much hope one of you can help out, or else ill have to call it quits on a true 2013 classic railway.

3 Likes