Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
3

Can someone help me? PlayerAdded won't execute?

Asked by 10 years ago
game.Players.PlayerAdded:Connect(function(p)
print("Finding users.")
print("Finding users..")
print("Finding users...")
wait(2.5)
print("User found, name: ".. p.Name)
end)
1
Hmm? fireboltofdeath 635 — 10y

2 answers

Log in to vote
4
Answered by 10 years ago

Please provide explanation with your answers. Simply posting code does not spread knowledge of integral scripting processes which helps people understand the logic and reasoning behind your answer.
game.Players.PlayerAdded:connect(function(p)
print("Finding users.")
print("Finding users..")
print("Finding users...")
wait(2.5)
print("User found, name: ".. p.Name)
end)

Well when you did it you had 1 mistake. It is PlayerAdded:connect, not PlayerAdded:Connect

Ad
Log in to vote
3
Answered by 10 years ago
game.Players.PlayerAdded:connect(function(player)
print("Finding users.")
print("Finding users..")
print("Finding users...")
wait(2.5)
print("User found, name: ".. player.Name)
end)
0
I already have an answer but upvote anyways :D Olaf1998 40 — 10y

Answer this question