If it’s tile, you can use a razor blade to gently scrape it off.
What kind of paint, what kind of floor?
Depending on the type of floor, Good off has worked for me in vinyl.
What type of floor?
Try scraping it with a plastic knife