ProfterBako
Odunlara Vur Vur Vur!
- Katılım
- 2 Eylül 2019
- Mesajlar
- 31
- Elmaslar
- 8
- Puan
- 3.710
- Yaş
- 21
Merhabalar arkadaşlar ben event skripti yaptım ve sizlere paylaşmak istedim kod alt tarafta
Kod:
options:
p: &e&lEVENT &8►
noperm: &e&lEVENT &8► &7Yetkin Yok!
eventyetki: event.admin
quit:
if {cekilis} is set:
delete {cekilis}
delete {cekilissure}
command /event [<text>] [<integer>] [<text>]:
trigger:
if executor has permission "colera.event":
if arg-1 isn't set:
open virtual chest with size 4 named "&a&l&nEVENT &f&l&nGUI" to player
make gui slot 11 of player with iron ingot named "&eKlasik &fEvent" with lore "&7Event İçeriği&c:|| ||&7- &c64 &eDemir Blok ||&7- &c64 &eElmas Blok ||&7- &c64 &eZümrüt Blok ||&7- &c64 &eAltın Blok||&7- &c16 &eEnd Taşı||&7- &c16 &eSünger||&7- &c1 &eSüprizKutu||&7- &c1&e'er tane anahtar" to close then run player command "event event1"
make gui slot 13 of player with gold ingot named "&cPara &fEventi" to close then run player command "event paramenu"
make gui slot 21 of player with chest named "&3Spawner &fEventi" with lore "&7Çekiliş İçeriği&c:|| ||&7- &cChestSpawnerlar" to close then run player command "event spver"
make gui slot 23 of player with nether star named "&cÇekiliş" with lore "&7Çekiliş İçeriği&c:|| ||&7- &cDemir spawner||&7- &c1 kerelik kasa anahtarı" to close then run player command "event çekiliş"
make gui slot 15 of player with diamond named "&bDevasa &fEvent" with lore "&7Event İçeriği&c:|| ||&7- &c256 &eDemir Blok ||&7- &c256 &eElmas Blok ||&7- &c256 &eZümrüt Blok ||&7- &c256 &eAltın Blok||&7- &c64 &eEnd Taşı||&7- &c64 &eSünger||&7- &c3 &eSüprizKutu||&7- &c3&e'er tane anahtar" to close then run player command "event event2"
if arg-1 is "çekiliş":
if {cekilis} is set:
send "{@p} &cZaten şu an aktif bir çekiliş var!"
else:
set {cekilis} to true
loop all players:
add loop-player to {_cekilis::*}
send players title "&6&lCEKILIS" with subtitle "&8► &7Kazanan &e10 &7Saniye sonra açıklanıcak.. Sonra Belli Olucaktır." for 3 seconds
wait 3 seconds
set {cekilissure} to 10
loop {cekilissure} times:
send players title "&6&lCEKILIS" with subtitle "&8► &7Kalan &8| &b%{cekilissure}% &7Saniye sonra açıklanıcak.." for 1 seconds
remove 1 from {cekilissure}
wait a second
wait a second
send players title "&a&kkkkkkkkkkkkk"
wait 3 seconds
set {_cekilis::kazanan} to random element out of {_cekilis::*}
send players title "&f%{_cekilis::kazanan}%" with subtitle "&8► &e&lKAZANAN &8◄" for 3 seconds
execute console command "crazycrate give physical event 1 %{_cekilis::kazanan}%"
delete {cekilis}
delete {cekilissure}
else if arg-1 is "event1":
set {_t} to 60
while {_t} is greater than or equal to 0:
if {_t} is 60, 30, 15 or 10:
send "&8■ &7Klasik Eventin başlamasına &e%{_t}% &7saniye kaldı!" to players
else if {_t} is 5:
send players title "&6&lEVENTE SON" with subtitle "&f➄" for 1 second
else if {_t} is 4:
send players title "&6&lEVENTE SON" with subtitle "&f➃" for 1 second
else if {_t} is 3:
send players title "&6&lEVENTE SON" with subtitle "&f➂" for 1 second
else if {_t} is 2:
send players title "&6&lEVENTE SON" with subtitle "&f➁" for 1 second
else if {_t} is 1:
send players title "&6&lEVENTE SON" with subtitle "&f➀" for 1 second
wait a second
remove 1 from {_t}
give 256 57 to players
give 256 133 to players
give 16 153 to players
give 32 129 to players
give 128 darkprismarine to players
give 64 179 to players
give 128 169 to players
execute console command "itemsp dagit zumrutblok 6"
execute console command "itemsp dagit zumrut 6"
execute console command "crazycrate giveall physical lore 3"
execute console command "crazycrate giveall physical spawner 2"
execute console command "crazycrate giveall physical vip 1"
send "&8&m---------------------------------------------" to players
send "" to players
send " &3&lEVENT" to players
send "" to players
send "" to players
send " &8► &7&oBaşlatan: &a%player% &8▪ &7Oyuncular: &a%number of all players% &8◄" to players
send " &8► &7&oEvent Türü: &aKlasik Event &8◄" to players
send "" to players
send "&8&m---------------------------------------------" to players
else if arg-1 is "event2":
set {_t} to 60
while {_t} is greater than or equal to 0:
if {_t} is 60, 30, 15 or 10:
send "&8■ &7Dev Eventin başlamasına &e%{_t}% &7saniye kaldı!" to players
else if {_t} is 5:
send players title "&6&lEVENTE SON" with subtitle "&f➄" for 1 second
else if {_t} is 4:
send players title "&6&lEVENTE SON" with subtitle "&f➃" for 1 second
else if {_t} is 3:
send players title "&6&lEVENTE SON" with subtitle "&f➂" for 1 second
else if {_t} is 2:
send players title "&6&lEVENTE SON" with subtitle "&f➁" for 1 second
else if {_t} is 1:
send players title "&6&lEVENTE SON" with subtitle "&f➀" for 1 second
wait a second
remove 1 from {_t}
give 256 57 to players
give 256 133 to players
give 64 153 to players
give 64 129 to players
give 128 darkprismarine to players
give 128 179 to players
give 128 169 to players
execute console command "itemsp dagit zumrutblok 12"
execute console command "itemsp dagit zumrut 12"
execute console command "crazycrate giveall physical lore 5"
execute console command "crazycrate giveall physical spawner 4"
execute console command "crazycrate giveall physical vip 3"
execute console command "crazycrate giveall physical vip+ 2"
send "&8&m---------------------------------------------" to players
send "" to players
send " &3&lEVENT" to players
send "" to players
send "" to players
send " &8► &7&oBaşlatan: &a%player% &8▪ &7Oyuncular: &a%number of all players% &8◄" to players
send " &8► &7&oEvent Türü: &aDevasa Event &8◄" to players
send "" to players
send "&8&m---------------------------------------------" to players
else if arg-1 is "paramenu":
open virtual chest with size 1 named "&c&l&nPARA &f&l&nGUI" to player
make gui slot 0 of player with gold nugget named "&65.000 &cTL" with lore "&7Event İçeriği&c:|| ||&7- &c5.000 &eTL" to close then run player command "event paraver 5000"
make gui slot 1 of player with gold nugget named "&610.000 &cTL" with lore "&7Event İçeriği&c:|| ||&7- &c10.000 &eTL" to close then run player command "event paraver 10000"
make gui slot 2 of player with gold nugget named "&615.000 &cTL" with lore "&7Event İçeriği&c:|| ||&7- &c15.000 &eTL" to close then run player command "event paraver 15000"
make gui slot 3 of player with gold nugget named "&620.000 &cTL" with lore "&7Event İçeriği&c:|| ||&7- &c20.000 &eTL" to close then run player command "event paraver 20000"
make gui slot 4 of player with gold nugget named "&625.000 &cTL" with lore "&7Event İçeriği&c:|| ||&7- &c25.000 &eTL" to close then run player command "event paraver 25000"
make gui slot 5 of player with gold nugget named "&650.000 &cTL" with lore "&7Event İçeriği&c:|| ||&7- &c50.000 &eTL" to close then run player command "event paraver 50000"
make gui slot 6 of player with gold nugget named "&675.000 &cTL" with lore "&7Event İçeriği&c:|| ||&7- &c75.000 &eTL" to close then run player command "event paraver 75000"
make gui slot 7 of player with gold nugget named "&6100.000 &cTL" with lore "&7Event İçeriği&c:|| ||&7- &c100.000 &eTL" to close then run player command "event paraver 100000"
make gui slot 8 of player with gold nugget named "&6150.000 &cTL" with lore "&7Event İçeriği&c:|| ||&7- &c150.000 &eTL" to close then run player command "event paraver 150000"
else if arg-1 is "paraver":
if arg-2 is set:
add arg-2 to player's balance
send "{@p} &c%executor%&7, herkese &6%arg-2%TL &7verdi!" to players
else if arg-1 is "spver":
if arg-2 isn't set:
open virtual chest with size 1 named "&6&l&nChestSpawner &f&l&nGUI" to player
make gui slot 0 of player with chest named "&7Demir &fSpawner" to close then run player command "event spver 1 &7Demir &fSpawner"
make gui slot 1 of player with chest named "&6Altın &fSpawner" to close then run player command "event spver 1 &6Altın &fSpawner"
make gui slot 2 of player with chest named "&bElmas &fSpawner" to close then run player command "event spver 1 &bElmas &fSpawner"
make gui slot 3 of player with chest named "&aZümrüt &fSpawner" to close then run player command "event spver 1 &aZümrüt &fSpawner"
else:
if arg-3 is set:
give arg-2 of chest named "%arg-3%" to players
send "{@p} &7Herkese &e%arg-2% &7tane &e%arg-3% &7verildi." to players