#help guys

1 messages · Page 1 of 1 (latest)

plush swallow
#

I want a item that i can right click and item will give me a effect and than the item disappears pls help guys

lapis garnet
#

on rightclick:

plush swallow
#

I know that

#

@trail beacon

#

Bro help

trail beacon
#

If the item has a name, check that, if it matches the tool in your hand, remove it from players inventory and apply an effect to the player.

plush swallow
#

But im shitty at skripting help bro

trail beacon
#
    item: diamond sword
    name: "&bEpic Diamond Sword"
    effect: speed
    amplifier: 2
    seconds: 10

command /getitem:
    trigger:
        give player {@item} named {@name}


on rightclick holding a {@item}:
    name of event-item is {@name}:
        remove tool from player
        apply {@effect} of tier {@amplifier} to player for {@seconds} seconds```
Sry for ![spoon_feed](https://cdn.discordapp.com/emojis/1127264867737419788.webp?size=128 "spoon_feed")
plush swallow
#

Yo bro

#

I love uuuu

#

It work perfectly

lapis garnet
#

the options 💀

plush swallow
#

At least it works

lapis garnet
#

read the docs next time and try to come up with something before actually asking for help

#

the vast majority of people on here will not just feed you code

plush swallow
#

I tried but i said im shitty at scripting even the tutorials couldn't help me

trail beacon
lapis garnet
#

better to just have it in-text

#

rarely are options ever used for generic stuff like that

lapis garnet
#

then say what you tried

#

say why it doesn't work

#

shows you're actually invested in making it and genuinely can't figure it out

#

instead of someone who's never touched the plugin and wants someone else to make it free of charge for them

#

and then ask the next person if they can create some more code for them