In my game, I store events and other values in a folder in a player's backpack. The folder is called "Values." I commonly use WaitForChild("Values")
in scripts just in case the player takes a long time to load.
When I test the game with a server in Studio, the folder "Values" is clearly visible for both the server and the client, but most of the scripts in my game don't seem to see it. I get Infinite yield possible on Players.Player1.Backpack:WaitForChild("Values")
and it never goes through.
Again, I can see it in the Explorer on both Server and Client, and the game was working fine yesterday. What is going on?
its probably because either "Values" dosen't exist or it hasn't loaded yet try putting a wait()
before the Players.Player1.Backpack:WaitForChild("Values")