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

Expected ')' (to close '(' at line 1), got <eof>? [closed]

Asked by 4 years ago
Edited by JesseSong 4 years ago

Here are my scripts:

script.Parent.MouseButton1Click:Connect(function()
    local folder = game.Workspace:FindFirstChild("Folder")
    folder:Destroy()
end)

2nd:

script.Parent.MouseButton1Click:Connect(function()
    local folder = Instance.new("Folder")
    folder.parent = game.Workspace
    while true do
        local part = Instance.new("Part")
        part.parent = folder
        part.Anchored = false
        wait()          
    end
end 


Edited by ~ JesseSong

1
youre missing a parenthesis, also please use the codeblock button zadobyte 692 — 4y
0
ty, im new at scripting and was rushing ttvYellowBean -5 — 4y
1
Put a parentheis on line 10 that is, end) JesseSong 3916 — 4y

Closed as Not Constructive by JesseSong

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?