--On line 10, change the currency name 'Points' to the name of the currency you're using. Make it all ONE WORD.







local RankP = {'1'}

local Randoms = math.random(.001,#RankP)







local Humanoid = script.Parent.Humanoid
function pp() 
local tag = Humanoid:findFirstChild("creator") 
	if tag ~= nil then 
		if tag.Value ~= nil then 
local Leaderstats = tag.Value:findFirstChild("leaderstats") 
			if Leaderstats ~= nil then 
Leaderstats.Money.Value = Leaderstats.Money.Value + 700000
Leaderstats.Ranks.Value = Leaderstats.Ranks.Value + Randoms --How much recieved after killing. (Erase number and put your own set amount)
wait(0.1)
script:remove()
			end 
		end 
	end 
end 
Humanoid.Died:connect(pp) 
