How would I start off making a melee system using modulescripts?

  1. What do you want to achieve? Keep it simple and clear!
    I want to make simple melee combat for my game, no blocking or parrying, just swinging, and I believe modulescripts are the optimal way to do it, at least if you are making multiple weapons. I am using raycast hitbox.

  2. What is the issue? Include screenshots / videos if possible!
    I have never written code for a modulescript before so I do not know how they work.

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I haven’t tried many solutions yet as I figured it would be easier to create a topic, but I do plan to look at the modulescripts page on the creator documentation. I did attempt to look for helpful topics though. I couldn’t find much.

I do understand if this post gets taken down.

So what do you want?(You can learn from GnomoCode or from roblox site or like youtube)

I’ll check those out and see if I can get anything good out of it. The swords aren’t tools btw.

None of these really show modulescripts…

Do I not use a modulescript for the actual combat, but only handle that in a localscript and a server script? While using raycasthitbox (the modulescript) for hit detection?

1 Like

I have a better understanding of modulescripts now and this post is pretty pointless.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.