I want to make a clone of all the player's names with string values in server storage, but I don't know why this attempt won't work:
if roundCount() == 10 then
if #game.Players:GetChildren() < 2 then
roundmes:FireAllClients('insufficent player count')
else if #game.Players:GetChildren() > 2 then
print('test2')
for i,v in pairs(game.Players:GetChildren()) do
local xx = Instance.new("StringValue")
xx.Name = tostring(v.Name)
xx.Parent = alivePlayers
end
for i,v in pairs(workspace._:GetChildren()) do
end
end
end
end
xx is the instance string with the player's name in server storage
This isn't working

1 comment
Update:This works!