#animation is broken when using :loadanimation
1 messages · Page 1 of 1 (latest)
i used same animation for example
script
local players = game:GetService("Players")
local player = players.LocalPlayer
local tool = script.Parent
local animations = tool.Animations
local idleanimation = player.Character:WaitForChild("Humanoid").Animator:LoadAnimation(animations.idle)
tool.Equipped:Connect(function()
idleanimation:play()
end)
tool.Unequipped:Connect(function()
idleanimation:stop()
end)
Does the animation have keyframes for the legs?
yes
then it'll override the walking animation's leg keyframes
animation was normally work before equip gun
but when you equip it the animation is different. If in that holding animation you are giving the legs keyframes it will override the walking.
ooh ok
** You are now Level 1! **