GUESTHAXX
|
  |
| Joined: 16 Apr 2012 |
| Total Posts: 3370 |
|
|
| 01 Aug 2012 10:44 AM |
I think that's what its called...
Anyways I want to make a GUI that will ALWAYS show up when you enter the game, and have these Options:
"Play" "Info" "Credits"
I can make the Credits and Info options.. its just I need to know how to make the GUI only appear on time. (Only when you enter the game. Not every time you respawn.)
And is it Main Menu or Start Menu?
|
|
|
| Report Abuse |
|
|
Colt324
|
  |
| Joined: 19 Aug 2009 |
| Total Posts: 1562 |
|
|
| 01 Aug 2012 10:45 AM |
| clone the gui from a cache (lighting) using the .ChildAdded event |
|
|
| Report Abuse |
|
|
GUESTHAXX
|
  |
| Joined: 16 Apr 2012 |
| Total Posts: 3370 |
|
|
| 01 Aug 2012 10:58 AM |
Like so?
function Entered(player) wait()
game.Players.ChildAdded :connect(Entered)
--Stuff
end |
|
|
| Report Abuse |
|
|
GUESTHAXX
|
  |
| Joined: 16 Apr 2012 |
| Total Posts: 3370 |
|
|
| 01 Aug 2012 11:02 AM |
| Wait... Don't reply to this... I'm thinking to far ahead... Sorry guys. |
|
|
| Report Abuse |
|
|
OwneD1991
|
  |
| Joined: 16 Oct 2009 |
| Total Posts: 12623 |
|
|
| 01 Aug 2012 11:26 AM |
game:GetService('Players').PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) local gui = game.Lighting.Gui gui:Clone().Parent = player.PlayerGui end) end) |
|
|
| Report Abuse |
|
|