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 » Scripting Helpers
Home Search
 

Re: Gui at first

Previous Thread :: Next Thread 
cabezonjones is not online. cabezonjones
Joined: 29 Dec 2008
Total Posts: 178
29 Jul 2011 06:29 AM
Ohi Forumers :)
I've created a gui.
But the problem is that when you reset or be killed it appears another time :\
Do you know/have any Script to make the Gui only viewable at first, when you enter at the Place?

Thanks very much!
Report Abuse
matt1020304050 is not online. matt1020304050
Joined: 24 May 2008
Total Posts: 4475
29 Jul 2011 06:32 AM
function entered(Player)
game.Lighting.Gui:Clone.Parent = Player.PlayerGui
end
game.Players.PlayerAdded:connect(entered)
Report Abuse
cabezonjones is not online. cabezonjones
Joined: 29 Dec 2008
Total Posts: 178
29 Jul 2011 06:47 AM
Thanks very much matt1020304050.
I've tried but it doesn't work :(
I changed the name of the ScreenGui to Gui, of course xDD
Well, thanks very much for your help.
Report Abuse
Megamatrixdude is not online. Megamatrixdude
Joined: 06 Dec 2009
Total Posts: 10939
29 Jul 2011 06:48 AM
Put the Gui inside lighting.

-Wiki.roblox.com, the RBX.Lua reference
Report Abuse
cabezonjones is not online. cabezonjones
Joined: 29 Dec 2008
Total Posts: 178
29 Jul 2011 06:50 AM
I've put the Gui in the Lighting lol
Report Abuse
cabezonjones is not online. cabezonjones
Joined: 29 Dec 2008
Total Posts: 178
29 Jul 2011 06:54 AM
I've put the Gui in the Lighting, changed the name, I've put the text in a Script, then in a LocalScript because it wasn't working... Can you help me a little more? Please
Report Abuse
cabezonjones is not online. cabezonjones
Joined: 29 Dec 2008
Total Posts: 178
29 Jul 2011 06:58 AM
Well, thanks for your time and help :(
Report Abuse
61352151511 is not online. 61352151511
Joined: 30 Nov 2009
Total Posts: 8094
29 Jul 2011 07:05 AM
Matt, did it wrong. its clone() and I can condense it to 3 lines instead of 4.

game.Players.PlayerAdded:connect(function(p)
game.Lighting:FindFirstChild("Your Gui"):clone().Parent = p.PlayerGui
end)

‹•º`¨´º•¸
~ Mitch ~
¸•º`¨´º•›
Report Abuse
cabezonjones is not online. cabezonjones
Joined: 29 Dec 2008
Total Posts: 178
29 Jul 2011 07:09 AM
Thanks!
Gona try :3
Report Abuse
cabezonjones is not online. cabezonjones
Joined: 29 Dec 2008
Total Posts: 178
29 Jul 2011 07:17 AM
lol
The gui does not appear.
I think I'm going to delete the Gui xD because the gui is like a film (with the CameraPosition=Attack) but if people dies it shouldn't appear, so thanks for your help, I know you did it with a lot of effort :D
Report Abuse
bballer13sn is not online. bballer13sn
Joined: 03 Jun 2009
Total Posts: 2490
29 Jul 2011 07:38 AM
game.Player.ChildAdded:connect(function(player)
game.Lighting.Gui:clone().Parent = player.PlayerGui
end)
Report Abuse
chikenugget is not online. chikenugget
Joined: 09 May 2009
Total Posts: 2552
29 Jul 2011 07:43 AM
game.Players.ChildAdded:connect(function(player)
game.Lighting.Gui:clone().Parent = player.PlayerGui
end)
Report Abuse
cabezonjones is not online. cabezonjones
Joined: 29 Dec 2008
Total Posts: 178
29 Jul 2011 07:54 AM
Well, thanks all you. Doesn't work -.-
At the end I've deleted the Gui, so thanks VERY MUCH all you :)
Report Abuse
matt1020304050 is not online. matt1020304050
Joined: 24 May 2008
Total Posts: 4475
29 Jul 2011 01:31 PM
Sorry, forgot the parenthesis.

But, with that fixed it should be working - upon player enter.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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