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: CoreGuis?

Previous Thread :: Next Thread 
spinywind is online. spinywind
Joined: 26 Jan 2012
Total Posts: 3580
21 Feb 2016 01:07 AM
So i tried this in a server script in workspace:

game.CoreGui.Changed:connect(function()
local StarterGui = game:GetService('StarterGui')
wait(20)
if StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All == false) then
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All == true)
end

end)

still doesn't work. Any ideas.


Report Abuse
XThane is not online. XThane
Joined: 08 Apr 2009
Total Posts: 2702
21 Feb 2016 01:29 AM
You can't access CoreGui from a serverscript.\

And you need to use :etCoreGuiEnabled to determine if it's true or false.

And to set it, you use:

:SetCoreGuiEnabled(Enum.CoreGuiType.All,true)

~ Who's awesome, you're awesome ~
Report Abuse
XThane is not online. XThane
Joined: 08 Apr 2009
Total Posts: 2702
21 Feb 2016 01:30 AM
etCGoreGuiEnabled to determine*

I made a typo.

~ Who's awesome, you're awesome ~
Report Abuse
XThane is not online. XThane
Joined: 08 Apr 2009
Total Posts: 2702
21 Feb 2016 01:30 AM
STUPID KEYBOARD!

GetCoreGuiEnabled*

~ Who's awesome, you're awesome ~
Report Abuse
spinywind is online. spinywind
Joined: 26 Jan 2012
Total Posts: 3580
21 Feb 2016 01:31 AM
Lol thanks i fix and i just put in a local script in starterplayersscripts to make it easy lol.


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