#my script makes the game output go "attempt to index with nil"
1 messages · Page 1 of 1 (latest)
that means it hasnt be loaded in yet
then what i should do to make it wait for it to load
then do the action
Wait for child
Ye that's not how to use ts
** You are now Level 34! **
Epic fail
Also why r u accessing starter gui
Player GUI exists
when it happens it enables an script
i did that
wdym
local ui = localp:WaitForChild('PlayerGui').MessageZombie --odk what this does localp:WaitForChild('PlayerGui'):WaitForChild("Zombie").Frame.F.LocalScript.Enabled = true
ui.Enabled = true
something like that idk vroski
btw do u mean ui.Visible?
sowwy dude im on mobile 💔💔
*message
Wa
gpt code
Show
uhh
u saying that because you couldnt do any better or wha
its not even chat gpt code broski...
yeah i couldn’t
What a humble guy🥲🥲👏👏
the message zombie is the screen guis name right?
yes
and its two different screenguis
zombie and messagezombie
man nothing looks wrong in that line ahh
it says it attempts to index nil
yeah I know I'm just a bit stupeed and can't figure it out
Your player is somehow nil
Just put WaitForChild() everywhere 🤞🤞🤞❤️🩹❤️🩹
u cant get player using Players.LocalPlayer inside a server script