Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

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

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?

1 comment

0

Set the animation priority to Action

2 answers

✓ Accepted answer

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.

1 comment

0

Thanks! I always tried changing Priority through AnimationTrack.Priority but that didnt help

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

2 comments

0

Animation ID System?

0

yeah like publih then animation and use its ID ina script

This discussion is preserved as it was. New answers, comments, and votes are closed.