I need help with making material sound more slower.
Here is the script:
local materialSounds =
{
[Enum.Material.Plastic] = “rbxassetid://507863105”,
[Enum.Material.Wood] = “rbxassetid://507863105”,
[Enum.Material.WoodPlanks] = “rbxassetid://507863105”,
[Enum.Material.Slate] = “rbxassetid://507863105”,
[Enum.Material.Concrete] = “rbxassetid://507863105”,
[Enum.Material.Metal] = “rbxassetid://507863105”,
[Enum.Material.CorrodedMetal] = “rbxassetid://507863105”,
[Enum.Material.DiamondPlate] = “rbxassetid://507863105”,
[Enum.Material.Foil] = “rbxassetid://507863105”,
[Enum.Material.Grass] = “rbxassetid://507863105”,
[Enum.Material.Ice] = “rbxassetid://507863105”,
[Enum.Material.Brick] = “rbxassetid://507863105”,
[Enum.Material.Sand] = “rbxassetid://507863105”,
[Enum.Material.Fabric] = “rbxassetid://507863105”,
[Enum.Material.Granite] = “rbxassetid://507863105”,
[Enum.Material.Marble] = “rbxassetid://507863105”,
[Enum.Material.Pebble] = “rbxassetid://507863105”,
[Enum.Material.Cobblestone] = “rbxassetid://507863105”,
[Enum.Material.SmoothPlastic] = “rbxassetid://507863105”,
[Enum.Material.Neon] = “rbxassetid://507863105”,
[Enum.Material.Glass] = “rbxassetid://507863105”,
[Enum.Material.ForceField] = “rbxassetid://507863105”,
[Enum.Material.Asphalt] = “rbxassetid://507863105”,
[Enum.Material.Basalt] = “rbxassetid://507863105”,
[Enum.Material.CrackedLava] = “rbxassetid://507863105”,
[Enum.Material.Glacier] = “rbxassetid://507863105”,
[Enum.Material.Ground] = “rbxassetid://507863105”,
[Enum.Material.LeafyGrass] = “rbxassetid://507863105”,
[Enum.Material.Limestone] = “rbxassetid://507863105”,
[Enum.Material.Mud] = “rbxassetid://507863105”,
[Enum.Material.Pavement] = “rbxassetid://507863105”,
[Enum.Material.Rock] = “rbxassetid://507863105”,
[Enum.Material.Salt] = “rbxassetid://507863105”,
[Enum.Material.Sandstone] = “rbxassetid://507863105”,
[Enum.Material.Snow] = “rbxassetid://507863105”,
[Enum.Material.Water] = “rbxassetid://507863105”
}
local char = script.Parent
local humanoid = char:WaitForChild(“Humanoid”)
local hrp = char:WaitForChild(“HumanoidRootPart”)
local footstepsSound = hrp:WaitForChild(“Running”)
humanoid:GetPropertyChangedSignal(“FloorMaterial”):Connect(function()
local floorMat = humanoid.FloorMaterial
local soundOfMat = materialSounds[floorMat]
if soundOfMat then
footstepsSound.SoundId = soundOfMat
end
end)
Is there have any way how change PlaybackSpeed