So, I'm working on a LocalScript that SHOULD change the sound of when the player dies (the sound's name is "Died") to my uploaded sound (which has been verified before I started editing).
So, in other words, I'm changing game.Players.LocalPlayer.Character.Head.Died.SoundId to "rbxasset://380597453". Here's the script.
while true do
local p = game.Players.LocalPlayer
local c = p.Character
if not c then
c = p.Parent.CharacterAdded:wait()
end
local deathsound = c.Head:FindFirstChild("Died")
deathsound.SoundId = "rbxassetid://380597453"
wait(0.01)
end
This is a signature. |