jjkolo
|
  |
| Joined: 20 Sep 2009 |
| Total Posts: 7291 |
|
| |
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 15 May 2015 05:13 PM |
wiki.roblox.com
I script -~ chimmihc |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
| |
|
Chrapnel
|
  |
| Joined: 01 Feb 2014 |
| Total Posts: 951 |
|
|
| 15 May 2015 05:14 PM |
^
If you read that, you will find your question is very much basic. |
|
|
| Report Abuse |
|
|
|
| 15 May 2015 05:15 PM |
local xp = script.Parent.leaderstats.XP local levels = script.Parent.leaderstats.Level if xp.Value > 200 then if levels.Value > levelcap then xp.Value = xp.Value - 201 xp.Value = xp.Value + (xp.Value * 2) levels.Value = levels.Value + 1 end end
|
|
|
| Report Abuse |
|
|
jjkolo
|
  |
| Joined: 20 Sep 2009 |
| Total Posts: 7291 |
|
| |
|
|
| 15 May 2015 05:15 PM |
inefficient but
local StatName = "Points" local maxStat = 5000
for i = 1,math.huge do wait() for _,v in pairs(game.Players:GetPlayers()) do if v.leaderstats[StatName].Value < maxStat then -- the < might be wrong.. v.leaderstats[StatName].Value = maxStat end end end |
|
|
| Report Abuse |
|
|
jjkolo
|
  |
| Joined: 20 Sep 2009 |
| Total Posts: 7291 |
|
| |
|
|
| 15 May 2015 05:59 PM |
I assure it works, i said the > might be wrong
its either:
> < >= =< |
|
|
| Report Abuse |
|
|
jjkolo
|
  |
| Joined: 20 Sep 2009 |
| Total Posts: 7291 |
|
| |
|
|
| 15 May 2015 06:05 PM |
| Instead of getting free models, why not learn? |
|
|
| Report Abuse |
|
|
jjkolo
|
  |
| Joined: 20 Sep 2009 |
| Total Posts: 7291 |
|
| |
|
jjkolo
|
  |
| Joined: 20 Sep 2009 |
| Total Posts: 7291 |
|
| |
|
| |
|
|
| 15 May 2015 06:31 PM |
| level = math.min(level + 1,LEVEL_CAP) |
|
|
| Report Abuse |
|
|
025110
|
  |
| Joined: 23 Nov 2012 |
| Total Posts: 57661 |
|
| |
|