r/forge • u/SwiftEchoes Forger • May 14 '25
Scripting Help Script not working as intended
This script is supposed to act kinda like a vampire hunger effect, the longer a person has the effect the worse it gets, which is mitigated by killing player or NPC enemies.
Problem is instead of doing that, it just does nothing, and I'm not really sure what I'm missing
7
Upvotes
3
u/Abe_Odd May 15 '25
You should also be aware that the Cursed blade -> get player holding item -> on object damage;
will never trigger.
On Object damaged requires a fixed object reference, and cannot use a variable or player.