Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plrs = game.Players
- plrs.PlayerAdded:Connect(function(plr)
- local stats = Instance.new("Folder")
- stats.Name = "leaderstats"
- stats.Parent = plr
- local wipeouts = Instance.new("IntValue")
- wipeouts.Name = "Wipeouts"
- wipeouts.Value = 0
- wipeouts.Parent = stats
- plr.CharacterAdded:Connect(function(char)
- local humanoid = char:FindFirstChild("Humanoid")
- humanoid.Died:Connect(function()
- wipeouts.Value = wipeouts.Value + 1
- end)
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement