Code
function onRunning(speed)
if speed > 0.01 then
playAnimation("walk", 0.1, Humanoid)
if currentAnimInstance and currentAnimInstance.AnimationId == "http://www.roblox.com/asset/?id=180426354" then
AdjustSpeed(1/(workspace.Sound.PlaybackLoudness / 100))
end
pose = "Running"
else
if emoteNames[currentAnim] == nil then
playAnimation("idle", 0.1, Humanoid)
if currentAnimInstance and currentAnimInstance.AnimationId == "http://www.roblox.com/asset/?id=180426354" then
setAnimationSpeed(speed / 10 + workspace.Sound.PlaybackLoudness * 0.02 + 70)
end
pose = "Standing"
end
end
end

2 comments
use a code block please
Can anyone edit this? I can't read.