Weird PlayerGui errors

Hey everybody, i am getting this error and I don’t know why. I used this script for my 3 games, but i have never seen anything like this

also it is not directing to script when i click to error line while game running. It says “Source not available”.

Not only this line, all PlayerGui accesses giving the same error.

Does anybody have an idea?

1 Like

Source not found? Make sure you try clicking the blue and the red one. It is suggesting that player is nil

Is the script a server script or a local script?

LocalPlayer is only for local scripts, on the server it will give nil, you need to change the way you get the player

Does the UI physically exist when you load into game?

And here we go my other screenshots

resim

I read about the ServerScript thing in a post but my situation is not the same. What is cloud mean by the way in the error message, did you see something like that?

Yes but it can load after errors i dont know

resim

I found the problem… While trying to create package i created plugin and installed that plugin. So those scripts ran at plugin on game load and gave those errors. What a day, time to sleep