R8N
|
  |
| Joined: 07 Aug 2013 |
| Total Posts: 1164 |
|
|
| 27 Aug 2013 07:41 PM |
local Script = Instance.new("Script",game) Script.Name = "Getting Hats" local M = game:service("MarketplaceService") Script.Source = [[Hats = {]] local function ADH(Str,ID) Script.Source = Script.Source .."\n"..[[ ["]]..Str..[["] = ]]..ID..[[;]] end
for i=1,1/0 do Delay(0,(function() print(i) local Market = M:GetProductInfo(i) if Market and Market.AssetTypeId==8 then ADH(Market.Name,Market.AssetId) end end)) end) Script.Source = Script.Source.."\n}" --Learn to use it |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2013 07:50 PM |
| Good lag script. This one is shorter: while true do end |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2013 07:53 PM |
That doesn't even look like it works.
The Unwise Wizard of Scripters has spoken. |
|
|
| Report Abuse |
|
|
R8N
|
  |
| Joined: 07 Aug 2013 |
| Total Posts: 1164 |
|
|
| 27 Aug 2013 07:54 PM |
| Only scripters know how to make it now lag. |
|
|
| Report Abuse |
|
|
R8N
|
  |
| Joined: 07 Aug 2013 |
| Total Posts: 1164 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 27 Aug 2013 07:55 PM |
Adding comments everywhere except the: for i = 1, i / 0 do place. |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2013 08:07 PM |
--[[ local Script = Instance.new("Script",game) Script.Name = "Getting Hats" local M = game:service("MarketplaceService") Script.Source = [[Hats = {]] local function ADH(Str,ID) Script.Source = Script.Source .."\n"..[[ ["]]..Str..[["] = ]]..ID..[[;]] end
for i=1,1/0 do Delay(0,(function() print(i) local Market = M:GetProductInfo(i) if Market and Market.AssetTypeId==8 then ADH(Market.Name,Market.AssetId) end end)) end) Script.Source = Script.Source.."\n}" --]]
It doesn't lag anymore. You're welcome. |
|
|
| Report Abuse |
|
|
R8N
|
  |
| Joined: 07 Aug 2013 |
| Total Posts: 1164 |
|
|
| 27 Aug 2013 08:15 PM |
not funny Just add a 'wait' |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2013 08:16 PM |
| or replace for i = 1, 1/0 do with while wait() do |
|
|
| Report Abuse |
|
|
R8N
|
  |
| Joined: 07 Aug 2013 |
| Total Posts: 1164 |
|
|
| 27 Aug 2013 08:18 PM |
@18 That's too slow! for i=1,1/0 do wait() |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 27 Aug 2013 08:18 PM |
R8N is nab
"for i=1,1/0 do Delay(0,(function()" |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2013 10:41 PM |
"1/0"
im gonna stop you right there |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 28 Aug 2013 03:00 AM |
| That moment when you try to divide 1 person in 0 groups. I see why nature doesn't like when you divide with 0, you basically nil something. |
|
|
| Report Abuse |
|
|
mew903
|
  |
| Joined: 03 Aug 2008 |
| Total Posts: 22071 |
|
|
| 28 Aug 2013 01:58 PM |
| Wouldn't sending all of those HTTP requests from the server eventually crash it (or at least shut it down) |
|
|
| Report Abuse |
|
|
IeCat
|
  |
| Joined: 31 Jul 2013 |
| Total Posts: 42 |
|
|
| 28 Aug 2013 02:28 PM |
| Mew903 DDOS if too many people :/ |
|
|
| Report Abuse |
|
|
mew903
|
  |
| Joined: 03 Aug 2008 |
| Total Posts: 22071 |
|
|
| 28 Aug 2013 03:36 PM |
| If it's running client sided it might accidentally launch a DoS attack |
|
|
| Report Abuse |
|
|
|
| 28 Aug 2013 04:19 PM |
@OP
That is complete stupidity, as that will take ages to require all the IDs.
WHY NOT JAVASCRIPT? |
|
|
| Report Abuse |
|
|