StringValue doesn't take Value

As the title says I have a StringValue on the client side that should take a value passed by a table in a script but for some reasons the script prints the value but it doesn’t put this value (the name of a folder) inside the Value property of the StringValue object returning 0 errors. Is it possible that the StringValue isn’t able to extract a string from a table or maybe the StringValue object just doesn’t work on the Client?

CLIENT SCRIPT

local Page = 1
local lobbiesPage
local lobbiesFrame = script.Parent.LobbiesFrame
local refreshButton = script.Parent.RefreshButton

local rs = game:GetService("ReplicatedStorage")
local lobbyRequestEvent = rs.RequestingLobbies

function RoundNumber(number)
	local integer,decimal = math.modf(number)
	if(decimal > 0.0)then
		integer = integer+1
	end
	if(integer == 0 and decimal == 0.0)then
		integer = integer+1
	end
	return integer
end

function LobbyWriter()
	local frames = lobbiesFrame:GetChildren()
	for i=1,6,1 do
		if(lobbiesPage[Page] ~= nil)then
			if(lobbiesPage[Page][i] ~= nil)then
				frames[i].Code.Value = lobbiesPage[Page][i][1]
				frames[i].Host.Text = lobbiesPage[Page][i][2]
				frames[i].Players.Text = lobbiesPage[Page][i][3] .. "/" .. lobbiesPage[Page][i][4]
			else
				frames[i].Code.Value = ""
				frames[i].Host.Text = ""
				frames[i].Players.Text = ""
			end
		end
	end
end

lobbyRequestEvent:FireServer()


rs.ReturningLobbies.OnClientEvent:Connect(function(lobbiesCodes,lobbiesHosts,lobbiesPlayers,lobbbiesMaxPlayers)
	local numberToRound = #lobbiesCodes/6
	pages = RoundNumber(numberToRound)
	local k=1
	lobbiesPage={}
	for i=1,pages,1 do
		lobbiesPage[i] = {}
		for j=1, 6, 1 do
			if(lobbiesCodes[k] ~= nil)then
				local LobbyData = {}
				table.insert(LobbyData,lobbiesCodes[k])
				table.insert(LobbyData,lobbiesHosts[k])
				table.insert(LobbyData,lobbiesPlayers[k])
				table.insert(LobbyData,lobbbiesMaxPlayers[k])
				table.insert(lobbiesPage[i],LobbyData)
				k=k+1
			end
			wait()
		end
		wait()
	end
	LobbyWriter()
	script.Parent.Pages.Text = Page .. "/" .. pages
end)

SERVER SCRIPT

local players = game:GetService("Players")
local ss = game:GetService("ServerStorage")
local rs = game:GetService("ReplicatedStorage")
local createEvent = rs.CreateLobby
local lobbiesRequestEvent = rs.RequestingLobbies

lobbiesRequestEvent.OnServerEvent:Connect(function(player)
	local lobbiesCodes = {}
	local lobbiesHosts = {}
	local lobbiesPlayers = {}
	local lobbbiesMaxPlayers = {}
	local lobbies = ss.Lobbies:GetChildren()
	for i=1, #lobbies, 1 do
		if lobbies[i].Private.Value == false then
			table.insert(lobbiesCodes,lobbies[i].Name)
			table.insert(lobbiesHosts,lobbies[i].Host.Value)
			table.insert(lobbiesPlayers,lobbies[i].JoinedPlayers.Value)
			table.insert(lobbbiesMaxPlayers,lobbies[i].MaxPlayers.Value)
		end
	end
	rs.ReturningLobbies:FireClient(player,lobbiesCodes,lobbiesHosts,lobbiesPlayers,lobbbiesMaxPlayers)
end)

The line where the value gets assigned in the StringValue is the following one in the Client Script

frames[i].Code.Value = lobbiesPage[Page][i][1]

which can be found in the LobbyWriter Function

I think it’s because you are editing it in the client, which doesn’t show in the server

It can’t show in the server. It’s inside a player gui.

Edit: I also don’t need it to show in the server. The problem is that it doesn’t take the value at all. If I look in the Inspector the Value property is empty and the script doesn’t return any error

FORGET EVERYTHING. I’M JUST DUMB.
I was looking inside StarterGui when I started the game instead of looking in the PlayerGui in Players.