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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Disabling Game Interface GUIs Not Working (Local Script)

Previous Thread :: Next Thread 
Pikachu84639 is not online. Pikachu84639
Joined: 21 Nov 2011
Total Posts: 230
14 Jul 2015 02:05 PM
Hello,
I put this local script in my game, but it's not doing what it's intended for, which is disabling the Health Bar, Backpack, Player List, and Chat. Can someone please help me solve this problem?

Thanks,
Pikachu84639

local StarterGui = game:GetService('StarterGui')
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)

local UIS = game:GetService('UserInputService')
UIS.ModalEnabled = true
Report Abuse
fishguy100 is not online. fishguy100
Joined: 16 Feb 2013
Total Posts: 3679
14 Jul 2015 02:12 PM
I just tested it and it worked. Is the script located in StarterPack or StarterGui?

try this if it is and doesnt work

wait(1)
local StarterGui = game:GetService('StarterGui')
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)

local UIS = game:GetService('UserInputService')
UIS.ModalEnabled = true


Im a scripter for Team Theorem. You can trust what I say :)
Report Abuse
louiskk is not online. louiskk
Joined: 31 Dec 2008
Total Posts: 228
14 Jul 2015 02:13 PM
Local scripts are client side, put it inside playergui and it will replicate to the client, otherwise it's not going to run properly.
Report Abuse
Pikachu84639 is not online. Pikachu84639
Joined: 21 Nov 2011
Total Posts: 230
14 Jul 2015 02:20 PM
Thank you for replying, I followed both of your suggestions and the script now works. Thank you!
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