LINES 183-187
for x,y in pairs(script.Parent:GetChildren()) do
if not(y:IsA("Script")) then
y.Action.MouseButton1Click:Connect(action(y))
end
end
I don't know what is wrong, but i need it to still input the thing that was clicked into the function. Help is really appreciated, since this is one error in a 200 line script i have to fix!

1 comment
"action" isn't a function, according to the error message. Can you show us which line you defined it on?