How can I fix the player count not showing up from the other server?
NOTE: THIS IS COMING FROM A WHOLE DIFFERENT SERVER
function SortGlobalPrivateSeversAsync()
local pages = GlobalPrivateServerDS:GetSortedAsync(true, 100)
---local playerss = #game.Players:GetPlayers()
for i,v in pairs(menu:WaitForChild("Server").ServerList:GetChildren()) do
if v:IsA("Frame") then
v:Destroy()
end
end
local currentpage2 = pages:GetCurrentPage()
for i,data in pairs(currentpage2) do
warn(data.value, data.key)
wait(.2)
local ServerInfoDictionary = ServerInfoDS:GetAsync(data.key)
local ServerFrameClone = script.ServersTemplate:Clone()
ServerFrameClone.Parent = script.Parent.Parent.Server.ServerList
ServerFrameClone.PlayerCount.Text = data.value.."/1"
ServerFrameClone.ServerName.Text = ServerInfoDictionary.ServerName
ServerFrameClone.JoinServerButton.MouseButton1Click:Connect(function()
local code = ServerAccessCodesDS:GetAsync(data.key)
TS:TeleportToPrivateServer(15239766562, code, {plr})
end)
end
end