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!

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

Skript Only the player which is first in alphabetical order gets a message or a random drop

Discussion in 'Tutorials' started by Drain1, May 5, 2023.

  1. Drain1

    Drain1 Member

    Joined:
    May 5, 2023
    Messages:
    1
    Likes Received:
    0
    command /game <text>:
    trigger:
    arg-1 is "start":
    set {blocks::*} to all blocks
    add all items to {blocks::*}
    delete {blocks::1}
    clear {deaths::*}
    set {blocks::*} to all blocks
    console command "/execute in minecraft:emoji_astonished:verworld run tp @a 0 1 0"
    console command "/mvdelete world"
    console command "/mv confirm"
    console command "/mvcreate world normal"
    console command "/minecraft:clear @a"
    console command "/mvtp Drain1 world"
    console command "/minecraft:tp @a Drain1"
    console command "/clearenderchest:cecp Drain1"
    console command "/clearenderchest:cecp NotUky"
    console command "/clearenderchest:cecp koeleboy09"
    console command "/clearenderchest:cecp TheFourClovers"
    console command "/minecraft:clear @a"
    set {active-game} to 1
    wait 12 seconds
    loop all players:
    while {active-game} is equal to 1:
    set line 3 of loop-players-1's scoreboard to "&eNext Dri"
    console command "/execute at @a run playsound minecraft:block.note_block.pling ambient @a"
    send "&cᴅʀᴏᴘ sᴘᴀᴡɴɪɴɢ ɪɴ &410 sᴇᴄᴏɴᴅs" to loop-players
    wait 7 seconds
    console command "/execute at @a run playsound minecraft:block.note_block.pling ambient @a"
    send "&cᴅʀᴏᴘ sᴘᴀᴡɴɪɴɢ ɪɴ &43 sᴇᴄᴏɴᴅs" to loop-players
    wait 1 seconds
    console command "/execute at @a run playsound minecraft:block.note_block.pling ambient @a"
    send "&cᴅʀᴏᴘ sᴘᴀᴡɴɪɴɢ ɪɴ &42 sᴇᴄᴏɴᴅs" to loop-players
    wait 1 seconds
    console command "/execute at @a run playsound minecraft:block.note_block.pling ambient @a"
    send "&cᴅʀᴏᴘ sᴘᴀᴡɴɪɴɢ ɪɴ &41 sᴇᴄᴏɴᴅ" to loop-players
    wait 1 seconds
    console command "/execute at @a run playsound block.note_block.pling ambient @a ~ ~ ~ 100 2"
    send "&aᴅʀᴏᴘ sᴘᴀᴡɴᴇᴅ" to loop-players-1
    set {droprandom} to a random element of {blocks::*}
    set lore of {droprandom} to "%loop-players%"
    loop 36 times:
    if {deaths::*} contains "%loop-players%":
    set {nothing} to 1
    send "death" to loop-players
    else:
    drop 64 of {droprandom} at loop-players's location
    set {dropped} to 1
    wait 110 seconds

    arg-1 is "stop":
    set {active-game} to 0
    delete {blocks::*}

    on death of player:
    add "%victim%" to {deaths::*}
     

Share This Page

Loading...