A.Text = v.Name.. "has got none."
That is just a snippet of code. V. is the players. Would it output this: Overpride, Player2, Player3, Player4, Etcs has got none.
Would it output that? If not, how can I fix it so that it does?
A.Text = v.Name.. "has got none."
That is just a snippet of code. V. is the players. Would it output this: Overpride, Player2, Player3, Player4, Etcs has got none.
Would it output that? If not, how can I fix it so that it does?
names = {}
z = game.Players:GetPlayers()
for i= 1,#z do
table.insert(names,z[i].Name)
wait()
A.Text = table.concat(names,',').."has got more"
end
if this helped +1 if this answered your query checkmark.
But I have this:
function ToolCheck()
wait(1)
local Check = game.Players:GetChildren()
for _,v in pairs(Check) do
local found = false
local BKP = v.Backpack:GetChildren()
for __,x in pairs(BKP) do
if x.Name == "AK47" then
found = true
end
end
if found == false then
A.Text = v.Name.. " has got none."
end
end
end
What is wrong with that? I just want it to output "Player1, Player2, Player3 has got none."
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Please read my next reply.