How to make your tool play a sound when equipped! (R.S. 2021)

Опубликовано: 31 Июль 2026
на канале: OwenXScriptz
21,045
428

script:

local tool = script.Parent
local sound = tool:WaitForChild("Sound")

tool.Equipped:Connect(function()
sound.Resume()
end)

tool.Unequipped:Connect(function()
sound.Pause()
end)



if you want the sound to start from the beggining each time you equip it, use this script:

local tool = script.Parent
local sound = tool:WaitForChild("Sound")

tool.Equipped:Connect(function()
sound.Play()
end)

tool.Unequipped:Connect(function()
sound.Pause()
end)