How to Play a Sound on Humanoid when tool Equipped?

  1. What do you want to achieve? When you equip a tool, an sound will play on Humanoid.

  2. My script

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

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

tool.Unequipped:Connect(function()
	sound:Pause()
end)
  1. What solutions have you tried so far? I tried to check if its an Humanoid but it din’t work.

Humanoids are not physical classes(You cant see humanoid in the world like parts,trusses,meshes) and a sound need an origin(vector3 position) so it will make sense to parent the sound to your weapon handle or whatever part there is, but if you insist in adding it then add it to the humanoidrootpart or any physical part

1 Like

As @builderIV said, parent it to the HumanoidRootPart, but also don’t forget to navigate from the tool to the actual Character in the workspace, not in the Player folder in the workspace.
The Player is (basically) where your avatar gets loaded into the game, so it won’t play any sound you have in it because it’s just in storage.