kreader.ClickDetector.MouseClick:Connect(function(player)
if player.Backpack.L1 or player.Backpack.L2 or player.Backpack.L3 then
light.BrickColor = BrickColor.new("Lime green")
wait(1)
light.BrickColor = BrickColor.new("Lily white")
end
if player.Backpack.L2 then
light.BrickColor = BrickColor.new("Lime green")
wait(1)
light.BrickColor = BrickColor.new("Lily white")
end
if player.Backpack.L3 then
light.BrickColor = BrickColor.new("Lime green")
wait(1)
light.BrickColor = BrickColor.new("Lily white")
end
light.BrickColor = BrickColor.new("Bright red")
wait(1)
light.BrickColor = BrickColor.new("Lily white")
end)
COMMUNITY QUESTION
Why does it only read L1 and not the others? Can anyone help?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Please don't comment about spaces I know they are cancer lol
instead of using 'end', try using 'else if' on line 8 and 14