Is there any way to detect if a player has joined your server with functions?
✓ ANSWER ACCEPTED
Is there any way to detect if a player has joined your server with functions? [UNAWNSERESD]
1 answer
✓ Accepted answer
Yes there is, try the following.
game.Players.PlayerAdded:connect(function(Player)
print(Player.Name)
end)
--You can also try
if game.Players:FindFirstChild("PlayerNameHere") then
print("PlayerName here is in the server.")
end
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Look at this: http://wiki.roblox.com/index.php?title=PlayerAdded_%28Event%29