I Coded Working AI in Scratch!

2023 ж. 21 Сәу.
278 635 Рет қаралды

Not just a bunch of ifs and say blocks - this is real AI.
----
Scratch Profile: scratch.mit.edu/users/charles...
Email: contact@donutask.com
Website: donutask.com
----
I can't publish this extension because it requires an API key. Here are the resources you need to create it yourself. The OpenAI API, ironically, requires real money to use.
Scratch mod used: sheeptester.github.io/scratch...
OpenAI Documentation: platform.openai.com/docs/api-...
Get API Key (requires account and billing details): platform.openai.com/account/a...
JavaScript Code (You need to provide an API key):
class AIBlock {
getInfo() {
//Metadata for block
return {
"id": "AI",
"name": "AI",
"blocks": [{
"opcode": "completePrompt",
"blockType": "reporter",
"text": "complete prompt [string]",
"arguments": {
"string": {
"type": "string",
"defaultValue": "Explain quantum computing in simple terms"
}
}
}],
//don't worry about it
"menus": {}
};
}
async completePrompt({ string }) {
//Remove trailing spaces, required for model to work properly
const text = string.trim();
//Request text completion using Davinci3
const url = `api.openai.com/v1/engines/tex...`;
const options = {
//Has to be post for some reason
method: "POST",
//Input prompt and a decent length
body: JSON.stringify({
prompt: text,
max_tokens: 300,
}),
//API key, and JSON content type
headers: {
Authorization: "Bearer " + API_KEY,
"Content-type": "application/json; charset=UTF-8"
},
};
console.log("REQUEST:" + url);
//Fetch and await promise.
const response = await fetch(url, options);
//Get JSON data
const jsonData = await response.json();
//The ai response will be the first (and only) choices text
const output = jsonData.choices[0].text;
return output;
}
}
//Register block with Scratch
Scratch.extensions.register(new AIBlock());
---
Sound effects from ZapSplat.com
Some images generated by DALL-E
Images and videos from Unsplash.com and Pexels.com
Music by Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 4.0 License
creativecommons.org/licenses/b...
Subscribe!
Oh, and if you want to support me financially, consider becoming a member :)
/ @donut_ask

