This is pretty much a script to rickroll someone using a BadUSB - also known as a Ducky
A device that can run Duckyscript payloads
The file payload.dd
contains the script, that's what you must use. Althought, in order to work, the PC must have an internet connection
Then use a Raspberry Pico. It is quite cheap, around 5 bucks, and can be easily configured to run Ducky scripts. Check this repository for more info