Bulundu MERHABA ACİL SKRİPT LAZIM YARDIMCI OLURMUSUNUZ

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

cgnalskn

Birisi mi Spawnlandı?
Katılım
21 Mayıs 2022
Mesajlar
9
Elmaslar
0
Puan
350
Yaş
25
Konum
asda
Minecraft
Cgnalskn

Discord:

31

lazım olan skripleri yapabilcek varsa şimdiden teşekkür ederim içlerinden biride olsa olur
-/rulet skripti baktım skriptlere ama sunucuma skrip olarak attıgımda rulet yazınca menü önüme geliyor ama -/ruletyatır 10000 yazdıgımda menüsü çıkmıyor

-/pvpmarket bununda scriptini buldum ama serverime attıgımda -/pvpmarket yazdıgımda açılmıyor uyarı vb de gelmiyor
p15 k 15 set olucak toplu fiyatı 2m
tek tek fiyatı 250k
k15 d5 fiyatı 1m
32 e gap 2m


-/tilsimmarket bunu yazdıgımda menüsü açılıyor ama satın alımda envantere gelmiyor
-

- süreli item ve vip skripti lazım
birde lapis kazdıkca bi parça vb vermesi için bi skript

-çekiliş skripti
kullandıgım pluginler
-skrallfay
-skquery
-sharpsk
1,8 spigot

ilgilenen olursa çok teşekkür ederim şimdiden
 
Selam, skRayFall, skQuery ve SharpSK addonlarını kullanmayın. Skript sürümünüzü
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.
.jar dosyasıyla değiştirin, skriptleriniz çalışacaktır.

Ek olarak elinizde olan kodları bizimle paylaşırsanız düzenlememiz kolay olur.
 
Selam, skRayFall, skQuery ve SharpSK addonlarını kullanmayın. Skript sürümünüzü
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.
.jar dosyasıyla değiştirin, skriptleriniz çalışacaktır.

Ek olarak elinizde olan kodları bizimle paylaşırsanız düzenlememiz kolay olur.
options:
p: &bTılsım &8>
HızIksiriFiyat: 25000
GucIksiriFiyat: 25000
ZiplamaIksiriFiyat: 25000
YenilenmeIksiriFiyat: 25000
GorunmezlikIksiriFiyat: 25000
NefesAlmaIksiriFiyat: 25000
AtesDirenciIksırıFiyat: 25000

command /tilsim [<text>]:
trigger:
if arg 1 is "hiz" or "hız":
if player's balance is greater than or equal to {@HızIksiriFiyat}:
execute console command "give %player% 351:10 1 name:&eHız"
execute console command "eco take %player% {@HızIksiriFiyat}"
send "{@p} &a{@HızIksiriFiyat}'e hız tılsımı aldın!"
else:
send "{@p} &cBakiyen yetersiz!"
if arg 1 is "guc" or "güç":
if player's balance is greater than or equal to {@GucIksiriFiyat}:
execute console command "give %player% 351:13 1 name:&4Güç"
execute console command "eco take %player% {@GucIksiriFiyat}"
send "{@p} &a{@GucIksiriFiyat}'e güç tılsımı satın aldın!"
else:
send "{@p} &cBakiyen yetersiz!"
if arg 1 is "zıplama" or "ziplama":
if player's balance is greater than or equal to {@ZiplamaIksiriFiyat}:
execute console command "give %player% 351:6 1 name:&bZıplama"
execute console command "eco take %player% {@ZiplamaIksiriFiyat}"
send "{@p} &a{@ZiplamaIksiriFiyat}'e zıplama tılsımı satın aldın!"
else:
send "{@p} &cBakiyen yetersiz!"
else:
send "{@p} &cParan yetersiz!"
if arg 1 is "yenilenme":
if player's balance is greater than or equal to {@YenilenmeIksiriFiyat}:
execute console command "give %player% 351:8 1 name:&dYenilenme"
execute console command "eco take %player% {@YenilenmeIksiriFiyat}"
send "{@p} &a{@YenilenmeIksiriFiyat}'e yenilenme tılsımı satın aldın!"
else:
send "{@p} &cBakiyen yetersiz!"
if arg 1 is "gorunmezlik" or "görünmezlik":
if player's balance is greater than or equal to {@GorunmezlikIksiriFiyat}:
give player light gray dye named "&3Görünmezlik"
execute console command "eco take %player% {@GorunmezlikIksiriFiyat}"
send "{@p} &a{@GorunmezlikIksiriFiyat}'e görünmezlik tılsımı satın aldın!"
else:
send "{@p} &cBakiyen yetersiz!"
if arg 1 is "nefesalma":
if player's balance is greater than or equal to {@NefesAlmaIksiriFiyat}:
give player orange dye named "&6Su Altında Nefes Alma"
execute console command "eco take %player% {@NefesAlmaIksiriFiyat}"
send "{@p} &a{@NefesAlmaIksiriFiyat}'e su altında nefes alma tılsımı satın aldın!"
else:
send "{@p} &cBakiyen yetersiz!"
if arg 1 is "atesdirenci":
if player's balance is greater than or equal to {@AtesDirenciIksırıFiyat}:
give player light blue dye named "&cAteş direnci"
execute console command "eco take %player% {@AtesDirenciIksırıFiyat}"
send "{@p} &a{@AtesDirenciIksırıFiyat}'e su altında nefes alma tılsımı satın aldın!"
else:
send "{@p} &cBakiyen yetersiz!"



# =========================================================

on rightclick with light green dye:
if tool's display name is "&eHız":
execute console command "effect %player% speed 180 1"
remove 1 light green dye named "&eHız" from player
send "{@p} Başarıyla hız tılsımını kullandın!"


on rightclick with magenta dye:
if tool's display name is "&4Güç":
execute console command "effect %player% 5 180 1"
remove 1 magenta dye named "&4Güç" from player
send "{@p} Başarıyla güç tılsımını kullandın!"

on rightclick with cyan dye:
if tool's display name is "&bZıplama":
execute console command "effect %player% 8 180 1"
remove 1 cyan dye named "&bZıplama" from player
send "{@p} Başarıyla zıplama tılsımını kullandın!"


on rightclick with gray dye:
if display name of tool is "&dYenilenme":
execute console command "effect %player% 10 180 1"
remove gray dye named "&dYenilenme" from player
send "{@p} Başarıyla yenilenme tılsımını kullandın!"

on rightclick with light gray dye:
if display name of tool is "&3Görünmezlik":
execute console command "effect %player% 14 180"
remove light gray dye named "&3Görünmezlik" from player
send "{@p} Başarıyla görünmezlik tılsımını kullandın!"

on rightclick with orange dye:
if display name of tool is "&6Su Altında Nefes Alma":
execute console command "effect %player% 13 180 1"
remove orange dye named "&6Su Altında Nefes Alma" from player
send "{@p} Başarıyla su altında nefes alma tılsımını kullandın!"

on rightclick with light blue dye:
if display name of tool is "&cAteş direnci":
execute console command "effect %player% 12 180 1"
remove light blue dye named "&cAteş direnci" from player
send "{@p} &aBaşarıyla ateş direnci tılsımını kullandın!"
# ============================ MENU BOLUMU =======================

command /tilsimlar:
trigger:
open chest with 3 row named "&c&lTılsım Market" to player
format slot 0 of player with stained glass pane named "&cTılsım Market" to close
format slot 1 of player with stained glass pane named "&cTılsım Market" to close
format slot 2 of player with stained glass pane named "&cTılsım Market" to close
format slot 3 of player with stained glass pane named "&cTılsım Market" to close
format slot 4 of player with stained glass pane named "&cTılsım Market" to close
format slot 5 of player with stained glass pane named "&cTılsım Market" to close
format slot 6 of player with stained glass pane named "&cTılsım Market" to close
format slot 7 of player with stained glass pane named "&cTılsım Market" to close
format slot 8 of player with stained glass pane named "&cTılsım Market" to close
format slot 9 of player with stained glass pane named "&cTılsım Market" to close
format slot 10 of player with light green dye named "&eHız tılsımı" with lore "&b15.000" to close then run [execute player command "tilsim hiz"]
format slot 11 of player with magenta dye named "&4Güç Tılsımı" with lore "&b25.000 TL" to close then run [execute player command "tilsim guc"]
format slot 12 of player with cyan dye named "&bZıplama Tılsımı" with lore "&b15.000 TL" to close then run [execute player command "tilsim ziplama"]
format slot 13 of player with gray dye named "&dYenilenme Tılsımı" with lore "&b15.000 TL" to close then run [execute player command "tilsim yenilenme"]
format slot 14 of player with light gray dye named "&3Görünmezlik Tılsımı" with lore "&b25.000 TL" to close then run [execute player command "tilsim gorunmezlik"]
format slot 15 of player with orange dye named "&6Su altında nefes alma" with lore "&b25.000 TL" to close then run [execute player command "tilsim nefesalma"]
format slot 16 of player with light blue dye named "&cAteş direnci" with lore "&b25.000 TL" to close then run [execute player command "tilsim atesdirenci"]
format slot 17 of player with stained glass pane named "&cTılsım Market" to close
format slot 18 of player with stained glass pane named "&cTılsım Market" to close
format slot 19 of player with stained glass pane named "&cTılsım Market" to close
format slot 20 of player with stained glass pane named "&cTılsım Market" to close
format slot 21 of player with stained glass pane named "&cTılsım Market" to close
format slot 22 of player with stained glass pane named "&cTılsım Market" to close
format slot 23 of player with stained glass pane named "&cTılsım Market" to close
format slot 24 of player with stained glass pane named "&cTılsım Market" to close
format slot 25 of player with stained glass pane named "&cTılsım Market" to close
format slot 26 of player with stained glass pane named "&cTılsım Market" to close
format slot 27 of player with stained glass pane named "&cTılsım Market" to close



# ================= Admin komutları ===================

command /atilsimal:
permission: admin.tilsimal
trigger:
give player 16 light green dye named "&eHız"
give player 16 magenta dye named "&4Güç"
give player 16 cyan dye named "&bZıplama"
give player 16 gray dye named "&dYenilenme"
give player 16 light gray dye named "&3Görünmezlik"
give player 16 orange dye named "&6Su Altında Nefes Alma"
give player 16 light blue dye named "&cAteş direnci"
pvpmarket
function ozelZirh(p: player, i: item, fiyat: int, isim: text):
if {_p}'s balance >= {_fiyat}:
remove {_fiyat} from {_p}'s balance
enchant {_i} with protection 15
enchant {_i} with unbreaking 15
give {_i} named "%{_isim}%" to {_p}
send "&7Başarıyla &a%{_i}% &a%{_fiyat}% &7aldın!" to {_p}
else:
send "&cYeterli paran yok! %{_fiyat} - {_p}'s balance% daha gerekli!" to {_p}

function ozelZirhExp(p: player, i:item, fiyat: int, isim: text):
if {_p}'s level >= {_fiyat}:
remove {_fiyat} from {_p}'s level
enchant {_i} with protection 15
enchant {_i} with unbreaking 15
give {_i} named "%{_isim}%" to {_p}
send "&7Başarıyla &a%{_isim}%, &a%{_fiyat}%TL'ye &7aldın!" to {_p}
else:
send "&cYeteri levelin yok!" to {_p}


command /pvpmarket:
trigger:
create a gui with chest with 6 rows named "&4PVP MARKET":

