Hi,
I have seen this question around however no one seems to have the same problem as me. When a player first logs in, the server creates them a player, a castle, 5 workers, and 5 soldiers. I have to set 2 things about them which I was doing from the same script by saving the return value of the instantiate command. The two big things I need to set are the colour and the owner's name. Even if I have to put a script on the objects that sets these when they are created I don't know how to get the correct value because they are dynamic I can't set them from that script. It has to be set by the server when it receives the login command. I was thinking about having the server send that data to a server only object that newly instantiated castles read and then other object read that castle or whatever (all objects excluding the player and camera are "owned" by the server) the problem is that is more than one player login for the first time at the same time. Is there a better way to go about this?