local Cutscene = function()
local humanoid = Instance.new("Humanoid")
local crate_scene = workspace.CrateScene
local player_model = crate_scene.Player
local chest_location = crate_scene.ChestLocation
local camera = crate_scene.Camera
local current_camera = workspace.CurrentCamera
local player_humanoid_description = Players:GetHumanoidDescriptionFromUserId(Player.UserId)
local player_open_chest_animation
modules:Fade(true, 0.3)
wait(0.35)
current_camera.FieldOfView = 35
current_camera.CFrame = workspace.CrateScene.Camera.CFrame
current_camera.CameraType = Enum.CameraType.Scriptable
humanoid.Parent = player_model
humanoid:ApplyDescription(player_humanoid_description)
humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
humanoid.HealthDisplayType = Enum.HumanoidHealthDisplayType.AlwaysOff
humanoid.NameDisplayDistance = 0
player_open_chest_animation = humanoid:LoadAnimation(ReplicatedFirst.Animations.OpenChest)
wait(0.5)
modules:Fade(false, 0.3)
wait(0.1)
player_open_chest_animation:Play()
wait(2.2)
humanoid:Destroy()
end
Need help on my HumanoidDescription issue, I’m making an animated cutscene on the client where a clone of their player avatar opens a chest in workspace, but there’s a problem - The NPC model only show the player’s accessories. Body color is greyed out, shirt and pants doesn’t show up even though it’s loaded into the model.
This is the NPC’s properties tree
The properties tree after the humanoid is in the model and HumanoidDescription is applied
Player model