I tried to ask this to ChatGPT, but the code didn’t quite work.
local players = game:GetService("Players")
local characterModel = game.Workspace.NewCharacter
players.PlayerAdded:Connect(function(player)
local function characterAdded(character)
character.Humanoid.Died:Connect(function()
local characterAppearance = Instance.new("Appearance")
characterAppearance.Parent = player.Character
characterAppearance.Child = characterModel:Clone()
end)
player.CharacterAdded:Disconnect(characterAdded)
end
player.CharacterAdded:Connect(characterAdded)
end)
and if you for some reason means to have the player spawn a a specific character, simply name the character model “startcharacter” and place it in the startercharacter folder
I had made sure the game settings of my game makes sure so that anyone can use any types of rig in the game. My StarterCharacter in ServerStorage container is a R6 rig.