Why is Studio saying that my Gui is not in my game?

 gui is not a valid member of PlayerGui "Players.JadtrugamingYT1.PlayerGui"

image

Use waitforchild(“gui”), it takes time for stuff to load in

ok thank you i will try that :grinning: :smile:

is this how it should be

local Frame = WaitForChild("script.Parent.Parent.Parent.Parent.gui.Frame")

No it’s
local frame = script.Parent.Parent.Parent.Parent:WaitForChild("gui"):WaitForChild("Frame")

ok thank you :smile: :grinning: :smiley: