How do I prevent animation overlap

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I want to create a gun hold animation for my game

  2. What is the issue? Include screenshots / videos if possible!
    It does work, but not to expectations. When the player runs, the arms act weird and overall doesn’t look good. It also applies to fast on the character

  3. What solutions have you tried so far?
    Tried setting animation weight to math.huge but simple did nothing. Modified the default animate script to remove tool none but that didn’t work either.


Screenshot 2023-12-26 at 9.20.04 PM

you can see how it overlaps the left arm too much.

local tool = script.Parent
local anim = tool:WaitForChild("Animation")
local player = game:GetService("Players").LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local humanoid = char:WaitForChild("Humanoid")
local loadanim:AnimationTrack = humanoid:FindFirstChild("Animator"):LoadAnimation(anim)

tool.Equipped:Connect(function()
	loadanim:Play(1, 100000, 1)
end)

tool.Unequipped:Connect(function()
	loadanim:Stop()
end)

here’s the animation script

1 Like

If the left arms moves when you move, consider adding keyframes to the arm parts too

It definitely improved lot, I added keyframe to the body parts. the left arm overlaps the right hand too much tho. I dunno if its the right arms which is out of position or if its the left arm.