Script Error I don't understand

I got an error on line 7, how do I fix this
image

Can you state the error please? and is this a local script? and where is it located?

1 Like

I agree with @AtomTostcuOzgurUsta, this is not a detailed topic for us to solve.

image
Yes
image

Still doesn’t explain it. WHATS EXACTLY the error?

I don’t know… That’s why I made this post???

This is not the error. You’re just showing me which line is erroring. Error is the RED text

1 Like

Oh my god, you didn’t show us the full error, you just show us where the error line is.

image
ohhhhh

wait if newpart isn’t in frame then where is it

Don’t ask us, we don’t know how your GUI a looks like, it seems like you Place it somewhere else.

everything you need to know is in the script and the pictures i gave… -_-

And that still doesn’t help us to find where exactly you’re newpart is.

I’m assuming newpart is the variable you’re cloning with, You’re never parenting it to somewhere and you need to rename it as “newpart”.

3 Likes

ohhhhhh, okay… yeah, that’s what i thought but i wasn’t sure

You cloned it, but you forgot to rename it.