Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Why doesn't this script work ingame? wepoawpdawpojfdpowekdfpoeawkfpkaop[fkpeow[3

This is the script:

local plr = game.Players.LocalPlayer

game.Players.ChildAdded:connect(function(p)
	repeat
		wait()
	until
		p.Character	
	
	print (#game.Players:GetChildren())
	plr.PlayerGui.ScreenGui.TextLabel.Text = #game.Players:GetPlayers()
end)

Been trying to make it work ingame for an hour PLEASE HELP MEEE!!

1 comment

0

sorry about the letters it just kept on telling me to make it "more specific" when I mean WHAT ELSE CAN I PUT that's literally what i'm asking for

1 answer

Well, ChildAdded is not something suggestive for doing this. Try using PlayerAdded instead.

This discussion is preserved as it was. New answers, comments, and votes are closed.