Discuss Scratch

CK840R30R8
Scratcher
32 posts

My project is now lagging although I didn’t change the code.

https://scratch.mit.edu/projects/1330535140/

This is my project “If CK840 was the CEO of Scratch”. This project worked completely fine before. Later I discovered that this project is now lagging for some reason although I didn’t change anything inside the project. If you know anything about it, please let me know what do you think is the problem.
the_comedy_Master
Scratcher
48 posts

My project is now lagging although I didn’t change the code.

HI
teddy-guy
Scratcher
1 post

My project is now lagging although I didn’t change the code.

happywaffle0
Scratcher
100+ posts

My project is now lagging although I didn’t change the code.

CK840R30R8 wrote:

https://scratch.mit.edu/projects/1330535140/

This is my project “If CK840 was the CEO of Scratch”. This project worked completely fine before. Later I discovered that this project is now lagging for some reason although I didn’t change anything inside the project. If you know anything about it, please let me know what do you think is the problem.

I’ve found the issue:

define get amount of slides automatically // run without screen refresh is on

forever // having this here makes it lag a lot in a rwosf custom blocks, so this is the source

end

To fix this, turn off run without screen refresh, and it should will work perfectly fine afterwards.
islamiec677
Scratcher
2 posts

My project is now lagging although I didn’t change the code.

hi
define
get
amount
of
slides
automatically
run without screen refresh is on
. . .
forever
. . .
? ╰(*°▽°*)╯
CK840R30R8
Scratcher
32 posts

My project is now lagging although I didn’t change the code.

happywaffle0 wrote:

CK840R30R8 wrote:

https://scratch.mit.edu/projects/1330535140/

This is my project “If CK840 was the CEO of Scratch”. This project worked completely fine before. Later I discovered that this project is now lagging for some reason although I didn’t change anything inside the project. If you know anything about it, please let me know what do you think is the problem.

I’ve found the issue:

define get amount of slides automatically // run without screen refresh is on

forever // having this here makes it lag a lot in a rwosf custom blocks, so this is the source

end

To fix this, turn off run without screen refresh, and it should will work perfectly fine afterwards.

islamiec677 wrote:

hi
define
get
amount
of
slides
automatically
run without screen refresh is on
. . .
forever
. . .
? ╰(*°▽°*)╯

This worked completely fine before, even if I had the forever loop in my “get amount of slides automatically” run without screen refresh. But I will see if that's the case.
CK840R30R8
Scratcher
32 posts

My project is now lagging although I didn’t change the code.

Hi! I found out the issue:

define “show timer” //Run without screen refresh was on. It wasn’t the “get amount of slides automatically” block.

forever

end

This block doesn’t have the ‘stop this script’ block inside, unlike the “get amount of slides automatically” block.

Since I found the issue, I’m now closing the topic. And thank you for everyone who tried to help me!

Last edited by CK840R30R8 (June 22, 2026 13:57:51)

bitmap_caketin
Scratcher
100+ posts

My project is now lagging although I didn’t change the code.

the_comedy_Master wrote:

HI

teddy-guy wrote:

Please stay on topic and do not spam

Powered by DjangoBB