Roblox Kill Feed Without Killing The Player

Hey, everyone! I’m working on a new Roblox game where you try to shove other players off the map, and the last one standing wins. I’m trying to make it so that there’s a kill feed that shows who’s been eliminated and by whom, but I’m having trouble figuring out how to do it since players aren’t using tools to kill each other; they’re just shoving each other off the map into the void. Does anyone have any advice or suggestions on how to make a kill feed for this type of game?

You could make a tag onto a player when they get shoved, the shovers username is on there and it lasts for five seconds. If the person who got shoved dies in the next 5 seconds (duration of that tag) then we can know that it was probably the last person who shoved them that was the person to shove them off the map finally.

You could make a variable to detect who the last player who pushed the player was and when the character dies, well, thats the player who killed him

I agree with the 2 other people in this thread, but I will share a way you can do this.

Let’s say you have the function here for shoving players.

function shove()
    random code here relating to shoving yada yada
    local shovedTag = Instance.new(“StringValue”, shovedPlayer)
    shovedTag.Name = “shoved”
    shovedTag.Value = playerWhoShoved
end

and then whenever the player dies you can do a check and then add it to the kill log.

check for when player dies here yada yada
    if player:FindFirstChild(“shoved”) ~= nil then
        add to kill log here yada yada
    end

Also, “yada yada” is placeholder; I don’t know exactly how your game mechanics work so I cannot put accurate info there.

I would recommend using attributes instead.

Both work, but I suppose attributes could be better. OP could chose either.