function endProgram()
if game.Workspace:findFirstChild("Program") ~= nil then
running = false
makeGui("Venterion://PROGRAMS//ENDING_PROGRAM//",2.5)a
for _,v in pairs(game.Workspace.Program:GetChildren()) do
if v:IsA("Part") or v:IsA("TrussPart") or v:IsA("Wedge") then
x = Instance.new("SelectionBox",v)
x.Color = BrickColor.new("Bright red")
x.Adornee = v
wait()
v.Transparency = 1
wait()
end
end
game.Workspace.Program:Destroy()
makeGui("Venterion://PROGRAMS//PROGRAM_ENDED//",2.5)
running = false
return running
end
end
it says the for is wrong, what is wrong?

1 comment
What do you mean, "it says it is wrong"? Why don't you tell us what it says?