I’m making a script where an NPC copies a random player’s avatar, but whenever i run this script, it returns an error saying ‘Workspace.mimic.Script:7: attempt to call missing method ‘GetHumanoidDescriptionFromUserId’ of table’
local players = game:GetService("Players"):GetPlayers()
local playerss = game:GetService("Players")
local rig = script.Parent
local humanoid = rig:WaitForChild("Humanoid")
local pickedPlayer = players[math.random(1, #players)]
local desc = players:GetHumanoidDescriptionFromUserId(pickedPlayer.UserId)
humanoid:ApplyDescription(desc)
wait(10)
script.Parent:Destroy()