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

What is the meaning of NotReplicated?

In Roblox’s developer site, they always put a tag like ReadOnly, etc... The only tag I’m not understanding on what it means is NotReplicated... What does it really mean?

Here’s my guess: When a localscript changes a property with NotReplicated on it, it won’t be copied/made on the server making it so it won’t change for other clients as well, but DistrubutedGameTime seems to not do this, and have a separate time for Client and Server

1 comment

0

NotReplicated means that it can't be replicated over the server/client boundary. That means that you can't transfer it using RemoteEvents or RemoteFunctions.

1 answer

NotReplicated means that it will not be replicated from the server/client model that Roblox currently uses. Let me explain.

If I were to access the game's CreatorId from the client, it would not go through properly.

print(game.CreatorId)

If I were to use that script in a Server script, it would print out the correct ID. In my case, it is 18875912.

However, the output is different on the client. It would print out 0, as it doesn't have access to it!

1 comment

0

In addition to Control22's answer, read this Wiki article for more information about Roblox's Client-Server model: https://developer.roblox.com/articles/Roblox-Client-Server-Model

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