I'm not sure why this is happening.
Basically, I'm trying to send a table through a remote event which tells the client what players are in the game. From this, I want to fill up a text box full of the names of the players.
playersRemote = game.ReplicatedStorage.playersExchange playersRemote.OnClientEvent:connect(function(arg) players = arg for i=1,#players do if players[i].Name == game.Players.LocalPlayer then table.remove(players,i) end end --Using the above code to take out the local player from the table for i=1, #players do script.Parent:FindFirstChild("plr"..i.."name").Text = players[i].Name --This is where it says I'm trying to index a nil value end script.Parent.Visible = true end)