#player avatar
1 messages · Page 1 of 1 (latest)
Tung sahoorrrr
bro
humanoiddescription
local Players = game:GetService("Players");
local userId = Players.LocalPlayer.UserId;
local humanoidDescription = Players:GetHumanoidDescriptionFromUserIdAsync(userId);
local SpawnedRig = Players:CreateHumanoidModelFromDescriptionAsync(humanoidDescription,Enum.HumanoidRigType.R6); -- spawn a R6 Rig of the player
SpawnedRig.Humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None; -- hide the name tag
--SpawnedRig.HumanoidRootPart.CFrame = nil; -- move this to where you need the rig
SpawnedRig.HumanoidRootPart.Anchored = true; -- stops the rig from moving
SpawnedRig.Parent = workspace; -- parent to where needed```
when using methods containing Async try using pcall incase it errors