#knockback attack not working

1 messages · Page 1 of 1 (latest)

sudden arch
#

it worked when i tried to make it do damage, but when i tried to make it deal knockback with a linearvelocity it would not work.

worthy sonnet
#

creating a touched listener event right when the client fires the remote would be unreliable

sudden arch
#

basically

#

a local script with userinput service handles the attack

#

the userinput service function triggers the remoteevent

#

then the touched function is inside the function triggered by the remoteevent

worthy sonnet
#

ok bu the way ur doing it gives the potential for spin hitbox

#

they can just spin their character until the hitbox part touches the player

sudden arch
#

nvm i didnt read the documentation lemme do that first

#

im assuming i use that instead of the humanoidrootpart?

#

yo

#

yea i tried that and it didnt work either

#

wait, i think i need to add attachments to the linearvelocity first

#

ok i added an attachment and it still didnt work

#

ok i figured it out, i had to parent the attachment to the same parent as the veloicty itself