Change walking speed but not jumping speed

What do you want to achieve? If a player walks they don’t go fast/no speed but when they jump they go at a normal speed

I have tried changing WalkSpeed but that affects the speed when jumping too.

For more information on what I mean check out the game Pogo Stick Simulator and try to walk/jump in it.

Hopefully you can help!
Mikquint

I figured it out

I put this in a script in StarterCharacterScripts.

local hum = script.Parent.Humanoid

while wait() do
	if hum.Jump then
		hum.WalkSpeed = 30
	else
		hum.WalkSpeed = 1
	end
end