I need help for a car simulator

Hello, I am doing a car simulator.
And I already made the cars, but I don’t know how I can make him earn money for every 5 seconds he drives the car.
Please, I need to know as it is an urgent matter.

1 Like

If you’re using generic Seat instances, you can detect if a player is sitting on it and expand from there. Otherwise it may be a bit more tricky.

1 Like

Just check if the seat is occupied, and if the seat’s occupant is driving (check using the velocity of the player, or the PrimaryPart of the car, if you have it set) and give them money if both of those conditions are true.

1 Like