In this video, I show you how to use pynput to capture mouse and keyboard inputs in the game, and then use those recordings to playback your actions later with PyAutoGUI. This will greatly speed up our ability to create action routines for our bot. By combining many different action recordings together, we can start to build up an artificial intelligence.