Arkadaşlar Şu Scripte 2 Dakikada bir yapılması icin cooldown eklermisiniz?
Ve Şu Scriptte Error gözüküyor yardım edermisiniz.
Kod:
options:
p: &8[&aMC-TR&8]
variables:
{atmsoy.%player%} = false
on sign change:
if player has permission "sk.admin":
if line 1 is "[ATM]":
if line 2 is "SOY":
set line 1 to "&8[&2ATM&8]"
set line 2 to "&9SOY"
set {tabela.%location of targeted block%} to location of targeted block
send "{@p} &7Tabela başarıyla yerleştirildi!" to player
on break a sign or wall sign:
if {tabela.%location of targeted block%} is set:
if player has permission "sk.admin":
delete {tabela.%location of targeted block%}
send "{@p} &cTabela Kaldırıldı!" to player
else:
cancel event
on rightclick on sign:
if line 1 of clicked block is "&8[&2ATM&8]":
if line 2 of clicked block is "&9SOY":
make player execute command "atmsoy"
set {atmsoy.%player%} to true
command /atmsoy:
trigger:
if {atmsoy.%player%} is true:
set {atmsoy.%player%} to false
set the freeze state of player to true
broadcast "{@p} %player% ATM'yi Soyuyor!"
wait 3 second
execute console command "eco give %player% 50"
broadcast "{@p} %player% ATM'yi Soyuyor!"
wait 3 second
execute console command "eco give %player% 50"
broadcast "{@p} %player% ATM'yi Soyuyor!"
wait 3 second
execute console command "eco give %player% 50"
broadcast "{@p} %player% ATM'yi Soyuyor!"
wait 3 second
execute console command "eco give %player% 50"
broadcast "{@p} %player% ATM'yi Soyuyor!"
set the freeze state of player to false
else:
send "{@p} &7Tabelaya tıklamalısın!"
stop
Ve Şu Scriptte Error gözüküyor yardım edermisiniz.
Kod:
on damage of player:
attacker is player
if tool of attacker is iron hoe:
if tool's displayname is "&bŞok Tabancası" with lore "LORE":
apply speed -100 to the player for 10 seconds
apply jump -100 to the victim for 10 seconds
strike lightning at the player