viplav37
|
  |
| Joined: 17 Aug 2011 |
| Total Posts: 1918 |
|
|
| 05 Jul 2014 08:24 AM |
I mean award 2 KOS for 1 KO change? I am totally blank about leaderboards(never made it) |
|
|
| Report Abuse |
|
|
|
| 05 Jul 2014 08:50 AM |
Umm... That would cause a theoretical infinite loop that will keep multiplying exponentially until eventually the world crashes.
Or just ya know, make roblox crash XD |
|
|
| Report Abuse |
|
|
viplav37
|
  |
| Joined: 17 Aug 2011 |
| Total Posts: 1918 |
|
|
| 05 Jul 2014 08:52 AM |
No no no no You dont get it I mean if one kill is done add 2 kos to leaderboard
Not if ko+1 then add another ko |
|
|
| Report Abuse |
|
|
|
| 05 Jul 2014 09:04 AM |
| Find it in your weapon script and change it to + 2 instead of + 1 |
|
|
| Report Abuse |
|
|
viplav37
|
  |
| Joined: 17 Aug 2011 |
| Total Posts: 1918 |
|
|
| 05 Jul 2014 09:46 AM |
| Thanks but I know that I was asking if I am in a game and I need to do that using a Local script (script builder kind of thing) |
|
|
| Report Abuse |
|
|
|
| 05 Jul 2014 09:48 AM |
local KO = game.Players.LocalPlayer.leaderstats.KOs local last = KO.Value
KO.Changed:connect(function() if KO.Value-last == 1 then KO.Value = KO.Value + 1 last = KO.Value end end)
|
|
|
| Report Abuse |
|
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
|
| 05 Jul 2014 09:49 AM |
KOs.Changed:connect(function() if KOs.Value%2==0 then KOs.Value = KOs.Value + 1 end end)
idkkkkkkkk |
|
|
| Report Abuse |
|
|
|
| 05 Jul 2014 09:51 AM |
| But that's assuming the KOs started as odd |
|
|
| Report Abuse |
|
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
|
| 05 Jul 2014 10:30 AM |
| well change the 0 as 1 when its not or something |
|
|
| Report Abuse |
|
|
viplav37
|
  |
| Joined: 17 Aug 2011 |
| Total Posts: 1918 |
|
|
| 07 Jul 2014 07:17 AM |
Thanks but it only works one time so I guess a loop will fix that
|
|
|
| Report Abuse |
|
|