Stop Time and Invisibility

Now the idea here is that the main character of my game is given an a chance to choose one special ability. One is to be able to unlock any kind of lock. Second is able to use mind control. For example if you picked mind control over the unlock ability and you need to get through a door, you would use mind control on some one to find out where or who has the key.

Now another ability I would like to add is the ability to stop time. I mean like none of the NPCs move or can communicate with the main character. For example you freeze time and you can take the key from the frozen person to open the door your trying to get through. Maybe also take some of there money too.

The other power to choose from is the power of invisibility. Again key example; while you're invisible you can try to pick pocket from the key holder or go through a room without be noticed.

Now I sorta figured out a way to make the unlock and mind control abilities. But I have no idea what to do about the time stop or the invisible abilities. Does anyone know a possible way to make them or if there is some kind of script I would have to use? FYI none of these abilities are in battle abilities. These are used outside of battle.
Please and thank you.
stopping time should be a relatively easy feature to implement:

via event processing:
  • add an additional page to all events afflicted by the player's time stopping ability
  • setup the page's graphics
  • setup up the page's condition to a switch of your choice
  • ensure that this new event page is the last page in the array of pages in the event (to override all other possibilities)
  • whenever the player uses his time stopping ability, activate the switch
in theory, when the switch is active, all events will update to an empty page, containing only their graphics and no additional event processing will take place. the only exception is that the step animation will not be reserved to the new page. whenever the switch is deactivated, the event will return to whichever page still meets their conditional requirements for processing.

Original thread: https://forums.rpgmakerweb.com/threads/stop-time-and-invisibility.84021/