make gui slot 29 with diamond helmet named "&cSET" with lore "|| || &6Özellikleri:|| &aKırılmazlık 15|| &aKoruma 15|| &7Fiyat: &a250.000|| &e&nSatın almak için tıkla!":
ozelZirh(player, diamond helmet, 250000, "&cSET")
make gui slot 30 with diamond chestplate named "&cSET" with lore "|| || &6Özellikleri:|| &aKırılmazlık 15|| &aKoruma 15|| &7Fiyat: &a350.000|| &e&nSatın almak için tıkla!":
ozelZirh(player, diamond chestplate, 350000, "&cSET")
make gui slot 31 with diamond leggings named "&cSETn" with lore "|| || &6Özellikleri:|| &aKırılmazlık 15|| &aKoruma 15|| &7Fiyat: &a350.000|| &e&nSatın almak için tıkla!":
ozelZirh(player, diamond leggings, 350000, "&cSET")
make gui slot 32 with diamond boots named "&cSET" with lore "|| || &6Özellikleri:|| &aKırılmazlık 15|| &aKoruma 15|| &7Fiyat: &a250.000|| &e&nSatın almak için tıkla!":
ozelZirh(player, diamond boots, 250000, "&cSET")
make gui slot 33 with diamond sword named "&cKILIÇ" with lore "|| || &6Özellikleri:|| &aKırılmazlık 15|| &aDarbe 5|| &aKeskinlik 14|| &7Fiyat: &a350.000|| &e&nSatın almak için tıkla!":
if player's balance >= 350000:
set {_i} to diamond sword
remove 350000 from player's balance
enchant {_i} with unbreaking 15
enchant {_i} with sharpness 14
enchant {_i} with smite 5
give {_i} named "&cKILIÇ" to player
send "&7Başarıyla &belmas kılıç &8350000 &7aldın!" to player
else:
send "&cYeterli paran yok! %350000 - player's balance% daha gerekli!" to player
options:
Prefix: &bRulet &8&l»&7
KasaMenusuAdi: &6&lRulet Çekiliyor...

variables:
{ruletbilettiklandi.%player%} = false
{paratikladi.%player%} = false

on script load:
loop all players:
if {kasaAciliyor::%loop-player%} is true:
clear {kasaAciliyor::%loop-player%}
clear {kasaAciliyor}
clear {_itemler::*}
set {Kasa::Esyalar::item::1} to "35:15"
set {Kasa::Esyalar::item::2} to "35:15"
set {Kasa::Esyalar::item::3} to "35:15"
set {Kasa::Esyalar::item::4} to "35:15"
set {Kasa::Esyalar::item::5} to "35:15"
set {Kasa::Esyalar::item::6} to "35:15"
set {Kasa::Esyalar::item::7} to "35:15"
set {Kasa::Esyalar::item::8} to "35:15"
set {Kasa::Esyalar::item::9} to "35:15"
set {Kasa::Esyalar::item::10} to "35:15"
set {Kasa::Esyalar::item::11} to "35:5"
set {Kasa::Esyalar::item::12} to "35:5"
set {Kasa::Esyalar::item::13} to "35:5"
set {Kasa::Esyalar::item::14} to "35:14"
set {Kasa::Esyalar::item::15} to "35:14"
set {Kasa::Esyalar::item::16} to "35:14"
set {Kasa::Esyalar::item::17} to "35:14"
set {Kasa::Esyalar::item::18} to "35:14"
set {Kasa::Esyalar::item::19} to "35:14"
set {Kasa::Esyalar::item::20} to "35:14"
set {Kasa::Esyalar::item::21} to "35:14"
set {Kasa::Esyalar::item::22} to "35:14"
set {Kasa::Esyalar::item::23} to "35:14"
set {Kasa::Esyalar::item::24} to "35:14"
set {Kasa::Esyalar::item::25} to "35:15"
set {Kasa::Esyalar::item::26} to "35:14"
set {Kasa::Esyalar::item::27} to "35:15"
set {Kasa::Esyalar::item::28} to "35:14"
set {Kasa::Esyalar::item::29} to "35:15"
set {Kasa::Esyalar::item::30} to "35:14"
set {Kasa::Esyalar::item::31} to "35:15"

on join:
set {paratikladi.%player%} to false
set {renksecildi.%player%} to false
set {secti.%player%} to false
set {parasecti.%player%} to false
set {ruletpara.%player%} to 0
if {kasaAciliyor::%player%} is true:
clear {kasaAciliyor::%player%}
clear {kasaAciliyor}

on quit:
set {paratikladi.%player%} to false
set {renksecildi.%player%} to false
set {secti.%player%} to false
set {parasecti.%player%} to false
set {ruletpara.%player%} to 0
if {kasaAciliyor::%player%} is true:
clear {kasaAciliyor::%player%}
clear {kasaAciliyor}

command /rdeneme:
trigger:
broadcast "{@KasaMenusuAdi}"

command /rulet:
trigger:
close player's inventory
wait 4 ticks
open chest with 1 rows named "&cRulet" to player
format slot 0 of player with book named "&aNasıl Oynanır?" with lore "||&7Rulet Oynamak için ilk önce &6/ruletyatir <miktar> &7Yaparak||&7rulete başlamanız gerekiyor&7Bunu yaptıktan sonra karşınıza renk menüsü||&7çıkacak Renklerin YanındaKaç katını verdiği gözükecektir||&7Örnek &cKırmızı &7[&62X&7] Buradan istediginiz renge tıklayın||&7ve Oyuna Başlayın rastgele renkler dönücek çıkan renk||&7sizin renginiz ise Ruleti kazanacaksın" to be unstealable
if {sondurum} is "Kazandı":
if {sonrenk} is "Siyah":
format slot 8 of player with paper named "&6Son Oynanan Rulet" with lore "||&7Oyuncu &7» &6%{sonoynayankisi}%||||&7Yatırdığı Para &7» &6%{sonyatiralanpara}% TL||||&7Renk &7» &7%{sonrenk}%||||&7Durum &7» &a%{sondurum}%" to be unstealable
if {sonrenk} is "Kırmızı":
format slot 8 of player with paper named "&6Son Oynanan Rulet" with lore "||&7Oyuncu &7» &6%{sonoynayankisi}%||||&7Yatırdığı Para &7» &6%{sonyatiralanpara}% TL||||&7Renk &7» &c%{sonrenk}%||||&7Durum &7» &a%{sondurum}%" to be unstealable
if {sonrenk} is "Yeşil":
format slot 8 of player with paper named "&6Son Oynanan Rulet" with lore "||&7Oyuncu &7» &6%{sonoynayankisi}%||||&7Yatırdığı Para &7» &6%{sonyatiralanpara}% TL||||&7Renk &7» &a%{sonrenk}%||||&7Durum &7» &a%{sondurum}%" to be unstealable
else if {sondurum} is "Kaybetti":
if {sonrenk} is "Siyah":
format slot 8 of player with paper named "&6Son Oynanan Rulet" with lore "||&7Oyuncu &7» &6%{sonoynayankisi}%||||&7Yatırdığı Para &7» &6%{sonyatiralanpara}% TL||||&7Renk &7» &7%{sonrenk}%||||&7Durum &7» &c%{sondurum}%" to be unstealable
if {sonrenk} is "Kırmızı":
format slot 8 of player with paper named "&6Son Oynanan Rulet" with lore "||&7Oyuncu &7» &6%{sonoynayankisi}%||||&7Yatırdığı Para &7» &6%{sonyatiralanpara}% TL||||&7Renk &7» &c%{sonrenk}%||||&7Durum &7» &c%{sondurum}%" to be unstealable
if {sonrenk} is "Yeşil":
format slot 8 of player with paper named "&6Son Oynanan Rulet" with lore "||&7Oyuncu &7» &6%{sonoynayankisi}%||||&7Yatırdığı Para &7» &6%{sonyatiralanpara}% TL||||&7Renk &7» &a%{sonrenk}%||||&7Durum &7» &c%{sondurum}%" to be unstealable


