generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

I'm having troubles with WaitForChild involving playergui

Previous Thread :: Next Thread 
Voidelity is online. 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 is online. 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 is online. 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 is not online. sjr04
Joined: 26 May 2016
Total Posts: 2108
29 Nov 2017 11:01 PM
remote functions and remote events
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image