I have a script, when you press Button1Down it plays the animation, that works, I copied that animation, and changed Button1Down to Button2Down, but the Button2Down in the second script doesn't work! Why not? Here is the script
script.Parent.Equipped:connect(function(mouse)
mouse.Button2Down:connect(function()
local animation = script.Stab
local plyr = script.Parent.Parent.Name
local char = workspace:FindFirstChild(plyr)
local anim = char.Humanoid:LoadAnimation(animation)
anim:Play()
end)
end)
Please help!!! Thank you!!! P.S there is not ouput

1 comment
You must have changed more than just Button1Down to Button2Down, because that functionality isn't just broken.