I've just bottled my first batch and all bottles seemed fine, little bit cloudy but seemed okay. Last few bottles are extremely cloudy and almost look just like yeast. Is this still safe to use or do I discard it? Thanks in advance
It may not taste great and look too cloudy. If that bothers you, you can try to filter the beer. Afterwards you need to add sugar and possibly more yeast to get bottle fermentation going, or you'll end up with flat beer.
For the next batch I'd recommend you bring your fermenting vessel to a table or kitchen counter. Let it sit a few hours so that all trub stirred from moving can settle again. Then rack into a different vessel, like a bottling bucket (with a spigot). Let that sit a few hours again. (Side effect: diacetyl rest.)
Bottle from that vessel, but don't tilt it. The bottling bucket usually has the spigot a little bit above the bottom of the bucket so that the last few millimeters don't go through the spigot. If you are using a racking cane, you can put a little plastic cap on the bottom, so that it doesn't suck in the sediment. (You can improvise with steel wool, which will keep the cane off the bottom of the vessel while letting liquid through.) That way you leave the sediment in the bucket.
Definitely safe to drink, just a higher level of yeast in suspension.
I would recommend to mark those bottles and see if they still look different after 4-6 weeks conditioning undisturbed in the bottle - preferably in a nice cool place.
Most likely the yeast will settle out but those ones will end up with a thicker layer of sediment than the others. Check to see if there is a flavour difference compared to the others - you might even find you like it.