Code: https://pastebin.com/udYmupEG
You may need to tweak the timers a bit, but for the most part, it should work.
Movement: WASD and Shift