Okay so I made a really simple skript. When you throw egg it creates an explosion. Now the problem is, when you throw the egg on player and the player dies, the dead is caused by an explosion. How I can make it to be player kill. So player who throw the egg will get a kill.
Code:
Code:
Code:
on projectile hit:
event-projectile is egg
wait 10 ticks
create a safe explosion of force 2 at event-location