Discuss Scratch

User20491969
Scratcher
3 posts

Script is operating despite being deleted

I've recently made a game in which there are fireflies. The fireflies used to have a function that made them move with the plater but I deleted the function. I've looked through my code multiple times and there is no code that could still perform the function.
How can I get past this?

edit: For those of you requesting it, here's the project: https://scratch.mit.edu/projects/818119287/
I was hesitant to post because the code is ugly and the game is full of small bugs and not finished
pls hlp

Last edited by User20491969 (March 15, 2023 22:15:36)

legendary34678
Scratcher
1000+ posts

Script is operating despite being deleted

Please post the link to your project and remember to share it. We can't help you if we can't see your project!

After you post the link, it would be helpful to tell us which sprite the problem may be in.

Can you beat my latest game?

Have you heard of the X Y Problem?
Please check out me projects please I'm desperate –> Idle Balls, Candy Grab!, Don't Move Your Mouse!, Rude Robot, Tic Tac Toe, Memory Game, Corn Maze, and Idle Balls PEN EDITION!

Oh, hey! I have 100+ posts now!
Oh, hey! I have 500+ posts now! (8/26/22)
Oh, hey! I have 1000+ posts now! (9/23/22)
(Thanks to @AntonL1kesPotato for helping me figure out how to add a signature!)
-CosmoCode-
Scratcher
52 posts

Script is operating despite being deleted

Maybe due to clones, as long as a project is running and you are coding in the sprite that has clones, if you delete it the code might still show - because clones are using it, to avoid it click to any other sprite.

This happened to me a few times and If I remember correctly that was the only sprite in the project
deck26
Scratcher
1000+ posts

Script is operating despite being deleted

Unless you share we can only guess. It's not uncommon for someone to have scripts hidden behind others - try the option to clean up blocks to ensure nothing is hidden.
Robloxisamazing12335
Scratcher
1 post

Script is operating despite being deleted

https://scratch.mit.edu/projects/1009107593




The player won't point in direction of the mouse and deleted scripts to make the player point direction 180 if the mousex was greater than 0 are still running. I've tried the cleaning up blocks button and still can't find the problem

Last edited by Robloxisamazing12335 (April 27, 2024 08:42:12)

deck26
Scratcher
1000+ posts

Script is operating despite being deleted

You have left-right rotation style instead of all-round. If you get the direction to show on screen and move the mouse around you'll see the player only ever faces left or right but the direction is changing to different values.

Powered by DjangoBB