Hello, I've been trying to make a stats sistem but I can't do it.
it work but when the player is changing the item he keeps the damage stat. any ideas how I can fix it?
Code:
on item hold:
if player is holding a wooden sword named "Wooden Katana":
add 5 to {damage}
it work but when the player is changing the item he keeps the damage stat. any ideas how I can fix it?