Merhaba insanlar,
Sizlere kelepçeleme sistemi yapmaya çalıştım bunu skript üzerinde deniyorum bunu java ilede yapmaya çalıştım olmadı birde skript ile deniyeyim dedim bir hata bir kusur görürseniz alttan bildirebilirsiniz.
Kod:
on rightclick on a player with blaze rod:
player doesn't have permission "kelepce.tak"
chance of 30%:
apply slowness -100 to the victim for 2 minutes
apply jump -100 to the victim for 2 minutes
execute console command "/playsound random.levelup %victim"
execute console command "/playsound game.potion.smash %player%"
send "<red>%victim% <white>Tarafindan kelepçelendin" to attacker
send "<red>%victim% <white>Adli kisi <red>%attacker% <white>Tarafindan kelepçelendi !" to the console
send "<white>Kelepçelisin haraket edemez hiçbir şey yapamazsin,Kelepçe 2 dakika içinde otomatik açilir !" to victim
remove 1 blaze rod from player's inventory
on damage:
on damage of a player
cancel event
wait 2 minutes
remove speed from the player
remove jump from the player
Son düzenleme: