Feedback on my Practice Game

Hi, I am brand new to scripting so I made this quick game to practice scripting. I would like to get some feedback on it to see what people think about it.

Edit: I updated the game so it would get more lag faster.

this is the code I used:

for i = 1, 100000000000000, 1 do
local lagPart = Instance.new(“Part”)
local fire = Instance.new(“Fire”)
fire.Parent = lagPart
lagPart.Parent = workspace
lagPart.Position = Vector3.new(0,300,0)
lagPart.Material = “Neon”
lagPart.Size = Vector3.new(3,3,3)
wait(0.000001)
end

1 Like

I know what tutorial you watched. No need to post it on the dev forums though. Keep up the work on learning LUA.

As it seems you’re new to scripting, I presume you’d require more practise to expand your knowledge into creating a bigger, interesting game.

Regarding the project, it’s only seen to spawn in parts in a loop - therefore, it does link to your idea of “testing lag”, but statistically it isn’t efficient and doesn’t conduct much of a difference to actually test it. I presume there’s a game for this, Lag Test 2021 - Roblox, so you could use their idea of composing a functional game that you’re creating.

I’d advise you to look furthermore into DevForum resources, tutorials, and such, for creating your game. You could add a part count, FPS counter, and other essentials that you’d use for your game.

Thanks!, the tutorials I watched was from the youtuber Alvin_Blox

I set it so there’s probably enough parts to fill up the whole thing, and you have to be in there for a while for it to get a lot of lag.

That’s a good first step, and as mentioned beforehand, it does link to the concept. However, you could compose ideas from the original game as linked above, and see if you’re able to achieve an exceptional standard of making your project effective.

Your game doesn’t measure anything, besides its a lag test. The player needs something to test with the lag, therefore, you’d need to produce more content for them to meet the criteria of the game.

Thanks for the feedback I will make sure to change it to an actual test when I’m better at scripting.

1 Like

Best of luck! I can assure that you’ll do great. You’re able to use DevForum’s resources as a source to success, alongside tutorials to practise for yourself (or original ideas). If you’ve any inquiries/require assistance with your code, ensure to establish it to the scripting category.

Thanks! I will make sure to do that.

It takes a while for it to get a lot of lag because Roblox will slow down the thing that is creating the lag. That’s why it makes the game take a while to create lag.

What do you know about coding, I’m just curious because I’ve being learning coding from a lesser known youtuber and I’ve just learnt about Instances and CFrames. I want to know if you have learnt more stuff than me or if you remember more stuff etc.

I’m mostly good at for loops right now but I do know some stuff about while loops, if statements, breaking loops, a little bit of events, instances, and built-in functions.

1 Like

Good, keep on learning. I was at the same stage that you were a while ago(a week ago) so don’t get discouraged with coding. Keep up the good work! :hidere:

Thanks! I won’t get discouraged with coding.

1 Like

Hi, it looks like this place is doing exactly what you wanted, so that’s great! As others have said this may not be the most realistic example of lag in a game it’s still great that you’re considering how the Roblox engine deals with it and what you can do to optimize your games.

See this article for more info about problems with lag and testing for lag. Keep up the good work!

Thanks! I’m trying to learn how make and script GUIs so I can make it into an actual Lag Test game.