Before removing the old fill valve, you'll want to purchase a replacement part that matches. If you know the model number of toilet you have, you can potentially find a replacement that way.
When your toilet just ... tube off the Korky fill valve and use your thumb to pop the cover off. Then, remove the float by pinching its arms toward each other. Twist the cap underneath the valve ...