trying to code this sword, cant

Started by Laxer on

Topic category: Help with MCreator software

Joined Jun 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
trying to code this sword, cant

https://imgur.com/a/hdLKv8l

 

(oh my god how do you upload images here)

 

need help, im trying to recreate the staff of homa from genshin for my mod. and i really dont get why local variables cant b used here, nor how to make a custom global variable

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Lets explain you: You can't…
Thu, 06/26/2025 - 17:06

Lets explain you:

You can't use local var because events cannot store data, and debounce will always be on his initial value.

So, you can easyly create a var with settings: type: boolean; | Scope: Player_lifetime