Basically, this is from ROBLOX's new sound script. I was wanting to know if it's possible to make this into fall damage. If you're falling from a significant height (enough to make the sound loud), then it would damage you by 25.
if (prevState == "FreeFall" and fallSpeed > 0.1) then
local vol = math.min(1.0, math.max(0.0, (fallSpeed - 50) / 110))
sLanding.Volume = vol
sLanding:Play()
fallSpeed = 0
end

2 comments
Bump
that's not how this works