Im making a game and trying to check the game.Lighting size, i use :game.Lighting:GetChildren()" then print(#game.Lighting:GetChildren()) but it says this error, here's the error:
ServerScriptService.Script:35: attempt to get length of a Instance value
also, i used an Instance.new('BoolValue") and set the parent to :game.Lighting" by script, is that where the error start? Someone help me fix it please

3 comments
yes, im getting its length O.o
i really sorry about the thing that i typed wrong the code, it must be print(game.Lighting:GetChidlren()), but it prints out the error
thank you very much for uploaded this answer but i think i solved it ._.