How to get player character before player will got remove

Or should i will store character that will got removing on ServerStorage

Maybe you can look into player.CharacterRemoving instead.

If you want to get the player’s character couldn’t you use the CharacterRemoving event rather than the PlayerRemoving event?

Just like what Syclya said ^

Umm i want to get it before player will got removed

Look my old topic to know i’m doing what.

Why would you want to get the character right before the player gets removed rather than right before when the character gets removed?

by doing this maybe i would do like that

--- example char removing evnet
if game.ServerStorage.Backup:FindFirstChild(char.Name) then
game.ServerStorage.Backup:FindFirstChild(char.Name):Destroy()
end
char:Clone().Parent = game.ServerStorage.Backup
end

i want to get it because im doing combat log system, if player on combat will do something.

local Players = game:GetService('Players')

Players.PlayerAdded:Connect(function(Player)
	Player.CharacterRemoving:Connect(function(Character)
		local Check = Players:GetPlayerFromCharacter(Character)
		if not Check then
			-- they are no longer in game.
		end
	end)
end)

Perhaps something like this (?)