i'm trying to make fuel consumption based on the throttle of the ship but it just doesnt work can someone help?
FuelQT = script.Parent.FuelAmt
Throttle = script.Parent.Parent.Values.Thrust
EngineOn = script.Parent.Parent.Values.EngineOn
FuelRM = script.Parent.FuelRM
Fuel = script.Parent.Fuel
while EngineOn == true do
Fuel = Fuel-Throttle/5
if Fuel <= 0 then
EngineOn = false
end
end

1 comment
if engine starts off, the loop won't run