menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripters
Get Player.Character with Player.PlayerRemovning?
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
Get Player.Character with Player.PlayerRemovning?
Nzthxn
Join Date: 2012-10-08
Post Count: 1237
#183897372
Thursday, February 18, 2016 8:03 PM GMT
How do I get a player's character after they have left the game?
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
KLGA
Join Date: 2014-04-19
Post Count: 2571
#183897542
Thursday, February 18, 2016 8:06 PM GMT
I'm pretty sure their character goes away after they leave, but try doing this: game.Players.PlayerRemoving:connect(function(plr) if plr.Character~=nil then local chr = plr.Character end end)
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
cheesecake123456
Join Date: 2009-06-01
Post Count: 1529
#183897827
Thursday, February 18, 2016 8:12 PM GMT
Perhaps store their player when they join.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Nzthxn
Join Date: 2012-10-08
Post Count: 1237
#183897867
Thursday, February 18, 2016 8:13 PM GMT
Exactly what I'm trying to do right now xD Thanks :)
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right