So to elaborate, the current script wipes the characters accessories, and replaces them with the ‘Merc gear’, as why it gets wiped, is so theres no clipping and so yada.
But I want to make it so the character gets its head/hair accessories back alongside when the Merc gear is loaded.
local ReplicationStorage = game:GetService("ReplicatedStorage")
local MercGear = ReplicationStorage:WaitForChild("MercGear")
------------------------------------------------------------------- MERC GEAR
local vest = MercGear.VestAccessory
local rightElbow = MercGear.RightElbowpad
local leftElbow = MercGear.LeftElbowPad
local rightKnee = MercGear.RightKneepad
local leftKnee = MercGear.LeftKneepad
------------------------------------------------------------------- MERC GEAR
local function onPlayerAdded(player)
player.CharacterAppearanceLoaded:Connect(function(char)
local humanoid = char:WaitForChild("Humanoid")
humanoid:RemoveAccessories()
wait(1)
vest:Clone()
vest.Parent = char
rightElbow:Clone()
rightElbow.Parent = char
leftElbow:Clone()
leftElbow.Parent = char
rightKnee:Clone()
rightKnee.Parent = char
leftKnee:Clone()
leftKnee.Parent = char
end)
end
game.Players.PlayerAdded:Connect(onPlayerAdded)