--Note That Everything Is Correctly Done--
It Breaks At this line "PlrCha:FindFirstChild(v.Name).MeshId = v.MeshId"
local PacksIDs = AS:GetAssetIdsForPackage(T)
local PlrCha = plr.Character
for i ,v in pairs(PacksIDs) do
wait()
if plr.Character:FindFirstChild('Humanoid') and plr.Character:FindFirstChild('Humanoid').Health > 0 then
local LoadedPack = IS:LoadAsset(v)
local LoadedPackChild = LoadedPack:FindFirstChild('R15'):GetChildren()
for i ,v in pairs(LoadedPackChild) do
wait()
if PlrCha:FindFirstChild(v.Name) then
PlrCha:FindFirstChild(v.Name).MeshId = v.MeshId
end
end
else break
end
end
I am trying to make a Gui that Allows the Players to change their Character package by using it's ID.
Is there any way to fix this? or any alternative ways?
Thank you for your support