command /ruletyatir [<number>]:
trigger:
if arg-1 is set:
if {paratikladi.%player%} is false:
if {ruletbilettiklandi.%player%} is false:
if arg-1 is greater than or equal to 500:
if player's balance is greater than or equal to arg-1:
set {ruletpara.%player%} to arg-1
send "{@Prefix} &7Rulete &6%arg-1% TL &7Yatırdın"
remove {ruletpara.%player%} from player's balance
set {parasecti.%player%} to true
set {paratikladi.%player%} to true
execute player command "/ruletrenk"
else:
send "{@Prefix} &7Yetersiz Para Miktarı!"
else:
send "{@Prefix} &7En az &6500 TL &7Yatırabilirsin!"
else:
set {ruletpara.%player%} to arg-1
send "{@Prefix} &7Rulete Bilet ile &6%arg-1% TL &7Yatırdın"
set {parasecti.%player%} to true
set {paratikladi.%player%} to true
execute player command "/ruletrenk"
else:
send "{@Prefix} &7Zaten Rulete Para yatırdınız Aktarılıyorsunuz!"
wait 1 seconds
execute player command "/ruletrenk"
else:
send "{@Prefix} &7Para Miktarı Yazmadın!"






command /ruletrenk:
trigger:
if {parasecti.%player%} is true:
if {renksecildi.%player%} is false:
close player's inventory
wait 4 tick
open chest with 1 rows named "&cRENK SEC &7[&b%{ruletpara.%player%}% TL&7]" to player
format slot 3 of player with red wool block named "&cKırmızı &7[&62X&7]" to close then run [set {secilenkirmizi.%player%} to true]->[set {sonrenk} to "Kırmızı"]->[set {secti.%player%} to true]->[set {renksecildi.%player%} to true]->[set {secilenbu.%player%} to "Kırmızı"]->[execute player command "/ruletbasla"]
format slot 4 of player with light green wool block named "&aYeşil &7[&64X&7]" to close then run [set {secilenyesil.%player%} to true]->[set {sonrenk} to "Yeşil"]->[set {secti.%player%} to true]->[set {renksecildi.%player%} to true]->[set {secilenbu.%player%} to "Yeşil"]->[execute player command "/ruletbasla"]
format slot 5 of player with black wool block named "&7Siyah &7[&62X&7]" to close then run [set {secilensiyah.%player%} to true]->[set {sonrenk} to "Siyah"]->[set {secti.%player%} to true]->[set {renksecildi.%player%} to true]->[set {secilenbu.%player%} to "Siyah"]->[execute player command "/ruletbasla"]
else:
execute player command "/ruletbasla"
else:
send "{@Prefix} &7Bug Yapmayı Aklından bile geçirme!"





