How do I add swords in my game?

Loarf
Joined 09/01/2020
Posts 1,283
08:46 PM 30/12/2021
Me and my friend are planning on making a swordfight game, and we need help on how to make swords. |Please respond asap





ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ


[stkmn] 1o7
Joined 19/07/2020
Posts 30,143
08:47 PM 30/12/2021
\https://discord.gg/BbyTWeAt
ask here


[MILK] vv0id1sm
Joined 07/10/2019
Posts 16,080
08:56 PM 30/12/2021
there isnt a definitive way of adding a sword to a game (last I checked since I don't go on brick-hill much anymore), so you either can create your own script for a sword, or use someone else's

for some things that might help:
https://brickhill.gitlab.io/open-source/node-hill/classes/Tool.html#constructor
https://brickhill.gitlab.io/open-source/node-hill/classes/Tool.html#activated
https://brickhill.gitlab.io/open-source/node-hill/classes/Player.html#setHealth
https://brickhill.gitlab.io/open-source/node-hill/classes/Vector3.html

1