Dear Dev’s,
I’m facing a problem which i find hard to solve even when i try it, the problem is that i’m trying to script that each player appearance would get copied over to a NPC that is already ingame with the humanoidDescription as main function of the script.
Thanks to the user lyookachu i already have a small begin on this as can be seen below, if anyone can help me more with this problem so i can finish the script i would really appreciate it.
Thank you for reading and have a great day!
local playerService = game:GetService("Players")
playerService.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
local humanoid = Character:WaitForChild("Humanoid")
local humanoidDescription = humanoid:GetAppliedDescription()
local npcHumanoid = workspace.NPC.Humanoid
npcHumanoid:ApplyDescription(humanoidDescription)
end)
end)