Hi.
Guzzlord GX's 'Eat Sloppily' attack states
'Discard the top 5 cards of your deck. If any of those cards are Energy cards, attach them to this Pokémon.'
If Eat Sloppily uncovers a Beast Energy Prism Star, would Beast energy be attached to Guzzlord-GX, or would it be put in the lost zone...