I am making a gun script and setting up some animations. The animations play on the gun model perfectly, however, the arms of the player character don't move to hold the gun or anything like they were animated to do. The animations have a priority of "Action". Any ideas?
Here is the script, just testing to see if the animation works.
local plr = game.Players.LocalPlayer local char = plr.Character or plr.CharacterAdded:Wait()
local tool = script.Parent
script.Parent.Equipped:Connect(function()
game.ReplicatedStorage.ConnectM6D:FireServer(tool.BodyAttach) char.HumanoidRootPart.ToolGrip.Part0 = char.HumanoidRootPart char.HumanoidRootPart.ToolGrip.Part1 = tool.BodyAttach char.Humanoid:LoadAnimation(script.Idle).Looped = true --char.Humanoid:LoadAnimation(script.Idle):Play()
end)
tool.Unequipped:Connect(function()
game.ReplicatedStorage.DisconnectM6D:FireServer()
end)
tool.Activated:Connect(function() char.Humanoid:LoadAnimation(script.Reload):Play() end)