#How would I make an attack move do damge once the animation reaches the opposing player?

15 messages · Page 1 of 1 (latest)

little sparrow
#

Help.

stiff latch
#

Wdym by animation reaches the opposing player

light fulcrum
#

Probably means when the attack touches another part or humanoid

stiff latch
#

If so then use input, then send it to the server with a remote event. Make the denounce on the server and not the client. From there, make a part using instance.new, set the part cframe to the desired cframe (there are articles for this). And when the part is parented to workspace, so:
Local attacked players = {}
for i, touchingPart in workspace:GetPartsInParts(hitbox) do
if touchingPart.Parent: Findfirstchild humanoid and not table.find(attackedplayers, touchingParent.Parent; Findfirstchild ("humanoid") )then humanoid:TakeDamage(x)

#

I'm on phone so I can't help much sorry

#

@little sparrow if u don't understand how to do any of that then I would recommend you to learn a little bit of luau

light fulcrum
#

There is a :touched method

indigo parrotBOT
#

studio** You are now Level 3! **studio

light fulcrum
#

You should look it up

#

In the roblox documentation

stiff latch
#

a better way to check collission is looping through all the parts that the hitbox is colliding with, and checking if their a player

#

you do not want to know how may days I wasted trying to figure out why :touched didn't work properly

light fulcrum
#

if you have some code or a video you can show me. So I can use that then pls show me haha