|
| 23 Dec 2013 11:07 PM |
I've never done one before, I noticed an error on line four and I really need the help. Thanks.
local BrikBottom = Workspace.PhysicBrick.BottomSurface
function breakdownbacksurface() if BrikBottom = ("Smooth") then BrikBottom = ("Studs") elseif BrikBottom = ("Studs") then BrikBottom = ("Universal") elseif BrikBottom = ("Universal") then BrikBottom = ("Glue") end end |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 23 Dec 2013 11:10 PM |
local BrikBottom = Workspace.PhysicBrick
function breakdownbacksurface()
if BrikBottom.BottomSurface == Enum.SurfaceType.Smooth then BrikBottom.BottomSurface = "Studs"
elseif BrikBottom.BottomSurface = Enum.SurfaceType.Studs then BrikBottom.BottomSurface = "Universal"
elseif BrikBottom.BottomSurface = Enum.SurfaceType.Universal then BrikBottom.BottomSurface = "Glue"
end
end |
|
|
| Report Abuse |
|
|
|
| 23 Dec 2013 11:15 PM |
| One more thing, do I need a connection line for each one? (Im going to have different ones for each side),, or does it all go into 1? |
|
|
| Report Abuse |
|
|