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: Putting a Gui on All Player's Screen?

Previous Thread :: Next Thread 
MightyDantheman is not online. MightyDantheman
Joined: 06 May 2011
Total Posts: 5108
07 Nov 2015 03:17 PM
I have a script, but it doesn't seem to work. Also, all variables in this script are already defined, just not shown here.


local players = game.Players:GetPlayers()

while true do
if active.Value == 0 and online.Value < 2 then
error.Parent = players.PlayerGui
active.Value = 2
end
wait(1)
end

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

"error" is a gui with ":Clone()" at the end.
"active" doesn't matter for what I need.
Can anyone help?
Thanks.

~MightyDantheman
Report Abuse
instawin is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
07 Nov 2015 03:20 PM
for index, plr in pairs(game.Players:GetPlayers()) do
screenGui:Clone().Parent = plr.PlayerGui
end
Report Abuse
MightyDantheman is not online. MightyDantheman
Joined: 06 May 2011
Total Posts: 5108
07 Nov 2015 03:37 PM
That doesn't seem to work for some reason?

~MightyDantheman
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