How do people actually get scammed after an ICO sale? Let's say i've gone through the company's website, whitepapers and github source codes. I have decided to invest for some of their tokens. Is there a way i scammed after all this? Share your thoughts.

Yes.
They could forego all future development and give you an incomplete product.
You could still be holding the tokens, but all the promises that they had about how great their platform will be may just disappear into thin air. You have to consider that possibility and do your due diligence when you invest in any sort of ICOs.
Or, they could just collect the money and disappear. That's happened before.