Code:
on world change:
wait 3 ticks
loop all items in inventory of player:
if loop-item is emerald named "&6Shop &7(Right-click)":
wait 20 seconds
loop all items in inventory of player:
if loop-item-2 is emerald named "&6Shop &7(Right-click)":
message "&cYou need to select a kit! &7(&bAuto Kick in &f40 &bSeconds&7)" to the player
wait 20 seconds
loop all items in inventory of player:
if loop-item-3 is emerald named "&6Shop &7(Right-click)":
message "&cYou need to select a kit! &7(&bAuto Kick in &f20 &bSeconds&7)" to the player
wait 10 seconds
loop all items in inventory of player:
if loop-item-4 is emerald named "&6Shop &7(Right-click)":
message "&cYou need to select a kit! &7(&bAuto Kick in &f10 &bSeconds&7)" to the player
wait 10 seconds
loop all items in inventory of player:
if loop-item-5 is emerald named "&6Shop &7(Right-click)":
make console execute command "/kick %player% You didn't select a kit so you left the game!"
message "&cYou didn't select a kit so you left the game!" to the player
not works at all, when moving a world and we you have the emerald named like this it just doesnt works and when you reload the skript there isn't any errors
it loops if there is an item, when you join the map of kitpvp it you have that emerald
and if he is afk for 1 minute and not choosing a kit (his emerald will disappear if he select a kit) he get kick that is the code
[doublepost=1621075327,1620042125][/doublepost]bump