output: Workspace.Buildings.Part.Script:15: 'end' expected (to close 'function' at line 1) near ''
function touched(hit)
if hit.parent.Name == "Scissors" then
script.Parent.Transparency = 0.10
script.Parent.CanCollide = false
wait(1)
script.Parent.Transparency = 0
script.Parent.CanCollide = true
end
script.Parent.Touched:Connect(touched)
its a keycard door but its snipping the cords with scissors

2 comments
That output error is telling you to add an end on line 11
Oooooohhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh