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

Loading an animation on Button1Down event?

Asked by 9 years ago

So here's the event:

Tool = script.Parent
Tool.Button1Down:connect(function()



end)

So What I want to do in this space of code in between my function is load an animation, but I don't know how to play it. Could anyone explain to me how you'd play the animation?

Also I'd like to know how to TakeDamage. Like all the stuff there is needed to know about it.

1 answer

Log in to vote
0
Answered by 9 years ago

First off, it should be

MouseButton1Down

I don't know how to do the animation thing, sorry. As for the TakeDamage, you just need to change the health property of the player.

0
If you don't know then why are you answering? TheReapersComing 0 — 9y
0
I answered most of your question. Be thankful I took time to answer any of it. I was unaware you are the center of the universe! Antharaziia 75 — 9y
Ad

Answer this question