Player specific startercharacter not working

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    If a player with a specific userID(Me) joins, they will become a specific startercharacter, if they dont have that id, they will be a different startercharacter
  2. What is the issue? Include screenshots / videos if possible!
    I become the startercharacter for the specific userID however, the camera does not update and if I reset, I go back to the roblox avatar
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I tried disable characterautoloads, which works, but then i cannot respawn if i die/reset
local specificStarterCharacterName = "TopHatCharacter"
local defaultStarterCharacterName = "DefaultStarterCharacter"


game.Players.PlayerAdded:Connect(function(player)
	wait(1)
	if player.UserId == specificUserId then
		print("Owner is here!")
		local specificStarterCharacter = game.ReplicatedStorage:FindFirstChild(specificStarterCharacterName)
		if specificStarterCharacter then
			local character = specificStarterCharacter:Clone()
			character.Parent = game.Workspace
			character.Name = player.Name
			player.Character = character
			
			
		else
			warn("Specific starter character model not found in ReplicatedStorage! Make sure the model name is correct.")
		end
	else
		local defaultStarterCharacter = game.ReplicatedStorage:FindFirstChild(defaultStarterCharacterName)
		if defaultStarterCharacter then
			local character = defaultStarterCharacter:Clone()
			character.Parent = game.Workspace
			character.Name = player.Name
			player.Character = character
			
			
		else
			warn("Default starter character model not found in ReplicatedStorage! Make sure the model name is correct.")
		end
	end
end)

image_2024-03-12_191049739

1 Like