Pull entities towards attacker

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

W00lyP4rr0t2

Member
Feb 19, 2024
3
0
1
23
I have written this script that used to work and do the reverse knockback effect I desire. I opened a new server recently and rewrote the script and now it doesnt work. Could anyone tell me where I have gone wrong? Here is the script;

on damage:
if attacker is holding diamond sword:
if name of attacker's tool is "&3&lPull Sword":
apply knockback to victim player (vector from victim to attacker) with strength 1