How do you make a custom kill feed

I know there isn’t a default kill feed so I don’t know why I put custom.

Trying to make a kill feed with the name of the killer, the victim, and the tool used to kill the victim by the killer.

Help would be appreciated!

Main part I’m working on is the tool name

3 Likes

We will not design entire systems for you, as stated in the default forum post.
Although you could look for using Tool.Name and UIList for your GUI. UIList makes it easier to make killfeeds, and Tool.Name is the name of the tool.

1 Like

Insert me ranting about CreatorTags for 50 hours

CreatorTags! They’re basically used to simply detect a “kill check”, & they can reference both the “Target”, and the “Killer”

“But wait, how do I use them?”

Well, the way they’re implemented is that when a Tool kills a player, something what’s called a “CreatorTag” is added inside the Character’s Humanoid

  • The Tag’s Value would hold the Killer’s Name

  • The Tag’s Parent would be the Target’s Humanoid

So say we add this script inside ServerScriptService:

game.Players.PlayerAdded:Connect(function(Player)
    Player.CharacterAdded:Connect(function(Character)
        local Humanoid = Character:WaitForChild("Humanoid")

        Humanoid.Died:Connect(function() 
            local KillerTool = nil
            local Creator = Humanoid:FindFirstChild("creator")
            
            if Creator and Creator.Value then
                local Killer = Creator.Value

                for _, Tool in pairs(Killer:GetChildren()) do
                    if Tool:IsA("Tool") then
                        KillerTool = Tool
                    end
                end
            end
        end)
    end)
end)

Inside our Humanoid.Died event, we can check if there’s a Creator object inside the Target’s Humanoid & if it is, we can define the killer & check what tool he used >:O

Lastly, we can use is potentially a RemoteEvent (Depending on how you want to use it), and we can choose from a variety of different options on how we want to send the Kill Feed:

  • We can send it to the Target that died

  • We can send it to the Killer

  • We can send it for all Players that are currently in the game

It could be implemented as something along the lines of this if we wanted to send it to the Target:

RemoteEvent:FireClient(Player, Killer, KillerTool)

But this is just an example on how you could potentially implement it :thinking:

8 Likes

head hurts but I understand about 1/3 of what your saying.

1 Like