How do i make a working regen button?