old_health = {} poison_timer = {} poison_ticks = {} do_poison = 0 weapon_to_poison = "medieval\\hatchet" --the name of the weapon that is poisoned (use \\ if weapon is within a folder) poison_damage = 10 --damage per tick (total damage done = poison_damage*max_poison_ticks) poison_interval = 1 --how often to apply poison damage (1 = every 1 second) max_poison_ticks = 5 --how many times to apply the damage from poison function poisoned_weapon_init(e) end function poisoned_weapon_main(e) --uncomment below line to show name of held weapon (so you can use this above) --Prompt(g_PlayerGunName) if g_PlayerGunName == weapon_to_poison then if g_PlayerGunFired == 1 then do_poison = 1 elseif do_poison == 1 then do_poison = 0 end end end function poisoned_weapon_exit(e) end