Hello guys i want to show the speedometer only if the player is ducking and if the player speed is under 100 the hud color will be white, if the speed is under 250 the hud color green and if the speed is under 350 the hud color yellow and if the speed is 400, 500 then hud color red
if(speed >= 400) { r = 255 g = 20 b = 20 } else if(speed >= 350) { r = 255 g = 215 b = 0 } else if(speed >= 250) { r = 20 g = 255 b = 20 } else { r = 255 g = 255 b = 255 }