|
| 22 Jan 2015 02:09 PM |
I have the script to make sure that GUI's don't disappear when a player dies or for GUI's to be seen by players who just joined the game, which is: game.StarterGui.ResetPlayerGuiOnSpawn = true
The problem is, even when used as a localscript inside StarterGui, it doesn't work! Please help! |
|
|
| Report Abuse |
|
|
lombardo2
|
  |
| Joined: 30 Nov 2008 |
| Total Posts: 1604 |
|
|
| 22 Jan 2015 02:10 PM |
| You can't write that propriety with normal access . |
|
|
| Report Abuse |
|
|
lombardo2
|
  |
| Joined: 30 Nov 2008 |
| Total Posts: 1604 |
|
|
| 22 Jan 2015 02:12 PM |
| What, wait, you can now. If it's a local inside startergui it's not going to execute. Change the property via a server side script |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2015 02:17 PM |
| I never noticed that property. According to the wiki (http://wiki.roblox.com/index.php?title=ResetPlayerGuiOnSpawn) it can only be modified with a script. Isn't the problem your facing is that your forgot to set it to false? |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2015 02:19 PM |
| @earthy if done that before and all it does is get rid of the gui and doesn't bring it back |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 22 Jan 2015 02:22 PM |
game.StarterGui.ResetPlayerGuiOnSpawn = false
in a local script in starter gui, it works fine |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2015 02:25 PM |
| Maybe that is because it is meant to for when you don't want Gui's to come back after a player has died. Having it reset lets the player have access to it more than once then. |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2015 02:35 PM |
| I'm still not sure, it works in Play Solo, but not in multiplayer for some reason :/ |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2015 02:36 PM |
| Yes I also used game.StarterGui.ResetPlayerGuiOnSpawn = false in a local script and it worked fine (even when tested outside of studio). Also I have filtering enabled. |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2015 02:44 PM |
| Oh, I don't have filtering enabled because of a script somewhere with 'LoadAsset'. Does not have filtering enabled break the script? |
|
|
| Report Abuse |
|
|
| |
|
|
| 22 Jan 2015 03:01 PM |
| After testing it it does seem only to work with filtering enabled. |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2015 03:02 PM |
| Also might I suggest testing it yourself... |
|
|
| Report Abuse |
|
|