local l=script.Parent:WaitForChild("\072\117\109\097\110\111\105\100")local i=l.Health l.Changed:Connect(function()if l.Health>i then i=l.Health end if l.Health<i and i>30 then i=l.Health local x=script:GetChildren()local L=math.random(1,#x)local D=x[L]if D~=nil then D:play()end end end)

local Human = script.Parent:WaitForChild("Humanoid")
local LastHealth = Human.Health

Human.Changed:Connect(function()
if Human.Health > LastHealth then
LastHealth = Human.Health
end
if Human.Health < LastHealth and LastHealth > 30 then
LastHealth = Human.Health
 local Tracks = script:GetChildren()
	local RandomTracks = math.random(1,#Tracks)
	local ChosenTrack = Tracks[RandomTracks]
	if ChosenTrack ~= nil then
		ChosenTrack:play()
	end
end
end)