command /ruletbasla:
trigger:
wait 4 ticks
if {secti.%player%} is true:
set {sonoynayankisi} to player
set {sonyatiralanpara} to {ruletpara.%player%}
set {kasaAciliyor} to true
set {kasaAciliyor::%player%} to true
wait 5 tick
loop 9 times:
add "%{Kasa::Esyalar::item::%random integer between 1 and 31%}%" to {_itemler::*}
wait 4 tick
open chest with 3 rows named "{@KasaMenusuAdi}" to player
wait 1 tick
loop 9 times:
format slot (loop-number - 1) of player with black stained glass pane named "&7" to be unstealable
loop 9 times:
format slot ((loop-number - 1)+18) of player with black stained glass pane named "&7" to be unstealable
format slot 4 of player with red stained glass pane named "&7RENK!" to be unstealable
format slot 22 of player with black stained glass pane named "&7" to be unstealable
set {_loop} to a random integer between 10 and 15
loop {_loop} times:
set {_item::9} to {_item::8}
set {_item::8} to {_item::7}
set {_item::7} to {_item::6}
set {_item::6} to {_item::5}
set {_item::5} to {_item::4}
set {_item::4} to {_item::3}
set {_item::3} to {_item::2}
set {_item::2} to {_item::1}
set {_item::1} to "%a random element out of {_itemler::*}%" parsed as material
loop 9 times:
set {_n} to loop-number-2
set {_i} to {_item::%loop-number-2%}
if inventory name of player's current inventory contains "{@KasaMenusuAdi}":
format slot (({_n} - 1)+9) of player with {_item::%loop-number-2%} to be unstealable
add 1 to {_ses}
if {_ses} > 3:
set {_ses} to 1
if {_ses} = 1:
play raw sound "random.click" at player with pitch 2 volume 0.5
if {_ses} = 2:
play raw sound "random.click" at player with pitch 1 volume 0.5
if {_ses} = 3:
play raw sound "random.click" at player with pitch 0 volume 0.5
wait 2 ticks
set {_loop} to a random integer between 10 and 18
loop {_loop} times:
set {_item::9} to {_item::8}
set {_item::8} to {_item::7}
set {_item::7} to {_item::6}
set {_item::6} to {_item::5}
set {_item::5} to {_item::4}
set {_item::4} to {_item::3}
set {_item::3} to {_item::2}
set {_item::2} to {_item::1}
set {_item::1} to "%a random element out of {_itemler::*}%" parsed as material
loop 9 times:
set {_n} to loop-number-2
set {_i} to {_item::%loop-number-2%}
if inventory name of player's current inventory contains "{@KasaMenusuAdi}":
format slot (({_n} - 1)+9) of player with {_item::%loop-number-2%} to be unstealable
add 1 to {_ses}
if {_ses} > 3:
set {_ses} to 1
if {_ses} = 1:
play raw sound "random.click" at player with pitch 2 volume 0.5
if {_ses} = 2:
play raw sound "random.click" at player with pitch 1 volume 0.5
if {_ses} = 3:
play raw sound "random.click" at player with pitch 0 volume 0.5
wait 4 ticks
set {_loop} to a random integer between 7 and 15
loop {_loop} times:
set {_item::9} to {_item::8}
set {_item::8} to {_item::7}
set {_item::7} to {_item::6}
set {_item::6} to {_item::5}
set {_item::5} to {_item::4}
set {_item::4} to {_item::3}
set {_item::3} to {_item::2}
set {_item::2} to {_item::1}
set {_item::1} to "%a random element out of {_itemler::*}%" parsed as material
loop 9 times:
set {_n} to loop-number-2
set {_i} to {_item::%loop-number-2%}
if inventory name of player's current inventory contains "{@KasaMenusuAdi}":
format slot (({_n} - 1)+9) of player with {_item::%loop-number-2%} to be unstealable
add 1 to {_ses}
if {_ses} > 3:
set {_ses} to 1
if {_ses} = 1:
play raw sound "random.click" at player with pitch 2 volume 0.5
if {_ses} = 2:
play raw sound "random.click" at player with pitch 1 volume 0.5
if {_ses} = 3:
play raw sound "random.click" at player with pitch 0 volume 0.5
wait 6 ticks
set {_loop} to a random integer between 3 and 7
loop {_loop} times:
set {_item::9} to {_item::8}
set {_item::8} to {_item::7}
set {_item::7} to {_item::6}
set {_item::6} to {_item::5}
set {_item::5} to {_item::4}
set {_item::4} to {_item::3}
set {_item::3} to {_item::2}
set {_item::2} to {_item::1}
set {_item::1} to "%a random element out of {_itemler::*}%" parsed as material
loop 9 times:
set {_n} to loop-number-2
set {_i} to {_item::%loop-number-2%}
if inventory name of player's current inventory contains "{@KasaMenusuAdi}":
format slot (({_n} - 1)+9) of player with {_item::%loop-number-2%} to be unstealable
add 1 to {_ses}
if {_ses} > 3:
set {_ses} to 1
if {_ses} = 1:
play raw sound "random.click" at player with pitch 2 volume 0.5
if {_ses} = 2:
play raw sound "random.click" at player with pitch 1 volume 0.5
if {_ses} = 3:
play raw sound "random.click" at player with pitch 0 volume 0.5
wait 8 ticks
set {_loop} to a random integer between 1 and 3
loop {_loop} times:
set {_item::9} to {_item::8}
set {_item::8} to {_item::7}
set {_item::7} to {_item::6}
set {_item::6} to {_item::5}
set {_item::5} to {_item::4}
set {_item::4} to {_item::3}
set {_item::3} to {_item::2}
set {_item::2} to {_item::1}
set {_item::1} to "%a random element out of {_itemler::*}%" parsed as material
loop 9 times:
set {_n} to loop-number-2
set {_i} to {_item::%loop-number-2%}
if inventory name of player's current inventory contains "{@KasaMenusuAdi}":
format slot (({_n} - 1)+9) of player with {_item::%loop-number-2%} to be unstealable
add 1 to {_ses}
if {_ses} > 3:
set {_ses} to 1
if {_ses} = 1:
play raw sound "random.click" at player with pitch 2 volume 0.5
if {_ses} = 2:
play raw sound "random.click" at player with pitch 1 volume 0.5
if {_ses} = 3:
play raw sound "random.click" at player with pitch 0 volume 0.5
wait 10 ticks
set {_item} to {_item::5}
play raw sound "fireworks.twinkle" at player with pitch 1 volume 2
wait 40 ticks
if {_item} is black wool block:
if {secilensiyah.%player%} is true:
play raw sound "random.successful_hit" at player with pitch 1 volume 10
clear {kasaAciliyor}
clear {kasaAciliyor::%player%}
clear {_itemler::*}
set {secilensiyah.%player%} to false
set {secilenyesil.%player%} to false
set {secilenkirmizi.%player%} to false
set {secti.%player%} to false
set {renksecildi.%player%} to false
set {komisyon.%player%} to {ruletpara.%player%} / 10
add {ruletpara.%player%} * 2 to player's balance
remove {komisyon.%player%} from player's balance
set {paratikladi.%player%} to false
set {parasecti.%player%} to false
close player's inventory
play raw sound "random.click" at player with pitch 2 volume 0.5
send "{@Prefix} &6%{komisyon.%player%}% TL &7Komisyon Alındı!"
send player title "&aKazandın!" with subtitle "&7Ruletten &6%{ruletpara.%player%} * 2 - {komisyon.%player%}% TL &7Kazandın!" for 6 seconds
broadcast "{@Prefix} &6%player% &7Ruletden &6%{ruletpara.%player%} * 2 - {komisyon.%player%}% TL &7Kazandı, &6Renk &8» &7Siyah"
add {ruletpara.%player%} * 2 - {komisyon.%player%} to {toplampara::%player%}
set {sondurum} to "Kazandı"
set {ruletbilettiklandi.%player%} to false
stop
else:
wait 1 seconds
set {secilensiyah.%player%} to false
set {secilenyesil.%player%} to false
set {secilenkirmizi.%player%} to false
clear {kasaAciliyor}
clear {kasaAciliyor::%player%}
clear {_itemler::*}
set {secti.%player%} to false
set {renksecildi.%player%} to false
set {paratikladi.%player%} to false
set {parasecti.%player%} to false
close player's inventory
send player title "&cKaybettin!" with subtitle "&7Ruletten &6%{ruletpara.%player%}% TL &7Kaybettin!" for 6 seconds
remove {ruletpara.%player%} from {toplampara::%player%}
set {sondurum} to "Kaybetti"
set {ruletbilettiklandi.%player%} to false
stop
else if {_item} is light green wool block:
if {secilenyesil.%player%} is true:
play raw sound "random.successful_hit" at player with pitch 1 volume 10
clear {kasaAciliyor}
clear {kasaAciliyor::%player%}
clear {_itemler::*}
set {secilensiyah.%player%} to false
set {secilenyesil.%player%} to false
set {secilenkirmizi.%player%} to false
set {secti.%player%} to false
set {renksecildi.%player%} to false
set {komisyon.%player%} to {ruletpara.%player%} / 10
add {ruletpara.%player%} * 4 to player's balance
remove {komisyon.%player%} from player's balance
set {paratikladi.%player%} to false
set {parasecti.%player%} to false
close player's inventory
play raw sound "random.click" at player with pitch 2 volume 0.5
send "{@Prefix} &6%{komisyon.%player%}% TL &7Komisyon Alındı!"
send player title "&aKazandın!" with subtitle "&7Ruletten &6%{ruletpara.%player%} * 4 - {komisyon.%player%}% TL &7Kazandın!" for 6 seconds
broadcast "{@Prefix} &6%player% &7Ruletden &6%{ruletpara.%player%} * 4 - {komisyon.%player%}% TL &7Kazandı, &6Renk &8» &aYeşil"
add {ruletpara.%player%} * 4 - {komisyon.%player%} to {toplampara::%player%}
set {sondurum} to "Kazandı"
set {ruletbilettiklandi.%player%} to false
stop
else:
wait 1 seconds
set {secilensiyah.%player%} to false
set {secilenyesil.%player%} to false
set {secilenkirmizi.%player%} to false
clear {kasaAciliyor}
clear {kasaAciliyor::%player%}
clear {_itemler::*}
set {secti.%player%} to false
set {renksecildi.%player%} to false
set {paratikladi.%player%} to false
set {parasecti.%player%} to false
close player's inventory
send player title "&cKaybettin!" with subtitle "&7Ruletten &6%{ruletpara.%player%}% TL &7Kaybettin!" for 6 seconds
remove {ruletpara.%player%} from {toplampara::%player%}
set {sondurum} to "Kaybetti"
set {ruletbilettiklandi.%player%} to false
stop
else if {_item} is red wool block:
if {secilenkirmizi.%player%} is true:
play raw sound "random.successful_hit" at player with pitch 1 volume 10
clear {kasaAciliyor}
clear {kasaAciliyor::%player%}
clear {_itemler::*}
set {secilensiyah.%player%} to false
set {secilenyesil.%player%} to false
set {secilenkirmizi.%player%} to false
set {secti.%player%} to false
set {renksecildi.%player%} to false
set {komisyon.%player%} to {ruletpara.%player%} / 10
add {ruletpara.%player%} * 2 to player's balance
remove {komisyon.%player%} from player's balance
set {paratikladi.%player%} to false
set {parasecti.%player%} to false
close player's inventory
play raw sound "random.click" at player with pitch 2 volume 0.5
send "{@Prefix} &6%{komisyon.%player%}% TL &7Komisyon Alındı!"
send player title "&aKazandın!" with subtitle "&7Ruletten &6%{ruletpara.%player%} * 2 - {komisyon.%player%}% TL &7Kazandın!" for 6 seconds
broadcast "{@Prefix} &6%player% &7Ruletden &6%{ruletpara.%player%} * 2 - {komisyon.%player%}% TL &7Kazandı, &6Renk &8» &cKırmızı"
add {ruletpara.%player%} * 2 - {komisyon.%player%} to {toplampara::%player%}
set {sondurum} to "Kazandı"
set {ruletbilettiklandi.%player%} to false
stop
else:
wait 1 seconds
set {secilensiyah.%player%} to false
set {secilenyesil.%player%} to false
set {secilenkirmizi.%player%} to false
clear {kasaAciliyor}
clear {kasaAciliyor::%player%}
clear {_itemler::*}
set {secti.%player%} to false
set {renksecildi.%player%} to false
set {paratikladi.%player%} to false
set {parasecti.%player%} to false
close player's inventory
send player title "&cKaybettin!" with subtitle "&7Ruletten &6%{ruletpara.%player%}% TL &7Kaybettin!" for 6 seconds
remove {ruletpara.%player%} from {toplampara::%player%}
set {sondurum} to "Kaybetti"
set {ruletbilettiklandi.%player%} to false
stop
else:
send "{@Prefix} &7Rulete Başlamak için &6Renk &7seç!"

