Animation Not Playing for ViewModel

Hi there Other Devs,

Today I made a quick Firing Animation for my ViewModel, But Its only playing like 2% of the real thing.

All of the ViewModel Parts are UnAnchored Expect for the HumanoidRootPart, as unanchoring the RootPart would cause the ViewModel to Fall Into the Void.

Below are the resources for the strange bug.


Gun Animation Not Playing

What its Supposed to look like


And here is the Code For it:

local function GunAnimation(ViewModel: Model)
	
	local Humanoid = ViewModel:FindFirstChildWhichIsA("Humanoid")
	local Animator = Humanoid:FindFirstChildWhichIsA("Animator")
	
	local AnimationsFolder = ViewModel:FindFirstChild("Animations")
	local ShootDebounceAnim: Animation = AnimationsFolder:FindFirstChild("GunShotDebounce")
	
	local ShotDebounceTrack = Animator:LoadAnimation(ShootDebounceAnim)
	ShotDebounceTrack.Priority = Enum.AnimationPriority.Action
	ShotDebounceTrack:Play()
	
end

Help would be greatly appreicated!

1 Like

Your gun. Your gun isnt animating with the hands. What is your method for attaching the gun model to your hands?

try giving animation a priority on Action4


this is the rig

nah didnt work cause Action is already Action4

It looks as if the animation is, badly done or exported, or possibly the weapon is connected badly

I dont have moon animator though, its too expensive for me

Add me on discord I have it in my profile description on robloxdev

ok I sent the request, im the lil nugget guy