How do u make a laggy gaem

hi guys

i found a rly laggy game

so laggy my macbook which gets 3x less fps than a gt 730 crashed while playing it on low settings

anyone know how to make a laggy gaem (but still good)

ty guys

heres de game link

https://www.roblox.com/games/15913854716/The-Difficulty-Upgrade-Tree-Regrown

replace all your variables with instance values and add 1 gazillion of unnecesary connections and modules to maximize memory leaks

1 Like

I call it the memory eater.

local bigTable = {}

local function memoryEater()
	while task.wait() do
		bigTable[table.clone(bigTable)] = table.clone(bigTable)
		task.spawn(memoryEater)
	end
end

memoryEater()

Fair warning that this will use up all available RAM on a system in mere seconds.

4 Likes

so you set a table’s element (which is a table) to be equal to a table and then spread the virus

Basically, you add a clone of bigTable as an item to bigTable with an index of another clone of bigTable every frame, while also generating more generators every frame.

i thought indexes can only be numbos

Indices are only numbers when used in an array, but in a dictionary, as far as I’m concerned, they can be anything.

ah so it’s like

bigTable = {

{} = {}

}

Yeah, except that the index and value where you have {} = {} are both copies of bigTable, so the size of the index, value, and overall size of bigTable exponentially increase at extremely high speeds.

1 Like

100,000 PBR trees



This was the first time I ever saw lag on my pc with a 3070 TI

dayum

i wish i could run 60 fps in grow a garden..

actually in my pc i crashed when i joined grow a garden

1 Like

if your PC:

  1. crashes when you play grow a garden
  2. 3 FPS on space pinball
  3. can’t even run notepad

that’s not your PC, that’s a rock

3 Likes

sometimes it crashes baseplates, takes 1 minute to open the task manager, if i use youtube for very much time it starts to bug and lag, (and eventually crashes)
the same happens for devforum
but roblox studio runs perfectly
what is this pc?? is it made of soap?

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.