How it works? If you don't know, @Binnsyboy27 has a Bone Slam that works by typing "up slam", "down slam", "left slam", or "right slam." I put all of those into a list, set a pick random to pick a slam, and put it into a variable. All you need is the Green Flag block with the slams, along with the repeat command.
IMPORTANT NOTE: Make sure to put the "set RANDOMSLAM" INSIDE the "Repeat" block, or Sans won't change slams... or you can just put it in your backpack... 2 Views!