How would I create weapons like the ones in this game?

The Game
Basically, I am wanting to know how you can script melee weapons like these. I am starting to learn scripting, so going into detail would help alot.

Weapons like these are mainly using animations. They play the animation with the tool and then detect if the weapon touches a player. If it does then it takes off health. That is the basic concept of it, but I will not give you a in depth explanation of it because you need to make it yourself. You learn better that way and it is more fun.

Also, if you are learning scripting you should try making a task that is easier to do!

1 Like