i'm new to skripting, i dont see what's wrong with this code
on damage:
---damage is caused by an attack
----victim is a player
----if attacker is holding a netherite axe named "&0<bold>Ban &4<bold>Hammer":
-------broadcast "&8<bold>%victim% &7Has been banned by %attacker% using &0<bold>Ban &4<bold>Hammer"
-------kill victim
-------execute console command "ban %victim%"
on damage:
---damage is caused by an attack
----victim is a player
----if attacker is holding a netherite axe named "&0<bold>Ban &4<bold>Hammer":
-------broadcast "&8<bold>%victim% &7Has been banned by %attacker% using &0<bold>Ban &4<bold>Hammer"
-------kill victim
-------execute console command "ban %victim%"
Last edited: