local ID = 131149175
game.Players.PlayerAdded:connect(function(Player)
wait(1)
Player.Character.Humanoid:Died():connect(function()
local s = Instance.new("Sound", Player:WaitForChild("PlayerGui"))
s.SoundId = "rbxassetid://" ..ID.. ""
s.Looped = true
s:Play()
end)
end)
I am trying to make it play a sound when the player dies. 21:44:16.199 - ServerScriptService.Script:5: attempt to call method 'Died' (a userdata value) 21:44:16.201 - Stack Begin 21:44:16.203 - Script 'ServerScriptService.Script', Line 5 21:44:16.205 - Stack End

1 comment
Oh, and the only thing you did wrong was "()" beside Died on line 5