Game Maker

Player Kill

Triggers when a player gets a kill.

This event fires when a player is the direct cause of another entity's death.

Action Values

  • Player: The player who got the kill.
  • Entity: The entity that was killed (can be another player or a mob).

Event Configuration

This event has no special configuration options, as it's a result of a death that has already occurred.

Use Cases

  • The primary event for score-based games like Team Deathmatch or FFA.
  • Rewarding a player with currency or items for killing a specific mob.
  • Announcing killstreaks.

Example: Incrementing a Kill Counter

  1. Property: Create a Player Number property named Kills.
  2. Region: Select your main gameplay region.
  3. Event: Add a Player Kill event.
  4. Actions:
    • Change Property: Target the Player, select the Kills property, and Add 1.
    • Send Action Bar: To the Player, with the message &aYou got a kill! Total: %p_Kills_player%.