JohnWick
Zombi Katili
- Mesajlar
- 191
- En iyi cevaplar
- 0
- Beğeniler
- 39
- Puanları
- 360
- Skript Plugininin Sürümü
- 2.3.7
- Oyun Sürümü
- 1.12.2
s.a forumgamer ailesi sunucumda başlıktanda göreceniz şekilde bu skritpler fakat bu skritpler ışınlanırken kontrol ediyor galiba buda suncuuy yoruyor bunun bir çözmü varmı skriptlerden bir tanesini atıcam aşağı
Kod:
command /tpa <player>:
trigger:
if player is not arg 1:
set {essentials.tpa.%argument 1%} to player
send "&4&lM&f&lP &8> &b%{essentials.tpa.%argument 1%}% Yanına gelmek istiyor" to argument 1
send "&4&lM&f&lP &8> &b30 saniye içinde kabul etmezsen otomotik olarak rededilecek." to argument 1
send "&4&lM&f&lP &8> &b/kabulet" to argument 1
send "&4&lM&f&lP &8> &b/reddet" to argument 1
message "&4&lM&f&lP &8> &bIşınlanma isteğin gönderildi"
message "&4&lM&f&lP &8> &b30 saniye yanıt gelmezse otomotik olarak rededilecek"
wait 30 second
delete {essentials.tpa.%argument 1%}
stop trigger
else:
send "&4&lM&f&lP &8> &bKendine ışınlanamazsın!" to player
stop trigger
on command "/tpa":
if {bekle.%player%} is not set:
set {bekle.%player%} to now
else:
set {_difference} to difference between {bekle.%player%} and now
if {_difference} is less than 30 second:
cancel event
set {_difference} to difference between {_difference} and 30 second
message "&4&lM&f&lP &8> &bBu komutu kullanmak için %{_difference}% süre beklemelisin. "
command /kabulet:
trigger:
if {essentials.tpa.%player%} is not set:
message "&4&lM&f&lP &8> &bIşınlanma isteği gelmemiş"
stop trigger
else:
send "&4&lM&f&lP &8> &b3 saniye bekle" to {essentials.tpa.%player%}
send "&4&lM&f&lP &8>&b3 saniye bekleyin"
set {_x} to "%x-coordinate of {essentials.tpa.%player%}%"
set {_z} to "%z-coordinate of {essentials.tpa.%player%}%"
wait 3 second
if "%{_x}%" is not "%x-coordinate of {essentials.tpa.%player%}%":
send "&4&lM&f&lP &8>&bHareket ettiginiz icin isinlanma gerceklesmedi!"
delete {_x}
delete {_y}
stop
if "%{_z}%" is not "%z-coordinate of {essentials.tpa.%player%}%":
send "&4&lM&f&lP &8>&bHareket ettiginiz icin isinlanma gerceklesmedi!"
delete {_x}
delete {_y}
stop
set {_kontrol} to location of player
if block above {_kontrol} is air:
if block above {_kontrol} is air:
if block below {_kontrol} is not air or lava:
teleport {essentials.tpa.%player%} to location of player
send "&4&lM&f&lP &8>&b%player% Yanına gittin" to {essentials.tpa.%player%}
send "&4&lM&f&lP &8>&b%{essentials.tpa.%player%}% yanına geldi" to player
delete {essentials.tpa.%player%}
delete {_kontrol}
stop
else:
send "&4&lM&f&lP &8>&baltında boşluk veya lav var" to {essentials.tpa.%player%}
delete {_x}
delete {_y}
delete {essentials.tpa.%player%}
delete {_kontrol}
else:
send "&4&lM&f&lP &8>&bduvarın içi" to {essentials.tpa.%player%}
delete {_x}
delete {_y}
delete {essentials.tpa.%player%}
delete {_kontrol}
else:
send "&4&lM&f&lP &8>&bduvarın içi 2" to {essentials.tpa.%player%}
delete {_x}
delete {_y}
delete {essentials.tpa.%player%}
delete {_kontrol}
command /reddet:
trigger:
if {essentials.tpa.%player%} is not set:
message "&eIşınlanma isteği gelmemiş"
stop trigger
else:
send "&4&lM&f&lP &8>&bRededildi" to player
send "&4&lM&f&lP &8>&b%player% ışınlanma isteğini reddetti" to {essentials.tpa.%player%}
delete {essentials.tpa.%player%}
stop trigger