I’m making a game that uses a viewmodel, I want this viewmodel to use the player’s arms as the viewmodel arms, but I have an issue where the humanoid causes the animations to not work. Does anyone know how I could fix this?
script.Parent.Equipped:Connect(function()
local arms = game.ReplicatedStorage.ArmsTuto:Clone()
arms.Parent = workspace
arms.Clothing.ShirtTemplate = char:FindFirstChild("Shirt").ShirtTemplate
local Animator = arms.Humanoid.Animator
local walkanim = Animator:LoadAnimation(arms.Walk)
local idleAnim = Animator:LoadAnimation(arms.Idle)
idleAnim:Play() -- TO make sure the idle animation is ready to play after the equip animation
local equiptAnim = Animator:LoadAnimation(arms.Equip)
local runAnim = Animator:LoadAnimation(arms.Run)