Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
1

ROBLOX Default Animations Interupts My Animation?

Asked by
hellmatic 1502 Moderation Voter
2 years ago
Edited 2 years ago

I set the AnimationTrack priority to action, but the ROBLOX animation still over rides it. (only works for the client, not for other players)

Filtering Enabled is on.

local Animation = script:WaitForChild('Animation')
local AnimationTrack = nil 
local ActiveTracks = nil 

local State = nil 

function AF_LOADANIM(name, id, speed, state)
    Animation.AnimationId = id
    State = state

    if AnimationTrack then 
        AnimationTrack = nil 
    end

    --SET TRACK--
    AnimationTrack = Humanoid:LoadAnimation(Animation)

    AnimationTrack.Name = name
    AnimationTrack.Priority = Enum.AnimationPriority.Action
    print(AnimationTrack.Priority)

    --PLAY--
    AnimationTrack:Play()

    --ADJUST SPEED--
    AnimationTrack:AdjustSpeed(speed)
end
1
Did you make the priority Action when you were making the animation? NotInventedHere 158 — 2y
0
Yes I checked the arms and unchecked the legs, torso and head. hellmatic 1502 — 2y
0
Everything runs fine for only the local player, but for other players the animation keeps getting interupted by the ROBLOX default animations hellmatic 1502 — 2y
0
Never mind, was able to fix it hellmatic 1502 — 2y
1
make sure to set priority awesomeipod 607 — 2y

1 answer

Log in to vote
1
Answered by
hellmatic 1502 Moderation Voter
2 years ago

set priority

Ad

Answer this question