- Katılım
- 5 Mayıs 2018
- Mesajlar
- 944
- Çözümler
- 1
- Elmaslar
- 367
- Puan
- 14.855
- Konum
- Antalya
- Discord İzni

- Minecraft
- Unutursun
Discord:
_thread
Bu Skript ile yün bloklarına parlama efekti verebilirsiniz. (Belirli aralıklarda)
Mantık olarak ; oyunda kare şekline sahip canlılara parlama
efekti verip onları belirli renklere sahip takımlara sokmak.
Slime, Magma cube ve shulker...
Bunu yapma amacım, sunucumda ki pazar yerlerine gece olduğu
zaman daha hoş bir hava katmasını istememdi...
KOD'U BURADA PAYLAŞIYORUM, GELİŞTİREBİLİRSİNİZ :)
SKBEE GEREKLİDİR!
Kod:
command /pos [<text>]:
trigger:
send "&epos %arg 1% seçildi"
set {location::%arg 1%} to location of player
command /parlamaekle:
trigger:
add "red", "aqua", "blue", "dark_purple", "gold", "yellow", "light_purple" and "green" to {_coloursMatch::*}
loop 8 times:
add 1 to {_team}
execute console command "team add %{_team}%"
execute console command "team modify %{_team}% color %{_coloursMatch::%{_team}%}%"
glowSpawner("red")
glowSpawner("blue")
glowSpawner("light green")
glowSpawner("yellow")
glowSpawner("cyan")
glowSpawner("orange")
glowSpawner("pink")
glowSpawner("purple")
load:
wait a seconds
set {_loc1} to {location::1}
add 15 to x-coordinate of {_loc1}
add 15 to z-coordinate of {_loc1}
remove 5 from y-coordinate of {_loc1}
loop all entities in radius 60 of location of {_loc1} where [input is a magma cube]:
add loop-entity to {_a::*}
loop {_a::*}:
set {_uuid} to uuid of loop-value
execute console command "team leave %{_uuid}%"
kill loop-value
loop 8 times:
add 1 to {_team}
execute console command "team remove %{_team}%"
function searchTeamSize(type: text) :: NUMBER:
add "red", "aqua", "blue", "dark_purple", "gold", "yellow", "light_purple" and "green" to {_coloursMatch::*}
{_type} = "light green":
set {_type} to "green"
{_type} = "purple":
set {_type} to "dark_purple"
{_type} = "pink":
set {_type} to "light_purple"
{_type} = "cyan":
set {_type} to "aqua"
{_type} = "orange":
set {_type} to "gold"
loop {_coloursMatch::*}:
add 1 to {_index}
{_type} = loop-value:
set {_out} to {_index}
stop loop if {_type} = loop-value
return {_out}
function glowSpawner(type: text):
set {_loc1} to {location::1}
set {_loc2} to {location::2}
remove 0.9 from y-coordinate of {_loc1}
remove 0.5 from y-coordinate of {_loc2}
loop blocks within {_loc1} and {_loc2}:
set {_t} to "%{_type}% wool" parsed as itemType
loop-block is {_t}:
set {_l} to location of loop-block
remove 0.56 from y-coordinate of {_l}
add {_l} to {_location::%{_type}%::*}
loop {_location::%{_type}%::*}:
add 1 to {_x}
spawn magma cube at loop-value
set {_a::%{_x}%} to last spawned entity
apply glowing and invisibility potion of tier 1 without any particles whilst hiding the potion icon to {_a::%{_x}%} for 99999999 seconds
add nbt from "{NoAI:1b,Gravity:1b,Invisible:1b,Size:1,Silent:1b,Invulnerable:1b}" to nbt compound of {_a::%{_x}%}
set {_uuid} to uuid of {_a::%{_x}%}
set {_team} to searchTeamSize("%{_type}%")
execute console command "team join %{_team}% %{_uuid}%"
Hoşunuza gitti ve sunucunuzda kullanmak mı istiyorsunuz?
Geliştirmek için bana ulaşın!

Bir etkinlikte kullanmak için düzenlemek istedim etkinlikte belirli blokları bu şekilde renkli göstermek için ondan sordum. Yanıtınız için teşekkür ederim 