Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local killedEvent = game.ReplicatedStorage.KilledEvent
- local TextLabel = script.MurderLabel
- killedEvent.OnClientEvent:Connect(function(plr, KillerName)
- if plr and KillerName then
- print(plr.Name.." has been killed by "..KillerName)
- local newLabel = TextLabel:Clone()
- newLabel.Text = KillerName.." > "..plr.Name
- newLabel.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui").KillFeed.Frame
- wait(10)
- newLabel:Destroy()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement