|
| 22 Jul 2011 01:39 PM |
Well I got my tables and everything all working but this is the function that is not working... Since that update. I'm not sure it looks perfect and should work right.
function onChildAdded(child) for i =1,#blocked do p1 = string.lower(blocked[i]) p2 = string.lower(child.Name) if string.match(p2,p1) then m = Instance.new("Hint", workspace) m.Name = "BlockerHnt" m.Text = "Object Name ["..child.Name.."] Is Blocked" child:remove() wait(1) CleanClass(workspace,"Hint") end end end game.DescendantAdded:connect(onChildAdded)
|
|
|
| Report Abuse |
|
|
Ronnie124
|
  |
| Joined: 26 Nov 2009 |
| Total Posts: 694 |
|
|
| 22 Jul 2011 01:55 PM |
| It looks fine to may, may you post your CleanClass function, please? |
|
|
| Report Abuse |
|
|
|
| 22 Jul 2011 10:15 PM |
| Oh sorry just ignor that that just cleans the thing specified and it works 100%. |
|
|
| Report Abuse |
|
|
scepile3
|
  |
| Joined: 27 Feb 2009 |
| Total Posts: 260 |
|
|
| 23 Jul 2011 01:09 AM |
| Can you post the output, if there is any? (if there isn't just say there isn't. XD) |
|
|
| Report Abuse |
|
|
|
| 23 Jul 2011 01:14 AM |
"end end end"
BAD.
But I don't see any problems that could be causing the script to break...
If you're testing it in ROBLOX Studio, events usually don't fire correctly in it, so try testing it some other way. Perhaps online. |
|
|
| Report Abuse |
|
|
|
| 23 Jul 2011 01:20 AM |
| "for i =1,#blocked do" -- is 'blocked' defined in your script? |
|
|
| Report Abuse |
|
|