How can I make a math system like this?

This is now turning into a spoon-feeding session ngl. If you understood the code I gave a lil bit, you wud have known that adding this line would have worked:

block.CanCollide = isCorrectBlock
block.Transparency = isCorrectBlock and 0 or 1
block.MainUI.Enabled = false

Also that isn’t a while loop but a for loop. You really ought to learn the basics of scripting before working on such projects. Also the while loop is necessary as it is the core game loop which manages the flow of the round in your game. Nevertheless if you wanna exit it, just add a break at the point you want to break out of the loop.

2 Likes

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