I am making an attack combo which consists of 3 different animations which play after I click, and after each animation the character returns to the original position and I do not know how to get the character to stay in the position which the animation ended.
Here is a video of what I mean
robloxapp-20220727-0139490.wmv (325.7 KB)
This is the section of the code which deals with this.
local character = Player.Character
local Humanoid = character:WaitForChild("Humanoid")
local AttackAnimationPlay = Humanoid:LoadAnimation(AnimationTable[Count])
AttackAnimationPlay:Play()
CombatEvent:FireClient(Player)
end)
After looking on the devforum I found that this can be solved by moving the Humanoid Root Part with SetPivot:, However I am a novice scripter so I have no idea how to use that in this situation.