Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to fire an aniamtion from holding rightclick?

Asked by 4 years ago

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.

0
Bro we're not going to make a script for you. Fl3eandFlo3e 18 — 4y
0
Hey buddy! Try pressing that little blue button on your editing mode to make your code appear more organized. Perhaps we can help you if you did that! <3 Sensei_Developer 298 — 4y

Answer this question