Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i,v in pairs(game.Players:players()) do
- if v:FindFirstChild("leaderstats") then
- if v.leaderstats["abbonees"].Value <= 10 then
- local aantal = math.random(0,5)
- local aantaltwee = math.random(10,15)
- v.leaderstats["videos"].Value = v.leaderstats["videos"].Value + 1
- v.leaderstats["abbonees"].Value = v.leaderstats["abbonees"].Value + aantal
- v.leaderstats["cash"].Value = v.leaderstats["cash"].Value + aantaltwee
- elseif v.leaderstats["abbonees"].value > 10 and v.leaderstats["abbonees"].value < 1000 then
- local aantal = math.random(20,50)
- local aantaltwee = math.random(30,40)
- v.leaderstats["videos"].Value = v.leaderstats["videos"].Value + 1
- v.leaderstats["abbonees"].Value = v.leaderstats["abbonees"].Value + aantal
- v.leaderstats["cash"].Value = v.leaderstats["cash"].Value + aantaltwee
- elseif v.leaderstats["abbonees"].value >= 1000 and v.leaderstats["abbonees"].value < 10000 then
- local aantal = math.random(100,250)
- local aantaltwee = math.random(100,200)
- v.leaderstats["videos"].Value = v.leaderstats["videos"].Value + 1
- v.leaderstats["abbonees"].Value = v.leaderstats["abbonees"].Value + aantal
- v.leaderstats["cash"].Value = v.leaderstats["cash"].Value + aantaltwee
- elseif v.leaderstats["abbonees"].value >= 10000 and v.leaderstats["abbonees"].value < 100000 then
- local aantal = math.random(500,1000)
- local aantaltwee = math.random(200,700)
- v.leaderstats["videos"].Value = v.leaderstats["videos"].Value + 1
- v.leaderstats["abbonees"].Value = v.leaderstats["abbonees"].Value + aantal
- v.leaderstats["cash"].Value = v.leaderstats["cash"].Value + aantaltwee
- elseif v.leaderstats["abbonees"].value >= 100000 and v.leaderstats["abbonees"].value < 1000000 then
- local aantal = math.random(1000,5000)
- local aantaltwee = math.random(1000,2000)
- v.leaderstats["videos"].Value = v.leaderstats["videos"].Value + 1
- v.leaderstats["abbonees"].Value = v.leaderstats["abbonees"].Value + aantal
- v.leaderstats["cash"].Value = v.leaderstats["cash"].Value + aantaltwee
- elseif v.leaderstats["abbonees"].value >= 1000000 and v.leaderstats["abbonees"].value < 10000000 then
- local aantal = math.random(10000,50000)
- local aantaltwee = math.random(10000,20000)
- v.leaderstats["videos"].Value = v.leaderstats["videos"].Value + 1
- v.leaderstats["abbonees"].Value = v.leaderstats["abbonees"].Value + aantal
- v.leaderstats["cash"].Value = v.leaderstats["cash"].Value + aantaltwee
- elseif v.leaderstats["abbonees"].value >= 10000000 and v.leaderstats["abbonees"].value < 50000000 then
- local aantal = math.random(200000,500000)
- local aantaltwee = math.random(200000,300000)
- v.leaderstats["videos"].Value = v.leaderstats["videos"].Value + 1
- v.leaderstats["abbonees"].Value = v.leaderstats["abbonees"].Value + aantal
- v.leaderstats["cash"].Value = v.leaderstats["cash"].Value + aantaltwee
- elseif v.leaderstats["abbonees"].value >= 50000000 then
- local aantal = math.random(2000000,5000000)
- local aantaltwee = math.random(1000000,3000000)
- v.leaderstats["videos"].Value = v.leaderstats["videos"].Value + 1
- v.leaderstats["abbonees"].Value = v.leaderstats["abbonees"].Value + aantal
- v.leaderstats["cash"].Value = v.leaderstats["cash"].Value + aantaltwee
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment