Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to fix DialogueGUI is not a valid member of playerGUI?

Having problem with my script someone please help me with it

All i have of the script is a photo so please add me on discord so u can help me

Discord: Persona#8045

2 answers

Sometimes it's because your script immediately runs while your character loads. Meaning your script is trying to find DialogueGUI while the game is adding all the GUIs you've made.

Try adding a wait(howManySecondsYouWant) at the top of the script and adjust it until the script fixes

similarly you could use

local GUI = someLocation:WaitForChild("DialogueGUI")

If this helped please do accept it

This is a ROBLOX core error nobody can fix, you might have to go to the DevForum and report the issue!

If this helps please mark it as solved!

This discussion is preserved as it was. New answers, comments, and votes are closed.