Jordyvoss
Marslı
- Mesajlar
- 215
- En iyi cevaplar
- 0
- Beğeniler
- 97
- Puanları
- 490
- Ruh hali
Selamlar arkadaşlar! Bu gün sizlere kendi yazdığım "Gitar Çalma" skriptini göstereceğim. Paylaştığım ikinci skript ve gerçekten bunu da ilk skriptim gibi büyük bir hevesle yaptım.
Skriptin Genel Özellikleri ;
"Gitar çalmayı öğrenmeden" önce sağ tıklayarak sesler çıkarabilir, ritimler oluşturabilirsiniz, sol tıklayarak gitarın bass'ını vs. ayarlayabilirsiniz.
Gitar çalmayı öğrenebileceğiniz bir kitap alabilirsiniz. O kitabı okuyup (60 saniye) bitirdikten sonra yeni özellikler kazanabilirsiniz.
"Gitar çalmayı o kitapla öğrendikten" sonra, /sarkicat - /sarki13 gibi komutlar sayesinde oyundaki şarkıları müzik kutusuna gerek duymadan, sadece gitarınızla çalabilirsiniz.
Çaldığınız müzikleri yakınınızdaki herkes duyabilir.
V2'de Gelecek Özellikler ;
Ankaranın Bağları
Gitarı üretebilme
Çalınan Şarkıyı Durdurabilme
Skriptin Kodları ;
PHP:
on join:
set {yurume.%player%} to true
set {muzik.%player%} to false
command /gitarver:
trigger:
if {gitar.%player%} is true:
give gold horse armor named "&6Gitar" with lore "Guzel melodiler calmak icindir.." to player
command /gitarac:
trigger:
set {gitar.%player%} to true
send "&2Gitar Acildi!" to player
command /gitarkapat:
trigger:
set {gitar.%player%} to false
send "&2Gitar Kapatildi!" to player
command /gitarogren:
trigger:
give book named "&6Gitar Ogrenme Kitabi" with lore "Bu kitabi okuduktan sonra muzik calabilirsin!" to player
on rightclick with gold horse armor:
if tool of player's name is "&6Gitar":
if {gitar.%player%} is true:
if {kitap.%player%} is false:
chance of 85%
play raw sound "note.bass" at player with pitch 1 volume 10
chance of 85%
play raw sound "note.bd" at player with pitch 1 volume 10
chance of 85%
play raw sound "note.harp" at player with pitch 1 volume 10
chance of 85%
play raw sound "note.pling" at player with pitch 1 volume 10
else:
cancel event
if {kitap.%player%} is true:
send "&2Gitar calmayi ogrendiniz. Calabileceginiz sarkilarin komutlari bunlardir : &6/cat - /blocks - /mall - /strad - /13" to player
on leftclick with gold horse armor:
if tool of player's name is "&6Gitar":
if {gitar.%player%} is true:
if {kitap.%player%} is false:
chance of 95%
play raw sound "note.hat" at player with pitch 1 volume 10
chance of 60%
play raw sound "note.snare" at player with pitch 1 volume 10
else:
cancel event
if {kitap.%player%} is true:
send "&2Gitar calmayi ogrendiniz. Calabileceginiz sarkilarin komutlari bunlardir : &6/cat - /blocks - /mall - /strad - /13" to player
on rightclick with book:
if {gitar.%player%} is true:
if {kitap.%player%} is false:
if tool of player's name is "&6Gitar Ogrenme Kitabi":
set {yurume.%player%} to false
send "&2Kitabi okumaya, gitar calmayi ogrenmeye basladiniz. Lutfen bekleyiniz.." to player
wait 45 seconds
set {yurume.%player%} to true
send "&2Tebrikler! Kitabi bitirdiniz ve gitar calmayi ogrendiniz. Artik guzel sarkilar calabilirsiniz" to player
set {kitap.%player%} to true
else:
send "&4Kitabi zaten okuyup bitirmissiniz ve gitar calabiliyorsunuz." to player
on any movement:
if {gitar.%player%} is true:
if {yurume.%player%} is false:
cancel event
on tool change:
if {gitar.%player%} is true:
if {yurume.%player%} is false:
cancel event
command /sarkicat:
trigger:
if {gitar.%player%} is true:
if {kitap.%player%} is true:
if {muzik.%player%} is false:
play raw sound "records.cat" at player with pitch 1 volume 10
send "&6Cat &2adli muzik caliniyor.." to player
set {muzik.%player%} to true
wait 3 minutes
set {muzik.%player%} to false
else:
stop
send "Zaten bir sarki caliyorsun!" to player
command /sarkiblocks:
trigger:
if {gitar.%player%} is true:
if {kitap.%player%} is true:
if {muzik.%player%} is false:
play raw sound "records.blocks" at player with pitch 1 volume 10
send "&6Blocks &2adli muzik caliniyor.." to player
set {muzik.%player%} to true
wait 3 minutes
set {muzik.%player%} to false
else:
stop
send "Zaten bir sarki caliyorsun!" to player
command /sarkimall:
trigger:
if {gitar.%player%} is true:
if {kitap.%player%} is true:
if {muzik.%player%} is false:
play raw sound "records.mall" at player with pitch 1 volume 10
send "&6Mall &2adli muzik caliniyor.." to player
set {muzik.%player%} to true
wait 3 minutes
set {muzik.%player%} to false
else:
stop
send "Zaten bir sarki caliyorsun!" to player
command /sarkistrad:
trigger:
if {gitar.%player%} is true:
if {kitap.%player%} is true:
if {muzik.%player%} is false:
play raw sound "records.strad" at player with pitch 1 volume 10
send "&6Strad &2adli muzik caliniyor.." to player
set {muzik.%player%} to true
wait 3 minutes
set {muzik.%player%} to false
else:
stop
send "Zaten bir sarki caliyorsun!" to player
command /sarki13:
trigger:
if {gitar.%player%} is true:
if {kitap.%player%} is true:
if {muzik.%player%} is false:
play raw sound "records.13" at player with pitch 1 volume 10
send "&613 &2adli muzik caliniyor.. Korkmaya hazir ol..." to player
set {muzik.%player%} to true
wait 3 minutes
set {muzik.%player%} to false
else:
stop
send "Zaten bir sarki caliyorsun!" to player
command /gitarcalma:
trigger:
send "&4Bu Skript &6Arda &4Bolat tarafindan yapilmistir."
Komutlar ;
/gitarver
/gitarogren
/gitarac
/gitarkapat
/sarkiblocks
/sarkimall
/sarkicat
/gitarcalma
Etiketler ;
@FrknZhlp @Bartuzen @_AcaRz @Ardart @RanKod @Reloven @heroyilmazz @FroZenBrainTR @MrYaman @Erenbulbul @ErenBeyazkurt @erenbulbulbul @Minecraftplayerr @NeonSpade @GetqusA @TrRolLing @erentyu @Quares @Quaris @Alperist @Mr.Papyon @Mr.Chicken @Uchiha_Madara @sezertz @Helter @efe2002ozyay @Signaturst @Leqo @Pro0p @mrbobaking @umut_ @CoffeeBeat
2019 itibariyle edit : SkQuery ve Essentials pluginleri olmadan çalışmayacağını not düşmek istedim. ^^
Son düzenleme: