When testing the animation, I noticed that it was very different from when it was animated. Can you please tell me how to solve this? Here is a video demonstrating the problem. Thanks in advance
Happens to me too. How did you change the default running/walking animation?
this is a script for running and changing the running animation
local Player = game.Players.LocalPlayer
local Character = workspace:WaitForChild(Player.Name)
local Humanoid = Character:WaitForChild(‘Humanoid’)
local RunAnimation = Instance.new(‘Animation’)
RunAnimation.AnimationId = ‘rbxassetid://’
RAnimation = Humanoid:LoadAnimation(RunAnimation)
Running = false
function Handler(BindName, InputState)
if InputState == Enum.UserInputState.Begin and BindName == ‘RunBind’ then
Running = true
Humanoid.WalkSpeed = 33
elseif InputState == Enum.UserInputState.End and BindName == ‘RunBind’ then
Running = false
if RAnimation.IsPlaying then
RAnimation:Stop()
end
Humanoid.WalkSpeed = 16
end
end
Humanoid.Running:connect(function(Speed)
if Speed >= 10 and Running and not RAnimation.IsPlaying then
RAnimation:Play()
Humanoid.WalkSpeed = 33
elseif Speed >= 10 and not Running and RAnimation.IsPlaying then
RAnimation:Stop()
Humanoid.WalkSpeed = 16
elseif Speed < 10 and RAnimation.IsPlaying then
RAnimation:Stop()
Humanoid.WalkSpeed = 16
end
end)
Humanoid.Changed:connect(function()
if Humanoid.Jump and RAnimation.IsPlaying then
RAnimation:Stop()
end
end)
game:GetService(‘ContextActionService’):BindAction(‘RunBind’, Handler, true, Enum.KeyCode.LeftShift)
is a script to replace the other animations
local Players = game:GetService(“Players”)
local function onCharacterAdded(character)
– Get animator on humanoid
local humanoid = character:WaitForChild(“Humanoid”)
local animator = humanoid:WaitForChild(“Animator”)
-- Stop all animation tracks
for _, playingTrack in pairs(animator:GetPlayingAnimationTracks()) do
playingTrack:Stop(0)
end
local animateScript = character:WaitForChild("Animate")
--animateScript.run.RunAnim.AnimationId = "rbxassetid://15118233108"
animateScript.walk.WalkAnim.AnimationId = "rbxassetid://15111758471"
--animateScript.jump.JumpAnim.AnimationId = "rbxassetid://"
--animateScript.idle.Animation1.AnimationId = "rbxassetid://"
--animateScript.idle.Animation2.AnimationId = "rbxassetid://"
--animateScript.fall.FallAnim.AnimationId = "rbxassetid://"
--animateScript.swim.Swim.AnimationId = "rbxassetid://"
--animateScript.swimidle.SwimIdle.AnimationId = "rbxassetid://"
--animateScript.climb.ClimbAnim.AnimationId = "rbxassetid://"
end
local function onPlayerAdded(player)
player.CharacterAppearanceLoaded:Connect(onCharacterAdded)
end
Players.PlayerAdded:Connect(onPlayerAdded)
Oh well the way I replace the animations is different. Been a long time since i done that so I don’t remember much. Basiccly i Copy the player’s animations and put it somewhere (forgot where) and I change the ID of the animations to the ones I want.
Set animationPriority to Action4.