pokl1
|
  |
| Joined: 03 Jun 2010 |
| Total Posts: 183 |
|
|
| 18 Jun 2014 08:03 PM |
What would I have to do so If anything In workspace like lets say Ice is there It will remove it in 0.5 or 1 Sec
I have tried while true do wiat (1) game.Workspace.Ice:destroy() end
But it won't work Please help? |
|
|
| Report Abuse |
|
|
Tynexx
|
  |
| Joined: 11 Jul 2012 |
| Total Posts: 1559 |
|
|
| 18 Jun 2014 08:09 PM |
for _,v in pairs(game.Workspace:GetChildren()) do if v.Name == "ice" then v:Destroy() end end |
|
|
| Report Abuse |
|
|
pokl1
|
  |
| Joined: 03 Jun 2010 |
| Total Posts: 183 |
|
| |
|
Tynexx
|
  |
| Joined: 11 Jul 2012 |
| Total Posts: 1559 |
|
|
| 18 Jun 2014 08:17 PM |
c = game.Workspace:GetChildren() for i=1, #c do if c[i].Name == "ice" then c[i].ice:Destroy() end end |
|
|
| Report Abuse |
|
|
pokl1
|
  |
| Joined: 03 Jun 2010 |
| Total Posts: 183 |
|
| |
|