_G Variables Limit?

Hello! I’m new with _G aka Global Variables. I’m just wondering;

Is there any _G Variables Limit? I know there’s a local variables limit but I’m not sure about _G variables.

1 Like

_G.Variables are basically able to used on the client and the server, but if you have one of them on the client then only the clients can acess that G Variable, same thing with the server, so I guess thats really the only limitation not being able to use them globally through both client and server scripts

2 Likes

no, the only limit is the allocated RAM yes

4 Likes

Should not be, as far as I know.

But you shouldn’t use _G much. It is not very safe.

1 Like

What’s wrong with it? Is it unstable?

1 Like

I’d rather use Modules than _G.

_G is not very efficient. Read this.

2 Likes