So when I hold rightclick I want the script to fire an animation and when is stop holding the rightclick button the aniamtion stops.
mouseDown = false mouse = game.Players.LocalPlayer:GetMouse() startedDown = 0
mouse.Button1Down:connect( function() mouseDown = true
startedDown = tick()
end)
mouse.Button1Up:connect( function() mouseDown = false
end)
-this is what I have got and i want to somehow join ana naimation to this
Thanks for reading.