on inventory click:
if {kasaAciliyor} is set:
cancel event

on inventory close:
if {kasaAciliyor} is set:
if {kasaAciliyor::%player%} is set:
wait 1 tick
open chest with 3 rows named "{@KasaMenusuAdi}" to player
wait 1 tick
loop 9 times:
format slot (loop-number - 1) of player with black stained glass pane named "&7" to be unstealable
loop 9 times:
format slot ((loop-number - 1)+18) of player with black stained glass pane named "&7" to be unstealable
format slot 4 of player with red stained glass pane named "&7Renk!" to be unstealable
format slot 22 of player with black stained glass pane named "&7" to be unstealable


command /rulettop:
trigger:
loop {toplampara::*}:
add 1 to {_size}
if {_low.to.high.list::%loop-value%} is not set:
set {_low.to.high.list::%loop-value%} to loop-index
else:
set {_n} to 0
loop {_size} times:
set {_n} to {_n}+1
{_low.to.high.list::%loop-value-1%.%{_n}%} is not set
set {_low.to.high.list::%loop-value-1%.%{_n}%} to loop-index
stop loop
wait 1 tick
set {_n} to size of {_low.to.high.list::*}
loop {_low.to.high.list::*}:
set {_high.to.low.list::%{_n}%} to loop-value
set {_n} to {_n}-1
wait 1 tick
message "&m------------&r &6&lRulet TOP&r &m------------"
loop {_high.to.low.list::*}:
add 1 to {_result}
send "&b%loop-value%&7: &6%{toplampara::%loop-value%}% TL &aToplam Kâr"
if {_result} is 10:
stop




