BUT, when player dies, it errors, it says that “frame is not valid member of screengui”, so I googled, people told me that I need to use :FindFirstChild() or :WaitForChild()
(heres part of a code that errors)
With :FIndFirstChild() im getting error that “attempting to index nil with scrollingframe” and with :WaitForChild() - “infinite yield possible” so clearly something happens when the player dies and I don’t know what. ResetOnSpawn is already disabled
You may want to disable the ResetOnSpawn property of ScreenGui if it’s enabled, caused me so much problems in the past, also I tried putting screen guis in folders like this and it didn’t work for some reason so I just moved them back to be children of StarterGui. Could be a problem with how Roblox replicates it or the screen gui must be a direct child of PlayerGui to work.
already disabled, but yeah, I probably just will put it back to startergui because I actually have no clue what’s the issue (if will work i’ll let you know)