on load:
set {customItems::drugs} to sugar named "Drugs" with lore "&5+5I Feel Kinda High rn"
set {customItems::adminsword} to unbreakable wooden sword named "&c&lADMIN SWORD" with lore "&4+10Found In A Place. Far. Far Away."
command items:
permission: op
trigger:
loop {customItems::*}:
give player loop-value
on right click:
if item is {customItems::drugs}:
add 30 to the player's speed
on damage:
if attacker's tool is {customItems::adminsword}:
add 10 to the damage
I am new to skript and I cant find what's wrong with it. Thanks.
set {customItems::drugs} to sugar named "Drugs" with lore "&5+5I Feel Kinda High rn"
set {customItems::adminsword} to unbreakable wooden sword named "&c&lADMIN SWORD" with lore "&4+10Found In A Place. Far. Far Away."
command items:
permission: op
trigger:
loop {customItems::*}:
give player loop-value
on right click:
if item is {customItems::drugs}:
add 30 to the player's speed
on damage:
if attacker's tool is {customItems::adminsword}:
add 10 to the damage
I am new to skript and I cant find what's wrong with it. Thanks.