I have 2 scripts, one a ServerScript inside ServerScriptService and the other a LocalScript inside the StarterGui.
ServerScript
_G.actor = 1
print(_G.actor)
prints '1' in the output of the server
LocalScript
print(_G.actor)
prints 'nil' in the output of the client
I want it to print '1' the output of the client as well as the server.
I have tried turning the LocalScript into a ServerScript, but I have an event, which needs to fire an OnClientEvent, so it has to be a LocalScript. Is their a way to make it work?
- NinjoOnline
