Doll not disappearing when touched

Hi all

i am working on y horror game and i want the doll in the game to get destroyed on touch but that is not happening.
here is the script

game.Workspace.Doll.Touched:Connect(function(Dissapear)

game.Workspace.Doll:Destroy()

end)

Are you trying to destroy the doll when another player touches it ?

If so you need to check whether the object that touches the doll is a player
//(check for Humanoid)

game.Workspace.Doll.Touched:Connect(function(hit)

       if hit.Parent:FindFirstChild("Humanoid") then
          game.Workspace.Doll:Destroy()

    end
end)

So should the script be in serverscriptservice or be a child of the doll

In this case the server script, but I can alter it if you want the script to be a child of the doll.

thank you for the help .no this is just what i want