Why doesn't this value-change... change?
Asked by
8 years ago Edited 8 years ago
I'm trying to make the variable kills so that it only counts from the start of your KOs and not from 0.
2 | game.Players.LocalPlayer.CharacterAdded:connect( function () |
4 | local start = game.Players.LocalPlayer.leaderstats.KOs.Value |
5 | game.Players.LocalPlayer.leaderstats.KOs.Changed:connect( function (amount) |
Example, if I had 0 kills, and get 5 kills, it will be 5 kills, ok. But in my next character respawn, (now I still have 5 kills in my leaderboard), if I get 5 more kills (10 in total), it will not say 5, it will say 10. How do I fix it so it says 5 only? And the thing saying it is the variable kills.