Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Custom PlayerList script will not change Gui name or text?

Asked by 7 years ago

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.

0
Is this a local script? User#5423 17 — 7y
0
No just a script animelover6446 41 — 7y
0
:/ User#5423 17 — 7y
0
? animelover6446 41 — 7y
View all comments (3 more)
0
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 superalp1111 662 — 7y
0
Then press F5 to test for sure. Testing in a LocalServer does not work as I remember. superalp1111 662 — 7y
0
The breakpoint didn't do anything animelover6446 41 — 7y

Answer this question