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

Im trying to make this visible but it wont work I tried it on a different gui but then it worked?

Asked by 3 years ago
script.Parent.Equipped:Connect(function()
        game.Players.LocalPlayer.PlayerGui.e.Frame.Visible = true
    end)
0
This is because you have to change the client's Gui. The starter Gui is for replicating its contents to the clients when they join so changing the Visibility of the Frame from there wont acheive your goal. To allow a client to see its own gui, you need to change the visible property of the clients gui which is located in the specific player's Gui. LocalPlayer is used to access the specific player JustinWe12 723 — 3y
0
is this in a local script? NGC4637 602 — 3y
0
Yes robot7866 36 — 3y

Answer this question