[SK] Bounty Jackpot (CS:GO'ya benzer.)

Kemalist1881

Kömür Madencisi
En iyi cevaplar
0
NOT : Düzenlendi
Herkese selam ben Kemalist1881 bu skripti önceden kodluyordum gerkesiz olduğunu farkedip sitelisini arkadaşlarımla beraber kodlamaya başladım.Bu kodun o kadar değerli olmadığını (GEREKSIZ) düşünüp paylaşmaya karar verdim neyse kod:

PHP:
#Authors: NoBackDown & Kemalist1881 & EgeFTW
#Version: 0.1
#Commands:
    #/jackpot
   
   
   
   
   
command /jackpot:
    trigger:
        open chest with 1 rows named "&6Jackpot" to player
        wait 1 tick    
        format slot 0 of player with gold ingot named "&eBounty Jackpot" with lore "&6Start &ebounty &6jackpot&8!" to close then run [make player execute command "/sfdsdfdsffdsdsfdfs"]
command /sfdsdfdsffdsdsfdfs:
    trigger:
        wait 0.1 seconds
        open chest with 1 rows named "&eBounty &6amount" to player
        wait 1 tick    
        format slot 0 of player with gold ingot named "&6Select &e25" with lore "&e25 &6bounty" to close then run [make player execute command "/fdsfsddfssdfsdf 25"]
        format slot 1 of player with gold ingot named "&6Select &e50" with lore "&e50 &6bounty" to close then run [make player execute command "/fdsfsddfssdfsdf 50"]
        format slot 2 of player with gold ingot named "&6Select &e75" with lore "&e75 &6bounty" to close then run [make player execute command "/fdsfsddfssdfsdf 75"]
        format slot 3 of player with gold ingot named "&6Select &e100" with lore "&e100 &6bounty" to close then run [make player execute command "/fdsfsddfssdfsdf 100"]
        format slot 7 of player with skull of player named "&6%player%" with lore "&6You have &e%{bounty.%player%}% &6bounty" to close
        format slot 7 of player with skull of player named "&6%player%" with lore "&6You total bounty &e%{bounty.%player%}% &6bounty" to close
        format slot 7 of player with skull of player named "&6%player%" with lore "&6You winned &e%{wins.%{winner}%}% &6games" to close
        format slot 8 of player with redstone block named "&4Close" with lore "&cClose the menu" to close



every 15 seconds:
    if {bountyj} is false:
        if {bountyjackpotpoints} is not set:
            set {bountyjackpotpoints} to 0
every 30 seconds:
    if {bountyj} is false:
        if {bountyjackpotpoints} > 75:
            execute console command "start"
            broadcast "&6Bounty &e%{bountyjackpotpoints}% &6> &e75&8!"
            broadcast "&e10 &6second for start Bounty Jackpot&8!"
            set {bountyj} to true
command /start:
    permission: start.xd
    trigger:
        wait 5 seconds
        broadcast "&e5 &6second for start Bounty Jackpot&8!"
        wait 1 seconds
        broadcast "&e4 &6second for start Bounty Jackpot&8!"
        wait 1 seconds
        broadcast "&e3 &6second for start Bounty Jackpot&8!"
        wait 1 seconds
        broadcast "&e2 &6second for start Bounty Jackpot&8!"
        wait 1 seconds
        broadcast "&e1 &6second for start Bounty Jackpot&8!"
        wait 1 seconds
        broadcast "&6Started Bounty Jackpot&8!"
        wait 1 seconds
        set {winner} to random element out of {names::*}
        broadcast "&e%{winner}% &6winned for bounty jackpotbounty added &e%{bountyjackpotpoints}% &6points&8."
        add {bountyjackpotpoints} to {bounty.%{winner}%}
        add 1 to {wins.%{winner}%}
        delete {bountyjackpotpoints}   
        delete {bountyjackpot::*}
        set {bountyj} to false
command /fdsfsddfssdfsdf [<number>]:
    trigger:
        if arg 1 is set:
            if {bounty.%player%} > arg 1:
                add arg 1 to {bountyjackpot::*}
                add arg 1 to {bountyjackpotpoints}
                remove arg 1 from {bounty.%player%}
                send "&6Added &e%arg 1% &6to bounty jackpot&8."
            else:
                send "&6Not bounty &e%arg 1%5&8!"
 
Son düzenleme:

ShortPallMall

AtinaSaga.Com Türkiyenin ilk MMOSurvival sunucusu
En iyi cevaplar
2
komutu engelleyebilirler /s [tab] yaptıgında hiçbir şey çıkmaz
 
Üst