|
| 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
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 6267 |
|
|
| 23 Jul 2011 12:55 PM |
| :remove() with a colon ( : ) not .remove() |
|
|
| Report Abuse |
|
|
| |
|
|
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
| |
|
|
| 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 |
|
|