I have spent a lot of time creating a character customization system for people to use. When they hit play, I have to grab all of their accessories and replicate it onto the next character, as I use the command :LoadCharacterWithHumanoidDescription()
This is a snippet of my code:
updateTeam.OnServerEvent:Connect(function(Player, choseBlue, choseRed)
local Char = Player.Character
local HumDesc = Player.HumDesc
if choseBlue then
--Check if player count isn't greater, but priority #1 is to check if it's 0
if BlueValue == 0 then
Player.Team = Blue
BlueValue = BlueValue + 1
local hDesc = Char.Humanoid:GetAppliedDescription()
wait(.2)
Player:LoadCharacterWithHumanoidDescription(hDesc)
Player.Character.Humanoid.WalkSpeed = 14
updateTeam:FireAllClients(BlueValue, RedValue)
The issue is that once the character reloads after the command is fired it is still the same StarterCharacter that you join with. There are no errors cropping up or anything – the character just puts itself to the default StarterCharacter that I gave it before.
Am I doing something wrong here? I’ve tried multiple methods using HumanoidDescriptions and they haven’t been helping, so I figure this is the easiest method.