local G={run=24;walk=16}character.speed=function(z,o)local a=Util.getHumanoid(z)if not a or not o or not G[o.speed]then return end a.WalkSpeed=G[o.speed]end return character

local speeds = {
	run = 24,
	walk = 16
}

character.speed = function(player, payload)
	local humanoid = Util.getHumanoid(player)
	
	if not humanoid or not payload or not speeds[payload.speed] then
		return
	end
	
	humanoid.WalkSpeed = speeds[payload.speed]
end

return character
