of     1   

Yesthereis
#228297461Friday, December 01, 2017 6:41 PM GMT

Infinite yield possible on 'Workspace:WaitForChild("NumPlayers")' game.Players.PlayerAdded:connect(function(player) game.Workspace:WaitForChild("NumPlayers").Value = game.Workspace:WaitForChild("NumPlayers").Value + 1 local settings = Instance.new("Folder",player) settings.Name = "Settings" local afk = Instance.new("BoolValue",settings) afk.Name = "AFK" local leaderboard = Instance.new("Folder",player) leaderboard.Name = "leaderstats" local currency1 = Instance.new("IntValue",leaderboard) currency1.Name = "Credits" local currency2 = Instance.new("IntValue",leaderboard) currency2.Name = "Wins" end) game.Players.PlayerRemoving:connect(function(player) game.Workspace:WaitForChild("NumPlayers").Value = game.Workspace:WaitForChild("NumPlayers").Value - 1 end)
128Gigabytes
#228298490Friday, December 01, 2017 7:17 PM GMT

first of all its not an error it a warning thats why its yellow, its telling you its waited more than 5 seconds without finding the child its looking for i.e. game.Workspace.NumPlayers probably does not exist in your game secondly, there is a property of game.Players named NumPlayers so why are you trying to keep track of this value yourself instead of just using game.Players.NumPlayers

    of     1