Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » scratchattach - A Scratch API wrapper (Python)
- DeleterVPN
-
Scratcher
69 posts
scratchattach - A Scratch API wrapper (Python)
People like veryrealteacher misuse this stuff, especially on turbowarp because there aren’t even cloud logs and you can’t ban them. There is this really popular game called Robot Destruction or something and it is THE MOST hacked game on scratch. And because its different than griffpatch games, you can’t shut it down the way vrt does but you can lag everyone with particles, abuse freechat, and make the game unplayable.worse, they can run it 24/7
- BobaFatL
-
Scratcher
100+ posts
scratchattach - A Scratch API wrapper (Python)
People like veryrealteacher misuse this stuff, especially on turbowarp because there aren’t even cloud logs and you can’t ban them. There is this really popular game called Robot Destruction or something and it is THE MOST hacked game on scratch. And because its different than griffpatch games, you can’t shut it down the way vrt does but you can lag everyone with particles, abuse freechat, and make the game unplayable.worse, they can run it 24/7Hacking Robot Destructor doesn't require scratchattach at all.
- DeleterVPN
-
Scratcher
69 posts
scratchattach - A Scratch API wrapper (Python)
But people do it that way (or one particular guy does) so they can run it 24/7 also, it gives you the benefit of not being in the game so lagging them with your own nuke won’t workPeople like veryrealteacher misuse this stuff, especially on turbowarp because there aren’t even cloud logs and you can’t ban them. There is this really popular game called Robot Destruction or something and it is THE MOST hacked game on scratch. And because its different than griffpatch games, you can’t shut it down the way vrt does but you can lag everyone with particles, abuse freechat, and make the game unplayable.worse, they can run it 24/7Hacking Robot Destructor doesn't require scratchattach at all.
- BobaFatL
-
Scratcher
100+ posts
scratchattach - A Scratch API wrapper (Python)
Oh if it needs to run 24/7 then yeah they probably would use scratchattach.But people do it that way (or one particular guy does) so they can run it 24/7 also, it gives you the benefit of not being in the game so lagging them with your own nuke won’t workPeople like veryrealteacher misuse this stuff, especially on turbowarp because there aren’t even cloud logs and you can’t ban them. There is this really popular game called Robot Destruction or something and it is THE MOST hacked game on scratch. And because its different than griffpatch games, you can’t shut it down the way vrt does but you can lag everyone with particles, abuse freechat, and make the game unplayable.worse, they can run it 24/7Hacking Robot Destructor doesn't require scratchattach at all.
- TheCommCraft
-
Scratcher
500+ posts
scratchattach - A Scratch API wrapper (Python)
#3184
There are other libraries that allow you to do the same things that can be done with scratchattach and it is also very easy to make one yourself fitted specifically to ones needs meaning that hacking scratch does not require scratchattach
There are other libraries that allow you to do the same things that can be done with scratchattach and it is also very easy to make one yourself fitted specifically to ones needs meaning that hacking scratch does not require scratchattach
- DeleterVPN
-
Scratcher
69 posts
scratchattach - A Scratch API wrapper (Python)
#3184They need to like close the cloud variables or something like https://scratch.mit.edu/discuss/topic/875605/
There are other libraries that allow you to do the same things that can be done with scratchattach and it is also very easy to make one yourself fitted specifically to ones needs meaning that hacking scratch does not require scratchattach
- TheCommCraft
-
Scratcher
500+ posts
scratchattach - A Scratch API wrapper (Python)
(#3186)“Closed cloud variables” would require the cloud servers to be aware of the content of the project, which would be much more expensive for scratch. The server would also likely need to emulate the projects, which would be even more expensive. I highly doubt that this kind of system will be implemented.#3184They need to like close the cloud variables or something like https://scratch.mit.edu/discuss/topic/875605/
There are other libraries that allow you to do the same things that can be done with scratchattach and it is also very easy to make one yourself fitted specifically to ones needs meaning that hacking scratch does not require scratchattach
- fiosjeofo
-
Scratcher
16 posts
scratchattach - A Scratch API wrapper (Python)
GUYS I FOUND THIS WEBSITE:
https://zero-host.org/
It is a free hosting site it seems to work test it out maybe
https://zero-host.org/
It is a free hosting site it seems to work test it out maybe
- _c1919
-
Scratcher
90 posts
scratchattach - A Scratch API wrapper (Python)
GUYS I FOUND THIS WEBSITE:nice
https://zero-host.org/
It is a free hosting site it seems to work test it out maybe
unrelated but roblox lua is called luau
- Digitat321
-
Scratcher
100+ posts
scratchattach - A Scratch API wrapper (Python)
GUYS I FOUND THIS WEBSITE:omg thats amazing ive been looking for a free hosting site for ages (ive been doing scratchattach stuff on replit but replit hosting is paid unless you use a keep-alive)
https://zero-host.org/
It is a free hosting site it seems to work test it out maybe
- Blaireau2012
-
Scratcher
28 posts
scratchattach - A Scratch API wrapper (Python)
I had a problem with this code:
Writing to a variable works, but reading from it always returns None.
How can this be corrected?
Thank's!
import scratchattach as sa import time import random dernier_changement = time.time() derniere_maj = time.time() derniere_maj_test = time.time() session = sa.login(username, passwd) cloud = session.connect_cloud('1292979730') cloud.set_var('☁ ask_server', 0) tw_cloud = session.connect_tw_cloud('1292979730') tw_cloud.set_var('☁ ask_server', 0) print(tw_cloud.get_var('☁ ask_server')) # returns "None". Why? # main loop while(True): ask=cloud.get_var('☁ ask_server') print(ask) if ask != 0: print("entry into scratch followers") try: user = session.connect_user(sa.Encoding.decode(ask)) user.update() cloud.set_var('☁ followers', user.follower_count()) cloud.set_var('☁ following', user.following_count()) cloud.set_var('☁ join_date', user.join_date) cloud.set_var('☁ projects', user.project_count()) cloud.set_var('☁ views', user.loves_count()) cloud.set_var('☁ ask_server', 0) except Exception as e: print(f"error: {e}") cloud.set_var('☁ followers', -1) cloud.set_var('☁ ask_server', 0) tw_ask=tw_cloud.get_var('☁ ask_server') print(tw_ask) if tw_ask != "0": if tw_ask != None: try: user = session.connect_user(sa.Encoding.decode(tw_ask)) user.update() tw_cloud.set_var('☁ followers', user.follower_count()) tw_cloud.set_var('☁ following', user.following_count()) tw_cloud.set_var('☁ join_date', user.join_date) tw_cloud.set_var('☁ projects', user.project_count()) tw_cloud.set_var('☁ views', user.loves_count()) tw_cloud.set_var('☁ ask_server', 0) except Exception as e: print(f"tw error: {e}") tw_cloud.set_var('☁ followers', -1) tw_cloud.set_var('☁ ask_server', 0) time.sleep(1)
How can this be corrected?
Thank's!
- SAMURAI228
-
Scratcher
17 posts
scratchattach - A Scratch API wrapper (Python)
I had a problem with this code:Hey there,Writing to a variable works, but reading from it always returns None.import scratchattach as sa import time import random dernier_changement = time.time() derniere_maj = time.time() derniere_maj_test = time.time() session = sa.login(username, passwd) cloud = session.connect_cloud('1292979730') cloud.set_var('☁ ask_server', 0) tw_cloud = session.connect_tw_cloud('1292979730') tw_cloud.set_var('☁ ask_server', 0) print(tw_cloud.get_var('☁ ask_server')) # returns "None". Why? # main loop while(True): ask=cloud.get_var('☁ ask_server') print(ask) if ask != 0: print("entry into scratch followers") try: user = session.connect_user(sa.Encoding.decode(ask)) user.update() cloud.set_var('☁ followers', user.follower_count()) cloud.set_var('☁ following', user.following_count()) cloud.set_var('☁ join_date', user.join_date) cloud.set_var('☁ projects', user.project_count()) cloud.set_var('☁ views', user.loves_count()) cloud.set_var('☁ ask_server', 0) except Exception as e: print(f"error: {e}") cloud.set_var('☁ followers', -1) cloud.set_var('☁ ask_server', 0) tw_ask=tw_cloud.get_var('☁ ask_server') print(tw_ask) if tw_ask != "0": if tw_ask != None: try: user = session.connect_user(sa.Encoding.decode(tw_ask)) user.update() tw_cloud.set_var('☁ followers', user.follower_count()) tw_cloud.set_var('☁ following', user.following_count()) tw_cloud.set_var('☁ join_date', user.join_date) tw_cloud.set_var('☁ projects', user.project_count()) tw_cloud.set_var('☁ views', user.loves_count()) tw_cloud.set_var('☁ ask_server', 0) except Exception as e: print(f"tw error: {e}") tw_cloud.set_var('☁ followers', -1) tw_cloud.set_var('☁ ask_server', 0) time.sleep(1)
How can this be corrected?
Thank's!
Sorry I don't really know why your code doesn't work. But I think I have a solution for you. If you are trying to ask the server for different information about different things like views, projects etc. I think it is much easier to use ScratchAttach Cloud requests.
- AlexDF16
-
Scratcher
58 posts
scratchattach - A Scratch API wrapper (Python)
this looks so cool but i don't know how to code it 

- Digitat321
-
Scratcher
100+ posts
scratchattach - A Scratch API wrapper (Python)
wait i just realised theres an encoding feature built into scratchattach? and a sprite scratch decoder to come with it???? I WASTED MY TIME MAKING A DECODER AND ENCODER FOR SCRATCH AND PYTHON NOOO


- Digitat321
-
Scratcher
100+ posts
scratchattach - A Scratch API wrapper (Python)
this looks so cool but i don't know how to code iti suggest learning python, its quite fun, and allows you to use tools like scratchattach, there are many good tutorials online for python
- Digitat321
-
Scratcher
100+ posts
scratchattach - A Scratch API wrapper (Python)
W fr, also RIP zero-host.org
- Oisthebestletter
-
Scratcher
500+ posts
scratchattach - A Scratch API wrapper (Python)
W fr, also RIP zero-host.orgJust self host bro
- Digitat321
-
Scratcher
100+ posts
scratchattach - A Scratch API wrapper (Python)
ah yes I really want my laptop to run 24/7, overheat, start thermally throttling, probably crash, and consume unneeded amounts of energyW fr, also RIP zero-host.orgJust self host bro
- gem1001
-
Scratcher
1000+ posts
scratchattach - A Scratch API wrapper (Python)
If your laptop does that, it has a problemah yes I really want my laptop to run 24/7, overheat, start thermally throttling, probably crash, and consume unneeded amounts of energyW fr, also RIP zero-host.orgJust self host bro
I have a laptop running Python 24/7 and none of that has happened
Last edited by gem1001 (Aug. 26, 2026 07:47:50)
- Discussion Forums
- » Advanced Topics
-
» scratchattach - A Scratch API wrapper (Python)