-Edit- This has been answered on the forums. Thanks a lot, guys. -_-
Hey, guys. I've recently tried to make a piano that plays some audio once clicked, but now it won't work.
function onClicked(playerWhoClicked)
sound.SoundId = "http://www.roblox.com/asset/?id=154630272"
sound.Looped = true
sound.Parent = script.Parent
sound:Play()
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
Line 2 is the problem, but I have NO idea what it is. I've looked everywhere and I'm getting pissed because of it.
Please help.
