Any way to pause an animation, but keep it applied to the body parts?
I tried using KeyframeReached, GetMarkerReachedSignal, and tried doing the idle animation, but nothing works.
Here is my current code: (LOCAL SCRIPT)
tool.Activated:Connect(function()
if aiming == false then
aiming = true
local anaim = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(aimanim)
anaim:Play()
anaim.KeyframeReached:connect(function(keyframeName)
if keyframeName == "Pause" then
anaim:AdjustSpeed(0)
end
end)
I spent a lot of time attempting to fix it, but I haven’t gotten a result. Any help would be appreciated!