I cant seem to hear this sound even after many tries + i dont think its working how it should
script V
while wait(0.05)do
local gethp=script.Parent.Humanoid.Health
if gethp > gethp
then
local hurt= Instance.new("Sound",script.Parent.Head)
hurt.SoundId="rbxassetid://209527158"
script.Parent.Head.Died.SoundId=("rbxassetid://209527158")
hurt:Play()
end
end
Can you show me what to do and fix it?

2 comments
But why i want it to be able tp be played In the head so every one can hear it when they are near my head
That's not how sounds work. If you parent it to the head, no one will be able to hear it. If you want people near your head to be able to hear it, then set the MaxDistance property of the sound to the desired number of studs you'd like a player to be near to hear the sound.