I remember trying to do this forever ago, a dark warehouse hide-and-seek gamemode where the hunter had a flashlight and the prey had to blend into the dark. It failed because of blockland's notorious inflexibility with the shader system so it had to be developed as though everyone was playing with shaders off and the prey would just be blind as forget, and you couldn't give them lights because the majority of blocklanders are immature friends and they would use their light to troll other players by revealing their position. Then my hard-drive failed, I lost the build, and my motivation to complete the project was obliterated lol
Shameless self plug:
I made a night-vision goggles add-on that rectifies this issue, just in-case you run into the same problem. Good luck bro, build looks good although I don't really know what's going on