I have a local script located in StarterCharacterScripts and it isn't working. I'm not sure why, but when I test it, no sound is played. It's just silent. There are no output errors either. Can somebody help me with this? The script is listed below.
local RootPart = script.Parent:WaitForChild("HumanoidRootPart") local runSound = RootPart:WaitForChild("Running") local DeathSound = RootPart:WaitForChild("Died") local Humanoid = script.Parent:WaitForChild("Humanoid") DeathSound:Destroy() runSound.SoundId = "rbxassetid://6240702531" runSound.PlaybackSpeed = 1.5 runSound.Volume = .5 workspace.CurrentCamera:ClearAllChildren() game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"):SetTopbarTransparency(1)
first of all in starter player do not keep your script in starter character scripts put it in starter player scripts. lol if that does ot work, i have a few other steps in mind go to the sound and put your walking noise there to.