command /ruletbiletver [<player>] [<integer>]:
permission: ruletbiletver
permission message: &c&lHATA &8» &7Bu komutu kullanabilmek için yetkin yok!
executable by: players and console
trigger:
if arg-1 is set:
if arg-2 is set:
if command sender is not console:
send "&c&lBILET &8» &6%arg-1% &7isimli oyuncuya &b%arg-2% TL &7Rulet Bileti verildi!" to player
send "&c&lBILET &8» &6%player% &7isimli yetkili sana &b%arg-2% TL &7Rulet Bileti verdi!" to arg-1
give a paper named "&6&lRULETBILET &8» &a%arg-2% TL" to arg-1
else:
send "&c&lBILET &8» &6Console &7sana &b%arg-2% TL &7Rulet Bileti verdi!" to arg-1
give a paper named "&6&lRULETBILET &8» &a%arg-2% TL" to arg-1
else:
send "&c&lHATA &8» &7Bilet miktarı girmedin!"
else:
send "&c&lHATA &8» &7Oyuncu ismi girmedin!"


on rightclick with paper:
if "%name of player's tool%" contains "&6&lRULETBILET":
if {ruletbilettiklandi.%player%} is false:
set {_ruletbiletmiktar} to "%numbers of uncoloured name of player's tool%"
set {ruletbilettiklandi.%player%} to true
remove 1 of player's tool from player's inventory
send player title "&7RuletBilet Miktarı Algılanıyor!" with subtitle "&6&l3" for 1 seconds
wait 1 seconds
send player title "&7RuletBilet Miktarı Algılanıyor!" with subtitle "&6&l2" for 1 seconds
wait 1 seconds
send player title "&7RuletBilet Miktarı Algılanıyor!" with subtitle "&6&l1" for 1 seconds
wait 1 seconds
send player title "&6&lRULETBILET" with subtitle "&7Miktar &8» &b%{_ruletbiletmiktar}% TL" for 2 seconds
wait 1 seconds
execute player command "ruletyatir %{_ruletbiletmiktar}%"
else:
send "&6&lRULETBILET &8» &7Zaten Bilet kullandın Kullandığın bilet &8» &6%numbers of uncoloured name of player's tool% TL"
 
Tilsim skripti

Kod:
#Ayarlar
#Fiyatları kolayca ayarlayabilirsiniz.               
              
options:
    p: &bTılsım &8>
    HızIksiriFiyat: 25000
    GucIksiriFiyat: 25000
    ZiplamaIksiriFiyat: 25000
    YenilenmeIksiriFiyat: 25000
    GorunmezlikIksiriFiyat: 25000
    NefesAlmaIksiriFiyat: 25000
    AtesDirenciIksırıFiyat: 25000
              
command /tilsim [<text>]:
    trigger:
        if arg 1 is "hiz" or "hız":
            if player's balance is greater than or equal to {@HızIksiriFiyat}:
                execute console command "give %player% 351:10 1 name:&eHız"
                execute console command "eco take %player% {@HızIksiriFiyat}"
                send "{@p} &a{@HızIksiriFiyat}'e hız tılsımı aldın!"
            else:
                send "{@p} &cBakiyen yetersiz!"
        if arg 1 is "guc" or "güç":
            if player's balance is greater than or equal to {@GucIksiriFiyat}:
                execute console command "give %player% 351:13 1 name:&4Güç"
                execute console command "eco take %player% {@GucIksiriFiyat}"
                send "{@p} &a{@GucIksiriFiyat}'e güç tılsımı satın aldın!"
            else:
                send "{@p} &cBakiyen yetersiz!"
        if arg 1 is "zıplama" or "ziplama":
            if player's balance is greater than or equal to {@ZiplamaIksiriFiyat}:
                execute console command "give %player% 351:6 1 name:&bZıplama"
                execute console command "eco take %player% {@ZiplamaIksiriFiyat}"
                send "{@p} &a{@ZiplamaIksiriFiyat}'e zıplama tılsımı satın aldın!"
            else:
                send "{@p} &cBakiyen yetersiz!"
            else:
                send "{@p} &cParan yetersiz!"
        if arg 1 is "yenilenme":
            if player's balance is greater than or equal to {@YenilenmeIksiriFiyat}:
                execute console command "give %player% 351:8 1 name:&dYenilenme"
                execute console command "eco take %player% {@YenilenmeIksiriFiyat}"
                send "{@p} &a{@YenilenmeIksiriFiyat}'e yenilenme tılsımı satın aldın!"
            else:
                send "{@p} &cBakiyen yetersiz!"
        if arg 1 is "gorunmezlik" or "görünmezlik":
            if player's balance is greater than or equal to {@GorunmezlikIksiriFiyat}:
                give player light gray dye named "&3Görünmezlik"
                execute console command "eco take %player% {@GorunmezlikIksiriFiyat}"
                send "{@p} &a{@GorunmezlikIksiriFiyat}'e görünmezlik tılsımı satın aldın!"
            else:
                send "{@p} &cBakiyen yetersiz!"
        if arg 1 is "nefesalma":
            if player's balance is greater than or equal to {@NefesAlmaIksiriFiyat}:
                give player orange dye named "&6Su Altında Nefes Alma"
                execute console command "eco take %player% {@NefesAlmaIksiriFiyat}"
                send "{@p} &a{@NefesAlmaIksiriFiyat}'e su altında nefes alma tılsımı satın aldın!"
            else:
                send "{@p} &cBakiyen yetersiz!"
        if arg 1 is "atesdirenci":
            if player's balance is greater than or equal to {@AtesDirenciIksırıFiyat}:
                give player light blue dye named "&cAteş direnci"
                execute console command "eco take %player% {@AtesDirenciIksırıFiyat}"
                send "{@p} &a{@AtesDirenciIksırıFiyat}'e su altında nefes alma tılsımı satın aldın!"
            else:
                send "{@p} &cBakiyen yetersiz!"               



