Harun553
Zombi Geldi, Beni Yedi
- Katılım
- 3 Eylül 2014
- Mesajlar
- 260
- Elmaslar
- 97
- Puan
- 13.950
- Konum
- Ankara
- Minecraft
- HarunBulbull
Discord:
HarunBulbull#8233
Selamlar saygıdeğer forum üyeleri,
Bugün sizlere yapmış olduğum çarkıfelek skriptimi tanıtacağım.
Skripti aslen skyblock sunucuları için hazırladım. Ancak ödülleri düzenleyebilirsiniz.
Peki ne bu çarkı felek?
Çarkı felek için dikey 3x3 blokluk bir alana ihtiyacımız var. Ortadaki bloğun üstüne bir adet tabela koyacağız, geriye kalan 8 blok ise çarkıfelek misali dönecekler. Üst ortaya denk gelen blok eğer şans sandığı değilse; 1 ila 16 arasında rastgele bir sayı ile çarpıp sizlere direk veriyor.
Peki Şans Sandığı ne?
Şans sandığı da bir nevi bir CS:GO tipi kasa ancak içinden elmas veya zümrüt veya altın veya demir blok (x16) çıkıyor.
NOT: Default olarak 2000 oyun parası ile oyuna giriliyor ancak bu miktarı değiştirebilir ya da günlük ödül skriptiniz varsa ona bağlayabilirsiniz.
Function konusunda pek iyi değilim ancak bu skriptimde denemek istedim. Büyüklerimden şimdiden özür diliyorum.
Konuyla ilgili video:
Gerekli Pluginler: TuSKe, Skript (2.2 veya üzeri!), Chestcommands, HolographicDisplays
Bugün sizlere yapmış olduğum çarkıfelek skriptimi tanıtacağım.
Skripti aslen skyblock sunucuları için hazırladım. Ancak ödülleri düzenleyebilirsiniz.
Peki ne bu çarkı felek?
Çarkı felek için dikey 3x3 blokluk bir alana ihtiyacımız var. Ortadaki bloğun üstüne bir adet tabela koyacağız, geriye kalan 8 blok ise çarkıfelek misali dönecekler. Üst ortaya denk gelen blok eğer şans sandığı değilse; 1 ila 16 arasında rastgele bir sayı ile çarpıp sizlere direk veriyor.
Peki Şans Sandığı ne?
Şans sandığı da bir nevi bir CS:GO tipi kasa ancak içinden elmas veya zümrüt veya altın veya demir blok (x16) çıkıyor.
NOT: Default olarak 2000 oyun parası ile oyuna giriliyor ancak bu miktarı değiştirebilir ya da günlük ödül skriptiniz varsa ona bağlayabilirsiniz.
%20 Çimen Bloğu
%20 Kömür Bloğu
%20 Altın Blok
%15 Demir Blok
%10 Elmas Blok
%10 Şanslı Sandık
%5 Zümrüt Blok
%20 Kömür Bloğu
%20 Altın Blok
%15 Demir Blok
%10 Elmas Blok
%10 Şanslı Sandık
%5 Zümrüt Blok
%25 Elmas Blok (x16)
%25 Zümrüt Blok (x16)
%25 Altın Blok (x16)
%25 Demir Blok (x16)
%25 Zümrüt Blok (x16)
%25 Altın Blok (x16)
%25 Demir Blok (x16)
Function konusunda pek iyi değilim ancak bu skriptimde denemek istedim. Büyüklerimden şimdiden özür diliyorum.
Konuyla ilgili video:
Gerekli Pluginler: TuSKe, Skript (2.2 veya üzeri!), Chestcommands, HolographicDisplays
Kod:
on load:
delete {blocklist::*}
loop 10 times:
add "elmas" to {blocklist::*}
loop 5 times:
add "zümrüt" to {blocklist::*}
loop 20 times:
add "altın" to {blocklist::*}
loop 15 times:
add "demir" to {blocklist::*}
loop 20 times:
add "çimen" to {blocklist::*}
loop 20 times:
add "kömür" to {blocklist::*}
loop 10 times:
add "sandık" to {blocklist::*}
delete {sandiklist::*}
loop 25 times:
add "elmas" to {sandiklist::*}
loop 25 times:
add "zümrüt" to {sandiklist::*}
loop 25 times:
add "demir" to {sandiklist::*}
loop 25 times:
add "altın" to {sandiklist::*}
function blockdöndür():
set block at location of {blockmg8} to {blockmg7}
set block at location of {blockmg7} to {blockmg6}
set block at location of {blockmg6} to {blockmg5}
set block at location of {blockmg5} to {blockmg4}
set block at location of {blockmg4} to {blockmg3}
set block at location of {blockmg3} to {blockmg2}
set block at location of {blockmg2} to {blockmg1}
set block at location of {blockmg1} to {blockmg8}
function sanssandigi1():
set {esyaçf} to random element out of {sandiklist::*}
set {itemss9} to {itemss8}
set {itemss8} to {itemss7}
set {itemss7} to {itemss6}
set {itemss6} to {itemss5}
set {itemss5} to {itemss4}
set {itemss4} to {itemss3}
set {itemss3} to {itemss2}
set {itemss2} to {itemss1}
if {esyaçf} is "elmas":
set {itemss1} to diamond block
stop
if {esyaçf} is "zümrüt":
set {itemss1} to emerald block
stop
if {esyaçf} is "demir":
set {itemss1} to iron block
stop
if {esyaçf} is "altın":
set {itemss1} to gold block
stop
function sanssandigi():
create a gui with virtual chest with 3 rows named "&4&l○ Şans Sandığı ○":
make gui integers from 0 to 26 with black stained glass pane named "&6"
make gui integers from 9 to 17 with air
make gui integers from 2 to 6 with red stained glass pane named "&6"
make gui integers from 3 to 5 with yellow stained glass pane named "&6"
make gui integers from 20 to 24 with red stained glass pane named "&6"
make gui integers from 21 to 23 with yellow stained glass pane named "&6"
make gui 22 with green stained glass pane named "&c"
make gui 4 with green stained glass pane named "&c"
loop 10 times:
wait 2 tick
sanssandigi1()
make gui 17 with {itemss9}
make gui 16 with {itemss8}
make gui 15 with {itemss7}
make gui 14 with {itemss6}
make gui 13 with {itemss5}
make gui 12 with {itemss4}
make gui 11 with {itemss3}
make gui 10 with {itemss2}
make gui 9 with {itemss1}
loop 8 times:
wait 4 tick
sanssandigi1()
make gui 17 with {itemss9}
make gui 16 with {itemss8}
make gui 15 with {itemss7}
make gui 14 with {itemss6}
make gui 13 with {itemss5}
make gui 12 with {itemss4}
make gui 11 with {itemss3}
make gui 10 with {itemss2}
make gui 9 with {itemss1}
loop 7 times:
wait 5 tick
sanssandigi1()
make gui 17 with {itemss9}
make gui 16 with {itemss8}
make gui 15 with {itemss7}
make gui 14 with {itemss6}
make gui 13 with {itemss5}
make gui 12 with {itemss4}
make gui 11 with {itemss3}
make gui 10 with {itemss2}
make gui 9 with {itemss1}
loop 5 times:
wait 7 tick
sanssandigi1()
make gui 17 with {itemss9}
make gui 16 with {itemss8}
make gui 15 with {itemss7}
make gui 14 with {itemss6}
make gui 13 with {itemss5}
make gui 12 with {itemss4}
make gui 11 with {itemss3}
make gui 10 with {itemss2}
make gui 9 with {itemss1}
loop 3 times:
wait 8 tick
sanssandigi1()
make gui 17 with {itemss9}
make gui 16 with {itemss8}
make gui 15 with {itemss7}
make gui 14 with {itemss6}
make gui 13 with {itemss5}
make gui 12 with {itemss4}
make gui 11 with {itemss3}
make gui 10 with {itemss2}
make gui 9 with {itemss1}
loop 2 times:
wait 10 tick
sanssandigi1()
make gui 17 with {itemss9}
make gui 16 with {itemss8}
make gui 15 with {itemss7}
make gui 14 with {itemss6}
make gui 13 with {itemss5}
make gui 12 with {itemss4}
make gui 11 with {itemss3}
make gui 10 with {itemss2}
make gui 9 with {itemss1}
wait 10 tick
close {çfsans}'s inventory view
give 16 of {itemss5} to {çfsans}
open last gui to {çfsans}
function blockbaşlangıç():
set line 4 of {çftabela} to "&lDönüyor..."
set {blockgüncel} to random element out of {blocklist::*}
if {blockgüncel} is "elmas":
set block at location of {blockmg1} to diamond block
if {blockgüncel} is "zümrüt":
set block at location of {blockmg1} to emerald block
if {blockgüncel} is "altın":
set block at location of {blockmg1} to gold block
if {blockgüncel} is "demir":
set block at location of {blockmg1} to iron block
if {blockgüncel} is "kömür":
set block at location of {blockmg1} to coal block
if {blockgüncel} is "çimen":
set block at location of {blockmg1} to grass block
if {blockgüncel} is "sandık":
set block at location of {blockmg1} to chest
wait 4 tick
if {blockmg8} is stone block:
set block at location of {blockmg8} to {blockmg7}
set block at location of {blockmg7} to {blockmg6}
set block at location of {blockmg6} to {blockmg5}
set block at location of {blockmg5} to {blockmg4}
set block at location of {blockmg4} to {blockmg3}
set block at location of {blockmg3} to {blockmg2}
set block at location of {blockmg2} to {blockmg1}
blockbaşlangıç()
else:
loop 10 times:
wait 3 tick
blockdöndür()
loop 8 times:
wait 4 tick
blockdöndür()
loop 7 times:
wait 5 tick
blockdöndür()
loop 5 times:
wait 7 tick
blockdöndür()
loop 3 times:
wait 9 tick
blockdöndür()
loop 2 times:
wait 10 tick
blockdöndür()
wait 1 tick
set {blockblock} to {blockmg2}
if {blockmg2} is diamond block:
set {çfx} to random integer between 1 and 16
set line 4 of {çftabela} to "&l%{çfx}% Elmas B."
give {çfx} of {blockmg2} to {çf::oyuncu}
if {blockmg2} is emerald block:
set {çfx} to random integer between 1 and 16
set line 4 of {çftabela} to "&l%{çfx}% Zümrüt B."
give {çfx} of {blockmg2} to {çf::oyuncu}
if {blockmg2} is gold block:
set {çfx} to random integer between 1 and 16
set line 4 of {çftabela} to "&l%{çfx}% Altın B."
give {çfx} of {blockmg2} to {çf::oyuncu}
if {blockmg2} is iron block:
set {çfx} to random integer between 1 and 16
set line 4 of {çftabela} to "&l%{çfx}% Demir B."
give {çfx} of {blockmg2} to {çf::oyuncu}
if {blockmg2} is grass block:
set {çfx} to random integer between 1 and 16
set line 4 of {çftabela} to "&l%{çfx}% Çimen"
give {çfx} of {blockmg2} to {çf::oyuncu}
if {blockmg2} is dirt block:
set {çfx} to random integer between 1 and 16
set line 4 of {çftabela} to "&l%{çfx}% Çimen"
give {çfx} of {blockmg2} to {çf::oyuncu}
if {blockmg2} is coal block:
set {çfx} to random integer between 1 and 16
give {çfx} of {blockmg2} to {çf::oyuncu}
if {blockmg2} is Chest:
set line 4 of {çftabela} to "&lŞans Sandığı"
give 1 of chest named "&3○ Şans Sandığı ○" to {çf::oyuncu}
wait 2 tick
set block at location of {blockmg3} to {blockmg2}
wait 3 tick
set block at location of {blockmg4} to {blockmg2}
wait 3 tick
set block at location of {blockmg5} to {blockmg2}
wait 3 tick
set block at location of {blockmg6} to {blockmg2}
wait 3 tick
set block at location of {blockmg7} to {blockmg2}
wait 3 tick
set block at location of {blockmg8} to {blockmg2}
wait 3 tick
set block at location of {blockmg1} to {blockmg2}
wait 10 tick
set {blckdzlt} to 0
loop 8 times:
add 1 to {blckdzlt}
set block at location of {blockmg%{blckdzlt}%} to stone
delete {çf::*}
set line 4 of {çftabela} to "&lBekleniyor..."
delete holo object "çf"
create holo object "&9○ ÇARKI FELEK ○; &f&oBekleniyor..." with id "çf" at location of {çfholo}
command /çarkıfelek [<text>] [<int>]:
aliases: çf, carkifelek
trigger:
if arg-1 is "holo":
delete holo object "çf"
set {çfholo} to location of player
create holo object "&9○ ÇARKI FELEK ○; &f&oBekleniyor..." with id "çf" at location of {çfholo}
if arg-1 is "tabela":
if player have the permission "sk.admin":
if target block is a sign:
set {çftabela} to target block
set line 1 of target block to "&l^"
set line 2 of target block to "&l|"
set line 3 of target block to "&lÖdül:"
send "&8[&6ÇarkıFelek&8] » &7Başarıyla ayarlandı."
stop
else:
send "&8[&6ÇarkıFelek&8] » &7Bir tabelaya bakmalısın."
stop
else:
send "&8[&6ÇarkıFelek&8] » &7Dostum buna yetkin olduğunu sanmıyorum."
stop
if arg-1 is "blok":
if player have the permission "sk.admin":
set {blockmg%arg-2%} to target block
send "&8[&6ÇarkıFelek&8] » &7%arg-2% ayarlandı."
stop
else:
send "&8[&6ÇarkıFelek&8] » &7Dostum buna yetkin olduğunu sanmıyorum."
stop
if arg-1 isn't set:
if {çf::oyuncu} isn't set:
if player's balance >= 2000:
delete holo object "çf"
create holo object "&9○ ÇARKI FELEK ○; &f&oÇarkı Felek, &e%player%;&f&oiçin dönüyor..." with id "çf" at location of {çfholo}
send "&8[&6ÇarkıFelek&8] » &7Çarkı Felek senin için dönüyor..."
remove 2000 from player's balance
set {çf::oyuncu} to player
blockbaşlangıç()
stop
else:
send "&8[&6ÇarkıFelek&8] » &7Bunun için &e2.000 oyun parasına &7ihtiyacın var."
stop
else:
if {çf::oyuncu} isn't player:
send "&8[&6ÇarkıFelek&8] » &7Çarkı Felek şu an dolu gözüküyor. Lütfen daha sonra tekrar dene."
stop
else:
send "&8[&6ÇarkıFelek&8] » &7Dostum çarkı felek zaten senin için dönüyor."
stop
on rightclick with chest:
if tool's name is "&3○ Şans Sandığı ○":
cancel event
set {çfsans} to player
remove 1 chest named "&3○ Şans Sandığı ○" from player's inventory
sanssandigi()
stop
Gerekli eklentiler: TuSKe, Skrayfall, SKQuery, Skript (v2.2)
Son düzenleme: