I have this script that plays a certain death music when you die, but it is too quiet. I want to add a volume increase to the script but it doesn't work.
local IDs = {
3242409200,784747919,4134880887,4930282522,2946037756,1838457617,6234792983
}
local Random_ID = string.format("rbxassetid://%d", IDs[math.random(#IDs)])
local dead = script.Parent.HumanoidRootPart:WaitForChild("Died")
dead.SoundId = Random_ID
After I tried to increase the volume but doesn't work:
local sound = Instance.new("Sound", game.Workspace)
sound.Volume = 10
local IDs = {
3242409200,784747919,4134880887,4930282522,2946037756,1838457617,6234792983
}
local Random_ID = string.format("rbxassetid://%d", IDs[math.random(#IDs)])
local dead = script.Parent.HumanoidRootPart:WaitForChild("Died")
dead.SoundId = Random_ID
