giresun283428
Örümcek Hoşt!
- Katılım
- 13 Nisan 2017
- Mesajlar
- 334
- Elmaslar
- 286
- Puan
- 14.375
- Konum
- Türkiye
- Minecraft
- giresun28
Discord:
Mert#4420
Merhaba arkadaşlar,
Biraz garip bir Skript ile karşınızdayım ?
Nedir ve ne işe yarar diye soracak olursanız eğer hemen anlatayım;
4 tür Madde var ve her Madde'nin ayrı riski ve kafası var. Maddeyi kullandıktan sonra bir takım efektler kazanırsınız ve kafayı bulursunuz! Skript'i tamamen eğlence amaçlı yaptım çünkü kendi sunucumda kullanıyorum ve oyuncular çok beğendi, eğlence için bire bir.
Takipte kalın Skript paylaşmaya devam edeceğim :)
Biraz garip bir Skript ile karşınızdayım ?
Nedir ve ne işe yarar diye soracak olursanız eğer hemen anlatayım;
4 tür Madde var ve her Madde'nin ayrı riski ve kafası var. Maddeyi kullandıktan sonra bir takım efektler kazanırsınız ve kafayı bulursunuz! Skript'i tamamen eğlence amaçlı yaptım çünkü kendi sunucumda kullanıyorum ve oyuncular çok beğendi, eğlence için bire bir.
Kod:
options:
p: &a&lMadde »
hapsekerfiyati: 1000
esrarkubarfiyati: 500
igneeroinfiyati: 2500
bonzaifiyati: 5000
function madde(p: player, sayfa: String):
if {_sayfa} is "menu":
play raw sound "note.pling" at {_p} with pitch 1 volume 10
open virtual chest inventory with size 1 named "&eMadde / Menü" to {_p}
make a gui slot 0 of {_p} with 353 named "&a&lHap" to run function madde({_p}, "hap")
make a gui slot 1 of {_p} with 351:8 named "&a&lEsrar" to run function madde({_p}, "esrar")
make a gui slot 2 of {_p} with 351 named "&a&lİğne" to run function madde({_p}, "igne")
make a gui slot 3 of {_p} with 351:1 named "&a&lBonzai" to run function madde({_p}, "bonzai")
if {_sayfa} is "hap":
set {_hapsekerfiyati} to "{@hapsekerfiyati}" parsed as integer
play raw sound "note.pling" at {_p} with pitch 1 volume 10
open virtual chest inventory with size 1 named "&eMadde / Hap" to {_p}
make a gui slot 0 of {_p} with 353 named "&c&lHap" with lore "||&7Şeker||||&6Bölüm:||&9Uyarıcı Madde||||&6Nedir:||&f15 saniye sonra patlamaya||&fbaşlarsın ve acayip||&fhızlanırsın yerinde duramazsın.||||&8Fiyat: &7{@hapsekerfiyati}||||&8Ölüm Riski: &7☠ 0||||&e(Mert'in Tavsiyesi)" to run using left:
if balance of {_p} is bigger than or equal to {_hapsekerfiyati}:
execute console command "eco take %{_p}% %{_hapsekerfiyati}%"
give 1 353 named "&eHap (&7şeker&e)" to {_p}
send "{@p} &eHap (&7şeker&e) aldın!" to {_p}
close {_p}'s inventory
else:
send "{@p} &cYeterli paran yok!" to player
make a gui slot 8 of {_p} with 262 named "&c&l<- Önceki Sayfa" to run function madde({_p}, "menu")
if {_sayfa} is "esrar":
set {_esrarkubarfiyati} to "{@esrarkubarfiyati}" parsed as integer
play raw sound "note.pling" at {_p} with pitch 1 volume 10
open virtual chest inventory with size 1 named "&eMadde / Esrar" to {_p}
make a gui slot 0 of {_p} with 351:8 named "&c&lEsrar" with lore "||&7Kubar||||&6Bölüm:||&9Uyarıcı Madde||||&6Nedir:||&fİçtikten hemen sonra sallanmaya||&fbaşlarsın ve etraf bulanıklaşır.||&fZaman çok yavaş geçer.||||&8Fiyat: &7{@esrarkubarfiyati}||||&8Ölüm Riski: &7☠ 0" to run using left:
if balance of {_p} is bigger than or equal to {_esrarkubarfiyati}:
execute console command "eco take %{_p}% %{_esrarkubarfiyati}%"
give 1 351:8 named "&eEsrar (&7kubar&e)" to {_p}
send "{@p} &eEsrar (&7kubar&e) aldın!" to {_p}
close {_p}'s inventory
else:
send "{@p} &cYeterli paran yok!" to player
make a gui slot 8 of {_p} with 262 named "&c&l<- Önceki Sayfa" to run function madde({_p}, "menu")
if {_sayfa} is "igne":
set {_igneeroinfiyati} to "{@igneeroinfiyati}" parsed as integer
play raw sound "note.pling" at {_p} with pitch 1 volume 10
open virtual chest inventory with size 1 named "&eMadde / İğne" to {_p}
make a gui slot 0 of {_p} with 351 named "&c&lEroin" with lore "||&7Eroin||||&6Bölüm:||&4Kırmızı Madde||||&6Nedir:||&fİğne yoluyla Eroin'i damardan||&fenjekte edersin ve aniden||&fsallanmaya başlarsın.||&fBirkaç saniye sonra hızlanırsın||&fve güç kazanırsın.||||&8Fiyat: &7{@igneeroinfiyati}||||&8Ölüm Riski: &7☠ 40" to run using left:
if balance of {_p} is bigger than or equal to {_igneeroinfiyati}:
execute console command "eco take %{_p}% %{_igneeroinfiyati}%"
give 1 351 named "&eİğne (&7eroin&e)" to {_p}
send "{@p} &eİğne (&7eroin&e) aldın!" to {_p}
close {_p}'s inventory
else:
send "{@p} &cYeterli paran yok!" to player
make a gui slot 8 of {_p} with 262 named "&c&l<- Önceki Sayfa" to run function madde({_p}, "menu")
if {_sayfa} is "bonzai":
set {_bonzaifiyati} to "{@bonzaifiyati}" parsed as integer
play raw sound "note.pling" at {_p} with pitch 1 volume 10
open virtual chest inventory with size 1 named "&eMadde / Bonzai" to {_p}
make a gui slot 0 of {_p} with 351:1 named "&c&lBonzai" with lore "||&7Bonzai||||&6Bölüm:||&4Kırmızı Madde||||&6Nedir:||&fİçtikten hemen sonra sallanmaya||&fbaşlarsın ve etraf bulanıklaşır.||&fZaman çok yavaş geçer.||&fVücudun komple uyuşur ve||&folduğun yerde bayılırsın.||||&8Fiyat: &7{@bonzaifiyati}||||&8Ölüm Riski: &7☠ 60||||&e(Mert'in Tavsiyesi)" to run using left:
if balance of {_p} is bigger than or equal to {_bonzaifiyati}:
execute console command "eco take %{_p}% %{_bonzaifiyati}%"
give 1 351:1 named "&eBonzai" to {_p}
send "{@p} &eBonzai aldın!" to {_p}
close {_p}'s inventory
else:
send "{@p} &cYeterli paran yok!" to player
make a gui slot 8 of {_p} with 262 named "&c&l<- Önceki Sayfa" to run function madde({_p}, "menu")
command /madde:
trigger:
madde(player, "menu")
on rightclick holding a 353:
if name of player's tool is "&eHap (&7şeker&e)":
if {maddekullaniyor::%player%} is not set:
remove 1 353 named "&eHap (&7şeker&e)" from player's inventory
set {maddekullaniyor::%player%} to true
send "&a&lSen » &eHayırlı işler kasılıyor mu dişleerr .dd" to player
send "&a&lSen » &e15 saniye sonra uçuşlara geçeceksin!" to player
set {_maddesure} to 15
loop {_maddesure} times:
remove 1 from {_maddesure}
wait 1 seconds
apply potion of speed of tier 3 to player for 30 seconds
send "&a&lSen » &eAma kafamız nasıl güzellll :)" to player
wait 5 seconds
play raw sound "game.neutral.hurt.fall.big" at player with pitch 1 volume 10
play raw sound "game.neutral.hurt.fall.big" at player with pitch 1 volume 10
play raw sound "game.neutral.hurt.fall.big" at player with pitch 1 volume 10
send "&a&lSen » &eAman aman nereye geldik neresi burası daha demin evdeydim.." to player
wait 2.5 seconds
play raw sound "ambient.cave.cave" at player with pitch 1 volume 10
play raw sound "ambient.cave.cave" at player with pitch 1 volume 10
play raw sound "ambient.cave.cave" at player with pitch 1 volume 10
send "&a&lSen » &eHarbi hızlıyım haaa!!" to player
wait 2.5 seconds
play raw sound "random.anvil_break" at player with pitch 1 volume 10
play raw sound "random.anvil_break" at player with pitch 1 volume 10
play raw sound "random.anvil_break" at player with pitch 1 volume 10
wait 15 seconds
send "&a&lSen » &eDüşüşlere geçiyorsun!" to player
wait 3 seconds
send "{@p} &eKafan geçti!" to player
delete {maddekullaniyor::%player%}
else:
send "{@p} &cZaten madde kullanmışsın, kafanın geçmesini bekle!" to player
on rightclick holding a 351:8:
if name of player's tool is "&eEsrar (&7kubar&e)":
if {maddekullaniyor::%player%} is not set:
remove 1 351:8 named "&eEsrar (&7kubar&e)" from player's inventory
set {maddekullaniyor::%player%} to true
send "&a&lSen » &eZaman hiç bu kadar yavaş olmamıştı.." to player
apply potion of blindness of tier 1 to player for 30 seconds
apply potion of slowness of tier 1 to player for 30 seconds
apply potion of nausea of tier 1 to player for 30 seconds
send "&a&lSen » &eAma kafamız nasıl güzellll :)" to player
wait 5 seconds
play raw sound "game.neutral.hurt.fall.big" at player with pitch 1 volume 10
play raw sound "game.neutral.hurt.fall.big" at player with pitch 1 volume 10
play raw sound "game.neutral.hurt.fall.big" at player with pitch 1 volume 10
send "&a&lSen » &eAman aman nereye geldik neresi burası daha demin evdeydim.." to player
wait 2.5 seconds
play raw sound "ambient.cave.cave" at player with pitch 1 volume 10
play raw sound "ambient.cave.cave" at player with pitch 1 volume 10
play raw sound "ambient.cave.cave" at player with pitch 1 volume 10
wait 2.5 seconds
play raw sound "random.anvil_break" at player with pitch 1 volume 10
play raw sound "random.anvil_break" at player with pitch 1 volume 10
play raw sound "random.anvil_break" at player with pitch 1 volume 10
wait 15 seconds
send "{@p} &eKendine geliyorsun!" to player
wait 3 seconds
send "{@p} &eKafan geçti!" to player
delete {maddekullaniyor::%player%}
else:
send "{@p} &cZaten madde kullanmışsın, kafanın geçmesini bekle!" to player
on rightclick holding a 351:
if name of player's tool is "&eİğne (&7eroin&e)":
if {maddekullaniyor::%player%} is not set:
remove 1 351 named "&eİğne (&7eroin&e)" from player's inventory
set {maddekullaniyor::%player%} to true
send "&a&lSen » &eAah işte bu kafaya bayılıyorum.." to player
apply potion of speed of tier 1 to player for 60 seconds
apply potion of strength of tier 1 to player for 60 seconds
apply potion of blindness of tier 1 to player for 60 seconds
apply potion of slowness of tier 1 to player for 60 seconds
apply potion of nausea of tier 1 to player for 60 seconds
send "&a&lSen » &eAma kafamız nasıl güzellll :)" to player
wait 5 seconds
play raw sound "game.neutral.hurt.fall.big" at player with pitch 1 volume 10
play raw sound "game.neutral.hurt.fall.big" at player with pitch 1 volume 10
play raw sound "game.neutral.hurt.fall.big" at player with pitch 1 volume 10
send "&a&lSen » &eAman aman nereye geldik neresi burası daha demin evdeydim.." to player
wait 2.5 seconds
play raw sound "ambient.cave.cave" at player with pitch 1 volume 10
play raw sound "ambient.cave.cave" at player with pitch 1 volume 10
play raw sound "ambient.cave.cave" at player with pitch 1 volume 10
send "&a&lSen » &eÇok hızlıyım ve kendimi çok güçlü hissediyorum birilerini pataklamalıyım!" to player
wait 2.5 seconds
play raw sound "random.anvil_break" at player with pitch 1 volume 10
play raw sound "random.anvil_break" at player with pitch 1 volume 10
play raw sound "random.anvil_break" at player with pitch 1 volume 10
wait 40 seconds
chance of 30%:
send "{@p} &eKendine geliyorsun!" to player
wait 8 seconds
execute console command "effect %player% clear"
send "{@p} &eKafan geçti!" to player
delete {maddekullaniyor::%player%}
else:
chance of 55%:
send "&a&lSen » &eKendimi hiç iyi hissetmiyorum!" to player
wait 8 seconds
execute console command "effect %player% clear"
send "&a&lSen » &eAah kalbim!!" to player
delete {maddekullaniyor::%player%}
kill the player
send "{@p} &cAşırı kalp hızlanmasından öldün!" to player
broadcast "&c%player%, &emadde kullanırken aşırı kalp hızlanmasından öldü!"
else:
chance of 65%:
send "{@p} &eKendine geliyorsun!" to player
wait 8 seconds
execute console command "effect %player% clear"
send "{@p} &eKafan geçti!" to player
delete {maddekullaniyor::%player%}
else:
chance of 80%:
send "&a&lSen » &eKendimi hiç iyi hissetmiyorum!" to player
wait 8 seconds
execute console command "effect %player% clear"
send "&a&lSen » &eAah kalbim!!" to player
delete {maddekullaniyor::%player%}
kill the player
send "{@p} &cAşırı kalp hızlanmasından öldün!" to player
broadcast "&c%player%, &emadde kullanırken aşırı kalp hızlanmasından öldü!"
else:
send "{@p} &eKendine geliyorsun!" to player
wait 8 seconds
execute console command "effect %player% clear"
send "{@p} &eKafan geçti!" to player
delete {maddekullaniyor::%player%}
else:
send "{@p} &cZaten madde kullanmışsın, kafanın geçmesini bekle!" to player
on rightclick holding a 351:1:
if name of player's tool is "&eBonzai":
if {maddekullaniyor::%player%} is not set:
remove 1 351:1 named "&eBonzai" from player's inventory
set {maddekullaniyor::%player%} to true
send "&a&lSen » &eAah işte bu kafaya bayılıyorum.." to player
apply potion of blindness of tier 3 to player for 120 seconds
apply potion of slowness of tier 3 to player for 120 seconds
apply potion of nausea of tier 3 to player for 120 seconds
send "&a&lSen » &eAma kafamız nasıl güzellll :)" to player
wait 5 seconds
play raw sound "game.neutral.hurt.fall.big" at player with pitch 1 volume 10
play raw sound "game.neutral.hurt.fall.big" at player with pitch 1 volume 10
play raw sound "game.neutral.hurt.fall.big" at player with pitch 1 volume 10
send "&a&lSen » &eAman aman nereye geldik neresi burası daha demin evdeydim.." to player
wait 5 seconds
play raw sound "ambient.cave.cave" at player with pitch 1 volume 10
play raw sound "ambient.cave.cave" at player with pitch 1 volume 10
play raw sound "ambient.cave.cave" at player with pitch 1 volume 10
send "&a&lSen » &eKendimi çok yorgun ve güçsüz hissediyorum!" to player
wait 5 seconds
set the walk speed of the player to 0
play raw sound "random.anvil_break" at player with pitch 1 volume 10
play raw sound "random.anvil_break" at player with pitch 1 volume 10
play raw sound "random.anvil_break" at player with pitch 1 volume 10
send "{@p} &eBayıldın!" to player
wait 95 seconds
chance of 35%:
send "{@p} &eKendine geliyorsun!" to player
wait 8 seconds
execute console command "effect %player% clear"
send "{@p} &eKafan geçti!" to player
delete {maddekullaniyor::%player%}
set the player's walk speed to 0.2
else:
chance of 65%:
send "&a&lSen » &eKendimi hiç iyi hissetmiyorum!" to player
wait 8 seconds
execute console command "effect %player% clear"
send "&a&lSen » &eAah kalbim!!" to player
delete {maddekullaniyor::%player%}
kill the player
send "{@p} &cAşırı kalp hızlanmasından öldün!" to player
broadcast "&c%player%, &emadde kullanırken aşırı kalp hızlanmasından öldü!"
set the player's walk speed to 0.2
else:
chance of 70%:
send "{@p} &eKendine geliyorsun!" to player
wait 8 seconds
execute console command "effect %player% clear"
send "{@p} &eKafan geçti!" to player
delete {maddekullaniyor::%player%}
set the player's walk speed to 0.2
else:
chance of 95%:
send "&a&lSen » &eKendimi hiç iyi hissetmiyorum!" to player
wait 8 seconds
execute console command "effect %player% clear"
send "&a&lSen » &eAah kalbim!!" to player
delete {maddekullaniyor::%player%}
kill the player
send "{@p} &cAşırı kalp hızlanmasından öldün!" to player
broadcast "&c%player%, &emadde kullanırken aşırı kalp hızlanmasından öldü!"
set the player's walk speed to 0.2
else:
send "{@p} &eKendine geliyorsun!" to player
wait 8 seconds
execute console command "effect %player% clear"
send "{@p} &eKafan geçti!" to player
delete {maddekullaniyor::%player%}
set the player's walk speed to 0.2
else:
send "{@p} &cZaten madde kullanmışsın, kafanın geçmesini bekle!" to player
on quit:
if {maddekullaniyor::%player%} is set:
delete {maddekullaniyor::%player%}
execute console command "effect %player% clear"
set the player's walk speed to 0.2
on drink of 335:
if {maddekullaniyor::%player%} is set:
cancel event
send "{@p} &cKafan güzel iken süt içemezsin!" to player
Takipte kalın Skript paylaşmaya devam edeceğim :)
Bonzai geldi!