MobStack Hakkında
Bu Script lag azaltmak için çetelerin İstifleme oluşur:
Diger Skriptlerim: onlyproxyjoin
: Gunluk Maas
Bu Script lag azaltmak için çetelerin İstifleme oluşur:
Kod:
#TurboMC Gururla Sunar Anilcan Barsan
options:
MaxStack: 100 #After this the stack reaches this value it will stop and start a new one
Radius: 16 #16 Yazan yeri Değiştirerek kaç blok sınırdakileri birleştriceğini ayarlıyabilirsiniz
on spawn:
if name of event-entity is not set:
set {n.%event-entity%} to 1
set name of event-entity to "&7x&a&l%{n.%event-entity%}%"
while event-entity is alive:
loop all entities:
if {not.%loop-entity%} does not exist:
set {not.%loop-entity%} to false
if {not.%event-entity%} does not exist:
set {not.%event-entity%} to false
if event-entity is not loop-entity:
if loop-entity is not a player:
if name of loop-entity is "&7x&a&l%{n.%loop-entity%}%":
if name of event-entity is "&7x&a&l%{n.%event-entity%}%":
if type of loop-entity is type of event-entity:
if distance between event-entity and loop-entity is smaller than {@Radius}:
if {not.%loop-entity%} is false:
if {not.%event-entity%} is false:
set {t.%event-entity%} to ({n.%event-entity%} + {n.%loop-entity%})
if {t.%event-entity%} < ({@MaxStack} + 1):
delete loop-entity
wait 1 tick
set {n.%event-entity%} to ({n.%event-entity%} + {n.%loop-entity%})
set name of event-entity to "&7x&a&l%{n.%event-entity%}%"
wait 1 tick
on death:
if victim is not a player:
if name of victim is "&7x&a&l%{n.%victim%}%":
if name of victim is "&7x&a&l1":
else:
set {v.%victim%} to type of victim
set {not.%victim%} to true
spawn 1 of {v.%victim%} at location of victim
set {n.%last spawned entity%} to ({n.%victim%} - 1)
set name of last spawned entity to "&7x&a&l%{n.%last spawned entity%}%"
Diger Skriptlerim: onlyproxyjoin
: Gunluk Maas