so in the script below, I have a phone that uses a keypad script, and it want it to play a sound if it senses that the models named "9" "1" AND "1" have been pressed. any help please?!
Code = "911" Input = ""
Sure thing of course. This server script / global script goes into your keypad keys.
Ready? Let's do it...
click = Instance.New("Click Detector") click.Parent = script.Parent click.Name = "press" script.Parent.press.MouseClick:Connect(function() if (script.Parent.Name == "1") or (script.Parent.Name == "9" then game.ServerStorage.Music:Play() end
I'm apologizing for this head on, I will fix this and figure this out together. We're sort of a team now.
Closed as Not Constructive by RubenKan
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?