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 load please.

Previous Thread :: Next Thread 
L1kkleC is not online. L1kkleC
Joined: 11 Nov 2011
Total Posts: 961
06 Feb 2015 05:50 PM
Hello!

So I need this to load "Mid gray" team only.
Can someone help and edit this please.



g = game.Players:GetChildren()
for i = 1, #g do
if g[i]:IsA("Player")
then
g[i]:LoadCharacter()
end
end




Thank you!
Report Abuse
gibbothebee is not online. gibbothebee
Joined: 08 Aug 2014
Total Posts: 2065
06 Feb 2015 09:16 PM
Here:

for _, player in pairs(game.Players:GetPlayers()) do
if player.TeamColor == BrickColor.new("Mid gray") then
player:LoadCharacter()
else
-- add additional code here
end
end
Report Abuse
L1kkleC is not online. L1kkleC
Joined: 11 Nov 2011
Total Posts: 961
07 Feb 2015 07:45 AM
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