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

How to make different sounds at different speeds?

I want it to be like:

Player walkspeed 7 sound id (123456789) looped

Player walkspeed 12 sound id (123456789) looped

Please help.

1 comment

0

Gave you the code, but no asking for people to make you code no more!

1 answer

Well here's what I think your script maybe be like.

local humanoid = game.Players.Localplayer.Character.Humanoid --localscript only
local sound = Instance.new("Sound",humanoid)
sound.SoundId = "rbxassetid://123456789"

humanoid:GetPropertyChangedSignal("WalkSpeed"):Connect(function() --if speed is changed
    sound.PlaybackSpeed = humanoid.WalkSpeed
end)

3 comments

0

I mean different sounds at different speeds.

0

But thanks for help!

0

well we can add a IF statement if the walkspeed is 7 or 14

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