hello im new to this stuff and i wanted to do an animation for equipping/idling a sword, the idle animation is fine but the equip animation is entirely different for some reason
this is the prieview (Blender animations plugin) and it looks fine
this is when i actually use it
local LongSword = script.Parent
local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local Equip = script.Equip
local Idle = script.Idle
local Humanoid = Character:FindFirstChild(“Humanoid”)
this is the script that i use, its inside the LongSword tool in the StarterPack
LongSword.Equipped:Connect(function(player)
IdleAnimation = Humanoid:LoadAnimation(Idle)
EquipAnimation = Humanoid:LoadAnimation(Equip)
EquipAnimation.Priority = Enum.AnimationPriority.Action4
EquipAnimation:Play()
EquipAnimation.Looped = false
EquipAnimation.Stopped:Wait()
IdleAnimation:Play()
end)