Replay mechanic. (bug?)

I’m trying to make a replay mechanic in this basketball game I made, but it’s not doing the exact same thing. It’s doing something very similar but not the same. Press “R” if you want to replay. Game:

Im Confused. The Player Don’t Even Have The Basket Ball At The Start Of The Game But When You Replay It He Gets A Ball

You have to click somewhere to shoot the ball. Sorry for not clarifying.

tenor (1)

oh ok