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 » Scripting Helpers
Home Search
 

Re: GUI for certain people. [PAYING 1,000 ROBUX]

Previous Thread :: Next Thread 
IArchieI is not online. IArchieI
Joined: 27 Jul 2011
Total Posts: 271
27 Aug 2014 07:36 AM
Hi,

I will pay 1,000 robux to someone who can make a working script that will only show a GUI to certain people.

Report Abuse
tyzone is not online. tyzone
Joined: 16 Aug 2008
Total Posts: 1726
27 Aug 2014 07:46 AM
Put this in a localscript, and put that localscript in the starterpack.


---------------

table = {"iarchiei","someone_else","someone_else_else"}

is_allowed = false

for i = 1,#table do
if table == script.Parent.Parent.Name then
is_allowed = true
break
end
end

if is_allowed then
gui = game.Lighting.(gui name):Clone()
gui.Parent = script.Parent.Parent.PlayerGui
end


oopsie boopsie u got it 4 free
Report Abuse
Legostarwars98745 is not online. Legostarwars98745
Joined: 02 Jan 2008
Total Posts: 68659
27 Aug 2014 07:48 AM

game:GetService("Players").PlayerAdded:connect(function(player)
--if they're in a group do if player:IsInGroup(groupid) then
a = gui:Clone()
a.Parent = player:findFirstChild("PlayerGui")
end
end)
Report Abuse
tyzone is not online. tyzone
Joined: 16 Aug 2008
Total Posts: 1726
27 Aug 2014 07:52 AM
PlayerAdded only triggers when the player joins. You'd have to use CharacterAdded too, in case they were to die.
Report Abuse
kibawolf47 is not online. kibawolf47
Joined: 12 May 2012
Total Posts: 869
27 Aug 2014 08:39 AM
oh no this guy is gonna lose 1000 robux for something you can get as a free model
Report Abuse
tyzone is not online. tyzone
Joined: 16 Aug 2008
Total Posts: 1726
27 Aug 2014 09:15 AM
He just got the script for free tho

o no
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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