of     1   

C_Sharper
#139459919Sunday, July 06, 2014 9:50 PM GMT

local Humanoid = script.Parent.Zombie local ods = game:GetService("DataStoreService"):GetOrderedDataStore("Kills") function d() local tag = Humanoid:findFirstChild("creator") if tag ~= nil then if tag.Value ~= nil then ods:IncrementAsync(tag.Value, 1) wait(0.1) script:remove() end end end Humanoid.Died:connect(d) After this script works, and I check the global leaderboard I made, I see a new name come up called 'creator' and it's kills is set to 1.. I am like 'what is that?' it's supposed to add + 1 kill to the actual person who killed it, not the 'creator'... What can I do? Fixes appreciated
AntonioLorenzi
#139460827Sunday, July 06, 2014 9:59 PM GMT

ods:IncrementAsync(tag.Value, 1) i think thats the line thats wrong wouldn't it not be +1?
C_Sharper
#139460945Sunday, July 06, 2014 10:00 PM GMT

Yes coder, that's the line that's wrong. And I don't think that would fix it. Thanks tho
AntonioLorenzi
#139461051Sunday, July 06, 2014 10:01 PM GMT

well you're not specifying it there at all, what ur script is doing is chagign the value to 1 so lol it's logical its doing that
L0cky2013
#139462682Sunday, July 06, 2014 10:18 PM GMT

ods:IncrementAsync(KEY, 1)

    of     1