of     1   

Saintyboy2
#228232182Wednesday, November 29, 2017 7:12 PM GMT

Hey Guys, Does anyone know a way of referencing a player's position just as he exits the game? I'm using PlayerRemoving and whilst I can still pick up the player I cannot access its character or humanoid due to the fact that they are no longer there - normally I would use player.character.Humanoid.Position - I feel I'm missing something obvious here.
Flubberlutsch
#228233677Wednesday, November 29, 2017 8:08 PM GMT

game.Players.PlayerAdded:Connect(function(player) local root player.CharacterAdded:Connect(function(char) root = char:WaitForChild("HumanoidRootPart") end) player.Changed:Connect(function(prop) if prop == "Parent" and not player.Parent then -- Use root.Position at this point end end) end) You're welcome
Saintyboy2
#228234413Wednesday, November 29, 2017 8:31 PM GMT

thanks Flubberlutsch - that looks like a very clever way of doing it - I will now try to implement it now - and yes thank you very very much !

    of     1