game.Players.PlayerAdded:Connect(function(plr) local char = plr:WaitForChild("Character") repeat wait() until char print("Character loaded.") end)
So I was making a script and noticed that all functions that are involved with the character were not working. I got suspicious so I made this script and got a warning saying an infinite yield is possible. I checked the player and the character was set. Why is this happening?