I honestly have no idea what im doing wrong here, but some things to know are *this is a LocalScript inside a tool and inside StarterPack
there is no output it just does nothing..
function onEquip(mouse)
wait()
local player = game.Players.LocalPlayer
local Armors = game.ReplicatedStorage.Armors
local tool = script.Parent
for i,s in pairs(player.Character:GetChildren()) do
if s:IsA("CharacterMesh") then
s:Destroy()
end
for i,v in pairs(Armors.Newbie:GetChildren()) do
if v:IsA("CharacterMesh") then
v:Clone().Parent = player.Character
end
end
end
end
script.Parent.Equipped:connect(onEquip)
