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

Is there any way to detect if a player has joined your server with functions? [UNAWNSERESD]

Asked by 10 years ago

Is there any way to detect if a player has joined your server with functions?

1 answer

Log in to vote
1
Answered by 10 years ago

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
Ad

Answer this question