You can write your topic however you want, but you need to answer these questions:
- What do you want to achieve? Keep it simple and clear!
i want to be able to use the players emotes from the roblox site with my custom rigs, ive tried all i could think of.
- What is the issue? Include screenshots / videos if possible!
the issue is when i do humanoid:ApplyDescription(humanoidDescription) it turns the character into the players character when i only want the emotes and keep the custom rig aspects
Script:
– Spawn Function
SpawnEvent.OnServerEvent:Connect(function(player, character)
local charClone = character:Clone()
local humanoid = charClone:FindFirstChildOfClass("Humanoid")
if humanoid then
humanoid.DisplayName = player.Name
end
charClone.Name = player.Name
-- Get the player's HumanoidDescription
local humanoidDescription = Players:GetHumanoidDescriptionFromUserId(player.UserId)
-- Set the player's character to the cloned character
player.Character = charClone
charClone.Parent = workspace
-- Apply the HumanoidDescription to the cloned character's humanoid
humanoid:ApplyDescription(humanoidDescription)
-- Fire client event
SpawnEvent:FireClient(player, charClone)
end)
(What its doing)
(What it should be)
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?
ive tried alot of things like breaking up the code, using the GetEmotes() and nothing seems to work so to the forums i go.