of     1   

greenjelly
#702744Friday, April 04, 2008 12:00 AM GMT

print("deleter loaded") local debounce = false function onHit(hit) local human = hit.Parent:findFirstChild("Humanoid") if (human ~= nil) and debounce == false then game.Workspace.cookpart:Remove() debounce = false end end -------------------------------------------------------------------------- its suposed to delete all parts named cookpart
DingDong272
Top 100 Poster
#702762Friday, April 04, 2008 12:02 AM GMT

print("Deleter loaded") local debounce = false function onTouched(part) local human = part.Parent:findFirstChild("Humanoid") if human ~= nil and debounce == false then debounce = true p = game.Workspace:GetChildren() for i=1, #p do if p[i].Name == "cookpart" then p[i]:Remove() end end debounce = false end script.Parent.Touched:connect(onTouched) You forgot your connection was your problem. ==>Dingdong272<==
DingDong272
Top 100 Poster
#702764Friday, April 04, 2008 12:02 AM GMT

print("Deleter loaded") local debounce = false function onTouched(part) local human = part.Parent:findFirstChild("Humanoid") if human ~= nil and debounce == false then debounce = true p = game.Workspace:GetChildren() for i=1, #p do if p[i].Name == "cookpart" then p[i]:Remove() end end debounce = false end script.Parent.Touched:connect(onTouched) You forgot your connection was your problem. ==>Dingdong272<==
greenjelly
#702816Friday, April 04, 2008 12:08 AM GMT

no scripts ever work for me. good try but it didnt work.
greenjelly
#705216Friday, April 04, 2008 11:33 AM GMT

anyone wanna try to get it? the bricks are in a model and theres a ton of the models all named different.
stickmasterluke
#705734Friday, April 04, 2008 2:44 PM GMT

well right when u make changes to a script or make a new script, it wont work. u have to cut the script and paste it back in and it should work. if it still dont work. check the output box. tells you where the problem is.
koopa
#706674Friday, April 04, 2008 6:55 PM GMT

If you took DingDong272's script and added another end to it, it might work. Koopa
stickmasterluke
#709929Saturday, April 05, 2008 2:35 AM GMT

looks like it has enough ends to me.

    of     1