Check if there is anything inside the zone [SPAWN CARS]

I’m doing a system of spawning cars, but there is a way to spawn one car on top of another, how do I check to prevent this?

Values Code:
image

Spawn Code:
image

You could try making a region3 that detects and removes any car in the space when a new car is attempting to spawn.

You can use a part to detcet the car and use that detection value to checked whether the car exists or not

I’m not sure if it works, what about a part touch system, like part touched then and part.untouched

Part touched will be complicated but it can work

try this

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.