1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mob giving custom player heads

Discussion in 'Skript' started by SteakBites, Jul 28, 2022.

Thread Status:
Not open for further replies.
  1. SteakBites

    SteakBites Member

    Joined:
    Jul 18, 2022
    Messages:
    14
    Likes Received:
    1
    I'm trying to make it so that when a certain mob dies it will give a player a custom head.
    Code (Text):
    1. on death of husk:
    2.       clear drops
    3.       if name of victim is "&2Ent":
    4.             give attacker player head of someone
     
  2. mordrowned

    mordrowned Member

    Joined:
    Apr 22, 2021
    Messages:
    40
    Likes Received:
    2
    This should work, just change the someone into the player you want

    Code (Text):
    1. on death of husk:
    2.       clear drops
    3.       if name of victim is "&2Ent":
    4.             give attacker "someone" parsed as offline player's skull
     
Thread Status:
Not open for further replies.

Share This Page

Loading...