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

Character arm with tool not moving while the animation is playing?

Asked by 5 years ago

So I am having trouble with script that will play animation when equipped.The animation without tool plays fine and on players screen it looks fine too but to other players it looks like everything animates except right arm with the tool. Here is the Local script that plays animation:

local tool = script.Parent
local anim = tool.Animation
local plr = game.Players.LocalPlayer
local char = workspace:WaitForChild(plr.Name)
local hum = char:WaitForChild("Humanoid")
local track = hum:LoadAnimation(anim)
track.Priority = Enum.AnimationPriority.Movement

tool.Equipped:connect(function()
    track:Play()
end)

tool.Unequipped:connect(function()
    track:Stop()
end)

Anyone knows whats the problem is?

0
Set the animation priority to Action Ince_FS 13 — 5y

2 answers

Log in to vote
0
Answered by 5 years ago

Is the animation's priority "Action"? If not go to the animation editor go to the Edit tab then click Set Priority then click action and re-publish it.

0
Thanks! I always tried changing Priority through AnimationTrack.Priority but that didnt help TOP_SECRE 28 — 5y
Ad
Log in to vote
0
Answered by 5 years ago

make sure you have a right animation for it, or if all else fails, use a animation ID system

0
Animation ID System? TOP_SECRE 28 — 5y
0
yeah like publih then animation and use its ID ina script imaginevreything -50 — 5y

Answer this question