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: How to turn off a gui using scripts?

Previous Thread :: Next Thread 
calebskate6 is not online. calebskate6
Joined: 07 Nov 2010
Total Posts: 2015
19 Sep 2017 08:05 PM
Im making a FPS game, and Im making it so that the top bar changes from saying messages to other messages (like an announcement). I just need a simple script that can target the 'Visible' checkbox in a Frame in StarterGui. Thanks

Howdy Folks
Report Abuse
Horrible_Pun is not online. Horrible_Pun
Joined: 13 May 2017
Total Posts: 5102
19 Sep 2017 08:10 PM
--local script in your gui

local player = game.Players.LocalPlayer
local plrgui = player.PlayerGui
local frame = plrgui.ScreenGui.[insert name]

frame.Visible = true/false
Report Abuse
calebskate6 is not online. calebskate6
Joined: 07 Nov 2010
Total Posts: 2015
19 Sep 2017 08:14 PM
do i put it into the StarterGui?

Howdy Folks
Report Abuse
Horrible_Pun is not online. Horrible_Pun
Joined: 13 May 2017
Total Posts: 5102
19 Sep 2017 08:17 PM
did you read the first thing i put
your welcome :)
Report Abuse
calebskate6 is not online. calebskate6
Joined: 07 Nov 2010
Total Posts: 2015
19 Sep 2017 08:19 PM
uh
well
my gui has multiple parts to it.
TextBox
Frame
ScreenGui

Howdy Folks
Report Abuse
calebskate6 is not online. calebskate6
Joined: 07 Nov 2010
Total Posts: 2015
19 Sep 2017 08:20 PM
wait nvm i found out how
I just do this in a script

game.StarterGui.Credits.Enabled = False

Thanks for helping though.

Howdy Folks
Report Abuse
Horrible_Pun is not online. Horrible_Pun
Joined: 13 May 2017
Total Posts: 5102
19 Sep 2017 08:24 PM
actually, it doesnt really matter where you put it as long as its in your gui
also, that script isnt gonna work in actual servers.
Report Abuse
calebskate6 is not online. calebskate6
Joined: 07 Nov 2010
Total Posts: 2015
19 Sep 2017 08:26 PM
oh
woops

Howdy Folks
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