Solved about skull

  • 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.

CziSKY

Member
Feb 22, 2017
25
0
0
20
China
www.15imc.com
set {_Player} to "chest" parsed as offline player
set {_Skull} to skull of {_Player}

set the block at the location x-coord of block, y-coord of block + 1, z-coord of block of the world "world" to {_Skull}

why it's not working??
 
Last edited:
You need Skellett to perform these operations.

code_language.skript:
set block at {_loc} to floor head
set skull owner of block at {_loc} to "Etho" parsed as offlineplayer

Skellett also does directional movement of block skulls aswell, where as Skript only handles Inventory skulls, which is why it doesn't work.
 
set {_Player} to "chest" parsed as offline player
set {_Skull} to skull of {_Player}

set the block at the location x-coord of block, y-coord of block + 1, z-coord of block of the world "world" to {_Skull}

why it's not working??
code_language.skript:
command /list:
    trigger:
        set {_num} to -1
        open chest with 6 rows named "&4Player List" to player
        loop all players:
            add 1 to {_num}
            if loop-player is op:
                format slot {_num} of player with skull of ("%loop-player%" parsed as offline player) named "&6%loop-player%" to be unstealable
            else:
                format slot {_num} of player with skull of ("%loop-player%" parsed as offline player) named "&r%loop-player%" to be unstealable
 
code_language.skript:
command /list:
    trigger:
        set {_num} to -1
        open chest with 6 rows named "&4Player List" to player
        loop all players:
            add 1 to {_num}
            if loop-player is op:
                format slot {_num} of player with skull of ("%loop-player%" parsed as offline player) named "&6%loop-player%" to be unstealable
            else:
                format slot {_num} of player with skull of ("%loop-player%" parsed as offline player) named "&r%loop-player%" to be unstealable
This thread is about skull BLOCKS, not skull in GUI.
 
Status
Not open for further replies.