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

ROBLOX Default Animations Interupts My Animation?

Asked by
hellmatic 1523 Moderation Voter
6 years ago
Edited 6 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 — 6y
0
Yes I checked the arms and unchecked the legs, torso and head. hellmatic 1523 — 6y
0
Everything runs fine for only the local player, but for other players the animation keeps getting interupted by the ROBLOX default animations hellmatic 1523 — 6y
0
Never mind, was able to fix it hellmatic 1523 — 6y
1
make sure to set priority awesomeipod 607 — 6y

1 answer

Log in to vote
1
Answered by
hellmatic 1523 Moderation Voter
6 years ago

set priority

Ad

Answer this question