Jerqo
|
  |
| Joined: 23 Aug 2008 |
| Total Posts: 4507 |
|
|
| 05 Feb 2014 09:28 AM |
Hey,
I want my GUI to appear as soon as a user joins a server for my FPS game. How can I do this? Moving it into the GUI folder works, but the buttons or the scripts don't work.
Please help I've been trying to find a solution for a while now. |
|
|
| Report Abuse |
|
|
| |
|
EcIiptic
|
  |
| Joined: 12 Aug 2009 |
| Total Posts: 13737 |
|
|
| 05 Feb 2014 09:33 AM |
What I usually do is:
Create script in workspace
Put the GUI you want cloned inside the script, and then put this in the script.
game.Players.PlayerAdded:connect(function(player) player:WaitForChild("PlayerGui") if player.Name = "" --If you want you to be the only one, else delete this line. Gui = script.GUINAME:clone() Gui.Parent = player.PlayerGui end end) |
|
|
| Report Abuse |
|
|
EcIiptic
|
  |
| Joined: 12 Aug 2009 |
| Total Posts: 13737 |
|
| |
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
| |
|
EcIiptic
|
  |
| Joined: 12 Aug 2009 |
| Total Posts: 13737 |
|
|
| 05 Feb 2014 10:06 AM |
^^Right, thanks btw.
Totally just failed lol. |
|
|
| Report Abuse |
|
|