How can I make a toggle on/off with a keybind

Started by Xyon on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make a toggle on/off with a keybind

Im trying to make a keybind give the player haste and I have been able to. but idk how to make it last forever until the player clicks the keybind again and disables it

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you
Mon, 08/12/2024 - 01:39

Thank you