Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How do I make a script that clones and follows a sprite without making them all join together in one big clump?
- PandaBash
-
Scratcher
18 posts
How do I make a script that clones and follows a sprite without making them all join together in one big clump?
This is the code I made can you help?
when I receive [ v]
repeat ()
create clone of [ v]
end
when I start as a clone
repeat ()
glide () secs to x: (0) y: (0)
end
Please help. (The code may be a little janky on this post sorry :D
- MarioJellyfish
-
Scratcher
11 posts
How do I make a script that clones and follows a sprite without making them all join together in one big clump?
you could try changing the glide speed like if your glide speed is (1) then you could change it to (0.9)


when I start as a clone
repeat
glide (0.9) secs to x: (0) y: (0)
end
- PandaBash
-
Scratcher
18 posts
How do I make a script that clones and follows a sprite without making them all join together in one big clump?
you could try changing the glide speed like if your glide speed is (1) then you could change it to (0.9)when I start as a clone
repeat
glide (0.9) secs to x: (0) y: (0)
end
The thing is that I am making them the same speed for my sans game. I need them to be same speed. Thanks for trying though!
- dem_bot
-
Scratcher
100+ posts
How do I make a script that clones and follows a sprite without making them all join together in one big clump?
Not use the glide block at all. Instead use
change x by ()So you can detect the other clones as hitboxes
change y by ()
Or
move () steps
- Discussion Forums
- » Help with Scripts
-
» How do I make a script that clones and follows a sprite without making them all join together in one big clump?


