Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

The animation is playing weirdly, how do I fix it?

Asked by 2 years ago

How it should look

How it looks?

What the heck? By the way, its not a problem with priority since that is the only animation playing on it

Here is the script playing the animation

local anim = script.Parent.Humanoid.Animator:LoadAnimation(game:GetService("ReplicatedStorage").Animations.PlayerImpaled)
anim.Looped = true
anim:Play()

1 answer

Log in to vote
0
Answered by 2 years ago
Edited 2 years ago

Consider changing the Animation weight and/or Priority

anim.Priority = Enum.AnimationPriority.Action4 -- Change this if you want

local weight = 9 -- Change this
local fadeTime = 0.1001 -- This is optional

anim:AdjustWeight(weight, fadeTime)

More info here.

0
I don't think it's a problem with the priority (because no other animation is playing) and idk what animWeight is but i'll try it Kingu_Criminal 205 — 2y
0
it doesn't work Kingu_Criminal 205 — 2y
Ad

Answer this question