Ok so I have a certain code string and its saying that when I spawn to remove the accessory. I don't want that but when I delete that string and delete one end and try to load it says "eof expected near end"!
for _, v in pairs(char:GetChildren()) do
if v.ClassName == "Accessory" then
v:remove()
end
end

2 comments
If that isn't your full script, then you most likely have an extra "end" somewhere.
You should use :Destroy(). Remove is deprecated.