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!