options:
prefix: &r &e&l&m[&bLobi&r&e&l&m]&r &8&l>&r&c
lobi.ismi: world
command /lobi [<text>]:
trigger:
if arg-1 is "ayarla" or "set":
set {lobi.spawn} to location of player
send "{@prefix} Lobi Ayarlandı." to player
if arg-1 isn't set:
if {lobi.spawn} is set:
send "{@prefix} Lobiye Aktarılıyorsunuz." to player
wait 0.5 second
teleport player to {lobi.spawn}
wait 1 second
clear player's inventory
give 1 Firework Rocket named "&9&l Uç" with lore "&6&lSağ Tıkla||&9&lSol Tıkla" to player
send "{@prefix} Lobi Hakkında Bilgiler İçin &m| &r&e/lobi bilgi&r&c&m |&r&c Yazınız." to player
else:
send "{@prefix} Lobi Henüz Ayarlanmamış."
if arg-1 is "bilgi" or "help":
send "&8&l&m------------------------" to player
send " &8&l> &r&cLobi Bilgi" to player
send " &8&l> &r&eLobiye Işınlanmak İçin > /lobi" to player
send " &8&l> &r&eLobide Konuşabilmek İçin Vip Olmanız Gerekir." to player
send "&8&l&m------------------------" to player
if player is op:
send "&8&l&m------------------------" to player
send " &8&l> &r&cLobi Admin Bilgi" to player
send " &8&l> &r&eLobiyi Ayarlamak İçin > /lobi Ayarla/set" to player
send "&8&l&m------------------------" to player
on rightclick with firework rocket:
set {_sure} to difference between {uc.%player%.bekle} and now
if {_sure} is less than 5 second:
cancel event
send " &8&l> &eBiraz Bekleyin."
stop
set {uc.%player%} to true
name of player's tool contains "&9&l Uç"
set {_lok} to location of player
play raw sound "mob.wither.shoot" at {_lok} with pitch 1 volume 10
push the player upwards at speed 2
set {uc.%player%} to false
set {uc.%player%.bekle} to now
cancel event
on leftclick with firework rocket:
set {_sure2} to difference between {uc.%player%.bekle2} and now
if {_sure2} is less than 5 second:
cancel event
send " &8&l> &eBiraz Bekleyin."
stop
set {uc.%player%} to true
name of player's tool contains "&9&l Uç"
set {_lok} to location of player
play raw sound "mob.enderdragon.wings" at {_lok} with pitch 1 volume 10
push the player forward at speed 5
set {uc.%player%} to false
set {uc.%player%.bekle2} to now
cancel event
every 3 second:
loop all players:
if loop-player's World is "{@lobi.ismi}":
remove speed from loop-player
apply speed to loop-player for 3 seconds
remove jump from loop-player
apply jump to loop-player for 3 seconds
wait 1 tick
#vip
command /uc:
trigger:
if player's World is "{@lobi.ismi}":
if player has permission "vip.lobi":
if {uc.vip.%player%} isn't set:
execute console command "fly %player%"
else:
execute console command "fly %player%"
else:
send "{@prefix}Bu Bir Vip Komutu Kullanmak İçin Vip Olmalısınız!!"
command /pet <text>:
trigger:
if arg-1 is "zombi":
if player's World is "{@lobi.ismi}":
if player has permission "vip.lobi":
if {pet.vip.%player%} isn't set:
spawn a zombie at player
set spawned zombie's name to "&6&l Evcil Zombi "
while spawned zombie exists:
make spawned zombie pathfind to player with speed 1.5
if distance between the player and spawned zombie is smaller than 3:
apply slowness 999999 to spawned zombie for 999999 second
else:
remove slowness from spawned zombie
wait 1 second
if arg-1 is "kurt":
if player's World is "{@lobi.ismi}":
if player has permission "vip.lobi":
if {pet.vip.%player%} isn't set:
set {pet.vip.%player%} to "1"
spawn a wolf at player
set spawned wolf's name to "&6&l Evcil Kurt "
while spawned wolf exists:
make spawned wolf pathfind to player with speed 1.5
if distance between the player and spawned wolf is smaller than 3:
apply slowness 999999 to spawned wolf for 999999 second
else:
remove slowness from spawned wolf
wait 1 second
if arg-1 is "oldur":
if player has permission "vip.lobi":
if {pet.vip.%player%} is set:
kill the spawned wolf
kill the spawned zombie
delete {pet.vip.%player%}
on chat:
World is "{@lobi.ismi}":
if player has permission "vip.lobi":
else:
cancel event