#so i need help with line 1 pls

1 messages · Page 1 of 1 (latest)

dusky breach
#

i think it's:

  if event-item is leather helmet```
dusk python
#

thanks

dusk python
#

on break:
if event-item is leather helmet:
if event-item has no dyes:
if event-item is worn by player:
give player a shield with grey banner named "&7Stone Shield"

dusky breach
#

ig
if event-item is plain leather helmet: replace the 2nd line with then, delete 3rd line

dusk python
#

thanks

dusk python
#

skript: on break:
if event-item is plain leather helmet:
if event-item is worn by player:
give player a shield with grey banner named "&7Stone Shield"

dusky breach
#

hmm...

#

if player's helmet is event-item:

#

maybe... ig

dusk python
#

thanks

#

now line 4 is error

#

on break:
if event-item is plain leather helmet:
if player's helmet is event-item:
give player a shield with grey banner named "&7Stone Shield"

#

@dusky breach

dusky breach
#

i dunno that one

#

not quite sure

dusk python
#

ok thanks

slate meteor
#

you need to fix the indentation, first of all

#

and format your code inbetween ``` when sending it on discord

dusk python
dusk python
#

wait hold on nvm

#

fixed but still no work

spark star
#

2nd if statement doesn't do anything

#

helmet cant break if you arent wearing it so it is pointless

#

as for why your console command doesn't work

#

%player%

#

but you should prolly just use skBee for nbt stuff

slate meteor
dusk python
spark star
#

i love when someone corrects me by repeating what i said

ruby jolt
#

😄

wise oriole
#

i thought on break was blocks