Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Is it possible to make a script only work once?
- splopboople
-
New Scratcher
12 posts
Is it possible to make a script only work once?
If it's possible, I want to be able to click on my main 3 characters only once to make go through their lines once. . Do I just set conditions other than the sprite being clicked? Here is the link: https://scratch.mit.edu/projects/771325312/
- Elm0-_-
-
Scratcher
100+ posts
Is it possible to make a script only work once?
I looked through your project and it seemed to be running fine. Can you please restate your issue?
- lmnoplmnop
-
Scratcher
15 posts
Is it possible to make a script only work once?
Try this.
when this sprite clicked
if <(check) = [0]> then
your code::#888888
set [check] to [1]
end
Last edited by lmnoplmnop (Jan. 12, 2023 06:01:09)
- NSCONTENT
-
Scratcher
10 posts
Is it possible to make a script only work once?
Tell me a good dying code u know where the character dies
- deck26
-
Scratcher
1000+ posts
Is it possible to make a script only work once?
Tell me a good dying code u know where the character diesPlease create your own topic and give more information. Usually you just need a health variable and when it hits 0 the character dies.
- splopboople
-
New Scratcher
12 posts
Is it possible to make a script only work once?
Try this.Thank you! It worked!when this sprite clicked
if <(check) = [0]> then
your code::#888888
set [check] to [1]
end
- splopboople
-
New Scratcher
12 posts
Is it possible to make a script only work once?
I looked through your project and it seemed to be running fine. Can you please restate your issue?Someone else helped me figure it out. I just wanted the characters to only go through their scripts once. Before I set the click limit, you could go through the whole script however many times you wanted.
- Discussion Forums
- » Help with Scripts
-
» Is it possible to make a script only work once?




