|
| 10 Sep 2013 03:20 PM |
| Hi. How do I make a GUI startup at the beginning of the game? no hate please, first time making GUI`s thanks. |
|
|
| Report Abuse |
|
|
janthran
|
  |
| Joined: 15 May 2009 |
| Total Posts: 17429 |
|
|
| 10 Sep 2013 03:21 PM |
| If you put it in StarterGui then it'll show up every time the player respawns |
|
|
| Report Abuse |
|
|
| |
|
|
| 10 Sep 2013 03:24 PM |
| But what if I only want it to come up the first time they enter the game? |
|
|
| Report Abuse |
|
|
|
| 10 Sep 2013 03:44 PM |
game.Players.PlayerEntered:connect(function(hit)
a = game.Lighting,GUINAMEHERE:clone() a.Parent = hit.PlayerGui
end)
put the gui in lighting and make a script and put this code in it and put the script wherever you want |
|
|
| Report Abuse |
|
|
|
| 10 Sep 2013 03:56 PM |
| thanks soo much, but where u put GUINAMEHERE, I leave it like that or I make it the name of the gui? |
|
|
| Report Abuse |
|
|
janthran
|
  |
| Joined: 15 May 2009 |
| Total Posts: 17429 |
|
| |
|
|
| 10 Sep 2013 03:58 PM |
Mkae it the name of the gui you put in lighting that you want to come up only when the player joins
try testing this by the way I havent tested it myself
It should work I dont see any mistakes but just in case
(this script doesnt work in solo mode you have to play online for it to work) |
|
|
| Report Abuse |
|
|
janthran
|
  |
| Joined: 15 May 2009 |
| Total Posts: 17429 |
|
|
| 10 Sep 2013 03:59 PM |
@Funny F7 wait for load alt+F7 ??? profit |
|
|
| Report Abuse |
|
|
|
| 10 Sep 2013 04:01 PM |
@jan what?
I pressed f7 and alt f7 It said something about coro- something
WHAT U DO TO ME!?!?!?!!
|
|
|
| Report Abuse |
|
|
|
| 10 Sep 2013 04:04 PM |
| do I put the script under textbutton? |
|
|
| Report Abuse |
|
|
|
| 10 Sep 2013 04:06 PM |
no you can put the script WHERE EVER you want and you put the gui you want to show when the player joins in lighting |
|
|
| Report Abuse |
|
|
|
| 10 Sep 2013 04:07 PM |
| you can put it in the text button if you want it doesnt really matter as I said you can put it WHERE EVER you want |
|
|
| Report Abuse |
|
|