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
 

Please, help

Previous Thread :: Next Thread 
papermaster111 is not online. papermaster111
Joined: 14 Jun 2011
Total Posts: 585
03 Oct 2013 09:52 PM
This script won't work:

game.Players.PlayerAdded:connect(function(plr)
if plr:IsInGroup(785563) then
if plr:GetRankInGroup(785563)==254 then
plr.TeamColor=game.Teams.Trainers.TeamColor
end
end
end)

I am rank 254 and it will not set my team.
Report Abuse
Smakdown21 is not online. Smakdown21
Joined: 15 Dec 2009
Total Posts: 1552
03 Oct 2013 10:17 PM
How are you testing this script?
Report Abuse
Project2015 is not online. Project2015
Joined: 11 Sep 2013
Total Posts: 384
04 Oct 2013 07:01 AM
game.Players.PlayerAdded:connect(function(plr)
if plr:IsInGroup(785563) then
if plr:GetRankInGroup(785563)== 254 then
plr.TeamColor = game:GetService("Teams").Trainers.TeamColor
end
end
end)
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