Skript Version: 2.5-alpha1
Skript Author: Bensku
Minecraft Version: 1.15.2
Hi! I'm working on a magic script, but I need help at hooking it with the data pack called Magic Meter.
What I want:
Clicking with a stick (magic wand) decreases score points (mana) from Magic Meter.
Skript Author: Bensku
Minecraft Version: 1.15.2
Hi! I'm working on a magic script, but I need help at hooking it with the data pack called Magic Meter.
What I want:
Clicking with a stick (magic wand) decreases score points (mana) from Magic Meter.
- The scoreboard used by the data pack is named “magic_meter”
- To check if the player has a specific amount of magic:
@s[scores={magic_meter=400..}] - Remove score from the player using a command:
scoreboard players remove @s[scores={magic_meter=400..}] magic_meter 400 - To determine if the player doesn’t have enough magic:
@s[scores={magic_meter=..399}]
Last edited: