Hello i've created loop item skript but it is not working, i need help thanks for everyone who is trying to help!
I tried removing the
It sending messages but even if you don't have the diamond sword you get kicked.
And if you can on world change will be wayyy better than on death, i just don't know how to do on world change
Code:
on death:
wait 3 ticks
loop all items in inventory of victim:
if loop-item is diamond sword named "&bKit Selector &7(Right-click)":
wait 20 seconds
loop all items in inventory of victim:
if loop-item is diamond sword named "&bKit Selector &7(Right-click)":
send message "&cYou need to select a kit! &7(&bAuto Kick in &l40 &bSeconds&7)" to the player
wait 20 seconds
loop all items in inventory of victim:
if loop-item is diamond sword named "&bKit Selector &7(Right-click)":
send message "&cYou need to select a kit! &7(&bAuto Kick in &l20 &bSeconds&7)" to the player
wait 10 seconds
loop all items in inventory of victim:
if loop-item is diamond sword named "&bKit Selector &7(Right-click)":
send message "&cYou need to select a kit! &7(&bAuto Kick in &l10 &bSeconds&7)" to the player
wait 10 seconds
loop all items in inventory of victim:
if loop-item is diamond sword named "&bKit Selector &7(Right-click)":
make player execute command "/leave"
send message "&cYou didn't select a kit so you left the game!" to the player
I tried removing the
Code:
loop all items in inventory of victim:
if loop-item is diamond sword named "&bKit Selector &7(Right-click)":
And if you can on world change will be wayyy better than on death, i just don't know how to do on world change