What I want to achieve is well my animation to play normally
It was normal before but now it has changed, the issue is the animation isnt playing properly. Looks like this:
It happened when I inserted a new animation. Tried using the highest priority - action4, but it didnt work. After that, I tried checking the new animation and removing it. Still didnt work!! Whats going on!?
The code for the aim part:
script.Parent.HolsterEvent.OnServerEvent:Connect(function(Player)
holster = true
local Character = Player.Character
LoadAnim = Character.Humanoid:LoadAnimation(Aim)
LoadAnim.Priority = Enum.AnimationPriority.Action4
LoadAnim.Looped = true
LoadAnim:Play()
Tool.Unequipped:Connect(function()
LoadAnim:Stop()
end)
script.Parent.HolsterEvent2.OnServerEvent:Connect(function()
holster = false
LoadAnim:Stop()
end)
end)