#Why doesnt this work?
1 messages · Page 1 of 1 (latest)
1 messages · Page 1 of 1 (latest)
local gui = workspace.Stats.ServerStats:WaitForChild("SurfaceGui"):WaitForChild("Frame"):WaitForChild("Type")
local function getServerType()
if game.PrivateServerId ~= "" then
if game.PrivateServerOwnerId ~= 0 then
gui.Text = "Type: Private"
else
gui.Text = "Type: Reserved"
end
else
gui.Text = "Type: Public"
end
end
try using print() on every possible scenario
also if its on client and streamingenabled is on try using WaitForChild for stats and serverstats too
Is the local function being ran?