heres my current skript
on left click holding iron sword
name of player's tool is "&6Lifestealer"
if difference between now and {%player's uuid%.Lifestealer.lastUsed} is less than 5 seconds:
message "&fYou have lifestealed a player!" to player
else:
if attacker is player
damage victim 2 hearts
apply potion of weakness 1
apply potion of slowness 1
apply potion of blindness 1
set {%player's uuid%.Lifestealer.lastUsed} to now