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: Not working...

Previous Thread :: Next Thread 
lordyoman is not online. lordyoman
Joined: 10 Jun 2010
Total Posts: 426
25 Feb 2012 03:29 PM
Armored = {"lordyoman","will131","Player"}

function PlayerJoined(player)
for i = 1,#Armored do
if player.Name == i then
print('lol')
end
end
end
game.Players.PlayerAdded:connect(PlayerJoined)


No output... I'm exhasted so I bet its somthing easy...
Report Abuse
Spectrumw is not online. Spectrumw
Joined: 04 Aug 2009
Total Posts: 13510
25 Feb 2012 03:42 PM
Armored = {"lordyoman","will131","Player"}

function PlayerJoined(player)
for i = 1,#Armored do
if player.Name == Armored[i] then
print('lol')
end
end
end
game.Players.PlayerAdded:connect(PlayerJoined)

Report Abuse
lordyoman is not online. lordyoman
Joined: 10 Jun 2010
Total Posts: 426
25 Feb 2012 03:42 PM
^ Sorry I should have said this before but I found the error... So thanks for nothing I guess...
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