1- / 1vs1 player is playing against opposite side of the summer 1 inventory is hitting but the invitee does not go to the message that sent the invite you have sent a war invite to the player soyle istiom player.
2-even if you do not invite players to kill each other assada on death part comes out in the normal game
3-The winner of the game is immediately warmed up by spawn, but I want you to stay there for 10 seconds and I want you to get the effects out of the air fountain and the player who won the battle winner and chate {winanoyuncu} in the battle of 1vs1
Rejoice if you correct
2-even if you do not invite players to kill each other assada on death part comes out in the normal game
3-The winner of the game is immediately warmed up by spawn, but I want you to stay there for 10 seconds and I want you to get the effects out of the air fountain and the player who won the battle winner and chate {winanoyuncu} in the battle of 1vs1
Rejoice if you correct
code_language.skript:
options:
p: &6&l1VS1
command /arena [<text>] [<text>]:
trigger:
if arg 1 isn't set:
send "{@p} &a/arena setlobby"
send "{@p} &a/arena create [arena]"
send "{@p} &a/arena remove [arena]"
send "{@p} &a/arena setspawn1 [arena]"
send "{@p} &a/arena setspawn2 [arena]"
send "{@p} &a/arena SetInv [arena]"
if arg 1 is "setlobby":
set {lobby} to location of player
send "{@p} &aLobby Olusturuldu!"
if arg 1 is "create":
if arg 2 isn't set:
send "{@p} &cLutfen Bir Arena Ismi Secin!"
else:
{duel.arenas::*} contains arg 2:
send "{@p} &cBu Arena Zaten Mevcut"
else:
add arg 2 to {duel.arenas::*}
send "{@p} &aArena &c%arg 2% &aEklendi!"
if arg 1 is "remove":
if arg 2 isn't set:
send "{@p} &cLutfen Bir Arena Ismi Secin!"
else:
{duel.arenas::*} contains arg 2:
remove arg 2 from {duel.arenas::*}
delete {duel.%arg 2%.spawn1}
delete {duel.%arg 2%.spawn2}
send "{@p} &aArena &c%arg 2% &aSilindi!"
else:
send "{@p} &cArena Bulunamadi!"
if arg 1 is "setspawn1":
if arg 2 isn't set:
send "{@p} &cLutfen Bir Arena Ismi Secin!"
else:
{duel.arenas::*} contains arg 2:
set {duel.%arg 2%.spawn1} to location of player
send "{@p} &c%arg 2% &aArenanin &71. &aSpawn Noktasi Olusturuldu!"
else:
send "{@p} &cArena Bulunamadi!"
if arg 1 is "setspawn2":
if arg 2 isn't set:
send "{@p} &cLutfen Bir Arena Ismi Secin!"
else:
{duel.arenas::*} contains arg 2:
set {duel.%arg 2%.spawn2} to location of player
send "{@p} &c%arg 2% &aArenanin &72. &aSpawn Noktasi Olusturuldu!"
else:
send "{@p} &cArena Bulunamadi!"
if arg 1 is "setInv":
if arg 2 isn't set:
send "{@p} &cLutfen Bir Kit Ismi Secin!"
else:
{duel.arenas::*} contains arg 2:
set {duel.%arg 2%.helmet} to helmet of the player
set {duel.%arg 2%.chestplate} to chestplate of the player
set {duel.%arg 2%.leggings} to leggings of the player
set {duel.%arg 2%.boots} to boots of the player
set {duel.%arg 2%.inventory} to player's serialized inventory
send "{@p} &aArena Icin Itemler Secildi!"
else:
send "{@p} &cArena Bulunamadi!"
if arg 1 is "liste":
open chest with 6 row named "&6&lArenas" to player
loop {duel.arenas::*}:
add 1 to {_slot}
format slot {_slot}-1 of player with diamond chestplate named "%loop-value%" to close
command /1vs1 [<player>] [<text>]:
trigger:
if {oyunda.%player%} is true:
send "{@p} &cZaten Oyundasin!"
else:
if {oyunda.%arg 1%} is true:
send "{@p} &cOyuncu Suan Oyunda!"
else:
if arg 1 isn't set:
send "{@p} &a/1vs1 [oyuncu] [arena]"
else:
if arg 2 isn't set:
send "{@p} &cLutfen Bir Arena Secin!"
else:
{duel.arenas::*} contains arg 2:
open chest with 3 row named "&6&l1vs1 davet" to arg 1
format slot 4 of arg 1 with diamond chestplate named "&a&m==========&7/ &cISTEK &8\&a&m==========" with lore " &6&m=====&7/ &a&lGonderen: &6&l%player% &7\&6&m===== || &6&m=====&7/ &a&lArena: &6&lArena1 &8\&6&m-----||&a&m==========&7/ &cISTEK &7\&7&m==========" to close
format slot 21 of arg 1 with green stained Clay named "&aKabul Et" to close then run "Kabulet %arg 1% %player% %arg 2%"
format slot 23 of arg 1 with red stained Clay named "&cReddet" to close then run "reddet %arg 1% %player% %arg 2%"
command /reddet [<player>] [<player>] [<text>]:
trigger:
send "{@p} &c%arg 1% &aAdli Oyuncu Duello Istegini &cReddetti!" to arg 2
send "{@p} &c%arg 2% &aAdli Oyuncunun Duello Istegini &cReddettin!" to arg 1
command /kabulet [<player>] [<player>] [<text>]:
trigger:
send "{@p} &c%arg 1% &aAdli Oyuncu Duello Istegini Kabul Etti!" to arg 2
send "{@p} &aOyun Basliyor Lutfen Bekleyin!" to arg 2
send "{@p} &c%arg 2% &aAdli Oyuncunun Duello Istegini Kabul Ettin!" to arg 1
send "{@p} &aOyun Basliyor Lutfen Bekleyin!" to arg 1
wait 2 seconds
set {oyunda.%arg 1%} to true
set {oyunda.%arg 2%} to true
teleport arg 1 to {duel.%arg 3%.spawn1}
teleport arg 2 to {duel.%arg 3%.spawn2}
restore inventory of arg 1 from variable {duel.%arg 3%.inventory}
restore inventory of arg 2 from variable {duel.%arg 3%.inventory}
send "{@p} &aOyun Basladi! Iyi Sanslar." to arg 1
send "{@p} &aOyun Basladi! Iyi Sanslar." to arg 2
on death:
set {oyunda.%attacker%} to false
teleport attacker to {lobby}
set {oyunda.%victim%} to false
send "{@p} &c%attacker% &aKazandi!" to attacker
send "{@p} &c%attacker% &aKazandi!" to victim
on respawn:
teleport player to {lobby}
Last edited: