of     1   

xXxXxdragonxXxXx
Top 100 Poster
#37101763Tuesday, November 16, 2010 9:48 PM GMT

I took some out, so you can see where it's wrong. function Enter() local insert = game:service("InsertService"):loadAsset(theId) local checkTheInsertedObject = insert:getChildren() for el = 1,#checkTheInsertedObject do if checkTheInsertedObject[el].className ~= "Tool" then print("not allowed on this location.") checkTheInsertedObject[el]:remove() elseif checkTheInsertedObject[el].className == "Tool" then print("allowed on this location.") insert.Parent = game.Workspace end end theId = "" return end theId = "" end script.Parent.Enter.ClickDetector.MouseClick:connect(Enter)
xXxXxdragonxXxXx
Top 100 Poster
#37101863Tuesday, November 16, 2010 9:49 PM GMT

The local output is: Workspace.KeyPad.MasterScript:33: 'eof' expected near 'end'
xSTAFFGUYx
#37101925Tuesday, November 16, 2010 9:50 PM GMT

That means there's too much ends
xXxXxdragonxXxXx
Top 100 Poster
#37102039Tuesday, November 16, 2010 9:52 PM GMT

@xSTAFFGUYx Removed end at return end ended me this: Workspace.KeyPad.MasterScript:32: 'end' expected (to close 'function' at line 16) near '='
xSTAFFGUYx
#37102122Tuesday, November 16, 2010 9:54 PM GMT

Take one of the ends out where there is two ends stuck together
xXxXxdragonxXxXx
Top 100 Poster
#37102170Tuesday, November 16, 2010 9:54 PM GMT

Thank.
xXxXxdragonxXxXx
Top 100 Poster
#37102338Tuesday, November 16, 2010 9:58 PM GMT

It works. Thanks.
xXxXxdragonxXxXx
Top 100 Poster
#37104255Tuesday, November 16, 2010 10:28 PM GMT

Now what's wrong with this? if Debounce == false then Debounce = true local insert = game:service("InsertService"):loadAsset(Identification) local checkTheInsertedObject = insert:getChildren() for el = 1,#checkTheInsertedObject do if checkTheInsertedObject[el].className ~= "Tool" then print("not allowed on this location.") checkTheInsertedObject[el]:remove() elseif checkTheInsertedObject[el].className == "Tool" then print("allowed on this location.") repeat wait() game.Workspace.el.CFrame = game.Workspace.el.CFrame - Vector3.new(0,.2,0) until game.Workspace.el.CFrame >= CFrame.new(-28,5.1,-91) insert.Parent = game.Workspace local checkintool = checkTheInsertedObject[el]:getChildren() for i = 1,#checkintool do if checkintool[i].className == "Part" and checkintool[i].Name == "Handle" then checkintool[i].CFrame = CFrame.new(-29.5, 1+checkintool[i].Size.y/2, -94.5) end end wait(.5) repeat wait() game.Workspace.el.CFrame = game.Workspace.el.CFrame - Vector3.new(0,.25,0) until game.Workspace.el.CFrame <= CFrame.new(-28,13.1,-91) end end Identification = "" Debounce = false end end
xXxXxdragonxXxXx
Top 100 Poster
#37104412Tuesday, November 16, 2010 10:31 PM GMT

Workspace.Local ID = .keypad.:29: attempt to compare two userdata values
Krammy
#37104442Tuesday, November 16, 2010 10:32 PM GMT

Remove one of the ends right at the bottem.
xXxXxdragonxXxXx
Top 100 Poster
#37114742Wednesday, November 17, 2010 1:06 AM GMT

Bump. @Krammy, still errors.
xXxXxdragonxXxXx
Top 100 Poster
#37115141Wednesday, November 17, 2010 1:12 AM GMT

...Bump..
xXxXxdragonxXxXx
Top 100 Poster
#37115346Wednesday, November 17, 2010 1:14 AM GMT

Yikes. D:<
Telan
#37115441Wednesday, November 17, 2010 1:16 AM GMT

Look at my script?

    of     1