robloxswe
|
  |
| Joined: 19 Feb 2011 |
| Total Posts: 41 |
|
|
| 16 Jun 2013 01:39 PM |
function onClick()
script.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(Vector3.new(82.6, 0.6, -712.2)) wait(0.1) Workspace.Parent.Main.Visible = false --I NEED HELP HERE!! end
script.Parent.MouseButton1Click:connect(onClick)
-------------------------------------------------- I want to "remove" it when clicked! |
|
|
| Report Abuse |
|
|
andirja11
|
  |
| Joined: 11 Jul 2010 |
| Total Posts: 584 |
|
| |
|
robloxswe
|
  |
| Joined: 19 Feb 2011 |
| Total Posts: 41 |
|
| |
|
|
| 16 Jun 2013 01:42 PM |
script.Parent.MouseButton1Click:connect(function()
script.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(Vector3.new(82.6, 0.6, -712.2)) wait(0.1) Workspace.Parent.Main:remove()
end) |
|
|
| Report Abuse |
|
|
andirja11
|
  |
| Joined: 11 Jul 2010 |
| Total Posts: 584 |
|
|
| 16 Jun 2013 01:43 PM |
| script.Parent.Parent.Main.Visible = false |
|
|
| Report Abuse |
|
|
|
| 16 Jun 2013 01:45 PM |
y nawt run into it to remove it? Noob = workspace["Your name here pls"] Noob.Torso.Touched:connect(function(gtfo) if gtfo.Name~= Noob.Name then gtfo:Destroy() edn end) |
|
|
| Report Abuse |
|
|
robloxswe
|
  |
| Joined: 19 Feb 2011 |
| Total Posts: 41 |
|
| |
|
|
| 16 Jun 2013 02:07 PM |
| guis are not in workspace m8 |
|
|
| Report Abuse |
|
|
robloxswe
|
  |
| Joined: 19 Feb 2011 |
| Total Posts: 41 |
|
|
| 16 Jun 2013 02:16 PM |
function onClick()
script.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(Vector3.new(82.6, 0.6, -712.2)) wait(0.1) script.Parent.Parent.Main.Visible = false end
script.Parent.MouseButton1Click:connect(onClick)
---------------- It wont work.. |
|
|
| Report Abuse |
|
|
|
| 16 Jun 2013 02:18 PM |
| Make sure everything is labeled correctly. |
|
|
| Report Abuse |
|
|