Before I start with this I want to let the reader know I am a very beginner scripter.
So basically I created a text button with a localScript inside and the local script creates a part, and adds a mesh to it. Everything works fine the first time but the second time the output says “Attempting to call a nil value” and does not spawn the part + mesh. Any ideas?
Scripts + Output:
For the last pic I clicked twice, the first time it worked the second time it didn’t.