PipeSader
(PipeSader)
#1
Hello, i want to know what am i doing wrong? I need to make the dummy take the description of the player who dies.
what am i doing wrong?
script:
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
character.Humanoid.Died:Connect(function()
local humanoid = script.Parent.Humanoid
humanoid:ApplyDescription(game.Players:GetPlayerFromCharacter(player))
end)
end)
end)
bolekinds2
(bolekinds)
#2
Did you forget to add a HumanoidDescription in the dummy’s humanoid? (do within script) https://devforum.roblox.com/t/view-players-outfits/273496/18?u=bolekindsdevacc
Example script:
local humanoid = dummyhumanoidhere
local desc = game.Players:GetHumanoidDescriptionFromUserId(plr.UserId)
humanoid:ApplyDescription(desc)
1 Like
Try this one
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
character.Humanoid.Died:Connect(function()
local plr = game.Players:GetPlayerFromCharacter(player)
local humanoid = script.Parent.Humanoid
humanoid:ApplyDescription(plr.UserId)
end)
end)
end)