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

Action animations not playing over core animations?

Asked by 3 years ago

So I've been working on this script that is kinda like something from that old UTG or whatever and its pretty cool, but when I try to play an animation (action layer) it doesn't override core movement animations (like if I'm walking it won't play) and it just goes to the idle animation while the action animation should be playing. The only way I can get it to play is if I am standing still. Just to clarify the action is set to the action layer and the changed core animations should be set to core/movement.

1 answer

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

I might help you,

Use a function that fires after the animation plays:

local waittime = 0
function something ()
    repeat
        player. Character.Humanoid.WalkSpeed = 0
        waittime = waittime +1
        wait(0.1)
    until waittime == 24

fire a function like this after the animation starts to make sure the character doesnt move

Ad

Answer this question