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
 

another problem

Previous Thread :: Next Thread 
sonicgabriel96 is not online. sonicgabriel96
Joined: 01 Jun 2008
Total Posts: 340
23 Jul 2011 12:55 PM
function onButtonClicked()
game.StarterGui.Menu.remove()
end
script.Parent.MouseButton1Click:connect(onButtonClicked)

whats wrong with it?
Report Abuse
SDuke524 is not online. SDuke524
Joined: 29 Jul 2008
Total Posts: 6267
23 Jul 2011 12:55 PM
:remove() with a colon ( : ) not .remove()
Report Abuse
sonicgabriel96 is not online. sonicgabriel96
Joined: 01 Jun 2008
Total Posts: 340
23 Jul 2011 12:57 PM
thx
Report Abuse
eyeofdoom1 is not online. eyeofdoom1
Joined: 20 Jun 2009
Total Posts: 430
23 Jul 2011 12:58 PM
If you still have errors make it :Remove(). Some people are saying that lowercase functions do not work anymore.
Report Abuse
sonicgabriel96 is not online. sonicgabriel96
Joined: 01 Jun 2008
Total Posts: 340
23 Jul 2011 01:02 PM
ya. what he said was right. didnt work though and i didnt mess up locating it. must be the lower case thing.
Report Abuse
SDuke524 is not online. SDuke524
Joined: 29 Jul 2008
Total Posts: 6267
23 Jul 2011 01:03 PM
or the fact that you're trying to remove it from the StarterGui and not the PlayerGui.
Report Abuse
sonicgabriel96 is not online. sonicgabriel96
Joined: 01 Jun 2008
Total Posts: 340
23 Jul 2011 01:04 PM
it works. thx
Report Abuse
sonicgabriel96 is not online. sonicgabriel96
Joined: 01 Jun 2008
Total Posts: 340
23 Jul 2011 01:10 PM
it removes the gui from the startergui but not player gui. i realized that removeing it from starter gui makes it permanently gone. the gui is still on the screen though. so i decided to go into the player, but dont know how to do it without the name of the player. how do i remove the button from the players sceen?
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