How do you use global codes, that show all the players?
local ds = game:service"DataStoreService" local list =ds:GetDataStore"PlayerList" game.Players.PlayerAdded:connect(function(plr) list:UpdateAsync("List", function(old) val = old or {} table.insert(val, plr.Name) return val end) end) game.Players.PlayerRemoving:connect(function(plr) list:UpdateAsync("List", function(old) for i, v in pairs(old) do if v.Name == plr.Name then table.remove(old, i) end end return old end) end) list:OnUpdate("List", function(data) for i, v in pairs(data) do print(v.Name) end end)