Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make a VOICE activated pointlight/lamp?

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.

1 answer

game.Players.PlayerAdded:connect(function(newP) newP.Chatted:connect(function(msg) if msg:lower() == 'message' then --do stuff end end) end)

1 comment

0

What's that supposed to do?

This discussion is preserved as it was. New answers, comments, and votes are closed.