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: close intro gui button

Previous Thread :: Next Thread 
PyroBreath is not online. PyroBreath
Joined: 28 Dec 2012
Total Posts: 478
13 Feb 2014 08:25 PM
can someone edit my close gui script so it closes the intro gui forever instead of showing every time the player spawn?Thx


function onClicked()
script.Parent.Parent.Parent:Destroy()
end
script.Parent.MouseButton1Click:connect(onClicked)
Report Abuse
robocu3 is not online. robocu3
Joined: 13 Mar 2009
Total Posts: 6485
13 Feb 2014 08:26 PM
try MouseButton1Down, not sure if that's correct
Report Abuse
robocu3 is not online. robocu3
Joined: 13 Mar 2009
Total Posts: 6485
13 Feb 2014 08:26 PM
just wiki it
Report Abuse
Azarth is not online. Azarth
Joined: 17 Aug 2012
Total Posts: 2760
13 Feb 2014 08:27 PM
Clone the GUI to the player every time they join, instead of putting in to StarterGui.

Otherwise put if a value in to the player when they click the button. If they have the value, then auto delete itself.
Report Abuse
PyroBreath is not online. PyroBreath
Joined: 28 Dec 2012
Total Posts: 478
13 Feb 2014 08:27 PM
Ok thx
Report Abuse
PyroBreath is not online. PyroBreath
Joined: 28 Dec 2012
Total Posts: 478
14 Feb 2014 11:19 PM
will it be better to put the gui in the lighting and then clone it from there?
Report Abuse
Hazania is not online. Hazania
Joined: 04 Jun 2010
Total Posts: 1344
14 Feb 2014 11:28 PM
Yeah that's the idea.
Report Abuse
PyroBreath is not online. PyroBreath
Joined: 28 Dec 2012
Total Posts: 478
15 Feb 2014 10:59 AM
soo uhh how do you do that?
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
15 Feb 2014 11:01 AM
--genius here--

game.Players.PlayerAdded:connect(function(plr)
wait(3.2)--makin sure the plrgui has loaded
gui = game.Lighting.NameOfScreenGui:clone()
gui.Parent = plr.PlayerGui
end)

Report Abuse
PyroBreath is not online. PyroBreath
Joined: 28 Dec 2012
Total Posts: 478
15 Feb 2014 11:03 AM
Thanks!
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
15 Feb 2014 11:07 AM
np,i on here to help ppl:D
Report Abuse
PyroBreath is not online. PyroBreath
Joined: 28 Dec 2012
Total Posts: 478
15 Feb 2014 11:12 AM
bad news when i put the intro gui into the lighting and I put the script in workspace it doesn't work. what do I do?
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
15 Feb 2014 11:16 AM
Tools
-Start Server
--Start Player

playeradded doesn't work in test solo,so yeah
Report Abuse
PyroBreath is not online. PyroBreath
Joined: 28 Dec 2012
Total Posts: 478
15 Feb 2014 11:36 AM
I tested it already and it still doesn't work
Report Abuse
PyroBreath is not online. PyroBreath
Joined: 28 Dec 2012
Total Posts: 478
15 Feb 2014 11:47 AM
wait never mind it works so Thanks!
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
15 Feb 2014 12:02 PM
np
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