Every time I touch the button that makes you teleport, It always says that vector3 isn't a member of Part. Can someone help me out?
Heres the script:
function Teleporter()
script.Parent.vector3.new(workspace.SpawnLocation2.Position + Vector3.new(0,5,0))
end
script.Parent.Touched:connect(Teleporter)

2 comments
Right* Spelling and capitalization are important in code, so they should be worked on. simple typos can lead to hours of debugging. (a versus A)
Your connection line is wrong. It looks like you're almost doing an anonymous function, but "script.Parent.Touched:connect(Teleport)" will work fine.