generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Can someone help me with this!!

Previous Thread :: Next Thread 
robloxswe is not online. 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 is not online. andirja11
Joined: 11 Jul 2010
Total Posts: 584
16 Jun 2013 01:41 PM
Thats gui ?
Report Abuse
robloxswe is not online. robloxswe
Joined: 19 Feb 2011
Total Posts: 41
16 Jun 2013 01:42 PM
it's a script in a GUI
Report Abuse
KanataIzumi7 is not online. KanataIzumi7
Joined: 08 May 2011
Total Posts: 949
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 is not online. andirja11
Joined: 11 Jul 2010
Total Posts: 584
16 Jun 2013 01:43 PM
script.Parent.Parent.Main.Visible = false
Report Abuse
therobloxgamesmaker is not online. therobloxgamesmaker
Joined: 26 Jun 2012
Total Posts: 36
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 is not online. robloxswe
Joined: 19 Feb 2011
Total Posts: 41
16 Jun 2013 01:53 PM
didn't work...
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
16 Jun 2013 02:07 PM
guis are not in workspace m8
Report Abuse
robloxswe is not online. 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
KanataIzumi7 is not online. KanataIzumi7
Joined: 08 May 2011
Total Posts: 949
16 Jun 2013 02:18 PM
Make sure everything is labeled correctly.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image