Hello, I am aware of the latest character sound changes, but I am unable to find a way to make this script work so other players have the same footstep noise. Currently the script only plays locally, so the player is the only person that can hear the footsteps. Thanks!
Here is the script located inside StarterPlayerScripts, if placed in workspace, it says Running is not a valid member of Part.
local player = game:GetService("Players").LocalPlayer
wait(3)
while true do
wait()
if player.Character.Humanoid.FloorMaterial == Enum.Material.Grass then
player.Character.HumanoidRootPart.Running.SoundId = "rbxassetid://5088435955"
elseif player.Character.Humanoid.FloorMaterial == Enum.Material.Cobblestone then
player.Character.HumanoidRootPart.Running.PlaybackSpeed = 1
player.Character.HumanoidRootPart.Running.SoundId = "rbxassetid://5088490245"
elseif player.Character.Humanoid.FloorMaterial == Enum.Material.Concrete then
player.Character.HumanoidRootPart.Running.PlaybackSpeed = 1
player.Character.HumanoidRootPart.Running.SoundId = "rbxassetid://5088490245"
elseif player.Character.Humanoid.FloorMaterial == Enum.Material.Wood then
player.Character.HumanoidRootPart.Running.PlaybackSpeed = 1
player.Character.HumanoidRootPart.Running.SoundId = "rbxassetid://5088489793"
elseif player.Character.Humanoid.FloorMaterial == Enum.Material.Sand then
player.Character.HumanoidRootPart.Running.PlaybackSpeed = 1
player.Character.HumanoidRootPart.Running.SoundId = "rbxassetid://5112521579"
end
end
