powertool
|
  |
| Joined: 01 Feb 2008 |
| Total Posts: 3771 |
|
|
| 05 Feb 2014 08:40 PM |
This spits an error at me if I try to run it.
Error in script: ")" expected near "Part". However, brackets check out as okay.
function wedge(loc) for _,v in pairs(loc:GetChildren()) do if v:IsA("WedgePart”) then i = Instance.new("Part", v.Parent) i.Anchored = true i.FormFactor=“Custom” i.Size=v.Size i.CFrame=v.CFrame i.Material = "SmoothPlastic” i.BrickColor=v.BrickColor for _,w in pairs(v:GetChildren()) do if w:IsA(“SpecialMesh") then w.Parent = i end end v:Destroy() elseif v:IsA("Model”) then wedge(v) end end end wedge(workspace) |
|
|
| Report Abuse |
|
powertool
|
  |
| Joined: 01 Feb 2008 |
| Total Posts: 3771 |
|
|
| 05 Feb 2014 08:48 PM |
| I love minifier. It checks syntax at the same time, which allows me to find what's wrong, and to fix it. (Hint: Lots of "s.) |
|
|
| Report Abuse |
|