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

I want this sound to play when I pick up this tool how do I do this?

So I have this tool and you pick it up from proximity prompt and I want to make a sound when you pick it up so how do I do this exactly? Thanks

1 comment

0

Tools have an event called Tool.Equipped. You can do Tool.Equipped:Connect(Function() sound:Play() end) or something like that

1 answer

Just a little note before I go on to the script, this is not a request site.

script.Parent.Triggered:Connect(function()
local sound = script.Parent.Sound
sound:Play()
end

If you have any problems with this, please let me know, and I'll be happy to help.

1 comment

0

Make this a server script in the prompt, and make sure the sound is also a child of the prompt.

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