Solved Other players heads

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

Hartvig

Member
Apr 18, 2017
39
1
0
22
Layout:

Skript Version: Skript 2.2 (dev20c)
Skript Author: Hartvig
Minecraft Version: 1.8
---
Code:
code_language.skript:
format slot 0 of player with skull of player named "&6Profile &a%arg 1%" with lore "&cTotal blocks mined! &a&l%{totalminedblocks.%arg 1%}%  " to be unstealable


Troubleshooting:
So how can i change the skull to the player im targetting, example /ma Legend

Have you tried searching the docs? Yes
Have you tried searching the forums? No
 
i've tried that already, and it didn't work
[doublepost=1496609087,1496608957][/doublepost]
code_language.skript:
command /mineadmin [<text>]:
    permission: {@permissionowners}
    permission message: {@tagserver} {@nopermission}
    aliases: /ma
    usage: /ma <player> or /ma
    trigger:
        if arg 1 is not set:
            send "          &6Velkommen til &cAdmin Panelet &a%player%"
            wait 0.5 seconds
            send "                                                                                      "
            send "     &c/minedadmin panel &7- for at få adganng til &4Admin &7panelet!"
            send "                                                                                      "
            wait 0.5 seconds
            send "                                                                                      "
            send "     &c/ma hjælp &7- for at se alle &4Admin &7kommandoer"
            send "                                                                                      "
            wait 0.5 seconds
            send "     &4&lBemærk! reset players stats rigtigt!                            "
            send "                                                                                      "
            wait 1 second
            send "                 &4&lSkript lavet af Hartvig!                    "
            play raw sound "mob.creeper.death" at player with pitch 1 volume 10
        if arg 1 is "panel":
            play raw sound "note.pling" at player with pitch 1 volume 10
            open chest with 1 row named "&cAdmin Panel" to player
            format slot 3 of player with Iron Ingot named "&c&lSLET TOTAL BLOCKS MINED" with lore "&aEr du sikker &c%player% &a?" to close then run [execute player command "/ma deletealtmb"]
            format slot 5 of player with Gold Ingot named "&c&lSLET ALLE MINEDBLOCKS" with lore "&aEr du sikker &c%player% &a?" to close then run [execute player command "/ma deleteallmb"]
        if arg 1 is "deletealtmb":
            delete {totalminedblocks.%player%}
            send "&cDu har slettet total blocks mined med en &aSucess!"
            play raw sound "mob.zombie.death" at player with pitch 1 volume 10
        if arg 1 is "deleteallmb":
            delete {mineemerald.%player%}
            delete {mineddiamond.%player%}
            delete {minedreds.%player%}
            delete {minedgold.%player%}
            send "&cDu har slettet alle blocks mined med en &aSucess! "
            play raw sound "mob.creeper.death" at player with pitch 1 volume 10
        if arg 1 is "hjælp":
            send "                    &bMa hjælp                    "
            send "&c/ma hjælp &7- viser alle kommandoer"
            send "&c/ma panel &7- åbner &4Admin &7panelet"
            send "                                                       "
        if arg 1 is set:
            play raw sound "note.harp" at player with pitch 1 volume 10
            open chest with 2 row named "&6Mined Blocks" to player
            format slot 0 of player with skull of arg-1 named "&6Profile &a%arg 1%" with lore "&cTotal blocks mined! &a&l%{totalminedblocks.%arg 1%}%  " to be unstealable
            format slot 2 of player with Diamond Ore named "&7Mined>>&bDiamond Ore" with lore "&bMined: &c&l%{mineddiamond.%arg 1%}%" to be unstealable
            format slot 4 of player with Emerald Ore named "&7Mined>>&aEmerald Ore" with lore "&bMined: &c&l%{mineemerald.%arg 1%}%" to be unstealable
            format slot 6 of player with Redstone Ore named "&7Mined>>&cRedstone Ore" with lore "&bMined: &c&l%{minedreds.%arg 1%}%" to be unstealable
            format slot 8 of player with Gold Ore named "&7Mined>>&6Gold Ore" with lore "&bMined: &c&l%{minedgold.%arg 1%}%" to be unstealable
            format slot 13 of player with Nether Star named "   &cLuk  " with lore "&7Lukker statistik menuen" to close
 
Status
Not open for further replies.