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
 

Re: Gui wont clone into PlayerGui

Previous Thread :: Next Thread 
RickGrimes97 is not online. RickGrimes97
Joined: 23 Oct 2013
Total Posts: 190
10 Jun 2017 12:46 PM
For some odd reason, the script won't clone the ScreenGui(called MapLabel) into the PlayerGui, keep in mind that the MapLable ScreenGui is a child of the script, i don't want it to be a PlayerAdded event, i just want it to clone the Gui into the Player, what am i doing wrong?

---------------------------------------------------

local gui = script.MapLabel

for _,players in pairs (game.Players:GetPlayers()) do
gui:Clone().Parent = players.PlayerGui

end

---------------------------------------------------


Thank you
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
10 Jun 2017 12:47 PM
Print the name of the players inside the loop and make sure you player's name prints
Report Abuse
RickGrimes97 is not online. RickGrimes97
Joined: 23 Oct 2013
Total Posts: 190
10 Jun 2017 12:49 PM
what does that have to do with anything?
Report Abuse
RickGrimes97 is not online. RickGrimes97
Joined: 23 Oct 2013
Total Posts: 190
10 Jun 2017 12:50 PM
Someone that actually knows what they are talking about plz!
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
10 Jun 2017 12:52 PM
because that way I can tell if the issue is with the loop or with the cloning part
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
10 Jun 2017 12:52 PM
i know what i am talking about idiot
Report Abuse
RickGrimes97 is not online. RickGrimes97
Joined: 23 Oct 2013
Total Posts: 190
10 Jun 2017 12:53 PM
well then u should know what the issue is
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
10 Jun 2017 12:55 PM
ok you are ignorant so you aren't getting help from me
Report Abuse
RickGrimes97 is not online. RickGrimes97
Joined: 23 Oct 2013
Total Posts: 190
10 Jun 2017 12:57 PM
u don't know what to do XD, so I'm trying to get help from someone that knows how to solve the issue, therefore, i don't want your help
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
10 Jun 2017 12:58 PM
lmfao is this guy really serious hahahahahahahaha
Report Abuse
Valyrian_Advisor is not online. Valyrian_Advisor
Joined: 13 Apr 2013
Total Posts: 1703
10 Jun 2017 01:01 PM
He basically told you how to understand where you are wrong and you just laugh at him
Report Abuse
WillieTehWierdo200 is not online. WillieTehWierdo200
Joined: 13 Aug 2008
Total Posts: 1147
10 Jun 2017 01:03 PM
I copy/pasted your script and mimicked the object structure with a ScreenGui called "MapLabel" inside it, but found that it worked just fine. Are you sure that the ScreenGui isn't showing up in the PlayerGui of each player, and not that it's children aren't just hidden?

Also, are you running this script right at game startup? Scripts sometimes finish running before the player is actually in the game. If that's the case with your script, it could be running properly, but game.Players:GetPlayers() would return an empty table.
Report Abuse
RickGrimes97 is not online. RickGrimes97
Joined: 23 Oct 2013
Total Posts: 190
10 Jun 2017 01:06 PM
You placed a screengui inside of the script?
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
10 Jun 2017 01:06 PM
OP is definitely ignorant
Report Abuse
RickGrimes97 is not online. RickGrimes97
Joined: 23 Oct 2013
Total Posts: 190
10 Jun 2017 01:06 PM
OMG, it works, i just added a wait time, thank u XD
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