How should I give swords to my players?

Hello! I’m currently working on a 1v1 fighting game revolving around fleshing out the SFOTH swords into full fighting kits, however, I’ve ran into a bit of a decision that I don’t think I alone am knowledgable enough to decide. The game rounds are best of 3, and I was wondering: How should I give the swords to the players? I don’t mean this from a scripting perspective, I mean this in like; should I use tools or just models/meshparts, should the scripts for functionality be ran in the tool/model/meshpart or in the characterScripts?

Heres some more information to help:

  • The swords are not going to be equipped/unequipped, they will be out the whole time during the rounds.
  • They have custom animations for idle, walking, attacking, etc.
  • I need a way to detect key inputs like Q, E, and F through the scripts for blocking / abilities

Any and all help is greatly appreciated!

1 Like

Since these are going to be directly welded to the players hand just do all of the attaching on the server. Then use remote events to let the client know that there is a new tool attached and that they have to start listening to inputs now and return the back to the server using a remotefunction or remoteevent. Then once the player dies stop listening to inputs.

How you would give your swords?
If you want to limit the unequip and equip use Motor6D or IKControls(bit more advanced, and doesn’t require you to make animations since you can code it) to attach the tools to the player on the server.

2 Likes