give mob item

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

mr_kb

New Member
May 27, 2021
5
0
1
17
so I'm making a boss for my server and I'm trying to give it a bow and i cant find a way to do it when I reload it it says that there are no errors if anyone can help me that would be great!


Code:
command /boss2:
            permission: op
            permission message: "&cYou do not have permission to do that!"
            trigger:
                        spawn wither skeleton at location of player
                        set name of last spawned wither skeleton to "&l&aplace holder"
                        set max health of last spawned wither skeleton to 1500
                        set health of last spawned wither skeleton to 1500
                        if name of last spawned wither skeleton is "&l&aplace holder":
                                    set the held item to bow
 
Status
Not open for further replies.