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: [Help] Gui Script not working

Previous Thread :: Next Thread 
warlord436 is not online. warlord436
Joined: 10 Feb 2012
Total Posts: 277
06 Dec 2015 03:03 PM
This is the script:

list = {"warlord436","Player1"};

script.Parent.Parent.ScreenGui.Frame.Visible = false

if game:FindFirstChild(list) then
script.Parent.Parent.ScreenGui.Frame.Visible = true
end


i want the gui to show up only if they're in the list
Report Abuse
RymasterE is not online. RymasterE
Joined: 11 Sep 2008
Total Posts: 1418
06 Dec 2015 03:11 PM
list = {"beefybigboys1996", "warlord436"} --define list of users we want


if list[game.Players.LocalPlayer.Name] ~= nil then --if the player is in our list
--code
else --if the player is NOT in our list
script.Parent:Destroy() --destroy what the gui, change this depending on ancestory
end
Report Abuse
warlord436 is not online. warlord436
Joined: 10 Feb 2012
Total Posts: 277
06 Dec 2015 03:13 PM
Thanks
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