What do I to change the shape, color, and size?(Just to be sure) (The main question-->) Why do I get an error on line 5?
script.Parent.Touched:connect(function(Part)
if Part.Name=="PARTNAME" then
Part:remove()
script.Parent:remove()
PRODUCTNAME=Instance.new("Part", game.Workspace)
--Adjust shape/color/size of product item here.
end
end)

7 comments
What IS the error?
It underlines "PRODUCTNAME" in blue
Blue underline isn't an error, check your output for errors.
Please tell me what I should do :( . I didn't see any "errors" but the script was highlighting the word in blue...
I'm completely lost :(
Open up Script Analysis and see what it says about the blue.
Put "local" before PRODCTNAME, and the blue should go away.