Animation playing differently in-game

Hello!

Why is my animation playing differently in-game than in studio??

I’m loading the animation like so:

local Character = Player.Character or Player.CharacterAdded:Wait()
local Animator = Character:WaitForChild("Humanoid").Animator

local Attack1 = Animator:LoadAnimation(script.Attack1)
local Attack2 = Animator:LoadAnimation(script.Attack2)
local Idle = Animator:LoadAnimation(script.Idle)
local Block1 = Animator:LoadAnimation(script.Block1)
local Block2 = Animator:LoadAnimation(script.Block2)

Check this video for reference:

In-game it plays the same animation but not to the full extent, why?

1 Like

Publish your game and try again.

When I say in-game I also mean inside studio when play testing, as you can see in the video.

Try increasing animation weight in that case. Usually this issue lies with fadeTime or Weight

What do you mean by weight?

I need 30 letters to post this!

This documentation shows you:
AnimationTrack | Roblox Creator Documentation
in other words, it is a way to override other animations.

The animation is set to action.

Is this script in a local script?

Yes.

30 letters needed to post this.

Okay, try reading this (some will not apply)

And if that doesn’t work, try making sure multiple animations are not playing at the same time.

I have already done everything mentioned in that post.

Try disabling AnimationWeightedBlendFix in Workspace. If that solves your problem, contact @Bug-Support, since this property will be removed soon.

1 Like