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

How to make custom death sounds hearable to nearby players in game?

Asked by
TechModel 118
3 years ago
Edited 3 years ago

Tried to replicate this but in a server script but it doesn't work, only local script. Works just fine, but I only experience the hearing of the death sounds. I want other to hears as well. Thanks

local IDs = {
    3242409200,784747919,4134880887,4930282522,2946037756,1838457617,6490574277,3423318196,701641750 --bruh, Windows XP, PS2 Startup, No Anime, Oof, Clair De Lune, Redo Of Healer ED, Rising of the Shield Hero "Faith", Moe step by Moe shop
}
local Random_ID = string.format("rbxassetid://%d", IDs[math.random(#IDs)])
local dead = script.Parent.HumanoidRootPart:WaitForChild("Died")

dead.SoundId = Random_ID

Answer this question