#Custom Drops

1 messages · Page 1 of 1 (latest)

round plaza
#
on death:
    if display name of victim is "&6&l&nBoss Level 1":
        cancel drops
        drop 1 %{customitems.BossKey}% at location of victim

The code has an error with the drop line, however it works if %{customitems.BossKey}% is replaced with diamond.

I have set %{customitems.BossKey}% to be an item and it works when I give it to a player, but for some reason it doesn't work with drop.

Any help is greatly appreciated!

lucid bough
#

Try 1 of

#

Also I don't think you need %s

round plaza
#

It worked! Thank you so much!

serene drift
#

Thank You!

lucid bough
#

Gotchu

serene drift
#

Question, can you playsounds when the boss spawns?

lucid bough
#

yea

#
serene drift
#

Thanks

#

I'll give it a go later

serene drift
#

I woke up this morning and I can't get my boss to spawn

#

:/

#

nvm

astral frigate
#

play sound "entity.wither.spawn" at volume 1 at pitch 2 to all players

#

When your playing the sound you cannot play to “player” since it doesn’t know what player

#
astral frigate
serene drift
#

@astral frigate Instead of the key dropping, can I give it to the player?

serene drift
#

@tame veldt

#

its not working

#

hmmm

astral frigate
#

Not player

serene drift
#

o

#

give attacker 1 of {customitems.BossKey} at location of victim

indigo tendon
#

Skript is so ass

serene drift
#

It didn't work

#

Oh I got it!

#

nvm

#

Thanks @astral frigate

astral frigate