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: Please help me with my screen Gui

Previous Thread :: Next Thread 
1Theboss365 is not online. 1Theboss365
Joined: 09 Jul 2016
Total Posts: 8
16 May 2017 01:20 PM
hello, i have a have a problem with my Gui because whenever my map goes back into folder from workspace in a minigame, my menu screen pops up. Please help. This is the local script I am using.

Play = Frame.PlayButton
Updates = Frame.UpdatesButton
Credits = Frame.CreditsButton
GUI = script.Parent.Parent

function PlayClicked()
wait(1)
script.Parent.Visible = false
end

function UpdatesClicked()
wait(1)
script.Parent.UpdatesFrame.Visible = true
end

function CreditsClicked()
wait(1)
script.Parent.CreditsFrame.Visible = true
end

Play.MouseButton1Click:connect(PlayClicked)
Updates.MouseButton1Click:connect(UpdatesClicked)
Credits.MouseButton1Click:connect(CreditsClicked)
Report Abuse
DevJoas is not online. DevJoas
Joined: 17 Dec 2014
Total Posts: 627
16 May 2017 01:23 PM
idk why those "wait(1)"s are there but the bug you're encountering is not in this script.

Maybe the player dies when your "map goes back into folder from workspace in a minigame"
Report Abuse
1Theboss365 is not online. 1Theboss365
Joined: 09 Jul 2016
Total Posts: 8
16 May 2017 01:40 PM
The ones are in there to make it so that ### ### ###### into the game one second after clicking the button. Also when I die or reset, the menu shows up but I can't fix it so the menu only shows up once. Do you know how to add script so that the menu only shows up once and not every time I die?
Report Abuse
1Theboss365 is not online. 1Theboss365
Joined: 09 Jul 2016
Total Posts: 8
16 May 2017 01:42 PM
sorry about the hashtags, i didn't swear, I promise it was roblox's filtering system. But could you help me?
Report Abuse
DevJoas is not online. DevJoas
Joined: 17 Dec 2014
Total Posts: 627
16 May 2017 01:53 PM
Use this property:

wiki.roblox.com/index.php?title=API:Class/StarterGui/ResetPlayerGuiOnSpawn


Note: This property is a local property and will not be replicated from server to client if FE is on
Report Abuse
RogueMage is not online. RogueMage
Joined: 28 Jan 2012
Total Posts: 1235
16 May 2017 02:02 PM
I have no idea what you're asking but it probably has something to do with these two properties

wiki.roblox.com/index.php?title=API:Class/StarterGui/ResetPlayerGuiOnSpawn

wiki.roblox.com/index.php?title=API:Class/ScreenGui/DisplayOrder
Report Abuse
1Theboss365 is not online. 1Theboss365
Joined: 09 Jul 2016
Total Posts: 8
16 May 2017 02:06 PM
Please could you tell me the local script line because i don't know how to write it.
Report Abuse
DevJoas is not online. DevJoas
Joined: 17 Dec 2014
Total Posts: 627
16 May 2017 02:16 PM
If you don't know how to change a property from an object in Lua you should really consider learning that, check the absolute beginner tutorials on the wiki
Report Abuse
1Theboss365 is not online. 1Theboss365
Joined: 09 Jul 2016
Total Posts: 8
16 May 2017 02:48 PM
i know how to change a property but i don't know what the local script is
Report Abuse
DevJoas is not online. DevJoas
Joined: 17 Dec 2014
Total Posts: 627
16 May 2017 02:49 PM
What do you mean you don't know what the local script is?
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