This evening i figured out how to make a Tools for skinned mesh
i’ve tried to make an animation for the tool when equipped but it doesn’t work
Here is my local script i added to the tool
local Tool = script.Parent
local Anim = script.Animation
Tool.Equipped:Connect(function(Eq)
local Character = game.Players.LocalPlayer.Character
local Anim = Character:FindFirstChild("Humanoid"):LoadAnimation(Anim)
Anim:Play()
Tool.Unequipped:Connect(function(Un)
Anim:Stop()
end)
end)
local Tool = script.Parent
local Anim = script:FindFirstChild("Animation")
Tool.Equipped:Connect(function(Eq)
local Character = game.Players.LocalPlayer.Character
local Anim = Character:FindFirstChild("Humanoid"):LoadAnimation(Anim)
Anim:Play()
Tool.Unequipped:Connect(function(Un)
Anim:Stop()
end)
end)