AndreAres
Odunlara Vur Vur Vur!
Kod:
options:
prefix: &6&lCASINO &8| &f
gui-title: &8Casino Menüsü
default-bet: 100
vip-bonus-multiplier: 1.25
variables:
{casino.balance::*} = 1000
command /casino:
trigger:
if {casino.balance::%uuid of player%} is not set:
set {casino.balance::%uuid of player%} to 1000
open chest with 3 rows named "{@gui-title}" to player
format slot 10 of player with gold nugget named "&eYazı/Tura" with lore "&7Tahmin et, kazan!" to close then run [execute console command "/casino flip %player%"]
format slot 11 of player with diamond named "&bSlot Makinesi" with lore "&73 sembolü eşleştir!" to close then run [execute console command "/casino slot %player%"]
format slot 12 of player with emerald named "&aZar Oyunu" with lore "&71-6 zar at ve kazan!" to close then run [execute console command "/casino dice %player%"]
format slot 13 of player with red dye named "&cRenk Tahmini" with lore "&7Kırmızı mı, Mavi mi?" to close then run [execute console command "/casino renk %player%"]
format slot 15 of player with paper named "&fBakiyen" with lore "&7Şu anki coin miktarın" to close then run [execute console command "/balance %player%"]
command /balance:
trigger:
set {_bal} to {casino.balance::%uuid of player%}
if {_bal} is not set:
set {_bal} to 1000
set {casino.balance::%uuid of player%} to {_bal}
send "{@prefix}&fBakiyen: &a%{_bal}% &ecoin"
command /casino flip:
trigger:
set {_bet} to {@default-bet}
if {casino.balance::%uuid of player%} < {_bet}:
send "{@prefix}&cYetersiz bakiyen var."
stop
remove {_bet} from {casino.balance::%uuid of player%}
set {_guess} to random element out of "Yazı" and "Tura"
set {_result} to random element out of "Yazı" and "Tura"
send "{@prefix}&7Tahminin: &e%{_guess}% &8| Sonuç: &f%{_result}%"
if {_guess} is {_result}:
set {_reward} to {_bet} * 2
add {_reward} to {casino.balance::%uuid of player%}
send "{@prefix}&aKazandın! &7Ödül: &a%{_reward}% &ecoin"
else:
send "{@prefix}&cKaybettin. Daha şanslı olabilirdin."
command /casino slot:
trigger:
set {_bet} to {@default-bet}
if {casino.balance::%uuid of player%} < {_bet}:
send "{@prefix}&cYetersiz bakiyen var."
stop
remove {_bet} from {casino.balance::%uuid of player%}
set {_symbols::*} to "", "", "⭐", "", ""
loop 3 times:
set {_slot::%loop-number%} to random element out of {_symbols::*}
send "&8[ %{_slot::1}% &8| %{_slot::2}% &8| %{_slot::3}% ]"
if {_slot::1} is {_slot::2} and {_slot::2} is {_slot::3}:
set {_reward} to {_bet} * 4
add {_reward} to {casino.balance::%uuid of player%}
send "{@prefix}&aTebrikler! 3 aynı sembol! Kazandın: &a%{_reward}% &ecoin"
else:
send "{@prefix}&cKazanamadın. Tekrar dene!"
command /casino dice:
trigger:
set {_bet} to {@default-bet}
if {casino.balance::%uuid of player%} < {_bet}:
send "{@prefix}&cYetersiz bakiyen var."
stop
remove {_bet} from {casino.balance::%uuid of player%}
set {_roll} to random integer between 1 and 6
send "{@prefix}&fZar sonucu: &e%{_roll}%"
if {_roll} >= 5:
set {_reward} to {_bet} * 3
add {_reward} to {casino.balance::%uuid of player%}
send "{@prefix}&aKazandın! &7Ödül: &a%{_reward}% &ecoin"
else:
send "{@prefix}&cKazanamadın."
command /casino renk:
trigger:
set {_bet} to {@default-bet}
if {casino.balance::%uuid of player%} < {_bet}:
send "{@prefix}&cYetersiz bakiyen var."
stop
remove {_bet} from {casino.balance::%uuid of player%}
set {_colors::*} to "Kırmızı"
Bu yukarıdaki skripti düzelticek biri var mıdır? Bu skripti SkriptX-Free diye bir yapay zekaya yazdırdım ama çalışmıyor yardım eder misiniz?