I am making a holo, and I have already made the voice activated door, and it even has a red brick(this is basically the light) that turns invisible to reveal a green brick inside of it.(so it's like when you say the code that unlock the door it looks like the light turns from red to green). I want to ADD a pointlight inside of it so that when you say the code the pointlight TURNS ON. so like, if I say "door" and the door opens, i want a script that will also make it so the pointlight for the green brick turns on and then i will see a green light come up when i say the code. Nevermind the red bricks, I just want a script that will turn on the green pointlight inside the green brick i have already made when you say a certain word that i can change myself, like door
although if i were to make one, it would have to be changable.
game.Players.PlayerAdded:connect(function(newP) newP.Chatted:connect(function(msg) if msg:lower() == 'message' then --do stuff end end) end)
Closed as Not Constructive by Goulstem and TurboFusion
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?