How do I make player speed increase when player gets 2 kills

Hey! I edited the script a bit and now it is working perfectly!! Thanks for helping!!! But there is one more problem, instead of the amountofkills value reseting to 0 it is glitch and it doesn’t show in leaderboard, any solutions?