local Job = StarterGui:WaitForChild("Job"):WaitForChild("Frame") I need help this doesn't work, i think got it incorrect Players.iDevity.PlayerGui.Gui.TextButton.Script:1: attempt to index global 'StarterGui' (a nil value)
COMMUNITY QUESTION
EASY SCRIPT, (need help) waitforchild is not working, starterGui nil value?
1 answer
If you want to wait for the gui inside of the player you will need to do
local Job = game.Players.LocalPlayer.PlayerGui:WaitForChild("Job"):WaitForChild("Frame")
StarterGui is not a member of a player. StarterGui's contents get cloned to the players PlayerGui.
1 comment
0
yep
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
You need to do game.StarterGui
Is this a local script?
ya