Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

"Replication: Can't create default object of type Players"?

My game works in the studio, but in online/server testing, I get the following error: Replication: Can't create default object of type Players

I looked it up, and found this post on the ROBLOX forums. They said it was an error with ROBLOX, but that threw a workspace, not a players. What do I do?

3 comments

1

It's ROBLOX's code.

0

Okay, so what am I supposed to do then?

0

I am having the same error code and don't know how to fix it.

1 answer

This error means literally nothing to you. It does not affect your game in any way.

However, your issue of code not working online is probably cause by a replication issue. Read up on this here.

4 comments

0

Thanks, but no. If I restart the studio and publish it before I "Play" test it, the online version works great.

0

Replication bugs occur randomly, so sometimes it'll run without error. Seriously, read the linked article.

0

I have. I understand that, but it doesn't change the fact that no matter what, the "play" testing in the studio breaks the game when I go to publish.

0

Nice. Go ahead and downvote the question because you disagree. Lmao.

This discussion is preserved as it was. New answers, comments, and votes are closed.