For example, im trying to do a dash move ment but it seem that when I ever I do it the player jumps in the air, doing the animation, but it comes back to the core, like the animation hasn't been done. Can someone please explain how to do a animation but the player dont back to its core?
local y = Instance.new("BodyVelocity") local Dash = Instance.new("Animation") Dash.AnimationId = "http://www.roblox.com/Asset?ID=240879117" local animTrack = po.Character.Humanoid:LoadAnimation(Dash) animTrack:Play() y.maxForce = Vector3.new(math.huge, math.huge, math.huge) y.velocity = Player.Character.Torso.CFrame.lookVector*90 y.Parent = Player.Character.Torso wait(1) y:Destroy()
I've had the same problem and I know how frustrating this is. You cannot remove the root or your animation can't play. I suggest remaking your animation but just make the Dash Pose and add BodyVelocity to the Players torso. This will make it look as if he were dashing however he's just moving forward for a short period of time whilst in a dash pose. Comment if you need more help.