Changing death Sound without forking Scripts

Simply change these.
CharacterSounds(StarterPlayerScripts).lua (8.8 KB)

Well, really I don’t know what the harm of forking scripts is. All you need to do is copy the script from PS (player scripts) and modify to your will, then paste the edited script with the same name into starter player scripts.

But since you asked, I think in the player’s Head, there are sounds, and you can modify that on the server whenever the player is added.

As I said above no, you can’t do that from the server’s perspective.
Your only way to modify core sounds is to replicate what I did, it’s simple.
Yeah, you need to touch a pre-made local script, but what else can you do? There’s no harm in that.

I know right. Don’t get what OP is trying to do here. Please elaborate why you would need to do this @Jermartynojm .

Is doing the following good:

script.Parent:WaitForChild("HumanoidRootPart"):WaitForChild("Died").SoundId = "rbxassetid://1474367957" --Loud OOF Sound is just an example.

in LocalScript located in StarterPlayer > StarterCharacterScripts?

Will the new Sound be hear - able on the Server? Will it affect the Game in any way (as the Sound is not changed with forking Scripts)?

I said without forking. Also this questions from Reply number 15.

If it’s a LocalScript, no as it’ll only be heard from your side I believe

Everyone else individually will be able to hear their own custom death sound though

Any other thoughts on changing the Sound without forking the Scripts?

Not really, the starter local script is the only way to change it so the sounds replicate to everyone, I can’t see any other possible way.

However if someone jumps in and surprises the both of us, then wow.

What you could do is this

In a script in ServerScriptService, do the following

  • Create a playeradded event
  • Create a CharacterAdded event with the player parameter
  • Use the character parameter of CharacterAdded to get the HumanoidRootPart
  • Get the sound from the HumanoidRootPart
  • Set the sound to the id you want

I think I got a Solution.

(LocalScript)
Listen to ChildrenAdded in Workspace. If Children is a Character then change the Death Sound.
(It also works with other people’s Characters.)

You can’t do that, as I explained above the sounds can’t be seen from the server.

The problem is that it doesn’t appear on the Server and does on the Client.

Changing it with a localscript won’t replicate the change to everyone, only the single player.

Maybe try a RemoteEvent that fires with the location of the sound and set it from there? But that would probably also have the issue of the script not noticing it. This is quite odd that the functionality is like this

Yes and that is the point in my solution.

I will check if it 100% works and let you know (I will also provide a Baseplate).

1 Like

I just made a simple Solution (I think it will work). Check my above posts. My point is that you can see other player’s Sounds so a LocalScript in every Player may work.

May I ask why you don’t want to fork the script that is used for this purpose?

Oh I see now, that could work too, I guess.

What if the Script that forks the Sounds gets updated and won’t longer work fine with old change (that’s what was always hunting me about forking that Scripts as they do change - some of them even once in 2 years).