-
What do you want to achieve? just solve animation bug of the fe gun kit system.
-
What is the issue? The problem is that the shooting animation continues to run even though I have stopped shooting.
robloxapp-20240413-1734164.wmv (1.3 MB) -
What solutions have you tried so far? change animation priorities,looping idle animation and i tried set “RbxLegacyAnimationBlending” to true but none worked.
fe gun kit model: https://create.roblox.com/store/asset/4945990462/LEGACY-VIEWMODEL?externalSource=www
fire animation prioriy: Action2
idle animation: movement
module script of the gun:
local Module = {
– ====================
– BASIC
– A basic settings for the gun
– ====================
Auto = true;
BaseDamage = 20;
FireRate = 0.125; --In second
ReloadTime = 3; --In second
AmmoPerMag = 12; --Put "math.huge" to make this gun has infinite ammo and never reload
Spread = 5; --In degree
HeadshotEnabled = true; --Enable the gun to do extra damage on headshot
HeadshotDamageMultiplier = 2;
EquipTime = 0; --In second
IdleAnimationID = 956137648; --Set to "nil" if you don't want to animate
IdleAnimationSpeed = 1;
FireAnimationID = 956146840; --Set to "nil" if you don't want to animate
FireAnimationSpeed = 2;
ReloadAnimationID = 956247844; --Set to "nil" if you don't want to animate
ReloadAnimationSpeed = .8;
EquippedAnimationID = nil; --Set to "nil" if you don't want to animate
EquippedAnimationSpeed = 1;
--Viewmodel
VMIdleAnimationID = nil; --Set to "nil" if you don't want to animate
VMIdleAnimationSpeed = 1;
VMFireAnimationID = 17134955554; --Set to "nil" if you don't want to animate
VMFireAnimationSpeed = 1;
VMReloadAnimationID = 5474084638; --Set to "nil" if you don't want to animate
VMReloadAnimationSpeed = 1;
VMEquippedAnimationID = 5474070948; --Set to "nil" if you don't want to animate
VMEquippedAnimationSpeed = 1;
--Enable the user to play second animation. Useful for dual wield
SecondaryFireAnimationEnabled = false; --You need an animation ID in order to enable it
SecondaryFireAnimationID = nil; --Set to "nil" if you don't want to animate
SecondaryFireAnimationSpeed = 1;
--Viewmodel
VMSecondaryFireAnimationID = nil; --Set to "nil" if you don't want to animate
VMSecondaryFireAnimationSpeed = 1;
--Enable the user to play aim animations
AimAnimationsEnabled = false;
AimIdleAnimationID = nil; --Set to "nil" if you don't want to animate
AimIdleAnimationSpeed = 1;
AimFireAnimationID = nil; --Set to "nil" if you don't want to animate
AimFireAnimationSpeed = 1;
AimSecondaryFireAnimationID = nil; --Set to "nil" if you don't want to animate. NOTE: Make sure "SecondaryFireAnimation" setting is enabled
AimSecondaryFireAnimationSpeed = 1;
AutoReload = true; --Reload automatically when you run out of mag; disabling it will make you reload manually
KeepAimingOnReloading = false; --Enable user to keep aiming on reloading