How to shere Player 1 game with player 2?

You need to use replication on variables. The Switch Authority node is also very helpful.

So, when i want to play my game with someone else, first i’m setting in play options, number of players to 2. But when i’m lunching the game and the second player will shoot in a box, and the box will change it position on his screen, in the first player screen the box is not moving. And even if one of them will open the door, in other player screen the door will be closed. I was searching through the internet for solution, i found that i have to add “create player” in level blueprint and connect it to “EventBeginPlay”. I have “create Main Menu widget” connected to it, but i disconnected it, and connected “create player”. But when I launched the game first player was seeing what second player do, but second player wasn’t seeing what first player do and even what he is doing.
So what should I have to do?
How to fix it?