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

Help me with PlayerJoinamabob?

Asked by
Wubblu 20
9 years ago

I know there is PlayerJoin but is there a PlayerQuit

2 answers

Log in to vote
1
Answered by
m0rgoth 75
9 years ago

Check the wiki for information on parts of the API (i.e. properties, methods and events) before posting here.

The event you want can be found here: http://wiki.roblox.com/index.php?title=Players

Ad
Log in to vote
1
Answered by 9 years ago

Yes, there most certainly is. Try this:

game.Players.PlayerRemoving:connect(function (player)
    print("The player "..player.Name.." has left!")
end)

+1 if I helped.

Answer this question