I did this but the transition is not so smooth. Is there any way to make a simpler and better script like this? Please help, thank you! <3
local anim = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(script.Anim)
local animPause = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(script.AnimPause)
script.Parent.Equipped:Connect(function(mouse)
mouse.Button1Down:Connect(function()
anim:Play()
wait(anim.Length)
anim:Stop()
animPause:Play()
end)
end)

2 comments
I haven't tried this myself, but I got curious and looked up what I think you're asking. The main thing I found was that you can set the animation speed to 0 and it'll essentially pause it wherever in the animation it is. This is the website I found that mentions this: https://devforum.roblox.com/t/pausing-animations/288995
but how if i want to continue it after mouse.button1up