Anyone Know If This Code Works?

We had some random people send in scripts to add in our game, and we got this one… Does anyone know what it does or if it even works?

--Made 100% by chickenpiev2
mx = game.Debris
mx2 = game.Debris.MaxItems
if (mx.MaxItems > 9999999999) then
mx.MaxItems = mx2*.9999999999
1 Like

Hmm, seems like all the code does is increase debris max items to an arbitrarily large number.

https://developer.roblox.com/en-us/api-reference/property/Debris/MaxItems

Anyways this property seems to be restricted and will error according to the api reference so no.

Btw I believe questions like this should go in scripting support as the code is not known to be working or not and code review is for working scripts so just keep that in mind next time.

5 Likes