I have been a very sinful person for a long time and none of my family or friends know but now that I want to turn back to Allah (swt) some muslims on social media say that if a person was sinful for so long then Allah (swt) will change his original destiny of what is best for them to something that they will live with regret in even if the person repented.

That’s not true. If you truly repent and start doing good deeds and avoiding sins, Allah will give you a clean slate, and your sins will be converted to good deeds. See Sura Furqan verse 70. Don’t doubt Allah’s mercy. Truly repent and He’ll give you the best destiny.