So I am making a battery system for my game's flashlight, and I need a timer system.
I set a float variable and stuff and basically the whole thing is done but I want my flashlight to turn off when the Float goes to 0 and when the Float is over 1 the flashlight stays on.
Help Please?