Im making a football game and i make a shoot system, when the player left click, tje Ball get impulse. But my game is in multiplayer, and the shoot only work with the server, the client can’t shoot the ball and i’ have the error : accessed none trying to read Ball. :
Run an IsValid check before the branch, It looks like it is registering the value as a NULL object, this will allow you to check if your ball variable has been populated. If it has not, you will need to populate the ball variable before you can run this script.
Since its multiplayer, is the “Ball” variable set to replicated? If not, the ball will not be spawned on the clients but only on the server, thus giving the Accessed None message.