What I am trying to achieve is a number that depends on the speed of Humanoid.WalkSpeed to interval the time before the walk sound plays.
The slower the walkspeed, the higher the number. This number will be the wait time for the walk sound to play.
E.g. :
walking = true
repeat
local walkSound = walkBlock["Walk" .. math.random(1,4)]
walkSound:Play()
wait(intervalTime)
until walking == false