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

Why won't this work?

Asked by 9 years ago

I have a script that makes the parent of the Gui the newplr, only if his name is Player1.

game.Players.PlayerAdded:connect(function(newplr)
    if newplr.Name == "Player1" then
        script.Parent.Parent = newplr.PlayerGui
    end
end)

Next thing you know, when I test it, it does absolutely nothing. Help?

0
Should be Player, If your gonna use the Name Player1 then your going to use the Server test. woodengop 1134 — 9y
0
Nvm, I just realized it wasn't broken at all. groovydino 2 — 9y

Answer this question