Button Press Changes Walking Speed + Not Noticing Players

In my game, I want to have a feature where pressing a button will cause the character to walk slower. It will be used to help avoid attracting enemies (which are just sprites on the map, not troops). What I need is a script that will 1.) lower the walking speed when a button is pressed or held, and 2.) cause all the sprites on a map to start approaching the player when they aren't walking slow, but continue to approach them if they try to walk slow again. Basically, a "don't move fast or you'll get caught" kind of thing.

I realize the complexity of this script is a lot to ask for, but unfortunately, despite my experience with the maker, I have no idea how to do something like this. For the movement speed, I know that you can change it by using Set Move Route, but unfortunately, I don't know how to map this to a button. I attempted using a Conditional Branch with a button press, but that didn't work. As for the "all sprites approach, etc.," I have no idea how to even start that. Any help would be fine.

Thank you!
Conditional branch for player

If button is pressed:

      $game_player.move_speed = #    (i think)

else

     $game_player.move_speed = whatever the default is

Conditional branch for event

If  $game_player.move_speed < whatever the default is    or    if button is pressed

    Set Move Route: move toward player

else

    whatever you want it to do otherwise

Something like that will work... I think.
Well one way of doing this combines a Button Common Event script, like Yanfly's here, some switches and two Common Events.

1. Make a common event that will lower the player's walking speed and turns a switch to ON. With the second Common Event put the player           speed back to normal and turn the switch from the first Common Event to OFF.

2. For the Encounter events make a second page from the first page and change it so it will be activated when the switch from the common event is on

    and lower the natural speed of the event in the movement box.

3. Now with the Button Common Event script tie the first event to a button and tie the second to a different button.

Now when ever the player presses one button it will lower the speed of the player and the events and when they press the other button it will turn everything back to normal. As for the chase script, use this.
Does the Yanfly Chase script work under the conditions given (the events won't chase unless the player doesn't move slow, and they'll continue chasing after that point)? That's the only problem I can see with that script.

EDIT: Gyldstrand, that command doesn't work.
Maybe this one. Says you need to add a little snippet.

http://forums.rpgmakerweb.com/index.php?/topic/41978-hero-movement-speed-how-to-alter-it/

or this one

http://forums.rpgmakerweb.com/index.php?/topic/42592-script-call-to-change-speed/
Well, no error, but the script itself didn't work.
class Game_Player < Game_Character attr_writer :move_speedendI added that in a new script and the created a parallel event with:

script: $game_player.move_speed = 7.5

and it works on a new project.

http://postimg.org/image/mpmnz32xv/

http://postimg.org/image/xwryj0l5p/ <-- enter manually. Goes to the first image for some reason.
I figured it out. Problem solved. Thank you all!
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/button-press-changes-walking-speed-not-noticing-players.54294/