First of all, I don’t understand most of the code.
When you said
“my.Name = Yeah”
I think it should be my.Name = True
There are multiple mistakes in this that makes it not work.
I’m not the best at scripting, but this looks like a jumble of words to me.
also I thought you you have to name your Part if you want but ill try and I used random words for my function and a random word “my” to store it in I didnt paste it in here right
I advise you not to write my.Name = Yeah. because whenever you call a function, the function will create Part ONLY with the name “Yeah”. Use the name parameter that you added to your function. I suggest a script: