I'm trying to make a custom Player List and need help. I have already disabled the default one and it doesn't show up, as planned. Here is my script. I will explain more down below.
game.Players.PlayerAdded:connect(function(Plr)
wait(2)
if script.Parent:FindFirstChild("Player") ~= nil then
local Player = script.Parent.Player
Player.Name = "InGame"
Player.Text = " ".. Plr.Name
end
end)
First off, the local Player is a the Text Label Gui that will display the player name. I am naming it "InGame" so the script doesn't find the same Player Gui that someone else is using. Help would be greatly appreciated. Oh forgot to mention; nothing shows up in the Output or Script Analysis.

7 comments
Is this a local script?
No just a script
:/
?
Did you try with a breakpoint? Breakpoint is, like a mark which you put in specific line in order to check if script processes that line and after that line, and shows values of variants. If you do not know how to put one, click fourth line and press F9
Then press F5 to test for sure. Testing in a LocalServer does not work as I remember.
The breakpoint didn't do anything