Q to hit with left sword, and P for right sword. Make sure the ball doesn't hit your sword without you moving it, or you're out!
Credit to Ohwaitwhat for some debugging, and of course blade ball from Roblox.