i am trying to make a car
and the problem is that the if statement not working and i am not getting an error message
and if you wondering how i know that it is the if statement
the top speed value won't print or change
local TopSpeedValue = script.Parent local MeasureTypeGet = TopSpeedValue.kind_of_speed print(MeasureTypeGet.Value) local KPHGet = TopSpeedValue.KPH.Value local MPHGet = TopSpeedValue.MPH.Value wait(30) if MeasureTypeGet.Value == MPH then print(script.Parent.Value) script.Parent.Value = 138 end