Theres a bug in my game

attackation.wick
when it falls into the lava it clones ALOT

Hello @Branster_Dev, I took a look at your project (btw, it looks cool), and I can see that the project clones a lot. There’s a built in command that returns true when an object is a clone, and you can probably use it to tell the project when to remove a clone. Here’s how it goes:

if(this.isClone){ //If this object is a clone
if(something_happens){ 
this.remove();
// Remove the clone when it's not needed or something happens
}
}

If you need help, I can try to fix your project, but you’ll just have to let me know how you want to use clones in your project so I know when to remove them

thanks @Hamzah_Alani!

1 Like

i was gonna fix the bug but i had to go pray