Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local TeleportService = game:GetService("TeleportService")
- local RoundsDataStore = game:GetService("DataStoreService"):GetOrderedDataStore("Rounds")
- game.Players.PlayerAdded:Connect(function(player)
- player.CharacterAdded:Connect(function(Char)
- Char.Humanoid.Died:Connect(function()
- RoundsDataStore:IncrementAsync(player.UserId, 1)
- end)
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement