Template light limit maximum and minimum brightness of light

it’s not my code, i already explained to the guy above