Call table Clientside

Hello,
I am trying to call a table clientside on a player like : ply.myfunnycolor assigned on serverside
It works on serverside but not on clientside and i would like that it worked on both sides without using networks…
If you have ideas, thanks a lot

Do it in a shared file.

You can’t access a variable on the client if it does’t exist there. Like previously mentioned, set it in a shared file, or network it. That’s gonna be your only way.

Metatables can be used on boths sides even though it’s made on serverside ? Or not at all ?

Metatable is a way of providing advanced information to tables for further operations I believe. They exist outside GLua, and have nothing to do with realms whatsoever.

So i shouldn’t get an error when i use it on clientside right ?