Hi im making a FPS game and there is a equip animation
however, first time it works, but after I reset it doens’t (it is in StarterCharacterScripts
)
heres a video of what im talking about:
it might still be proccessing i just uploaded it
srry i cant upload it directly
all the other animations work however (hold, reload, fire)
code: (the part where it plays)
local EquipAnim = Instance.new('Animation',GunModel)
EquipAnim.AnimationId = GunModule.Animations.Equip
EquipAnim.Name = 'EquipAnimation'
Viewmodel.Humanoid:LoadAnimation(EquipAnim):Play()
local snd = rstor.GunSounds[ActiveWeapon].Equip:Clone()
snd.Parent = GunModel.Handle
snd:Play()
game.Debris:AddItem(snd,GunModule.EquipTime)
task.wait(GunModule.EquipTime)
local HoldAnim = Instance.new('Animation',GunModel)
HoldAnim.AnimationId = GunModule.Animations.Hold
HoldAnim.Name = 'HoldAnimation'
Viewmodel.Humanoid:LoadAnimation(HoldAnim):Play()
my hold anim is core and my equip is action
after resetting equip anim doesnt work, but my hold still works
WHAT
help pls