ahmetpulsar
Taş Madencisi
- Mesajlar
- 89
- En iyi cevaplar
- 0
- Beğeniler
- 3
- Puanları
- 0
bu skript 2 parçadır hatam burda
buda 2. parça takim minigamesi skripti yapcam sifirla benim yaptığım ister kaldırın ister kaldırmayın
Kod:
on login:
if {takim.%player%} is not set:
set {takimrenk.%player%} to "&a"
set {takim.%player%} to "acik"
delete {takim.%player%}
on load:
if {takimchat} is not set:
set {takimchat} to "acik"
on chat:
if {takimchat} is "acik":
if {takim.%player%} is not set:
if {yesil.%player%} is "1":
bind hologram "&4&n&lTakim:&b&2Ğ" to player for 10 seconds offset by 0, 3.7, 0
set {takim.%player%} to "acik"
wait 10 second
delete {takim.%player%}
if {mor.%player%} is "1":
bind hologram "&4&n&lTakim:&b&5Ğ" to player for 10 seconds offset by 0, 3.7, 0
set {takim.%player%} to "acik"
wait 10 second
delete {takim.%player%}
else:
cancel event
else:
cancel event
command /takimchat [<text>]:
permission: op
permission message: &cBu komutu kullanmak icin yeterli izne sahip degilsin!
trigger:
if arg-1 is not set:
send " &c/takimchat &a[kapat/ac] &9seklinde kullaniniz!" to player
if arg-1 is "kapat":
set {takimchat} to "kapali"
send " &4Kapatildi!" to player
if arg-1 is "ac":
set {takimchat} to "acik"
send " &bAcildi!" to player
if arg-1 is not "ac" or "kapat":
send " &c/takimchat &a[kapat/ac] &9seklinde kullaniniz!" to player
command /takimrenk [<text>]:
trigger:
if arg-1 is not set:
send " &e/takimrenk &7[&a$a &8/ &b$b &8/ &c$c &8/ &6$6 &8/ &9$9&7]" to player
if arg-1 is "$a":
set {takimrenk.%player%} to "&a"
send "&aHologram renginiz acik yesil olarak belirlendi!" to player
if arg-1 is "$b":
set {takimrenk.%player%} to "&b"
send "&bHologram renginiz acik mavi olarak belirlendi!" to player
if arg-1 is "$c":
set {takimrenk.%player%} to "&c"
send "&cHologram renginiz acik kirmizi olarak belirlendi!" to player
if arg-1 is "$6":
set {takimrenk.%player%} to "&6"
send "&6Hologram renginiz koyu sari olarak belirlendi!" to player
if arg-1 is "$9":
set {takimrenk.%player%} to "&9"
send "&9Hologram renginiz mavi olarak belirlendi!" to player
if arg-1 is not "$a" or "$b" or "$c" or "$6" or "$9":
send " &e/takimrenk &7[&a$a &8/ &b$b &8/ &c$c &8/ &6$6 &8/ &9$9&7]" to player
Kod:
on rightclick:
name of player's tool is "&f&lSağ Tıkla"
remove tool from the player
set {renk.%player%} to 1
set {yesil.%player%} to 0
set {mor.%player%} to 0
if {renk.%player%} is 1:
chance of 50%:
send "&f&lTebrikler %player% Yesil Oldun!"
execute console command "manuadd %player% green"
set {renk.%player%} to 0
set {yesil.%player%} to 1
kick player
chance of 50%:
send "&f&lTebrikler %player% Mor Oldun!"
execute console command "manuadd %player% mor"
set {renk.%player%} to 0
set {mor.%player%} to 1
kick player
on login:
if {mor.%player%} is 1:
execute console command "effect %player% 5 1000000 2"
message "&f&lMor Olduğun İçin Güç Verildi!" to player
if {yesil.%player%} is 1:
execute console command "effect %player% 1 1000000 2"
message "&f&lYesil Olduğun İçin Hız Verildi!" to player
command /sifirla:
trigger:
give 1 nether star named "&f&lSağ Tıkla" to player
on first join:
give 1 nether star named "&f&lSağ Tıkla" to player
on chat:
if {takim.%player%} is "kapali":
if {takim.%player%} is not set:
if {yesil.%player%} is 1:
bind hologram "&2Yesil" to player for 10 seconds offset by 0, 3.7, 0
if {mor.%player%} is 1:
bind hologram "&5Mor" to player for 10 seconds offset by 0, 3.7, 0