I’m trying to make my character change back to the normal animations after they go through a speed run zone in my game.
my character loses all running/walking animations in r15 but works fine in r6
I haven’t been able to find any solutions but there is 100% a way
local RS = game:GetService("ReplicatedStorage")
local animChangesEvent = RS.Remotes.MakeNormal
local player = game.Players.LocalPlayer
local value = false
local function UpdateAnimations()
local char = player.Character
if char then
for _,anim in pairs(char.Humanoid.Animator:GetPlayingAnimationTracks()) do
char.Humanoid:ChangeState(Enum.HumanoidStateType.Landed)
end
char:FindFirstChild("DoubleJumpNormal").Enabled = true
char:FindFirstChild("DoubleJumpSpeedy").Enabled = false
if char:FindFirstChild("Torso") then
char.Animate.walk.WalkAnim.AnimationId = "rbxassetid://180426354"
char.Animate.idle.Animation1.AnimationId = "rbxassetid://180435571"
char.Animate.idle.Animation2.AnimationId = "rbxassetid://180435792"
char.Animate.jump.JumpAnim.AnimationId = "rbxassetid://125750702"
char.Animate.fall.FallAnim.AnimationId = "rbxassetid://180436148"
elseif char:FindFirstChild("UpperTorso") then
char.Animate.walk.WalkAnim.AnimationId = "rbxassetid://100690327404046" --!!! I don't work
char.Animate.idle.Animation1.AnimationId = "rbxassetid://507766666"
char.Animate.idle.Animation2.AnimationId = "rbxassetid://507766666"
char.Animate.jump.JumpAnim.AnimationId = "rbxassetid://507765000"
char.Animate.fall.FallAnim.AnimationId = "rbxassetid://507767968"
char.Animate.run.RunAnim.AnimationId = "rbxassesid://100690327404046" --!!! I don't work
end
end
end
animChangesEvent.OnClientEvent:Connect(function()
value = true
UpdateAnimations()
end)
player.CharacterAdded:Connect(function(char)
if value then
UpdateAnimations()
end
end)
heres the errors
