Voidelity
|
  |
| Joined: 14 Apr 2013 |
| Total Posts: 35 |
|
|
| 29 Nov 2017 10:14 PM |
In a script that's placed in the workspace, I have it so when a player is added, it waits for specific children of the player. For some reason, when I try using this with the playergui ( player.PlayerGui:WaitForChild('GuiName') ) It works perfectly in studio, but in the actual game it gives me the " infinite yield possible on GUIName ". Any tips or solutions that can help me fix this? All advice is appreciated.
#code print('food is not a creative color') |
|
|
| Report Abuse |
|
|
Darkenus
|
  |
| Joined: 17 Jul 2014 |
| Total Posts: 1997 |
|
|
| 29 Nov 2017 11:00 PM |
| If your game is FilteringEnabled, objects (like GUIs) added into the playergui from the client will not replicate to the server. |
|
|
| Report Abuse |
|
|
Voidelity
|
  |
| Joined: 14 Apr 2013 |
| Total Posts: 35 |
|
|
| 29 Nov 2017 11:00 PM |
Ah, okay. Is there a work around this?
#code print('food is not a creative color') |
|
|
| Report Abuse |
|
|
sjr04
|
  |
| Joined: 26 May 2016 |
| Total Posts: 2108 |
|
|
| 29 Nov 2017 11:01 PM |
| remote functions and remote events |
|
|
| Report Abuse |
|
|