_G is not working globally on clientside

for some reason all my _G manipulations are local for client side, no matter how i do them. for example:

-- local script
while task.wait(1) do
	print(_G.four)--nil no matter what
end
--another local script
_G.four=4

but if i will set _G.four in the first script it will print 4

-- local script
_G.four=4
while task.wait(1) do
	print(_G.four)--4
end

are both local scripts running within an accessible spot to the client?

i just placed both scripts in replicated first, seems to work. Yet when i try to set something in a module script it still prints nil. Thank you for help