Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How do I create a killsound?

Asked by 3 years ago

Hey, I don't really see this question brought up commonly so I'm just bringing this up. Thanks if anyone can answer!

0
To remove death sound oof put a local script in starterPlayer in StarterPlayerScripts and make it empty. MAD_DENISDAILY2 137 — 3y
0
like for what minefeekyt 4 — 3y
0
Like, when you kill somebody, it plays a sound for you and the normal deathsound plays for them Dat1nubIy 5 — 3y

1 answer

Log in to vote
0
Answered by 3 years ago
Edited 3 years ago
 local Character = script.Parent 
 local player = Character.Parent

 local Humanoid = Character:WaitForChild("Humanoid")
 local sound = script.Parent:WaitForChild("Your sound name here”)
-- Sound must be parented to StarterCharacterScripts
 sound.Parent = script.Parent:WaitForChild("HumanoidRootPart")

  --// Function
   Humanoid.Died:Connect(function() -- only when player dies
     sound:Play()
     wait(1)
  end)   

Make sure you replace the ‘your sound name here’ with the sound name you want to play and make sure the sound name is one string like: DeathSound well you can still rename the sound

But I don’t know how to make a audio.

Put a plain script into StarterCharacterScripts

0
What kind of script do i put it as, and where do i put it? Dat1nubIy 5 — 3y
0
I edited it MAD_DENISDAILY2 137 — 3y
Ad

Answer this question