Hopscotch Coding Question

helpwithcode

#1

K, so I wanna make a quote generator but I have one thing I'm confused on. I don't know how to make the words randomize (i.e. click the "gimme a quote" button, and then it randomizes the words)


#2

I know some people you can ask because i don't know how to do it
@SmileyAlyssa
@Gilbert189


#3

Hey! So what you need for this is values.

They're really... Valuable.

Anyway, just drag out a set value block. Then make the number, let's say, random 1 to 5. Then, add a "Check once if" block. Inside that, make it check if your value equals 1. Inside that, then put a set text block. Add your text.

Repeat with each number and different text, and there you go!


#4

Thanks so much!:blush: