Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » "Forever if" blocks not working
- theoriginalone
-
New Scratcher
2 posts
"Forever if" blocks not working
I have a program using “forever if” blocks to jump, move, and swing. When I jump and swing at the same time, the sprite hangs instead of falling like it's supposed to. It doesn't affect gameplay too badly, but I intend to add hazards and the glitch also works with moving and swinging. This could create problems when trying to avoid a hazard and being unable to stop. Can somebody help me out a little? What's going on?
- ErnieParke
-
Scratcher
1000+ posts
"Forever if" blocks not working
Well, this sounds like a simple fix, which should be good news for you, but I can't tell 100% till I see your scripts. Could you please show them or even upload your project? Either option is as good as the other.
With regards,
ErnieParke
With regards,
ErnieParke
- 5632622roblox
-
Scratcher
100+ posts
"Forever if" blocks not working
Pikachu look like Pikachu are having a problem. Pikachu should try being on 1.4.
- bloxxer
-
Scratcher
100+ posts
"Forever if" blocks not working
forever if doesnt exist in 2.0 i think only in 1.4
just use
forever
{
if
{
}
}
just use
forever
{
if
{
}
}
- TheUltimateCoder3279
-
Scratcher
18 posts
"Forever if" blocks not working
There isn't a forever if block but there is this (same thing):
forever
if <[awesome?] = [yes]> then
say [you are awesome!] for (2) secs
end
end
- JRR078
-
Scratcher
56 posts
"Forever if" blocks not working
That seems like the code is interfering with each other in some way, I don't have any suggestions, but that's what it seems like.
Also, do you mean:
Also, do you mean:
foreveror:
if (...) then
...
end
end
forever if (...)
...
end
- Harakou
-
Scratcher
1000+ posts
"Forever if" blocks not working
There isn't a forever if block but there is this (same thing):There used to be, though. This thread is 3 years old, so I don't think it's relevant any more.forever
if <[awesome?] = [yes]> then
say [you are awesome!] for (2) secs
end
end
- Discussion Forums
- » Help with Scripts
-
» "Forever if" blocks not working






