Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » i need help for doing A-90 from doors for an entity spawner
- m7pvz7
-
6 posts
i need help for doing A-90 from doors for an entity spawner
i need help for doing A-90 from doors for an entity spawner
i tried a code from another post but it didn´t worked
i tried a code from another post but it didn´t worked
- GalaxxyScratch
-
23 posts
i need help for doing A-90 from doors for an entity spawner
heres a script
idk if it will work but ill try
the jumpscare one you can figure out yourself
idk if it will work but ill try
when green flag clicked
forever
wait (pick random (insert number) to (insert number)) secs
broadcast [cast entity]
end
when I receive [cast entity]
forever
if <touching [player] ?> then
broadcast [jumpscare]
else
change x by (20)
end
end
the jumpscare one you can figure out yourself
Last edited by GalaxxyScratch (Nov. 10, 2023 23:09:47)
- m7pvz7
-
6 posts
i need help for doing A-90 from doors for an entity spawner
thx bro i will check
btw is not exactly a-90 is A-600 from R:fr
A-600 has the same mechanic as A-90
btw is not exactly a-90 is A-600 from R:fr
A-600 has the same mechanic as A-90
- GalaxxyScratch
-
23 posts
i need help for doing A-90 from doors for an entity spawner
sorry i dont really know rooms thx bro i will check
btw is not exactly a-90 is A-600 from R:fr
A-600 has the same mechanic as A-90
- m7pvz7
-
6 posts
i need help for doing A-90 from doors for an entity spawner
no it does´nt work sorry

- m7pvz7
-
6 posts
i need help for doing A-90 from doors for an entity spawner
here is the game
https://scratch.mit.edu/projects/911735160
here is the wiki page of the entity
https://rooms-fixed-expanded-official.fandom.com/wiki/A-600
https://scratch.mit.edu/projects/911735160
here is the wiki page of the entity
https://rooms-fixed-expanded-official.fandom.com/wiki/A-600
Last edited by m7pvz7 (Nov. 10, 2023 23:36:41)
- m7pvz7
-
6 posts
i need help for doing A-90 from doors for an entity spawner
well thanks for helping
Last edited by m7pvz7 (Nov. 11, 2023 03:50:58)
- AutumnDev
-
16 posts
i need help for doing A-90 from doors for an entity spawner
Not sure but after looking at the wiki, it turns out that if I read correctly, if you move you'd die. So, yeah. 
If thats the case, then add this variable:
Of course. If you want, you can include the Y position as well. I didn't put that because when I played your project, I noticed you don't use the Y variable.
Be sure that when broadcasting A600, set A600 to 1. When the entity is finished and disappears or something like that, set A600 back to 0 for it to work.
Have fun!

If thats the case, then add this variable:
(A600)This will detect if A600 is there. Then, put these code in the cat sprite:
when green flag clicked
set [A600] to [0]
forever
if <[A600] = [0]> then
set [past x] to (x position)
else
if <<(x position) > (past x)> or <(x position) < (past x)>> then
broadcast [ded]
end
end
end
Of course. If you want, you can include the Y position as well. I didn't put that because when I played your project, I noticed you don't use the Y variable.
Be sure that when broadcasting A600, set A600 to 1. When the entity is finished and disappears or something like that, set A600 back to 0 for it to work.
Have fun!

- Discussion Forums
- » Help with Scripts
-
» i need help for doing A-90 from doors for an entity spawner