ok. so;
L = script.Parent.PointLight function RNG() local N = math.random(.1,1.2) L.Brightness = N end while true do wait(math.random(.7,1.4)) RNG() end
The wait random timer works fine, however, when the brightness gets changed by the "RNG" function it only goes from one brightness, then to zero, and doesn't even stay within the random parameters. (It flips back and forth from zero to one brightness each time the while true loop runs)
math.random doesn't go into decimals, you would have to divide the random number if you wanted that
L = script.Parent.PointLight function RNG() local N = math.random(1, 12) / 10 L.Brightness = N end while true do wait(math.random(7, 14) / 10) RNG() end