Log in to vote

How do I make a dummy have the appearance of the local player? (every player sees their own avatar)

Asked by 14 days ago

Hello I just wanted to ask a really quick question, I inserted a dummy into the worksapce and I want the dummy to have the avatar of the local player. I want every local player to see their own avatar and I don't want people seeing other people's avatar. Can you help me?

1 answer

Log in to vote
Answered by
pwx 1546 Moderation Voter
14 days ago
local Dummy = workspace:WaitForChild('Dummy')
local dummyHumanoid = Dummy:WaitForChild('Humanoid')

local Players = game:GetService('Players')
local Player = Player.LocalPlayer

local avatarDescription = Players:GetHumanoidDescriptionFromUserId(Player.UserId)


Make sure this is a LocalScript!

inside StarterPlayer > StarterPlayerScripts T3_MasterGamer 1736 — 13d
also can you explain what GetHumanoidDescription and ApplyDescription does? T3_MasterGamer 1736 — 13d
GetHumanoidDescription is an API service that will get the avatar of a desired player, Applying the description means what it says, it would use the HumanoidDescription you have and update the Humanoid's avatar. pwx 1546 — 13d

Answer this question