I made different tools in my 3 months, what i dont know is how a tool plays a sound when it is clicked. I am currently working on a simulator and i want to know how to code. ive had several local scripts but they all dont work.
local Sword = script.Parent
Sword.Equipped:connect(function() – Fires when equipped
Sword.Handle.EquipSound:Play() – Plays equip sound
end)
Sword.Activated:connect(function() – Fires when clicked while equipped
Sword.Handle.SlashSound:Play() --Plays slash sound
end)

2 comments
The script is probably not working because of the 2 lines "– Fires when equipped" and "– Plays equip sound" instead use -- instead of an endash
oh