RemoteEvent loads first loaded HumanoidDescription on BaseAvatar everytime

Hey, I’m working on an Outfit Loader type-game integrated into an Outfit Builder game, and I’ve ran into a couple issues recently. Whilst trying to make a Try On button for HumanoidDescriptions, I have encountered an error where the HumanoidDescription that has been first loaded (the first outfit that has been loaded in the server) will always be the only outfit to equip when hitting Try On.

The current code in the Server Script:

game.ReplicatedStorage.Events.TryOn.OnServerEvent:Connect(function(plr)
    local s, x = pcall(function()
        local desc = script.Parent.Parent.Parent.Humanoid:GetAppliedDescription()
        local chr = plr.Character
        if desc and chr then
            chr:WaitForChild("Humanoid"):ApplyDescription(desc)
        end
    end)    
end)

The current code in the Local Script (GUI):

script.Parent.MouseButton1Down:Connect(function()
    game:GetService("ReplicatedStorage").TryOn:FireServer()
end)
1 Like