Animation not playing
I`ve tried placing the same animation on the rig and it worked (or maybe it worked because it was serverscript?)
local tool = script.Parent
local plr = tool.Parent.Parent
local char = plr.Character or plr.CharacterAdded:Wait()
local hum = char:WaitForChild('Humanoid')
tool.Activated:Connect(function()
hum.Animator:LoadAnimation(script.pickswing):Play()
end)
pickswing animation is in the script
serverscript for the rig (i copied pickswing to the workspace)
when i load in game and use the tool nothing happens neither in the game nor in the output tab
what i need is to play animation when the tool activates