|
| 12 Dec 2011 09:03 PM |
Why this stack end? :O
while true do for i,v in pairs(Workspace:getChildren()) do if v:IsA("Part") and v.Name == "Wall" then a = Instance.new("BlockMesh") a.Parent = v wat(19) end end end
Output:
Script "Workspace.Script", Line 6 stack end |
|
|
| Report Abuse |
|
|
Legend26
|
  |
| Joined: 08 Sep 2008 |
| Total Posts: 10586 |
|
|
| 12 Dec 2011 09:04 PM |
"wat(19)"
What the... do you mean "wait?" |
|
|
| Report Abuse |
|
|
|
| 12 Dec 2011 09:05 PM |
| I mean't wait... still doesn't work though. |
|
|
| Report Abuse |
|
|
|
| 12 Dec 2011 09:07 PM |
| Now the script just inserts mesh into ONE brick named Wall?!? |
|
|
| Report Abuse |
|
|
micol2242
|
  |
| Joined: 13 Nov 2010 |
| Total Posts: 4732 |
|
|
| 12 Dec 2011 09:08 PM |
if v:IsA("Part") and v.Name == "Wall" then v.Name == "Wall" then
*if v:IsA("Part")*
--what is this i dont even-- |
|
|
| Report Abuse |
|
|
Spectrumw
|
  |
| Joined: 04 Aug 2009 |
| Total Posts: 13510 |
|
|
| 12 Dec 2011 09:10 PM |
@Cat That's because the script will wait 19 seconds before inserting the mesh into another part. |
|
|
| Report Abuse |
|
|