Porque no se carga el personaje guardado

hello hope everyone is well…
So lately I’ve been trying to load a character in the battle zone. It does load but the problem is that it doesn’t become the player character (my game has several places in the same universe and the main place is the one that saves them and it’s the one with the store in the main place, it loads them well and saves them well, but since I modified the script in the other place, it doesn’t work for me:

local dss = game:GetService("DataStoreService")
local ds = dss:GetDataStore("CharacterShopData")
game.Players.PlayerAdded:Connect(function(player)
	local equippedChar = Instance.new("StringValue")
	equippedChar.Name = "EquippedCharacter"
	equippedChar.Parent = player
	local lastCharSaved = ds:GetAsync(player.UserId .. "LastCharacter")
	equippedChar.Value = lastCharSaved or ""
	local savedCharacters = ds:GetAsync(player.UserId .. "Characters") or {}
	local char = player.Character
	local nuevo = player.EquippedCharacter.Value
	local new = game.ReplicatedStorage.CharactersFolder:FindFirstChild(nuevo)
	
	local newcharacter = new:Clone()
	
	local remote = game.ReplicatedStorage.RemoteEvent
	remote.OnServerEvent:Connect(function(plr)
		wait(4)
	
		
		plr.Character = newcharacter
		
		print("jajajaja")
	end)
	

end)


it loads fine in the secondary place but it doesn’t seem to work for me
the error is serious and I need to solve it if someone has questions please ask

the players folder is there just in case

image
this is when i run

please lately I’ve been with this if someone can help me thank you very much

Your code seems malformed, as in the code isn’t structured properly. The remote event is being connected every time the player joins, which it shouldn’t.

The code seems like it can work just fine but you forgot to parent the new character to workspace.