so i did this skript of newbie protection and trying to put so people can turn it off and cant seem to work it does the feddback but doesnt work
Code:
on first join:
set {newbie::%player%} to true
wait 15 minutes
delete {newbie::%player%}
on damage:
if {newbie::%victim%} is true:
if "%region at victim%" contains "box":
if attacker is player:
cancel event
send "&7This player has Newbie Protection" to attacker
command /newbieprotection off:
trigger:
if {newbie::%player%} = true:
delete {newbie::%player%}
send "&f&l[&4&lBoxStealerr&f&l] &fNewbie Protection has been turned off." to player