Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » When I'm trying to change a variable by 1 it gets set to a higher number
- AwzeomeXD
- Scratcher
31 posts
When I'm trying to change a variable by 1 it gets set to a higher number
Heres my current script:
change [ Misses] by ((H))(H is a variable set to 1)
- awesome-llama
- Scratcher
1000+ posts
When I'm trying to change a variable by 1 it gets set to a higher number
- Infinity-Studios5674
- Scratcher
100+ posts
When I'm trying to change a variable by 1 it gets set to a higher number
Maybe you should add a
or a
wait () secs
or a
wait until <not <>>
Last edited by Infinity-Studios5674 (July 30, 2021 06:10:22)
..╭━━━━━━╮
╭┃ ╭━━━━╮
┃┃ ╰━━━━╯
┃┃
amongus
- AwzeomeXD
- Scratcher
31 posts
When I'm trying to change a variable by 1 it gets set to a higher number
It was used for an FNF Engine Miss script. I will try and recreate it What is your question?
Doesn't the provided script work? It should based on the info you gave, if it doesn't it is likely due to some other scripts.
if <<touching [ Arrows] ?> and <not <key [ Left Arrow] pressed?>>> thenNot the actual script
change [ Misses] by (H)
end
- Infinity-Studios5674
- Scratcher
100+ posts
When I'm trying to change a variable by 1 it gets set to a higher number
if <<touching [Arrows v] ?> and <not <key [left arrow v] pressed?>>> then
change [Misses v] by (H)
wait until <<not<touching [Arrows v] ?>> and <key [left arrow v] pressed?>
end
the last block is important (maybe remove the and key left arrow pressed?>
Last edited by Infinity-Studios5674 (July 30, 2021 06:35:07)
..╭━━━━━━╮
╭┃ ╭━━━━╮
┃┃ ╰━━━━╯
┃┃
amongus
- --Tears--
- Scratcher
36 posts
When I'm trying to change a variable by 1 it gets set to a higher number
I think it's because it's over-complicated. Just remove the “H” Variable and replace it with one so it's
change [ Misses v] by (1)
Last edited by cutestcats 1:00 tomorrow
:O
I'm a triple threat.
I'm Depressed,Genderfluid and Kind
Tell me on my profile, if you're having trouble with a project.
–Tears– said:
Pride month isn't the only time for pride. I'm Gender-fluid, FTM and Aromantic.
- Discussion Forums
- » Help with Scripts
- » When I'm trying to change a variable by 1 it gets set to a higher number