Problem With a tool

So I’m tryna make a Pizza making game, like Work at a Pizza Place. It kinda works, the problem is when I click the box again to get the dough I get this error:


This is the script in question:
image

1 Like

It’s because you’re cloning the pizza OUTSIDE of the MouseClick function. You need to move the pizza variable into the function under line 6, then it should work because it’ll create a new copy each time.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.