Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Loading an animation on Button1Down event?

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

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.

2 comments

0

If you don't know then why are you answering?

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!

This discussion is preserved as it was. New answers, comments, and votes are closed.