generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Command line scripting is failing me.

Previous Thread :: Next Thread 
powertool is not online. 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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image