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: This doesn't work.

Previous Thread :: Next Thread 
billybobtijoseph is not online. billybobtijoseph
Joined: 09 Dec 2011
Total Posts: 2163
13 Jun 2014 04:30 PM
This script does not seem to function correctly. It only puts on player in a slot and no one else. It's supposed to get all the players on a specific team color and put them into random slots in imagelabels once so that all the players on that team are in an image label value. Can someone help me??


local labels={[1] = script.Parent.Parent.BackFrame.Frame.PlayerSpot}
local count=1
wait(0.5)
--print(labels, count)
for _,v in pairs(game.Players:GetPlayers())do
if v.TeamColor==BrickColor.new'Bright blue'and labels[count]then
labels[count].PName.PlayName.Value=v.Name
table.insert(labels,count,v.Name)
count=count+1
end
end
Report Abuse
Thawable is not online. Thawable
Joined: 29 Dec 2012
Total Posts: 1068
13 Jun 2014 04:33 PM
local labels={[1] = script.Parent.Parent.BackFrame.Frame.PlayerSpot}
local count=1
wait(0.5)
--print(labels, count)
for _,v in pairs(game.Players:GetPlayers())do
if v.TeamColor==BrickColor.new'Bright blue'and labels[count]then
labels[count].PName.PlayName.Value=v.Name.Parent=table.insert(labels,count,v.Name)
count=count+1
end
end
Report Abuse
billybobtijoseph is not online. billybobtijoseph
Joined: 09 Dec 2011
Total Posts: 2163
13 Jun 2014 04:35 PM
@Thaw, It didn't work.
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