title: Leaderstat value addition is reverted
body: <p><strong>What is supposed to happen:</strong>
  Randomiser adds number between 1-5 to 'money' and when clicked on imagegui it adds 500 to total</p>
  <p><strong>What is it actually doing:</strong>
  Randomiser adds number between 1-5 to 'money' and when clicked on imagegui it adds 500 to total. Then when Randomiser adds again it takes the 500 away again.</p>
  <p><strong>The script controlling it:</strong></p>
  <pre><code>--Add money to balance on purchase
  Cash500.MouseButton1Click:Connect(function()
      print(&quot;Received&quot;)--Tests to see if function works 
      game.Players.LocalPlayer.leaderstats.Money.Value = game.Players.LocalPlayer.leaderstats.Money.Value + 500
  end)
  </code></pre>
  <p>**The leaderstat Handler too: **</p>
  <pre><code>game.Players.PlayerAdded:Connect(function(player)
  
      local leaderstats = Instance.new(&quot;Folder&quot;, player)
      leaderstats.Name = &quot;leaderstats&quot;
  
      local Money = Instance.new(&quot;IntValue&quot;, leaderstats)
      Money.Name = &quot;Money&quot;
      
      local Gems = Instance.new(&quot;IntValue&quot;, leaderstats)
      Gems.Name = &quot;Gems&quot;
  end)
  
  local function addTime(player)
      while true do 
          local RandomNumber = math.random(1,5)
          print(RandomNumber)
          wait(3)
          player.leaderstats.Money.Value = player.leaderstats.Money.Value + (RandomNumber)
      end
  end
  
  game.Players.PlayerAdded:Connect(addTime)
  </code></pre>
  <p>How to fix this?</p>