The only issue is that the animation doesn’t start at the begging of the anmatino and starts a few milliseconds before it should so it looks like it teleports.
I haven’t tried a whole lot since i didn’t know where to start looking to fix so I was hoping someone would know how to help
Video Showcase
Code
-- This is a serverscript event
local Character = plr.Character
Character.Archivable = true
local Clone = Character:Clone()
Clone.Parent = Scene
Clone.HumanoidRootPart.CFrame = Hpos
local hum = Clone:WaitForChild("Humanoid")
local anim = Instance.new("Animation")
anim.AnimationId = "rbxassetid://18296936940"
anim.Parent = hum
local loop = Instance.new("Animation")
loop.AnimationId = "rbxassetid://18297426017"
loop.Parent = hum
wait()
local animationTrack = hum:LoadAnimation(anim)
animationTrack:Play()
local LoopTrack = hum:LoadAnimation(loop)
LoopTrack:Play()
LoopTrack.Looped = true
yea sorry I worded that badly I was in a rush.
But to explain the code. anim is the walk up animation that is initially played and the loop is a loop animation of the player sitting down (this is so the character stays still after the walkup animation) the loop animation only plays after the walk up animation so that it all moves smoothly. hope this helps,
and while I’m still at is i might as well post my solution.
I just forgot to pre anchor the character before the animation. Clone.HumanoidRootPart.Anchored = true
I tried this before, it didn’t work as planned, took a split second for the animation to switch so it reset to its original pos which made it look really bad since the starting frame was pretty far away from the end frame