local moduleg = require(script.Parent.ms)
local player = game.Players.LocalPlayer
local mc = player:GetMouse()

script.Parent.Activated:Connect(function()
    moduleg.Lift()
end)

script.Parent.Equipped:Connect(function()
    local animation =  game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(script.Parent.Handle
.AnimSaves.NosePick)
        animation:Play() 
end)

This LocalScript is supposed to run an animation called AnimSaves in a Part called Handle when clicked with the tool equipped.

The only error i got was it needed an animation object from line 8 and I do own the animation.

line 8 and 9 are actually 1 line

2 comments

0

You might very well have to check whether the animation was exactly created by you. That may be why.

0

uh how