Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

why does this running sound play faster than it should?

hi, i found a script that let me change the default sounds but the walk sound plays faster than it should be and i dont know why, here is the script

local soundIds = {
    ["rbxasset://sounds/action_falling.mp3"] = "rbxasset://sounds/action_falling.mp3";
	["rbxasset://sounds/action_footsteps_plastic.mp3"] = "rbxassetid://250852403";
	["rbxasset://sounds/action_get_up.mp3"] = "rbxasset://sounds/action_get_up.mp3";
	["rbxasset://sounds/action_jump.mp3"] = "rbxassetid://161619979";
	["rbxasset://sounds/action_jump_land.mp3"] = "rbxasset://sounds/action_jump_land.mp3";
	["rbxasset://sounds/action_swim.mp3"] = "rbxasset://sounds/action_swim.mp3";
	["rbxasset://sounds/impact_water.mp3"] = "rbxasset://sounds/impact_water.mp3";
	["rbxasset://sounds/splat.wav"] = "rbxasset://sounds/splat.wav";
	["rbxasset://sounds/uuhhh.mp3"] = "rbxasset://sounds/uuhhh.mp3";
	
}
	 
local function fixSound(instance)
	if (instance:IsA("Sound")) then
	    instance.SoundId = (soundIds[instance.SoundId] or instance.SoundId)
	 end
end
	 
game.Players.PlayerAdded:connect(function(player)
	player.CharacterAdded:connect(function(character)
	    for _, child in next, character.Head:GetChildren() do
	        fixSound(child)
	     end
	     character.Head.ChildAdded:connect(fixSound)
     end)
end)

line 3 is the one i changed to change the walk sound

thanks

1 answer

Make it so all the sounds have they're own playback speed set to 1 or somethin

This discussion is preserved as it was. New answers, comments, and votes are closed.