I have a short script that is supposed to function when a user is holding a correct stick and hits a player with that stick. Gives out no errors, no debug, but refuses to work. I use PermissionsEx for group management, and the goal is to set the user back to "Default" on hit with stick, and kick user with the other stick. I have skript add-ons Sk-Perm and Ersatz
on damage:
if attacker is holding a stick with lore "&c&lKicks a user":
if victim is a player:
kick victim
on damage:
if attacker is holding a stick with lore "&c&lFires a user":
if victim is a player:
add victim to group "default"
on damage:
if attacker is holding a stick with lore "&c&lKicks a user":
if victim is a player:
kick victim
on damage:
if attacker is holding a stick with lore "&c&lFires a user":
if victim is a player:
add victim to group "default"