How to use remove autoload when the player die?

How could i remove autoload when a player die and Make the player appear where he died

You can disable the CharacterAutoLoads property in game.Players.

To respawn where they died, record the character’s CFrame when they die (using Humanoid.Died) and re-apply it to the player’s new character.