Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why does my animation blend with roblox walk / run animation?

Asked by 2 years ago

I have a Tool called P90 it has an Idle Animation that loops until the P90 is unequipped. Code:

Tool.Equipped:Connect(function ()
    IdleAnim.Looped = true
    IdleAnim:Play()
end)

Tool.Unequipped:Connect(function ()
    IdleAnim:Stop()
end)

In case you are curious here is the link to the animation

Even though the Animation Priority is set to Action4 the default running animation on Roblox overrides my Idle Animation. Link to video

I have looked at this Devforum post but it has not changed anything.

Any Ideas?

1 answer

Log in to vote
0
Answered by
NykoVania 231 Moderation Voter
2 years ago

It only overrides the parts that are not being animated by your animation, so the idle is still being animated. Deleting the LocalScript that sets that animation could work if you're making your own, or you could make your animations R6 instead of R15. Putting this below in StarterPlayerScripts would delete the LocalScript.

local Players = game:GetService("Players")

Players.PlayerAdded:Connect(function(Player)
    Player.CharacterAdded:Connect(function(Character)
        Character:FindFirstChild("Animate"):Destroy()

    end)
end)
0
Thank you! iggyjelly1 26 — 2y
Ad

Answer this question