Vehicle does not stop accelerating when gasoline is "0"

  1. What do you want to achieve?
  • What I’m trying to do is that, when the gasoline is at “0”, the vehicle cannot accelerate, what you see in the video is the opposite of what I want
  1. What is the issue?
  • Nothing happens when the fuel runs out, the vehicle keeps moving
  1. What solutions have you tried so far?
  • so far nothing to help in the problem

Video:

Script DriveSeat:

Place Refuel Place.rbxl (234.4 KB)

Edit: this is the 2 post of this error, since I could collect better information for those who want to help me

1 Like

Yes, this is how physics works and how any vehicle would operate normally. Vehicles coast after running out of fuel because the engine is not active but the wheels are still spinning (thanks to differentials and transmissions :+1: ). In order to fix this, simply add a braking function inside the if statement used to check if the car is out of fuel for coasting.

EDIT: Whoops. Misread that. Instead of a braking function, just remove the check entirely.

In the place file in Workspace you have a model called “Add into DriveSeat ‘System Fuel’”
When running there is an error message about Script line 2 in the Engine script where it is expecting to find a seat.
Did you forget to copy that model into the Camaro model or it it supposed to be cloned there?

True but the RPMs are still at 1K.

1 Like

el modelo “Add into DriveSeat ‘System Fuel’” , lo deje en el workspace para aquel que lo quiera poner en un “DriveSeat” diferente

after translating I meant to say clone not copy.