Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I confirm Data list?

I am trying to do a Data list to see what player has what, and I ran into an error in this first block of code right here.

game.Players.PlayerAdded:Connect(function(Player)
	print(Player.Name " Has empty data!")
	print(Player.Name " Has nothing!")
end)

If anyone knows a solution please answer down below.

1 comment

0

unsolved nvm

1 answer

✓ Accepted answer

It looks as though you are trying to concatenate two values/strings.

This is a simple fix. To concatenate, you simply need to add two "." in between the variables.

game.Players.PlayerAdded:Connect(function(Player)
    print(Player.Name .. " Has empty data!")
    print(Player.Name .. " Has nothing!")
end)

This discussion is preserved as it was. New answers, comments, and votes are closed.