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

Roblox is giving me a wrong output err0r that doesn't exist?

Asked by 1 year ago

so in the output it is saying "Gui is not a valid member of PlayerGui" but in starter gui there is a gui named "Gui" and I'm confused on what to do.

the line of code giving me trouble Plr.PlayerGui.Gui.PlrCounter.Visible = false

0
Try "Plr.PlayerGui:WaitForChild("Gui")" above your line here. 9mze 193 — 1y
0
alr masilasi2008 10 — 1y
0
no try Plr:WaitForChild("PlayerGui"):WaitForChild("Gui"):WaitForChild("PlrCounter").Visible = false T3_MasterGamer 2189 — 1y
0
please send your entire code SpriteGamerHD 47 — 1y

1 answer

Log in to vote
0
Answered by 1 year ago
Plr.PlayerGui:WaitForChild("Gui").PlrCounter.Visible = false
Ad

Answer this question