Attempt to call a nil value while changing the size and position of a part?

Im trying to change the size and position of a part and its giving me a nil output, any help?

script.Parent.Popcorn.PopcornPart.Size = script.Parent.Popcorn.PopcornPart.Size + Vector3.New(0,0.10,0)
script.Parent.Popcorn.PopcornPart.Position = script.Parent.Popcorn.PopcornPart.Position + Vector3.new(0,0.050,0)
1 Like

In the first line you wrote “New” instead of “new”.

3 Likes

I had no idea that it was cap sensitive. Thank you.

1 Like