AnonyAnonymous
#140864342Saturday, July 19, 2014 6:50 PM GMT

Nevermind, just noticed the other post.
AnonyAnonymous
#140887126Saturday, July 19, 2014 10:51 PM GMT

"Workspace" is misspelled.
AnonyAnonymous
#140887566Saturday, July 19, 2014 10:56 PM GMT

function OnTouched(Picture) if Picture.Name=="Pic" then print("You touched the picture!") Picture:Destroy() script.Parent:Destroy() else print("You touched something!") end script.Parent.Handle.Touched:connect(OnTouched) end Try that.
AnonyAnonymous
#140887694Saturday, July 19, 2014 10:57 PM GMT

Depends on the object.
AnonyAnonymous
#140887820Saturday, July 19, 2014 10:59 PM GMT

http://wiki.roblox.com/index.php?title=Text_%28Property%29 An example would be, GUIPathHere.GUITextBoxHere.Text = "Anything"
AnonyAnonymous
#140888777Saturday, July 19, 2014 11:09 PM GMT

Does the tool contain a "Handle"?.
AnonyAnonymous
#140889094Saturday, July 19, 2014 11:13 PM GMT

Try using this then, function OnTouched(Picture) if Picture.Name=="Pic" then print("You touched the picture!") Picture:Destroy() script.Parent:Destroy() else print("You touched something!") end end script.Parent.Handle.Touched:connect(OnTouched)
AnonyAnonymous
#140889645Saturday, July 19, 2014 11:19 PM GMT

AnonyAnonymous
#140890105Saturday, July 19, 2014 11:25 PM GMT

The "GUITextBox" could be something such as a "TextBox" or a "TextLabel" or "TextButton", I'll give you an additional link to help you, http://wiki.roblox.com/index.php?title=Beginner%27s_GUI_Tutorial
AnonyAnonymous
#140892852Saturday, July 19, 2014 11:54 PM GMT

Try something such as, Tab = {} for Player = 1,#Tab do if Tab[Player] == VariableHere then table.remove(Tab,Player) end end
AnonyAnonymous
#140951236Sunday, July 20, 2014 3:02 PM GMT

Try using, mouse.Button1Down:connect(onButton1Down)
AnonyAnonymous
#140952217Sunday, July 20, 2014 3:19 PM GMT

The method chosen depends on the situation and personal choice.
AnonyAnonymous
#140953532Sunday, July 20, 2014 3:39 PM GMT

Actually, it works with a space also.
AnonyAnonymous
#140953908Sunday, July 20, 2014 3:45 PM GMT

Could you show us the line of the script?.
AnonyAnonymous
#140954126Sunday, July 20, 2014 3:48 PM GMT

Check to make sure "mouse" inside of onButton1Down(mouse) isn't returning nil.
AnonyAnonymous
#140954443Sunday, July 20, 2014 3:53 PM GMT

Use something such as, print(mouse) inside of the first function.
AnonyAnonymous
#140954729Sunday, July 20, 2014 3:58 PM GMT

Is this a Tool or a HopperBin?.
AnonyAnonymous
#140956066Sunday, July 20, 2014 4:16 PM GMT

Alright, try using the solution I originally posted as it should automatically pass the "mouse" parameters to the function.
AnonyAnonymous
#140957348Sunday, July 20, 2014 4:33 PM GMT

Show me the modified version.
AnonyAnonymous
#140957876Sunday, July 20, 2014 4:40 PM GMT

Try this, bin = script.Parent shelter = game.ReplicatedStorage.Shelter amt = bin:FindFirstChild("Amount") function onButton1Down(mouse) local model = shelter:clone() model.Parent = game.Workspace model:MakeJoints() model:MoveTo(mouse.hit.p) g = model:GetChildren() for i = 1,#g do if g[i]:IsA("Part") then g[i].Anchored = true amt.Value=amt.Value-1 if amt.Value==0 then bin:Destroy() end end end end bin.Equipped:connect(function(mouse) local ghost = shelter:clone() repeat ghost.Parent = game.Works...
AnonyAnonymous
#140958266Sunday, July 20, 2014 4:44 PM GMT

Try adding a wait() inside of the repeat loop.
AnonyAnonymous
#141018959Monday, July 21, 2014 3:26 AM GMT

AnonyAnonymous
#141037733Monday, July 21, 2014 7:46 AM GMT

It's detected as a normal key.
AnonyAnonymous
#141037846Monday, July 21, 2014 7:48 AM GMT

Actually, just use something such as, Mouse = game.Players.LocalPlayer:GetMouse() Mouse.KeyDown:connect(function(Key) if Key == " " then print(Key) end end)
AnonyAnonymous
#141038207Monday, July 21, 2014 7:54 AM GMT