benibilenbilir
Java / Skripter
- Katılım
- 10 Temmuz 2019
- Mesajlar
- 702
- Elmaslar
- 405
- Puan
- 5.825
- Yaş
- 22
- Konum
- İstanbul
- Minecraft
- Mete
Discord:
! metemoii#9257
Kod:
import:
org.bukkit.Statistic
on damage of player:
attacker is an player:
set {_p} to victim
set {_x} to floor(mod(round({_p}.getStatistic(Statistic.PLAY_ONE_TICK) / 20), 86400) / 3600)
if {_x} <= 12:
cancel the event
send "%{_p}% yeni bir oyuncu ona saldıramazsın!" to attacker
send "%attacker% size saldırmayı çalıştı, ama yeni olgunuz için: &c%{_x}%/&f12 Saat" to {_p}