variables:
{arena.1} = "&3Hazır değil"
{arena.2} = "&3Hazır değil"
{arena.3} = "&3Hazır değil"
{arena.4} = "&3Hazır değil"
{arena.5} = "&3Hazır değil"
{arena.6} = "&3Hazır değil"
{arena.7} = "&3Hazır değil"
{arena.8} = "&3Hazır değil"
{arena.9} = "&3Hazır değil"
{arenada.1} = 0
{arenada.2} = 0
{arenada.3} = 0
{arenada.4} = 0
{arenada.5} = 0
{arenada.6} = 0
{arenada.7} = 0
{arenada.8} = 0
{arenada.9} = 0
{arenada.1} = 0
{arenada.2} = 0
{arenada.3} = 0
{arenada.4} = 0
{arenada.5} = 0
{arenada.6} = 0
{arenada.7} = 0
{arenada.8} = 0
{arenada.9} = 0
#--------------------------------------------------------#Equal Skript#--------------------------------------------------------------#
on join:
if {ilk.%player%} is not set:
set {win.%player%} to 0
set {lose.%player%} to 0
set {kdr.%player%} to 0
set {ilk.%player%} to true
set {ölme.%player%} to 0
send "&bBu Script SoloTurk™ Tarafından Kodlanmıstır İletişim &5djuitietr"
set {öldürme.%player%} to 0
#----------------------------------------------------------#Gui Skript#---------------------------------------------------------------#
command /teketek [<text>] [<text>]:
trigger:
arg 1 is "arenalar":
open chest with 2 rows named "&c&l1V1 Menüsü" to player
format slot 0 of player with stained glass pane named "&1Arena 1" with lore "&e&nDurum&6:&5%{arena.1}%" to close then run [make player execute command "/teketek gir 1"]
format slot 1 of player with stained glass pane named "&1Arena 2" with lore "&e&nDurum&6:&5%{arena.2}%" to close then run [make player execute command "/teketek gir 2"]
format slot 2 of player with stained glass pane named "&1Arena 3" with lore "&e&nDurum&6:&5%{arena.3}%" to close then run [make player execute command "/teketek gir 3"]
format slot 3 of player with stained glass pane named "&1Arena 4" with lore "&e&nDurum&6:&5%{arena.4}%" to close then run [make player execute command "/teketek gir 4"]
format slot 4 of player with stained glass pane named "&1Arena 5" with lore "&e&nDurum&6:&5%{arena.5}%" to close then run [make player execute command "/teketek gir 5"]
format slot 5 of player with stained glass pane named "&1Arena 6" with lore "&e&nDurum&6:&5%{arena.6}%" to close then run [make player execute command "/teketek gir 6"]
format slot 6 of player with stained glass pane named "&1Arena 7" with lore "&e&nDurum&6:&5%{arena.7}%" to close then run [make player execute command "/teketek gir 7"]
format slot 7 of player with stained glass pane named "&1Arena 8" with lore "&e&nDurum&6:&5%{arena.8}%" to close then run [make player execute command "/teketek gir 8"]
format slot 8 of player with stained glass pane named "&1Arena 9" with lore "&e&nDurum&6:&5%{arena.9}%" to close then run [make player execute command "/teketek gir 9"]
format slot 9 of player with skeleton head named "&1Arena 1" with lore "&e&nDurum&6:&5%{arena.1}%||&e&nOyuncu&6:&6%{arenada.1}%&7/&52" to act unstealable
format slot 10 of player with skeleton head named "&1Arena 2" with lore "&e&nDurum&6:&5%{arena.2}%||&e&nOyuncu&6:&6%{arenada.2}%&7/&52" to act unstealable
format slot 11 of player with skeleton head named "&1Arena 3" with lore "&e&nDurum&6:&5%{arena.3}%||&e&nOyuncu&6:&6%{arenada.3}%&7/&52" to act unstealable
format slot 12 of player with skeleton head named "&1Arena 4" with lore "&e&nDurum&6:&5%{arena.4}%||&e&nOyuncu&6:&6%{arenada.4}%&7/&52" to act unstealable
format slot 13 of player with skeleton head named "&1Arena 5" with lore "&e&nDurum&6:&5%{arena.5}%||&e&nOyuncu&6:&6%{arenada.5}%&7/&52" to act unstealable
format slot 14 of player with skeleton head named "&1Arena 6" with lore "&e&nDurum&6:&5%{arena.6}%||&e&nOyuncu&6:&6%{arenada.6}%&7/&52" to act unstealable
format slot 15 of player with skeleton head named "&1Arena 7" with lore "&e&nDurum&6:&5%{arena.7}%||&e&nOyuncu&6:&6%{arenada.7}%&7/&52" to act unstealable
format slot 16 of player with skeleton head named "&1Arena 8" with lore "&e&nDurum&6:&5%{arena.8}%||&e&nOyuncu&6:&6%{arenada.8}%&7/&52" to act unstealable
format slot 17 of player with skeleton head named "&1Arena 9" with lore "&e&nDurum&6:&5%{arena.9}%||&e&nOyuncu&6:&6%{arenada.9}%&7/&52" to act unstealable
arg 1 is "gir":
arg 2 is set:
if {arena.%arg-2%} is set:
if {arena.1.oyuncu.1.dogma} is set:
if {arena.1.oyuncu.2.dogma} is set:
if {arenada.%arg-2%} is 0:
set {arena.%arg-2%.oyuncu1.isim} to player's name
set {arena.%arg-2%.oyuncu1.kdr} to {kdr.%player%}
set {arena.%arg-2%.oyuncu1.win} to {win.%player%}
set {arena.%arg-2%.oyuncu1.lose} to {lose.%player%}
set {arena.%arg-2%.oyuncu1} to player
add 1 to {arenada.%arg-2%}
set {%player%.sonarena} to {arena.%arg-2%}
set {oyunda.%player%} to true
teleport player to {arena.1.oyuncu.1.dogma}
set {kacakkontrol.%player%} to arg-2
send "&31. Arenada Yerini Aldın Rakibin Bekleniyor."
set {arena.%arg-2%} to "&5Bekleniyor..."
else if {arenada.%arg-2%} is 1:
set {arena.%arg-2%.oyuncu2.isim} to player's name
set {arena.%arg-2%.oyuncu2.kdr} to {kdr.%player%}
set {arena.%arg-2%.oyuncu2.win} to {win.%player%}
set {arena.%arg-2%.oyuncu2.lose} to {lose.%player%}
set {arena.%arg-2%.oyuncu2} to player
add 1 to {arenada.%arg-2%}
set {oyunda.%player%} to true
set {kacakkontrol.%player%} to arg-2
teleport player to {arena.1.oyuncu.2.dogma}
execute console command "arena hazir %arg-2%"
set {arena.%arg-2%} to "&5Oyun Başladı."
send "&7&m----------------------------------" to {arena.%arg-2%.oyuncu2}
send "&e&nRakibin:&f&n%{arena.%arg-2%.oyuncu1.isim}%" to {arena.%arg-2%.oyuncu2}
send "&e&nRakibin Kombosu:&f&n%{arena.%arg-2%.oyuncu1.kdr}%" to {arena.%arg-2%.oyuncu2}
send "&e&nRakibin Kazanması:&f&n%{arena.%arg-2%.oyuncu1.win}%" to {arena.%arg-2%.oyuncu2}
send "&e&nRakibin Kaybetmesi:&f%{arena.%arg-2%.oyuncu1.lose}%" to {arena.%arg-2%.oyuncu2}
send "&7&m----------------------------------" to {arena.%arg-2%.oyuncu2}
send "&7&m----------------------------------" to {arena.%arg-2%.oyuncu1}
send "&e&nRakibin:&f&n%{arena.%arg-2%.oyuncu2.isim}%" to {arena.%arg-2%.oyuncu1}
send "&e&nRakibin Kombosu:&f&n%{arena.%arg-2%.oyuncu2.kdr}%" to {arena.%arg-2%.oyuncu1}
send "&e&nRakibin Kazanması:&f&n%{arena.%arg-2%.oyuncu2.win}%" to {arena.%arg-2%.oyuncu1}
send "&e&nRakibin Kaybetmesi:&f%{arena.%arg-2%.oyuncu2.lose}%" to {arena.%arg-2%.oyuncu1}
send "&7&m----------------------------------" to {arena.%arg-2%.oyuncu1}
set {arena.%arg-2%.basladi} to true
clear {arena.%arg-2%.oyuncu1}'s inventory
clear {arena.%arg-2%.oyuncu2}'s inventory
give diamond pickaxe named "&61VS1" to {arena.%arg-2%.oyuncu2}
give diamond pickaxe named "&61VS1" to {arena.%arg-2%.oyuncu1}
give diamond sword named "&61VS1" to {arena.%arg-2%.oyuncu1}
give diamond sword named "&61VS1" to {arena.%arg-2%.oyuncu2}
give 64 yellow stained clay named "&61VS1" to {arena.%arg-2%.oyuncu1}
give 64 yellow stained clay named "&61VS1" to {arena.%arg-2%.oyuncu2}
give flint and steel named "&61VS1" to {arena.%arg-2%.oyuncu1}
give flint and steel named "&61VS1" to {arena.%arg-2%.oyuncu2}
equip {arena.%arg-2%.oyuncu2} with diamond helmet of protection 2
equip {arena.%arg-2%.oyuncu1} with diamond helmet of protection 2
equip {arena.%arg-2%.oyuncu2} with diamond chestplate of protection 2
equip {arena.%arg-2%.oyuncu1} with diamond chestplate of protection 2
equip {arena.%arg-2%.oyuncu2} with diamond leggings of protection 2
equip {arena.%arg-2%.oyuncu1} with diamond leggings of protection 2
equip {arena.%arg-2%.oyuncu2} with diamond boots of protection 2
equip {arena.%arg-2%.oyuncu1} with diamond boots of protection 2
teleport player to {arena.%arg-2%.oyuncu.1.dogma}
teleport {arena.%arg-2%.oyuncu1} to {arena.%arg-2%.oyuncu.2.dogma}
else:
send "Görmüyormusun Bu Arena Dolu."
else:
send "Arenada Hata Var Yetkiliye Bildir."
else:
send "Arenada Hata Var Yetkiliye Bildir"
else:
send "Böle Bir Arena Yok"
else:
send "Arena Kodu Girmeliydin."
arg 1 is "arena":
arg 2 is "belirle":
if player has permission "uch.admin":
give stick named "&5Arena-1" with lore "&5Sağ Tıkladıgınız Yer 1. Oyuncu||Sol Tıkladıgınız Yer 2. Oyuncuyu Belirler" to player
give stick named "&5Arena-2" with lore "&5Sağ Tıkladıgınız Yer 1. Oyuncu||Sol Tıkladıgınız Yer 2. Oyuncuyu Belirler" to player
give stick named "&5Arena-3" with lore "&5Sağ Tıkladıgınız Yer 1. Oyuncu||Sol Tıkladıgınız Yer 2. Oyuncuyu Belirler" to player
give stick named "&5Arena-4" with lore "&5Sağ Tıkladıgınız Yer 1. Oyuncu||Sol Tıkladıgınız Yer 2. Oyuncuyu Belirler" to player
give stick named "&5Arena-5" with lore "&5Sağ Tıkladıgınız Yer 1. Oyuncu||Sol Tıkladıgınız Yer 2. Oyuncuyu Belirler" to player
give stick named "&5Arena-6" with lore "&5Sağ Tıkladıgınız Yer 1. Oyuncu||Sol Tıkladıgınız Yer 2. Oyuncuyu Belirler" to player
give stick named "&5Arena-7" with lore "&5Sağ Tıkladıgınız Yer 1. Oyuncu||Sol Tıkladıgınız Yer 2. Oyuncuyu Belirler" to player
give stick named "&5Arena-8" with lore "&5Sağ Tıkladıgınız Yer 1. Oyuncu||Sol Tıkladıgınız Yer 2. Oyuncuyu Belirler" to player
give stick named "&5Arena-9" with lore "&5Sağ Tıkladıgınız Yer 1. Oyuncu||Sol Tıkladıgınız Yer 2. Oyuncuyu Belirler" to player
arg 1 is "oluştur":
arg 2 is set:
if {arena.%arg-2%} is not set:
set {arena.%arg-2%} to "&4Hazır"
send "&3Arena &b%arg-2% Oluşturuldu."
else:
send "&3Bu İsimli Bir Arena Var"
arg 1 is "sil":
arg 2 is set:
if {arena.%arg-2%} is set:
delete {arena.%arg-2%}
send "&3%arg-2% Arenası Silindi"
arg 1 is not set:
open chest with 2 rows named "&c&l1V1 Menüsü" to player
format slot 0 of player with stained glass pane named "&1Arena 1" with lore "&e&nDurum&6:&5%{arenada.1}%" to close then run [make player execute command "/teketek gir 1"]
format slot 1 of player with stained glass pane named "&1Arena 2" with lore "&e&nDurum&6:&5%{arena.1}%" to close then run [make player execute command "/teketek gir 2"]
format slot 2 of player with stained glass pane named "&1Arena 3" with lore "&e&nDurum&6:&5%{arena.1}%" to close then run [make player execute command "/teketek gir 3"]
format slot 3 of player with stained glass pane named "&1Arena 4" with lore "&e&nDurum&6:&5%{arena.1}%" to close then run [make player execute command "/teketek gir 4"]
format slot 4 of player with stained glass pane named "&1Arena 5" with lore "&e&nDurum&6:&5%{arena.1}%" to close then run [make player execute command "/teketek gir 5"]
format slot 5 of player with stained glass pane named "&1Arena 6" with lore "&e&nDurum&6:&5%{arena.1}%" to close then run [make player execute command "/teketek gir 6"]
format slot 6 of player with stained glass pane named "&1Arena 7" with lore "&e&nDurum&6:&5%{arena.1}%" to close then run [make player execute command "/teketek gir 7"]
format slot 7 of player with stained glass pane named "&1Arena 8" with lore "&e&nDurum&6:&5%{arena.1}%" to close then run [make player execute command "/teketek gir 8"]
format slot 8 of player with stained glass pane named "&1Arena 9" with lore "&e&nDurum&6:&5%{arena.1}%" to close then run [make player execute command "/teketek gir 9"]
format slot 9 of player with skeleton head named "&1Arena 1" with lore "&e&nDurum&6:&5%{arena.1}%||&e&nOyuncu&6:&6%{arenada.1}%&7/&52" to act unstealable
format slot 10 of player with skeleton head named "&1Arena 2" with lore "&e&nDurum&6:&5%{arena.2}%||&e&nOyuncu&6:&6%{arenada.2}%&7/&52" to act unstealable
format slot 11 of player with skeleton head named "&1Arena 3" with lore "&e&nDurum&6:&5%{arena.3}%||&e&nOyuncu&6:&6%{arenada.3}%&7/&52" to act unstealable
format slot 12 of player with skeleton head named "&1Arena 4" with lore "&e&nDurum&6:&5%{arena.4}%||&e&nOyuncu&6:&6%{arenada.4}%&7/&52" to act unstealable
format slot 13 of player with skeleton head named "&1Arena 5" with lore "&e&nDurum&6:&5%{arena.5}%||&e&nOyuncu&6:&6%{arenada.5}%&7/&52" to act unstealable
format slot 14 of player with skeleton head named "&1Arena 6" with lore "&e&nDurum&6:&5%{arena.6}%||&e&nOyuncu&6:&6%{arenada.6}%&7/&52" to act unstealable
format slot 15 of player with skeleton head named "&1Arena 7" with lore "&e&nDurum&6:&5%{arena.7}%||&e&nOyuncu&6:&6%{arenada.7}%&7/&52" to act unstealable
format slot 16 of player with skeleton head named "&1Arena 8" with lore "&e&nDurum&6:&5%{arena.8}%||&e&nOyuncu&6:&6%{arenada.8}%&7/&52" to act unstealable
format slot 17 of player with skeleton head named "&1Arena 9" with lore "&e&nDurum&6:&5%{arena.9}%||&e&nOyuncu&6:&6%{arenada.9}%&7/&52" to act unstealable
arg 1 is "yenile":
if player has permission "op":
execute player command "skript reload yay1"
arg 1 is "merkez":
arg 2 is set:
if {arena.%arg-2%} is set:
if targeted block is command block:
set {arena.%arg-2%.merkez} to location of targeted block
send "&5Merkez Belirlendi"
else:
send "Bu Bir Komut Bloğu Değil"
else:
send "İlk Önce Arenayı Oluşturmalısın"
else:
send "Bir Arena Seç"
command /sıfırla [<int>]:
permission: op
trigger:
arg 1 is set:
send "&5%{arenada.%arg-1%}% Kişi Vardı Sıfırlanıyor..."
delete {arenada.%arg-1%}
set {arenada.%arg-1%} to 0
delete {arena.%arg-1%.basladi}
#----------------------------------------------------------------------#Skull Head Skript#------------------------------------------------#
command /belirle:
trigger:
set {itemc} to player's tool
#----------------------------------------------------------------------#Set Login Script#-------------------------------------------------#
on rightclick with stick:
if player has permission "uhc.admin":
if tool's display name is "&5Arena-1":
set {arena.1.oyuncu.1.dogma} to location of player
send "&11. Arenanın 1. Oyuncu Bölgesi Ayarlandı"
if tool's display name is "&5Arena-2":
set {arena.2.oyuncu.1.dogma} to location of player
send "&12. Arenanın 1. Oyuncu Bölgesi Ayarlandı"
if tool's display name is "&5Arena-3":
set {arena.3.oyuncu.1.dogma} to location of player
send "&13. Arenanın 1. Oyuncu Bölgesi Ayarlandı"
if tool's display name is "&5Arena-4":
set {arena.4.oyuncu.1.dogma} to location of player
send "&14. Arenanın 1. Oyuncu Bölgesi Ayarlandı"
if tool's display name is "&5Arena-5":
set {arena.5.oyuncu.1.dogma} to location of player
send "&15. Arenanın 1. Oyuncu Bölgesi Ayarlandı"
if tool's display name is "&5Arena-6":
set {arena.6.oyuncu.1.dogma} to location of player
send "&16. Arenanın 1. Oyuncu Bölgesi Ayarlandı"
if tool's display name is "&5Arena-7":
set {arena.7.oyuncu.1.dogma} to location of player
send "&17. Arenanın 1. Oyuncu Bölgesi Ayarlandı"
if tool's display name is "&5Arena-8":
set {arena.8.oyuncu.1.dogma} to location of player
send "&18. Arenanın 1. Oyuncu Bölgesi Ayarlandı"
if tool's display name is "&5Arena-9":
set {arena.9.oyuncu.1.dogma} to location of player
send "&19. Arenanın 1. Oyuncu Bölgesi Ayarlandı"
on leftclick with stick:
if player has permission "uhc.admin":
if tool's display name is "&5Arena-1":
set {arena.1.oyuncu.2.dogma} to location of player
send "&11. Arenanın 2. Oyuncu Bölgesi Ayarlandı"
if tool's display name is "&5Arena-2":
set {arena.2.oyuncu.2.dogma} to location of player
send "&12. Arenanın 2. Oyuncu Bölgesi Ayarlandı"
if tool's display name is "&5Arena-3":
set {arena.3.oyuncu.2.dogma} to location of player
send "&13. Arenanın 2. Oyuncu Bölgesi Ayarlandı"
if tool's display name is "&5Arena-4":
set {arena.4.oyuncu.2.dogma} to location of player
send "&14. Arenanın 2. Oyuncu Bölgesi Ayarlandı"
if tool's display name is "&5Arena-5":
set {arena.5.oyuncu.2.dogma} to location of player
send "&15. Arenanın 2. Oyuncu Bölgesi Ayarlandı"
if tool's display name is "&5Arena-6":
set {arena.6.oyuncu.2.dogma} to location of player
send "&16. Arenanın 2. Oyuncu Bölgesi Ayarlandı"
if tool's display name is "&5Arena-7":
set {arena.7.oyuncu.2.dogma} to location of player
send "&17. Arenanın 2. Oyuncu Bölgesi Ayarlandı"
if tool's display name is "&5Arena-8":
set {arena.8.oyuncu.2.dogma} to location of player
send "&18. Arenanın 2. Oyuncu Bölgesi Ayarlandı"
if tool's display name is "&5Arena-9":
set {arena.9.oyuncu.2.dogma} to location of player
send "&19. Arenanın 2. Oyuncu Bölgesi Ayarlandı"
#---------------------------------------------------------------------#Anti Drop Skript#------------------------------------------------#
on drop:
if player doesn't have permission "admin":
cancel event
send "&7&l[&bIce&6Sky&5N&4T&7&l]&5Yere Eşya Atamazsınız"
else:
uncancel event
command /ver:
trigger:
give beacon named "&5Build UHC Menüsü &7- &7&oAcmak Icin Sag Tikla" to player
#-----------------------------------------------------#Reset Map Skript#-----------------------------------------------------------------#
command /temizle [<text>]:
permission: uhc.admin
permission message: &4Yetkin Yok
trigger:
arg 1 is set:
if {arena.%arg-1%} is set:
loop blocks in radius 100 of {arena.1.merkez}:
if loop-block is yellow stained clay:
set loop-block to air
else:
send "Bu Arena Daha AÇılmamış"
else:
send "Arena Belirtmedin"
#-----------------------------------------------------#Menü Skript#-----------------------------------------------------------------#
on rightclick with nether star or beacon:
if tool's display name is "&5Build UHC Menüsü &7- &7&oAcmak Icin Sag Tikla":
cancel event
wait 1.5 second
execute player command "teketek arenalar"
#-----------------------------------------------------#Death Skript#-----------------------------------------------------------------#
on death:
victim is player:
if {oyunda.%victim%} is set:
teleport victim to {spawn}
teleport attacker to {spawn}
broadcast "%attacker% %victim% 'i Yenerek Arenadan Galip Çıktı"
add 1 to {kdr.%attacker%}
add 1 to {win.%attacker%}
add 1 to {lose.%victim%}
delete {kdr.%victim%}
set {kdr.%victim%} to 0
set {_fw.x} to x-coordinate of attacker
set {_fw.y} to y-coordinate of attacker
set {_fw.z} to z-coordinate of attacker
make console execute command "summon FireworksRocketEntity %{_fw.x}% %{_fw.y}% %{_fw.z}% {LifeTime:0,Motion:[0.00,0.25,0.00],FireworksItem:{id:fireworks,Count:1,tag:{Fireworks:{Explosions:[{Type:4,Flicker:0,Trail:0,Colors:[3997440],FadeColors:[11250603]}]}}}}"
send "&b%victim%'i &3Katlettigin İçin 1 Kazanma Puanı Hanene Yazıldı Güncel Durum" to attacker
send "&e&nKazanma&6:&5%{win.%attacker%}%" to attacker
send "&e&nKombo&6:%{kdr.%attacker%}%" to attacker
send "&b%attacker% Seni Doğradı Güncel İstatisliklerin" to victim
send "&e&nKazanma&6:%{win.%victim%}%" to victim
send "&e&nKaybetme&6:%{lose.%victim%}%" to victim
clear {arena.%{kacakkontrol.%player%}%.oyuncu1}'s inventory
clear {arena.%{kacakkontrol.%player%}%.oyuncu2}'s inventory
set {arena.%{kacakkontrol.%player%}%} to "&aHarita Sıfırlanıyor.."
wait 5 second
execute console command "sıfırla %{kacakkontrol.%attacker%}%"
execute console command "temizle %{kacakkontrol.%attacker%}%"
set {arena.%{kacakkontrol.%player%}%} to "&aHazır."
teleport {spawn} to attacker
teleport {spawn} to victim
delete {oyunda.%attacker%}
delete {oyunda.%victim%}
heal attacker
#--------------------------------------------------#Score Board Skript#------------------------------------------------#
command /scoreboardt:
trigger:
set {kd.%player%} to {öldürme.%player%} / {ölme.%player%}
wipe player's sidebar
wait 1 tick
set name of sidebar of player to "&bIce&6Sky&5N&4T&7&l"
set score "&c&7&m---[&e&lPvp&7&m[---" in sidebar of player to 9
set score "&e&l>&b&nBuildUHC :" in sidebar of player to 8
set score "&e&l>&fKazanma:%{win.%player%}%" in sidebar of player to 7
set score "&e&l>&fKaybetme:%{lose.%player%}%" in sidebar of player to 6
set score "&e&l>&fKombo:%{kdr.%player%}%" in sidebar of player to 5
set score "&5&l>&b&nPvp:" in sidebar of player to 4
set score "&5&l>&fÖldürme:%{öldürme.%player%}%" in sidebar of player to 3
set score "&5&l>&fÖlme:%{ölme.%player%}%" in sidebar of player to 2
set score "&5&l>&fKda:%{öldürme.%player%}%&6/&f%{ölme.%player%}%" in sidebar of player to 1
every 10 second:
loop all players:
execute loop-player command "scoreboardt"
#--------------------------------------------------#Death Skript#------------------------------------------------#
on death of player:
clear drops
#--------------------------------------------------#Anti Command Skript#------------------------------------------------#
on command:
command is not "/scoreboardt":
if {oyunda.%player%} is set:
if player doesn't have permission "uhc.admin":
cancel event
send "Oyundayken Komut Kullanılamaz.."
else:
uncancel event
else:
uncancel event
#--------------------------------------------------#Kaçak Skript#------------------------------------------------#
on quit:
if {oyunda.%player%} is set:
kill the player
wait 1 second
delete {oyunda.%player%}
broadcast "&4&l&n%player% %{kacakkontrol.%player%}% Arenasında İken Oyundan Kaçtıgı İçin 30 Dakika Sunucumuzdan Yasaklandı"
execute console command "tempban %player% 30m"
if {arena.%{kacakkontrol.%player%}%.oyuncu1} is set:
teleport {arena.%{kacakkontrol.%player%}%.oyuncu1} to {spawn}
execute console command "sıfırla %{kacakkontrol.%player%}%"
execute console command "temizle %{kacakkontrol.%player%}%"
teleport {arena.%{kacakkontrol.%player%}%.oyuncu2} to {spawn}
set {arena.%{kacakkontrol.%player%}%} to "&aHazır."
add 2 to {kdr.%{arena.%{kacakkontrol.%player%}%.oyuncu2}%}
add 2 to {win.%{arena.%{kacakkontrol.%player%}%.oyuncu2}%}
add 2 to {lose.%{arena.%{kacakkontrol.%player%}%.oyuncu1}%}
delete {kdr.%{arena.%{kacakkontrol.%player%}%.oyuncu1}%}
set {kdr.%{arena.%{kacakkontrol.%player%}%.oyuncu1}%} to 0
else if {arena.%{kacakkontrol.%player%}%.oyuncu2} is set:
teleport {arena.%{kacakkontrol.%player%}%.oyuncu1} to {spawn}
teleport {arena.%{kacakkontrol.%player%}%.oyuncu2} to {spawn}
execute console command "sıfırla %{kacakkontrol.%player%}%"
execute console command "temizle %{kacakkontrol.%player%}%"
set {arena.%{kacakkontrol.%player%}%} to "&aHazır."
add 2 to {kdr.%{arena.%{kacakkontrol.%player%}%.oyuncu1}%}
add 2 to {win.%{arena.%{kacakkontrol.%player%}%.oyuncu1}%}
add 2 to {lose.%{arena.%{kacakkontrol.%player%}%.oyuncu2}%}
delete {kdr.%{arena.%{kacakkontrol.%player%}%.oyuncu2}%}
set {kdr.%{arena.%{kacakkontrol.%player%}%.oyuncu2}%} to 0
#------------------------------------------------#Spawn Skript#------------------------------------------------#
command /spawnbelirle:
trigger:
set {spawn} to location of player
command /spawn:
trigger:
if {spawn} is set:
teleport player to {spawn}
else:
send "Spawn Belirlenmemiş"
on join:
teleport player to {spawn}
#--------------------------------------------------#Break Skript#------------------------------------------------#
on break yellow stained clay:
if player doesn't have permission "uhc.admin":
if {oyunda.%player%} is set:
cancel event
set block to air
else:
cancel event
send "Sadece Build UHC De İken Blok Kırabilirsin.."
else:
uncancel event