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
 

[ Content Deleted ]

Previous Thread :: Next Thread 
Spectrumz is not online. Spectrumz
Joined: 22 Mar 2011
Total Posts: 4338
15 Jul 2011 03:12 PM
local permission = {"Spectrumz", "Yourname", "LOL"}

function verify(name)
for i, v in pairs(permission) do
if string.lower(v) == string.lower(name) then
return true
else
return false
end
end
end

game.Players.PlayerAdded:connect(function(p)
p.CharacterAdded:connect(function(c)
repeat wait() until c
if verify(p.Name) == true then
print("This person is in the permission table.")
--Do stuff to the newly verified player
local m = Instance.new("Message", p.PlayerGui)
m.Text = "You are allowed."
wait(3)
m:Remove()
else
print("This person is NOT in the permission table.")
end
end)
end)

Nothing seems wrong with it, and there's no output.
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
15 Jul 2011 03:15 PM
[ Content Deleted ]
Report Abuse
Spectrumz is not online. Spectrumz
Joined: 22 Mar 2011
Total Posts: 4338
15 Jul 2011 03:17 PM
@myrco

Thanks.

table.remove(permission, 3)
table.remove(permission, 4)
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
15 Jul 2011 03:18 PM
[ Content Deleted ]
Report Abuse
Spectrumz is not online. Spectrumz
Joined: 22 Mar 2011
Total Posts: 4338
15 Jul 2011 03:21 PM
Hmmm...

For some reason it says I'm not allowed in the message.

If youf ix it I will put you back in :)
Report Abuse
Spectrumz is not online. Spectrumz
Joined: 22 Mar 2011
Total Posts: 4338
15 Jul 2011 03:22 PM
fix*

I hope no one pointed that out while I was waiting for floodcheck.
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