It looks like you’re creating the rig in a local script, so only that client will be able to see and reference it. You want to have the server create the rig with a regular script, and then assign it to the client somehow.
The way you are scripitng this makes me think it is a local script. A local script is only client sided, so when the rig is cloned, only the client will see it. You can fire a remote event or function i forgot the difference and have the player name be one of the things in the (parenthesis) if you know what im talking about.