Trouble Creating one of those Car Parking box/area detector

You know those games, where you park a car, and it has to be inside a certain area? well I want to create that.


I have no idea how to though.

So basically i have this meshpart, (it moves/is controlled by player) and I want a server script that check if it is ALL THE WAY inside this said box.

How could i achieve this?

Credit to @minimic2002 for Answer: have parts on the corner of the vehicle and use gettouchingparts() to make sure it is inside thehitbox part.

You could create an invisible hitbox and use gettouching parts while flicking collision and then off to check for parts on all sides of a car to make sure they are within the area

1 Like