#WaitForChild("") refusing to actually wait
1 messages · Page 1 of 1 (latest)
wdym its refusing to wait??
It means that theres no ScreenGui
what did you name your screengui to
idk why its greyed out
i didnt set a setting or diable it or smth
it just happens when playtesting
but doesnt leave :/
the screengui DOES eventually come up but the waitforchild is too impatient to actually do its job >:(
and throws a warning
know anything that could help @rotund shoal?
Use waitforchild when it comes up?? or idk however u want to do it
a
the one reason i came to #1020374354867007528 is so that i know how to deal with it what
anymore context?
give the scripts in full
uhh no thats the whole script
the same also happens for a part i added to the workspace
and also it only happens sometimes
nah being so fr waitforchild is so weird I don’t even use it anymore
I just adjust my script to where I can cache it with dot operators
its most likely greyed out, because you got this turned off
maybe your script is loaded in faster than gui? try this local gui = game:GetService("Players").LocalPlayer.PlayerGui:WaitForChild("ScreenGui",5) --5 basically means how long its supposed to wait for
wait u can do that???
** You are now Level 5! **
yup
if that wont work try: repeat task.wait() until game.Loaded
put that at beggining of your script
also @jagged forge u know how to make badgeservice:userhasbadgeasync() faster? i am using task.spawn but its still not enough, and because its async something wont wait for it to finish first
sadly i won't be able to help you with that one, not that familiar with badges