|
| 03 Mar 2016 11:04 AM |
Okay, I have this script which will make a block produce a sound for only the person clicking:
function onClick(player) local aSound = script.Parent.Sound:Clone() aSound.Parent = player.PlayerGui aSound:Play() end
script.Parent.ClickDetector.MouseClick:connect(onClick)
How would I make the script so you could only click it if you had a certain gear? If you could edit the script to make a handitem called "gear" fit in, I'd be eternally grateful. |
|
|
| Report Abuse |
|