Put your code into lua block next time, click blue lua icon in post editor and put your code inside of these things
~~~~~~~~~~~
To your question, the reason why line 8 is erroring is because it makes no sense, you are doing
function doors = Vector3.new(-8.43, 42.84, 320.35) end
What is it supposed to do?
If you don't know how to create a function, you should read [this](https://developer.roblox.com/en-us/articles/Function), basically here is how to create a function
local function doors() -- use local variable there for little performance
-- and what? Vector3.new?
end
-- Call the function by doing
doors() -- functions in roblox are called using brackets, inside of them you can put arguments that function might need
And you have a function. Or do you want to change the doors position? Then do
doors.Position = Vector3.new(-8.43, 42.84, 320.35)
Now you have set the doors position to Vector3 value. Or maybe you wanted to just create a local variable?
local doors = Vector3.new(-8.43, 42.84, 320.35)
Read about variables [here](https://developer.roblox.com/en-us/articles/Variables).
I don't really know what exactly are you trying to achieve with that line 8 but i guess this can help.