I'm just using a standard Roblox rocket launcher from the toolbox with some added code to make it fire rapidly when the mouse button is held down, but whenever each rocket is cloned and launched, Roblox studio pauses for a brief moment. I don't know if it just can't process fast enough or if something is wrong in the code. Any ideas?

6 comments

0

We can not help if you do not provide the script.

0

It could be possible that you created a loop without a wait()

0

That is what I was thinking about. A loop without a yield.

0

Thx for the loop idea. I’ll look into my code more and if I’m still stumped, I’ll upload the script.

0

After some testing Ive determined that the problem is cloning the object, not launching it or anything like that. Im gonna rewrite some of the code with original rocket launcher code and I think I’ll get it to work.

0

If anyone stumbles upon this thread, I found my problem. I had the explosion sound effect duplicated like 1000 times. I don't know why it was like this but after I deleted the extras it cloned just fine.