bertek41
The Developer of Apia Team
Kod:
on join:
set the freeze state of player to false
command /polistabanca:
permission: polis.tabanca
permission message: &4Bu Silahı Sadece Polisler Alabilir
trigger:
give a iron hoe named "&bŞok Tabancası" with lore "LORE" to player
send "&8Silahınız Başarıyla Verildi!"
stop
on damage of player:
if display name of attacker's tool contains "&bŞok Tabancası":
set the freeze state of victim to true
wait 10 second
set the freeze state of victim to false
on rightclick on oak leaves:
if {elma.%player%} is true:
set {elma.%player%} to false
send "&8Elma topluyorsun"
apply slowness 255 to player for 3 second
wait 3 second
set {_sayi} to random integer between 1 and 4
execute console command "give %player% apple %{_sayi}%"
send "&a%{_sayi}% elma toplayabildiniz! &bDaha sonra tekrar deneyin"
remove slowness from player
wait 80 second
set {elma.%player%} to true
stop
else:
cancel event
send "&cSuan elma toplayamazsiniz."
stop
on join:
set {elma.%player%} to true