# =========================================================
      
on rightclick with light green dye:
    if tool's display name is "&eHız":
        execute console command "effect %player% speed 180 1"
        remove 1 light green dye named "&eHız" from player
        send "{@p} Başarıyla hız tılsımını kullandın!"
  
  
on rightclick with magenta dye:
    if tool's display name is "&4Güç":
        execute console command "effect %player% 5 180 1"
        remove 1 magenta dye named "&4Güç" from player
        send "{@p} Başarıyla güç tılsımını kullandın!"

on rightclick with cyan dye:
    if tool's display name is "&bZıplama":
        execute console command "effect %player% 8 180 1"
        remove 1 cyan dye named "&bZıplama" from player
        send "{@p} Başarıyla zıplama tılsımını kullandın!"
  
      
on rightclick with gray dye:
    if display name of tool is "&dYenilenme":
        execute console command "effect %player% 10 180 1"
        remove gray dye named "&dYenilenme" from player
        send "{@p} Başarıyla yenilenme tılsımını kullandın!"

on rightclick with light gray dye:
    if display name of tool is "&3Görünmezlik":
        execute console command "effect %player% 14 180"
        remove light gray dye named "&3Görünmezlik" from player
        send "{@p} Başarıyla görünmezlik tılsımını kullandın!"
      
on rightclick with orange dye:
    if display name of tool is "&6Su Altında Nefes Alma":
        execute console command "effect %player% 13 180 1"
        remove orange dye named "&6Su Altında Nefes Alma" from player
        send "{@p} Başarıyla su altında nefes alma tılsımını kullandın!"
      
on rightclick with light blue dye:
    if display name of tool is "&cAteş direnci":
        execute console command "effect %player% 12 180 1"
        remove light blue dye named "&cAteş direnci" from player
        send "{@p} &aBaşarıyla ateş direnci tılsımını kullandın!"
# ============================ MENU BOLUMU =======================

command /tilsimlar:
    trigger:
        open chest with 3 row named "&c&lTılsım Market" to player
        format slot 0 of player with stained glass pane named "&cTılsım Market" to close
        format slot 1 of player with stained glass pane named "&cTılsım Market" to close
        format slot 2 of player with stained glass pane named "&cTılsım Market" to close
        format slot 3 of player with stained glass pane named "&cTılsım Market" to close
        format slot 4 of player with stained glass pane named "&cTılsım Market" to close
        format slot 5 of player with stained glass pane named "&cTılsım Market" to close
        format slot 6 of player with stained glass pane named "&cTılsım Market" to close
        format slot 7 of player with stained glass pane named "&cTılsım Market" to close
        format slot 8 of player with stained glass pane named "&cTılsım Market" to close
        format slot 9 of player with stained glass pane named "&cTılsım Market" to close
        format slot 10 of player with light green dye named "&eHız tılsımı" with lore "&b15.000" to close then run [execute player command "tilsim hiz"]
        format slot 11 of player with magenta dye named "&4Güç Tılsımı" with lore "&b25.000 TL" to close then run [execute player command "tilsim guc"]
        format slot 12 of player with cyan dye named "&bZıplama Tılsımı" with lore "&b15.000 TL" to close then run [execute player command "tilsim ziplama"]
        format slot 13 of player with gray dye named "&dYenilenme Tılsımı" with lore "&b15.000 TL" to close then run [execute player command "tilsim yenilenme"]
        format slot 14 of player with light gray dye named "&3Görünmezlik Tılsımı" with lore "&b25.000 TL" to close then run [execute player command "tilsim gorunmezlik"]
        format slot 15 of player with orange dye named "&6Su altında nefes alma" with lore "&b25.000 TL" to close then run [execute player command "tilsim nefesalma"]
        format slot 16 of player with light blue dye named "&cAteş direnci" with lore "&b25.000 TL" to close then run [execute player command "tilsim atesdirenci"]
        format slot 17 of player with stained glass pane named "&cTılsım Market" to close
        format slot 18 of player with stained glass pane named "&cTılsım Market" to close
        format slot 19 of player with stained glass pane named "&cTılsım Market" to close
        format slot 20 of player with stained glass pane named "&cTılsım Market" to close
        format slot 21 of player with stained glass pane named "&cTılsım Market" to close
        format slot 22 of player with stained glass pane named "&cTılsım Market" to close
        format slot 23 of player with stained glass pane named "&cTılsım Market" to close
        format slot 24 of player with stained glass pane named "&cTılsım Market" to close
        format slot 25 of player with stained glass pane named "&cTılsım Market" to close
        format slot 26 of player with stained glass pane named "&cTılsım Market" to close
        format slot 27 of player with stained glass pane named "&cTılsım Market" to close

      

# ================= Admin komutları ===================

command /atilsimal:
    permission: admin.tilsimal
    trigger:
        give player 16 light green dye named "&eHız"
        give player 16 magenta dye named "&4Güç"
        give player 16 cyan dye named "&bZıplama"
        give player 16 gray dye named "&dYenilenme"
        give player 16 light gray dye named "&3Görünmezlik"
        give player 16 orange dye named "&6Su Altında Nefes Alma"
        give player 16 light blue dye named "&cAteş direnci"

Süreli Vip verme skripti

Kod:
command /vipver [<player>] [<text>] [<text>]:
    permission: vipver.yetki
    permission message: &aSkyblock&8》 &7Böyle bir komut bulunamadı.
    trigger:
        execute console command "lp user %arg-1% clear"
        execute console command "lp user %arg-1% permission settemp group.%arg-2% true %arg-3%"
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst