#Game loading issue outside of studio
1 messages · Page 1 of 1 (latest)
since when it works there are no infinite yields this is probably the cause
Oh the game loads after a while but the GUI doesnt work
if waitforchild waits for a long time it will give you a warning
local part = workspace:WaitForChild("Part", 10) -- wait for 10 seconds then return nil if part is not found after 10 seconds
print(part)
just do :WaitForChild("Part",math.huge) or something
that would be considered a memory leak
do not use :WaitForChild("Part",math.huge) or something
whats memory leak?