Here's the script: It always attempts to load but says there isn't anything there, im sure the problem is at the green dashed line.
DataStore = game:GetService("DataStoreService"):GetDataStore("BSI")
Players = game:GetService("Players")
game.Players.PlayerAdded:connect(function(player)
local Kills = Instance.new("IntValue", leader)
Kills.Name = "Kills"
local key = "user "..player.userId
local Saved = DataStore:GetAsync(key)
print (Saved[1])
Kills.Value = Saved[1] or 0
DataStore:SetAsync(key, Saved[1])
print (key, Saved[1])
end)
game.Players.PlayerRemoving:connect(function(player)
local key = "user "..player.userId
print (key.." left")
local ToSave = player.leaderstats.Kills.Value
print (ToSave.." value")
DataStore:SetAsync(key, 1 == ToSave) -----------------------
print (key, ToSave)
print 'SAVED'
end)

2 comments
Why are you trying to save a condition as a value, why not just use the ToSave variable?
Are you trying to save the true or false condition?