game.Players.PlayerAdded:connect(function(plr) local ko = Instance.new("StringValue", game.Workspace.Players) ko.Name = plr.Name ko.Value = plr.Name end)
I would expect you to know what this does but just in case you don't it makes a new string value when a player joins and puts it in "Players" which is a folder in work space, basicly it doesn't do it, it doesn't make a string value into players, no errors show up in output.