The macro for playing the piano in the advanced track mode is «Despacito» in Roblox, it will also work in other modes with similar piano mechanics.
Download the program (Download) and go to the macro editor
press the button «Open file»
and select the downloaded file
assign a macro to a key and run the program