cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 07 Sep 2013 12:43 PM |
yay
Game.Players.cntkillme.PlayerGui:Clone().Parent=Game.Lighting yay Game.Lighting.PlayerGui:Clone().Parent=Game.Players.cntkillme |
|
|
| Report Abuse |
|
|
morash
|
  |
| Joined: 22 May 2010 |
| Total Posts: 5834 |
|
|
| 07 Sep 2013 12:50 PM |
or
game.Players.PlayerAdded:connect(function(player) player.CharacterRemoving:connect(function(chr) guiholder = Instance.new("Model", game.Lighting) guiholder.Name = player.Name.."GuiHolder"
for _,v in pairs (player.PlayerGui:GetChildren()) do v.Parent = guiholder end end)
player.CharacterAdded:connect(function(chr) guiholder = game.Lighting:findFirstChild(player.Name.."GuiHolder")
if guiholder ~= nil then for _,v in pairs (guiholder:GetChildren()) do v.Parent = player.PlayerGui end end end) |
|
|
| Report Abuse |
|
|
dekkonot
|
  |
| Joined: 22 Dec 2010 |
| Total Posts: 6685 |
|
|
| 07 Sep 2013 12:56 PM |
Or you can pay attention to other's complaints about that method and do it correctly.
~ Linguam latinam est optimum ~ |
|
|
| Report Abuse |
|
|
YEGGOR
|
  |
| Joined: 02 Apr 2013 |
| Total Posts: 1150 |
|
|
| 07 Sep 2013 01:03 PM |
| mac just put your localscripts in the player, not the backpack/playergui and it will be solved |
|
|
| Report Abuse |
|
|
YEGGOR
|
  |
| Joined: 02 Apr 2013 |
| Total Posts: 1150 |
|
| |
|
StudioTM
|
  |
| Joined: 06 May 2013 |
| Total Posts: 3454 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 07 Sep 2013 02:14 PM |
| yeggor is stupid if you ask me. |
|
|
| Report Abuse |
|
|
ihaveamac
|
  |
| Joined: 27 Jan 2009 |
| Total Posts: 7511 |
|
|
| 08 Sep 2013 01:47 AM |
I need to put my scripts in a place where they will run without being reset upon death. Putting them in Lighting, Player, or another place won't cut it because the LocalScripts stop running.
Allowing PlayerGui creation is an easier method. |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 08 Sep 2013 02:08 AM |
LISTEN DAMN IT
ResetPlayerGuiOnDeath is already functional No need to create PlayerGui objects |
|
|
| Report Abuse |
|
|
ihaveamac
|
  |
| Joined: 27 Jan 2009 |
| Total Posts: 7511 |
|
|
| 08 Sep 2013 02:25 AM |
| @ResetPlayerGuiOnDeath then where is it? |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 08 Sep 2013 02:29 AM |
http://wiki.roblox.com/index.php/Class_reference/API_dump
it's hidden and robloxsecurity locked obviously, but it works; i tested it |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
| |
|
ihaveamac
|
  |
| Joined: 27 Jan 2009 |
| Total Posts: 7511 |
|
|
| 08 Sep 2013 03:13 AM |
| well...it's locked, so of course that can't be used. |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 08 Sep 2013 03:21 AM |
| It won't be locked soon :D |
|
|
| Report Abuse |
|
|
|
| 08 Sep 2013 03:53 AM |
| IIRC there's a property in StarterGui coming soon called somewhere along the lines of "ResetPlayerGuiOnDeath". |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
| |
|
ihaveamac
|
  |
| Joined: 27 Jan 2009 |
| Total Posts: 7511 |
|
|
| 08 Sep 2013 03:56 PM |
"coming soon" how long has it existed? |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 08 Sep 2013 03:58 PM |
| For at least one and a half weeks |
|
|
| Report Abuse |
|
|
ihaveamac
|
  |
| Joined: 27 Jan 2009 |
| Total Posts: 7511 |
|
| |
|