This movie was in the 1980s or 90s.
One scene involves a black girl who looks homeless, where the main protagonist is a man. When the man comes up to the girl, she is frightened and tries to pull out a Swiss army knife or some other Multics tool. She accidentally pulls out something else and the guy looks annoyed until she pulls a knife out. Her grandma or some lady comes out and she starts fakes crying.
Another scene is where she is a girl scout wearing yellow and a baget hat. The guy might have been her father or he adopted her.
I think it was a father/daughter movie. There was another scene where the man and the girl have a heartfelt moment where she has to leave and they say goodbye to each other. The man may have adopted her and she was homeless.