You have to switch them to pllets gradually. It took me about 2 weeks to get it to what I have now.
First you do 10% pellet 90% seed, then 20 80, 30 70 etc...Gradually adding more pellet and less seed. Thats how I didit and although they like the seeds better they still eat thierpellets. Also I switched them to a water bottle because Samwas constantly tipping it over on purpose and spilling it.
I reccomend anyone with a bird at least try and switch to a waterbottle. They cant spill it and you wont have to change it asoften because the water wont get dirty from feathers, seeds, andsuch. I just put the bottle in there next to their water dishand once I saw both of them drink from it twice,took outtheir water dish.
Sorry, I dont know why I've been writting so much lately.