Best approach to making skills

I’m trying to make skills and there’s not a lot about them online, I’m trying to figure out the best way to do it.

What I tried doing was having a local and server script, the local handles the User Input Service and animations, so when the player presses a key an animation is fired along with a remote event fired to the server.

Then in the server script I create parts (using Instance.new), and adjust its properties to make it look how I want it to look. Then I use body movers to make the skill act the way I want it to act. Then I use touch event to deal damage, and debris service to get rid of if it doesn’t touch anything.

Is that the best way of doing it? I want to make anime games in the future and want to do skills the best way I can, so if you have any ideas / feedback, they’re appreciated!

you should not use touched, and use magnitude or region3’s instead for doing damage, also look into module scripts, they can make things alot easier (make a animation module so you can just fire a bindable event and then tell the module the animation name, and humanoid, so you dont always have to repeat typing local anim = anim animPlay = humanoud:loadanimation(anim) anim:Play(), i also use tweenservice and lerping for making skills look epic

also touched is unreliable to me

Hum, ok, a lot I don’t know about yet. What works better magnitude or region 3? So I can learn it. I already know about module scripts, but I don’t feel comfortable using them yet, I’ll have to practice more, thx for the tips!

hmmm i don’t even know alot about region3 but i know it is used like magnitude, i can’t really say… maybe someone else knows?

Ok thx, I’ll look into all that

2 Likes

Region3 is a data type that describes a volume in 3D space similar to an axis-aligned rectangular prism. It is commonly used with Terrain functions and functions that detect parts within a volume, such as Workspace:FindPartsInRegion3 .

I’ll watch it. In your opinion is Region3 better than magnitude for skills?

You could use Region3 for a “Kill-Zone” or “Damage-Zone” if that makes sense, I guess. You can use Region3 for Conqueror’s Haki, for example, if you do know One Piece. :smiley:

1 Like