Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Cord snipping //keycard door script no work ehwy?

Asked by 4 years ago

output: Workspace.Buildings.Part.Script:15: 'end' expected (to close 'function' at line 1) near '<eof>'

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

1
That output error is telling you to add an end on line 11 ForeverBrown 356 — 4y
0
Oooooohhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh Vortex_Vasne 89 — 4y

Answer this question