I’m sure Scripting Support gets a lot of posts regarding animations not working, but if I recall there are many ways to load animations.
I’m not sure what’s gone wrong here, but I’ve uploaded an animation and uploaded it to my profile, so I’m the creator:
v.btn.MouseButton1Down:Connect(function()
local animTrack = plrHumanoid:LoadAnimation(v.Animation)
local getAnimTracks = plrHumanoid:GetPlayingAnimationTracks()
if animDebounce == false then
animTrack:Play()
game.ReplicatedStorage.animGuiEvents.createSignals:FireServer(false)
animDebounce = true
elseif animDebounce == true then
for i,track in pairs(getAnimTracks) do
game.ReplicatedStorage.animGuiEvents.createSignals:FireServer(false)
track:Stop()
end
animDebounce = false
end
Could you send a preview of the animation? It really depends on how you animated it.
How I usually do mine is just 1 or 2 keyframes, My expertise isn’t in animation but that’s my basic understanding of what you’re trying to do.
Another method is you can freeze the animation by adjusting its ‘AdjustSpeed’ function in the Animation API. Thing is you would need the exact keyframe on which it would stop/freeze.
Roblox will do the interpolation from the first to the second keyframe on its own, which makes the first part of your animation obsolete. Try deleting the first keyframe of the animation and setting the looped property to true.
The :Play() function of the AnimationTrack actually accepts 3 parameters: fadeTime, weight and speed. Try setting fadeTime to the time you want the arm to take to reach its final position. (e.g. animtrack:Play(1.5))