|
| 20 Apr 2016 06:32 AM |
Hi my intro GUI, it works great but every time they die or reset it shows up again how do i make it so they only shows once?
El sol, la luna y las estrellas todo precioso , pero no tanto como usted . |
|
|
| Report Abuse |
|
Illisium
|
  |
| Joined: 28 Sep 2010 |
| Total Posts: 6 |
|
|
| 20 Apr 2016 06:39 AM |
Not sure if it will work but try this.
Make a Script, put your ScreenGui in it (child of the script you just made), paste my code in the script, change GUINAME to the name of your ScreenGui, and then press play.
If I'm correct it should only run when a player gets added to the game (joins) and only for the player that joins.
I believe you put it in StarterGui which makes it load on respawn / join :)
local gui = script.GUINAME
game.Players.PlayerAdded:connect(function(player) local cl = gui:Clone() cl.Parent = player.PlayerGui end)
|
|
|
| Report Abuse |
|