Пікірлер
  • I should've got AI to write the code! Unfortunately, I can't publish the extension because it requires an API key that costs real money. If you have the money, the code (along with extra details) is in the description. Anyways, thank you for watching :D

    @donut_ask@donut_ask Жыл бұрын
    • I loved the video!

      @ThirtyDimensionedMissile@ThirtyDimensionedMissile Жыл бұрын
    • @@ThirtyDimensionedMissile Thank you :)

      @donut_ask@donut_ask Жыл бұрын
    • @@donut_ask No problem!

      @ThirtyDimensionedMissile@ThirtyDimensionedMissile Жыл бұрын
    • THAT IS WHAT I WAS TRYING TO DO 1 WEEK AGO

      @commandblock4607@commandblock4607 Жыл бұрын
    • Cool video btw

      @commandblock4607@commandblock4607 Жыл бұрын
  • Donutask: "this is the super secret api key im not allowed to share with anyone" Also Donutask: *casually shows the api key to thousands of viewers*

    @veniyar@veniyar11 ай бұрын
    • 🤪

      @donut_ask@donut_ask11 ай бұрын
    • hehehehe

      @user-fq9cs8ex5x@user-fq9cs8ex5x7 ай бұрын
    • @@donut_ask you changed it... right..?!?

      @IlliaZhdanov@IlliaZhdanov6 ай бұрын
    • @@RealMadhuuthere are either two options: 1. he changed it 2. he casually waits for everyone to spend his money. LMFAO

      @IlliaZhdanov@IlliaZhdanov6 ай бұрын
    • @@IlliaZhdanov I deleted it. I was stupid enough to not know how to properly sync audio and video, but not THAT stupid

      @donut_ask@donut_ask6 ай бұрын
  • “This is the super secret api key I’m not allowed to share with anyone” hmmm ok I’ll definitely keep that a secret

    @PossiblyAxolotl@PossiblyAxolotl Жыл бұрын
    • Ei09GOCHMYjMvt5jcfTrT3B1bkFJcbRIZP5kMhRMghUG7bdJ

      @Peggles13@Peggles13 Жыл бұрын
    • I can keep it a secret. I cant vouch for the people I tell it to though...

      @Not_So_Average@Not_So_Average Жыл бұрын
    • I was just about to comment that

      @loggaming7505@loggaming7505 Жыл бұрын
  • I've actually made one in Snap! (A different programming language) it has a URL block inside and some libraries that can do posts and send headers to the internet. It's much easier than making an entire extension from blocks instead of Javascript! Pretty impressive how you did it in Scratch though. That was awesome!

    @RealUnify@RealUnify Жыл бұрын
    • Didn't know snap could do that

      @donut_ask@donut_ask Жыл бұрын
    • @@donut_ask snap is basically scratch on steroids with slightly outdated ui

      @kraskaska@kraskaska Жыл бұрын
    • it has a more complex custom blocks system and has firstclass blocks, so you can pass blocks to blocks to, for example, map a list

      @kraskaska@kraskaska Жыл бұрын
    • man putting blocks to do stuff is harder than programming

      @Mr-Raptor@Mr-Raptor Жыл бұрын
    • are you my ai

      @WallDotCom@WallDotCom Жыл бұрын
  • ive been watching you since 1K subs! Good to see you finally get the attention you deserve.

    @hazeandclash@hazeandclash10 ай бұрын
    • Thank you

      @donut_ask@donut_ask10 ай бұрын
  • As a JS programmer this was painful to watch

    @JakobJoas@JakobJoas Жыл бұрын
    • I am very sorry for you having to use JS. (Since you understand it i want to share something stupid i did. I was trying to access object properties with obj["choices"] instead of obj.choices. I think it works the other way in python, because python.

      @donut_ask@donut_ask Жыл бұрын
    • um actually as a mf ur dick is small 🤓🤓🤓🤓

      @mohammadelmerhebi2278@mohammadelmerhebi2278 Жыл бұрын
    • javascript is the worst programming language in the world.

      @TheRealMangoDev@TheRealMangoDev6 ай бұрын
    • @@TheRealMangoDevWould you care to try Cobol. Or maybe something like Brain fuck or whitespace. Or maybe even PHP?

      @JakobJoas@JakobJoas6 ай бұрын
    • Im a scratcher

      @Hooman-sd8mi@Hooman-sd8mi6 ай бұрын
  • What a journey! Amazing video :)

    @Giolaboman@Giolaboman Жыл бұрын
    • Thank you :)

      @donut_ask@donut_ask Жыл бұрын
  • "This is the super secret api key that im not allowed to share with anyone" *proceeds to show it to 80k+ peaople*

    @tdgdit@tdgdit Жыл бұрын
    • Hehe

      @donut_ask@donut_ask Жыл бұрын
  • This is honestly pretty cool!

    @ethancamacho566@ethancamacho5669 ай бұрын
    • thanks

      @donut_ask@donut_ask9 ай бұрын
    • @@donut_ask no problem!

      @ethancamacho566@ethancamacho5669 ай бұрын
    • @@donut_ask no problem

      @ethancamacho566@ethancamacho5669 ай бұрын
  • And you used ChatGPT to create ChatGPT in Scratch!

    @RockyJones@RockyJones Жыл бұрын
  • most underrated programmer in the game!!!!!!!!!!!!!!!!!!!!

    @liamhood16@liamhood16 Жыл бұрын
  • Could you make a longer, more precise and step-by-step guide that explains every tiny thing. That would be awesome and absolutely deserve a sub.

    @idontwantn@idontwantn Жыл бұрын
    • I should, but maybe on a second channel. The explanation oarts are where people click off :(

      @donut_ask@donut_ask Жыл бұрын
    • @@donut_ask Yeah true. Smart.

      @idontwantn@idontwantn Жыл бұрын
    • Yes that would be great, I really want to do that but I am just to dumm to understand it, a step by step guide would be nice

      @scullycraft4776@scullycraft4776 Жыл бұрын
    • @@scullycraft4776 Yeah.

      @idontwantn@idontwantn Жыл бұрын
  • how is this man so underrated

    @Jappley@Jappley Жыл бұрын
    • yeah, he replies to every comment.

      @rahulpanchal87@rahulpanchal87 Жыл бұрын
    • @@rahulpanchal87 ok?

      @Jappley@Jappley Жыл бұрын
    • Harsh

      @matthewattah470@matthewattah470 Жыл бұрын
    • I have no idea

      @Antifurrysoldier1@Antifurrysoldier1 Жыл бұрын
    • Fr

      @toxicGD12@toxicGD12 Жыл бұрын
  • First time on the channel... I love it!

    @CyberXAndCorruptedTiger@CyberXAndCorruptedTiger Жыл бұрын
    • 👋 Hello, and thank you :)

      @donut_ask@donut_ask Жыл бұрын
    • @@donut_ask You're welcome.

      @CyberXAndCorruptedTiger@CyberXAndCorruptedTiger Жыл бұрын
    • Same

      @adamsfabuloustime5561@adamsfabuloustime5561 Жыл бұрын
  • Ive been here since 1K! I submitted a game for playing your scratch games too i also remember i made a remix of your finding game thing you used

    @stopmotionmaniac7639@stopmotionmaniac763910 ай бұрын
    • thanks :)

      @donut_ask@donut_ask10 ай бұрын
  • Just subscribed because like all there is right now is griffpatch this guy is so underrated

    @christinaSlays281@christinaSlays281 Жыл бұрын
    • Thanks for putting me in the same sentence as the goat :)

      @donut_ask@donut_ask Жыл бұрын
  • A couple months ago, I started making my first AI in Scratch. It was a dog with 2 tricks: Sit and Come. Last week, I coded another dog AI but this time it does a random trick and it starts off with a 1 in 100 chance to get the trick right, which I did with random numbers and lists. If it chooses a number other than 1, it will choose a random trick out of 3 tricks (Sit, Speak, and Come). It doesn't choose the trick it was told to do because that wouldn't make sense if it was doing the trick wrong.

    @vaticancityball7573@vaticancityball7573 Жыл бұрын
    • 😎

      @donut_ask@donut_ask Жыл бұрын
  • The griffpatch we didn't know we needed

    @Speed-TV@Speed-TV Жыл бұрын
  • Looks nice! Im glad I could answer you even in Scratch!

    @NotOmichall@NotOmichall Жыл бұрын
    • Can you answer my question?

      @omichall@omichall Жыл бұрын
    • @@omichall Of course! Please feel free to ask me any question you have, and I'll do my best to provide a helpful answer.

      @NotOmichall@NotOmichall Жыл бұрын
    • You're fake goner.

      @honor_gamer@honor_gamer Жыл бұрын
    • @@NotOmichall are you seriously chatgpt?

      @NDT111@NDT11111 ай бұрын
  • Yesterday I just got my AI to work in Scratch from scratch, it uses neural networks and you can talk to it. So I guess I am quite talented. But nice video!

    @tommysade_hq_videos@tommysade_hq_videos Жыл бұрын
    • Link? Proof?

      @nitrous69@nitrous69 Жыл бұрын
    • I probably will make a video of it on another KZhead channel, but I will not share a link yet, since I don't want it to be copied.

      @tommysade_hq_videos@tommysade_hq_videos Жыл бұрын
    • @@nitrous69 Hello! Here is a video of the usage with the AI: kzhead.info/sun/o9Nrd9llbKdtfqM/bejne.html

      @tommysade_hq_videos@tommysade_hq_videos Жыл бұрын
  • Bro worked hard on this , he deserves a like guys.

    @Sorflor@Sorflor Жыл бұрын
    • 😀

      @donut_ask@donut_ask Жыл бұрын
    • @@donut_ask it dident work

      @Shadow-Silver-Reboot@Shadow-Silver-Reboot11 ай бұрын
    • ​@@Shadow-Silver-Reboot wat ?

      @ArethaN.A@ArethaN.A11 ай бұрын
  • This is very cool! Can you make step-by-step instructions through the process? also, can I use Google Gemini/Bard? can I publish the working ai? It would be very cool if it works and I hope you can make a longer video of this!

    @Citrumoothy@Citrumoothy7 күн бұрын
  • Woohoo! AI in scratch.

    @ThirtyDimensionedMissile@ThirtyDimensionedMissile Жыл бұрын
    • 🤖

      @donut_ask@donut_ask Жыл бұрын
  • note: The AI used is not ChatGPT, it is text-davinci

    @draconicproductionsinactiv5717@draconicproductionsinactiv571711 ай бұрын
    • Yes

      @donut_ask@donut_ask11 ай бұрын
  • This man is one of the few people who can genuinely make me laugh. You just earned a new subscriber! 😂😂😂

    @josephherrera2863@josephherrera2863 Жыл бұрын
    • Thank you :D

      @donut_ask@donut_ask Жыл бұрын
    • @@donut_ask was the api key at the end real

      @kramsdell_@kramsdell_6 ай бұрын
    • @@kramsdell_ no

      @donut_ask@donut_ask6 ай бұрын
  • Thats so cool love it

    @MozharGamer@MozharGamer Жыл бұрын
    • Thanks :)

      @donut_ask@donut_ask Жыл бұрын
  • Scratch “programmer” trying javascript for the first time be like

    @sunnyMK69@sunnyMK69 Жыл бұрын
    • I've used JS before on a couple websites. But JS is awful!

      @donut_ask@donut_ask Жыл бұрын
  • What Website Did You Use For The "Data: URI Generator"?

    @ashleighvannes3601@ashleighvannes360110 ай бұрын
    • Can't remember, i think it was just the top google result for 'Data URI Generator'

      @donut_ask@donut_ask10 ай бұрын
  • That's cool and all but I once made an apple go to a random position when you click it

    @Central.Idiotic.Agency@Central.Idiotic.Agency Жыл бұрын
    • that's cool and all but once I made an apple move right when you pressed left

      @chicken02090@chicken02090 Жыл бұрын
  • This is just using an extension that goes into ChatGPT AI. That means this isn't working AI in Scratch, especially since you had to go to a totally different website to do so with an extension. I was expecting for a neural network to be coded literally with scratch blocks.

    @Prazimania@Prazimania Жыл бұрын
    • Yeah the title and thumbnail is a bit clickbait on this video. Unfortunately it works; this is one of my top performing videos. No one would watch "I Just Used an Extension that Goes into ChatGPT AI". In the first 30 seconds, I clarify that this is an extension, so I'm not trying to waste your time. I hope you understand :) Also, you can make a basic neural network in Scratch. But the most complex you can really do is recognise numbers. Predictive text would be impossible in regular scratch.

      @donut_ask@donut_ask Жыл бұрын
    • @@donut_ask Hey, it's all good, I understand that! I tried making a neural network in Spanish before lol

      @Prazimania@Prazimania Жыл бұрын
  • 5:07 Him: I can't show this code to anyone Me: ...

    @Clarix_Shorts@Clarix_Shorts Жыл бұрын
    • ...

      @donut_ask@donut_ask Жыл бұрын
  • 1:42 no way you just did that. I was about to warn you about you not blurring it properly. 😂

    @Logboy2000@Logboy20005 ай бұрын
  • Amazing!!!🤯

    @Lemyx.@Lemyx.2 ай бұрын
  • You are so underrated on yt. You definitely deseeve over 500 k subs

    @user-gn8im9bx3b@user-gn8im9bx3b Жыл бұрын
    • 😀

      @donut_ask@donut_ask Жыл бұрын
  • Aw. Thanks! It helps a lot!

    @AndrewZhao_@AndrewZhao_11 ай бұрын
  • wow great video man

    @CyberPotato123@CyberPotato123 Жыл бұрын
    • Thanks

      @donut_ask@donut_ask Жыл бұрын
    • @@donut_ask also make your thumbnails more mr beast like, add suprised faces to them

      @CyberPotato123@CyberPotato123 Жыл бұрын
    • 😱😱😱😱😱😱

      @donut_ask@donut_ask Жыл бұрын
    • @@donut_ask negro coton picker

      @CyberPotato123@CyberPotato123 Жыл бұрын
    • @@donut_ask mb bro

      @CyberPotato123@CyberPotato123 Жыл бұрын
  • I feel like there is a way to make almost good working chat AI, but it's also possible to make regular Nextbot-like AI.

    @gneu1527@gneu1527 Жыл бұрын
  • At 5:40 Line 34 | "method: 'post'" POST is a type to pass info to php, in that case, basically it will get the input from the Scratch and send it to the php of the AI

    @giovannielias8153@giovannielias8153 Жыл бұрын
    • I could be wrong, but I think that is it

      @giovannielias8153@giovannielias8153 Жыл бұрын
    • Seems about right

      @donut_ask@donut_ask Жыл бұрын
  • I used your clicker tutorial and it worked-¹!except sunshine and the water) you just earned a sub for helping scratchers

    @maribellira6997@maribellira6997 Жыл бұрын
    • Thanks :)

      @donut_ask@donut_ask Жыл бұрын
  • Yoo, this is the most underrated extension ever! (Btw i didnt payed for this donation but google technicaly did)

    @lejacobofficial@lejacobofficial Жыл бұрын
    • This is the first super thanks I got. Thank you!!

      @donut_ask@donut_ask Жыл бұрын
    • @@donut_ask You're welcome, you deserved it because you spent cash on the video, basically its a cash back by google.

      @lejacobofficial@lejacobofficial Жыл бұрын
    • omg wait czech people?! 😱

      @TheoSur@TheoSur Жыл бұрын
    • @@lejacobofficial If you cash back from google, the person you sent the money doesn't get it. Are you only 10? How could you even think things work like that?

      @dabbopabblo@dabbopabblo Жыл бұрын
    • @@dabbopabblo I think you misunderstood him.

      @ParodieHecker-mobile@ParodieHecker-mobile Жыл бұрын
  • Will it work when shared?

    @CharloBrownOfficial@CharloBrownOfficial Жыл бұрын
  • The Gandi IDE already has an AI extension, you can give it a try 😊

    @collin4254@collin4254 Жыл бұрын
    • That sounds cool

      @donut_ask@donut_ask Жыл бұрын
  • This is not coded AI in scratch, this is coded API.

    @gero9307@gero9307 Жыл бұрын
    • Correct

      @donut_ask@donut_ask Жыл бұрын
    • @@donut_ask Implemented, false title.

      @3_pancakes767@3_pancakes767 Жыл бұрын
  • what’s funny is that robot sprite in the beginning reminds me of those 60s sci-fi film with crazy cool predictions on the future, definitely a true future with advanced AI like this

    @spungbopscarepans@spungbopscarepans Жыл бұрын
  • i'm usually a Python programmer, but i've had some JS experience, so i can try to breakdown the thought process here, but forgive some estimation "POST" is a form of HTTP interfacing, instead of asking the server (OpenAI) "hey, can we get this resource", it's like putting a little request form in an envelope and putting it in a queue for OpenAI! JavaScript's JSON is a library(ish? i'm not sure on terminology for JavaScript) that essentially takes a few tidbits of information (like the prompt and max_tokens), similar to a dictionary in Python, or, good lord, Objects in JavaScript. a mere google search gave me shivers. other than that, the headers are just ways for the content to be delivered to OpenAI's HTTP servers. after that, the request is sent, and async/await allows JavaScript to keep working with other functions and elements without having to wait for one element to finish. then, the response is a JSON data packet, which is then accessing the choices element in the JSON, choosing the first, and giving you a string as an output! finally, the actual elements come together in a neat little package, registering the block in Scratch.

    @yellowsaint@yellowsaint Жыл бұрын
    • Great explanation!! If only I could of said it like this in the video

      @donut_ask@donut_ask Жыл бұрын
    • JSON is a data format

      @kostya8764@kostya8764 Жыл бұрын
  • 1:43 It says "Never gonna give you up" That is a creative way to deter some people looking for your personal info...

    @LambdaCreates@LambdaCreates7 ай бұрын
    • Haha some people actually thought it was my actual info

      @donut_ask@donut_ask7 ай бұрын
    • @@donut_askwait what those are hardcore hackers probably they're willing to get rickrolled if it means a possible chance for someone's information

      @LambdaCreates@LambdaCreates7 ай бұрын
    • 0:13 BLUR BLUR BLUR THE API KEY NOW NOW BLUR IT BLUR IT BLUR IT BLUR IT

      @LambdaCreates@LambdaCreates4 ай бұрын
  • I actually made one in Vanilla Scratch! Using cloud variables. It was interesting. My classmates and teachers liked the little project.

    @d5hcode@d5hcode5 ай бұрын
    • Oooh, clever!

      @donut_ask@donut_ask5 ай бұрын
    • Can you give me the link? I WANT IT.

      @EquaTechnologies@EquaTechnologies4 ай бұрын
  • nice, i even tried it myself and it works! I kinda had to fix it by putting the api key code and use chatgpt to fix further cuz it no work and thanks to fixes it worked but i also found out u dont need money to get api key, i dont care about limits

    @thebluescratchy2009@thebluescratchy2009 Жыл бұрын
    • How did you get it for free?

      @donut_ask@donut_ask Жыл бұрын
    • @@donut_ask easy generating api key requires no money i simply opened the link, clicked the button that generates the key, BOOM, key generated, just a reminder i DO have an openai account

      @thebluescratchy2009@thebluescratchy2009 Жыл бұрын
  • How do I create an API key, I don't understand what you said in the description

    @Radioactivemeness@Radioactivemeness Жыл бұрын
    • help.openai.com/en/articles/4936850-where-do-i-find-my-secret-api-key

      @donut_ask@donut_ask Жыл бұрын
  • Could you perhaps write the code, with the api key place saying "API-KEY"

    @BESTGAMER12132@BESTGAMER12132 Жыл бұрын
    • Code is in description

      @donut_ask@donut_ask Жыл бұрын
  • Underrated creator spotted 👀

    @jujhar.@jujhar. Жыл бұрын
    • :)

      @donut_ask@donut_ask Жыл бұрын
  • Amazing

    @yolopolotyur@yolopolotyur Жыл бұрын
    • Thanks :)

      @donut_ask@donut_ask Жыл бұрын
  • “In Scratch” Also I would love to run this in Snap. I can surely modify this…

    @memetech-@memetech- Жыл бұрын
    • I've never used snap, good luck

      @donut_ask@donut_ask Жыл бұрын
  • I have that thingy too. Why haven't I tried to alter time with it?

    @user-eq5fz4qk6c@user-eq5fz4qk6c Жыл бұрын
    • Be careful not to break the space time continuum!

      @donut_ask@donut_ask Жыл бұрын
  • How do I paste the code into the scratch mod?

    @AstroEli133@AstroEli133 Жыл бұрын
  • Just wait until someone makes a working ai using only scratch blocks

    @RonicTheEgg@RonicTheEgg Жыл бұрын
    • Next Griffpatch project...

      @donut_ask@donut_ask Жыл бұрын
    • already did :) of course, it's not perfect in any way, nor can you call it an actual a.i, but the concept is the same as an a.i would.

      @TheoSur@TheoSur Жыл бұрын
  • I'm turning this into an extension that can be used on Turbowarp (by editing a few things)

    @NovaspiderUltra@NovaspiderUltra9 ай бұрын
    • Yay

      @donut_ask@donut_ask9 ай бұрын
  • 1:51 I don't even know much about coding and making games. but this experience is too real for me.

    @elliotthill7008@elliotthill70087 ай бұрын
  • Please how do I contact would love to discuss something on scratch Program with you

    @obiomavirginia8159@obiomavirginia815911 ай бұрын
    • Email in description :)

      @donut_ask@donut_ask11 ай бұрын
  • Could you upload the project so we can use the chatgpt block?

    @jaimebennett1@jaimebennett110 ай бұрын
    • No, you can't upload projects with custom extensions

      @donut_ask@donut_ask10 ай бұрын
    • @@donut_ask 😭😭😭😭😭😭😭

      @jaimebennett1@jaimebennett110 ай бұрын
  • title: i coded working ai in scratch video: im using this random persons version of scratch

    @africc@africc11 ай бұрын
    • Donutask is such a stupid liar!

      @donut_ask@donut_ask11 ай бұрын
  • can you give me the link of the ai assistant

    @Speeder_565@Speeder_5654 ай бұрын
  • It keeps on saying TypeError and i don't understand.

    @KratVRAG@KratVRAG7 ай бұрын
  • Now make it entirely in Scratch lol

    @WindowsDrawer@WindowsDrawer Жыл бұрын
    • Don't think that's possible. Bet Griffpatch will do it though.

      @donut_ask@donut_ask Жыл бұрын
    • @@donut_ask I mean, people have already coded working neural networks that recognize drawn text, but we havent reached chatgpt level lol

      @WindowsDrawer@WindowsDrawer Жыл бұрын
    • Yeah, there's a big difference

      @donut_ask@donut_ask Жыл бұрын
  • This is really cool and keep up the good work.

    @JWGoldPro@JWGoldPro Жыл бұрын
    • Thanks :)

      @donut_ask@donut_ask Жыл бұрын
  • "thIS IS A SUPer SEcret API key"

    @basicallybrand@basicallybrand Жыл бұрын
  • bro became a dinosaur at 2:03

    @squid5675@squid56754 ай бұрын
  • scratch GOAT

    @liamhood16@liamhood16 Жыл бұрын
  • Yo, a few questions, one the code doesn't work, and two can i make a vid on this?

    @OGSnapStrike@OGSnapStrike Жыл бұрын
    • Do you have an API key? Or my code just sucks. You can make a video :)

      @donut_ask@donut_ask Жыл бұрын
    • @@donut_ask yea i got an api key

      @OGSnapStrike@OGSnapStrike9 ай бұрын
  • Task: become donut

    @fabiankrajewski3147@fabiankrajewski3147 Жыл бұрын
    • 🍩

      @donut_ask@donut_ask Жыл бұрын
  • Woohoo, youre so good at coding!

    @user-pj7bg1df4p@user-pj7bg1df4p11 ай бұрын
    • Thanks

      @donut_ask@donut_ask11 ай бұрын
  • now make a transistor simulator and make a whole ai out of simulated transistors

    @crocolierrblx9365@crocolierrblx9365 Жыл бұрын
  • how can i make this extension?

    @SweetLullaby12345@SweetLullaby123453 ай бұрын
  • i just got rick rolled, trying to steal someones credit card number. that makes me wonder if that card number is valid

    @aydenzgamer2249@aydenzgamer2249 Жыл бұрын
    • I used a fake number generator. But you got RICK ROLLED!!!!!

      @donut_ask@donut_ask Жыл бұрын
  • please add the link to the working A.I in the description

    @TinyTaronja@TinyTaronja2 ай бұрын
    • I literally can't

      @donut_ask@donut_askАй бұрын
  • WOW NICE VID!!! your literally a genius in scratch. Your channel is underrated it needs more subscribers!!! and hehe. I love how you put some jokes in your vids!

    @ToshiyukiTokuda925@ToshiyukiTokuda925 Жыл бұрын
    • Thanks. I try to make boring videos actually fun to watch. Glad you liked it.

      @donut_ask@donut_ask Жыл бұрын
    • @@donut_ask i tried it, but i got an error :(

      @Shadow-Silver-Reboot@Shadow-Silver-Reboot Жыл бұрын
  • u are so good

    @Planes_are_life@Planes_are_life Жыл бұрын
    • Thanks :)

      @donut_ask@donut_ask Жыл бұрын
  • MY BRAIN IS IN PRAINNNNNNNNNNNN

    @M1H1yt@M1H1yt2 ай бұрын
  • real chads would us scratchattach.

    @ItIsJan@ItIsJan Жыл бұрын
  • whats the url? /

    @williamharrison3143@williamharrison31434 ай бұрын
  • Nice video

    @Nova0@Nova0 Жыл бұрын
    • Thank you

      @donut_ask@donut_ask Жыл бұрын
  • my brain hurts this is too smart-y🥶🥶

    @luizmull3449@luizmull3449 Жыл бұрын
    • This is me > 🤓🤓

      @donut_ask@donut_ask Жыл бұрын
  • 2:44 timing is perfect

    @EluayeYT@EluayeYT Жыл бұрын
    • How did I manage to mess this up!

      @donut_ask@donut_ask Жыл бұрын
  • You actually didnt built any ai , you just made scratch talk with an api...

    @swiftprison@swiftprison Жыл бұрын
    • Yeah, a lot of people have mentioned that. I might need to change the title a bit. But I don't know how to phrase it in any other interesting way :/

      @donut_ask@donut_ask Жыл бұрын
  • Hey donutask I have found a way to make custom extensions without writing Java code all your hard work was a bad thing did you know about turbowarp and penguin mod those can allow you to upload custom extensions

    @labanikhanam1055@labanikhanam10557 ай бұрын
    • Yup turbowarp works. How do you make an extension without JavaScript code?

      @donut_ask@donut_ask7 ай бұрын
    • IT shall work

      @labanikhanam1055@labanikhanam10557 ай бұрын
    • @@labanikhanam1055 I don't understand

      @donut_ask@donut_ask7 ай бұрын
  • Why did you show the API key you werent meant to show?

    @birb_not_nerd@birb_not_nerd Жыл бұрын
    • I deleted it. I left it in the video because it would be funny

      @donut_ask@donut_ask Жыл бұрын
  • ScratchGPT by DonutAI

    @zeboosta@zeboosta11 ай бұрын
  • I dare you too make the most cursed game ever

    @juliannkelley@juliannkelley11 ай бұрын
    • I TRIPLE DOG DARE YOU

      @juliannkelley@juliannkelley11 ай бұрын
    • WITH A CHARY ON TOP

      @juliannkelley@juliannkelley11 ай бұрын
    • Maybe

      @donut_ask@donut_ask11 ай бұрын
  • make a custom and make it then it says define (custom block name) and u connect blocks underneath and da blocks underneath define the custom block. pretty complex but its just how it works (the video is still cool)

    @randomdudewhomakesvideos8747@randomdudewhomakesvideos8747 Жыл бұрын
    • Yes that us how custom blocks work. They can't achieve what I wanted to do so i needed an extension

      @donut_ask@donut_ask Жыл бұрын
  • I Love Keyboard-Typed Coding More Than Block Coding

    @cyanuranus6456@cyanuranus6456 Жыл бұрын
    • Same

      @donut_ask@donut_ask Жыл бұрын
    • ​@@donut_ask 2 people who like the same thing as me, I guess my js and java(and lots of languages) classes definitely made me a genius

      @thekeyboardwarrior1018@thekeyboardwarrior1018 Жыл бұрын
    • @@thekeyboardwarrior1018 Everybody Loves Text-Based Programming Languages More Than Block-Based Programming Languages

      @cyanuranus6456@cyanuranus645611 ай бұрын
    • @@thekeyboardwarrior1018 Scheme Programming Language, C# Programming Language, XNA Programming Language and XML Programming Language are My Favorites

      @cyanuranus6456@cyanuranus645611 ай бұрын
    • @@cyanuranus6456 yeah

      @thekeyboardwarrior1018@thekeyboardwarrior101811 ай бұрын
  • 🎉

    @krutaaks@krutaaks Жыл бұрын
  • real footage of a 8 year old coding and cracking jokes.

    @awesome_billy_bob@awesome_billy_bob2 ай бұрын
  • it dosent show the extension

    @labanikhanam1055@labanikhanam10557 ай бұрын
    • It's not released

      @donut_ask@donut_ask7 ай бұрын
  • WOWOWOWOWOW

    @titanicfudge._.7038@titanicfudge._.7038 Жыл бұрын
  • whats the url?

    @williamharrison3143@williamharrison31434 ай бұрын
  • can you make video tutorial to make block is scratch please?

    @Eleven11x7@Eleven11x711 ай бұрын
    • A lot of people have asked, I probably should actually make it now.

      @donut_ask@donut_ask11 ай бұрын
  • i know a person who made ai without an api key it cant do much though

    @socroratcho@socroratcho Жыл бұрын
  • how do i set it up with the js?

    @kai-eu7wc@kai-eu7wc Жыл бұрын
    • See description. Unfortunately the API will cost money

      @donut_ask@donut_ask Жыл бұрын
    • @@donut_ask It does not say how to import it.

      @kai-eu7wc@kai-eu7wc10 ай бұрын
  • Imagine someone wants to see in description talk Scratch OpenAI CGPT, but there is no actual link, or link on the charlesbel's games. There is no ChatGPT in here, it's just a challenge.

    @honor_gamer@honor_gamer Жыл бұрын
  • Hey, im wondering if you could do a more in depth video on how you made an extension in scratch.

    @bee.mp3@bee.mp3 Жыл бұрын
    • Maybe, I'll consider making one :)

      @donut_ask@donut_ask Жыл бұрын
KZhead