Okay, I have an animation playing in character but the only thing breaking my custom animation is the default sword animation. And I don't want to change the sword animation, I want to delete it. How do I do this in a script? Here is my script just in case:
local player = game.Players.LocalPlayer local char = player.Character local animation = script.fight animation:Clone().Parent = char.Humanoid wait(1) local animTrack = char.Humanoid:LoadAnimation(animation) animTrack:Play()
The case is that the default sword animation interferes with the custom animation I made, so it doesn't work correctly.
The part of the script that plays the animation is
local animTrack = char.Humanoid:LoadAnimation(animation) animTrack:Play()
Here's the script without it
local player = game.Players.LocalPlayer local char = player.Character animation:Clone().Parent = char.Humanoid
You may want to also delete the animation instance at script.fight