What scripts I am asking for a quick answer
COMMUNITY QUESTION
what are the scripts for light bulbs and the switch?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

7 comments
I don't understand the question.
explain
You need to give us an explanation.
I am looking for scripts for a light bulb and switch
You would want a click detector in a part that has a function on what to do when clicked. You would want the script to locate the light in workspace and check if its enabled. If it is disable it, if it's not enable it. We are not here to help you make scripts though.
that when the switch is turned off, it also lights and when the switch is turned on, the light shines
You would want to do the same but check the brightness of the light instead.