Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.Players.PlayerAdded:Connect(function(plr)
- plr.CharacterAdded:Connect(function(char)
- local humanoid = char:FindFirstChild("Humanoid")
- humanoid.Died:Connect(function()
- plr.leaderstats.Deaths.Value += 1
- local tag = humanoid:FindFirstChild("creator")
- local killer = tag.Value
- if tag and killer then
- killer.leaderstats:FindFirstChild("Kills").Value += 1
- end
- end)
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement