local WalkspeedUpdate = Walkspeed.update; Walkspeed.update = function(self) if Input.isKeyPressed(Input.KEY_o) then Player.walkingSpeed = 0.01; end; WalkspeedUpdate(self); end;