Im trying to make a skill system with minecraft tags, because i know no other way how, and basically it just wont work, so if any one can help heres just a small little snippet of the skript
# Cursed Vision - Passive glowing effect when near players
every 5 seconds:
loop all players:
if loop-player has tag "CursedVision":
loop all players in radius 10 around loop-player:
if loop-player is not loop-player:
apply glowing 2 to loop-player for 3 seconds
# Shadow Cloak - Invisibility when sneaking, attacking removes effect
on sneak toggle:
if player has tag "ShadowCloak":
if event-player is sneaking:
if {shadow_cloak_cooldown::%player%} is not set or {shadow_cloak_cooldown::%player%} <= now:
apply invisibility 2 to player for 5 seconds
send "&8You fade into the shadows..."
set {shadow_cloak_cooldown::%player%} to now + 20 seconds
else:
send "&7You must wait before using &8Shadow Cloak &7again!" to player
else:
remove invisibility from player
send "&7You are visible again!"
on damage:
if attacker has tag "ShadowCloak":
if attacker has invisibility:
remove invisibility from attacker
send "&cYour attack revealed you!" to attacker
# Cursed Vision - Passive glowing effect when near players
every 5 seconds:
loop all players:
if loop-player has tag "CursedVision":
loop all players in radius 10 around loop-player:
if loop-player is not loop-player:
apply glowing 2 to loop-player for 3 seconds
# Shadow Cloak - Invisibility when sneaking, attacking removes effect
on sneak toggle:
if player has tag "ShadowCloak":
if event-player is sneaking:
if {shadow_cloak_cooldown::%player%} is not set or {shadow_cloak_cooldown::%player%} <= now:
apply invisibility 2 to player for 5 seconds
send "&8You fade into the shadows..."
set {shadow_cloak_cooldown::%player%} to now + 20 seconds
else:
send "&7You must wait before using &8Shadow Cloak &7again!" to player
else:
remove invisibility from player
send "&7You are visible again!"
on damage:
if attacker has tag "ShadowCloak":
if attacker has invisibility:
remove invisibility from attacker
send "&cYour attack revealed you!" to attacker