Xucs
|
  |
| Joined: 23 Jul 2010 |
| Total Posts: 11844 |
|
|
| 08 May 2015 10:06 PM |
game.Players.PlayerAdded:connect(function(player) script.Parent.Visible = true script.Parent.LocalScript.Disabled = false end)
The purpose of this is to make something appear when you first enter, but after you die, it won't appear. |
|
|
| Report Abuse |
|
|
|
| 08 May 2015 10:07 PM |
| The PlayerGui resets when you die. Also, this script is dumb. |
|
|
| Report Abuse |
|
|
Xucs
|
  |
| Joined: 23 Jul 2010 |
| Total Posts: 11844 |
|
|
| 08 May 2015 10:07 PM |
@nq
IF you've played apocalypse rising, the intro gui only appears once, and this script isn't dumb, it's needed. |
|
|
| Report Abuse |
|
|
|
| 08 May 2015 10:08 PM |
| No, it's not needed since you are doing it completely wrong. |
|
|
| Report Abuse |
|
|
Xucs
|
  |
| Joined: 23 Jul 2010 |
| Total Posts: 11844 |
|
|
| 08 May 2015 10:09 PM |
@nq
Which is why I'm asking for help, is it not? |
|
|
| Report Abuse |
|
|
|
| 08 May 2015 10:13 PM |
The reason your script doesn't work is because the script cannot find the GUI it is interfacing with. Just for an example lets say your GUI is named "Intro" and is located in the ServerStorage. You would use: local gui = nil game.Players.PlayerAdded:connect(function(player) gui = game.ServerStorage.Intro:clone() gui.Parent = player.PlayerGui end)
That small script inserts the GUI into the player's GUI layer upon entering. I hoped this helped! -BFFstick00 |
|
|
| Report Abuse |
|
|
Xucs
|
  |
| Joined: 23 Jul 2010 |
| Total Posts: 11844 |
|
| |
|
| |
|