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: Some one! Anyone!

Previous Thread :: Next Thread 
Keyrut is not online. Keyrut
Joined: 23 Nov 2011
Total Posts: 6501
22 Jul 2012 11:39 PM
heres a chat gui, i need a picture of the player on the left of the name so it would be like [_] Keyrut > hio [_] being the little picture
function createList()
for index,child in pairs(script.Parent:GetChildren()) do
if child.Name=="Player" then
child:remove()
end
end
for index,child in pairs(game.Players:GetPlayers()) do
newPlayer=Instance.new("TextLabel",script.Parent)
newPlayer.Name="Player"
newPlayer.Font="ArialBold"
newPlayer.TextXAlignment="Left"
newPlayer.Text=" "..child.Name
newPlayer.Size=UDim2.new(1,0,.025,0) --(0,0,.-025,0)
newPlayer.Position=UDim2.new(0,0,index*.0135,0)-UDim2.new(0,0,.0135,0)
newPlayer.BorderSizePixel=0
newPlayer.BackgroundColor3=Color3.new(0,0,0)
newPlayer.TextColor3=Color3.new(1,1,1)
newPlayer.TextStrokeColor3=Color3.new(0,0,0)
newPlayer.TextStrokeTransparency=0
newPlayer.BackgroundTransparency=1
newPlayer.FontSize="Size12"
if script.Parent.Parent.Parent.Parent:IsFriendsWith(child.userId) and script.Parent.Parent.Parent.Parent~=child then
newPlayer.Text=" "..child.Name
friendsWith=Instance.new("TextLabel",newPlayer)
friendsWith.Name="Friends"
friendsWith.TextXAlignment="Left"
friendsWith.Text=" FR"
friendsWith.Size=UDim2.new(1,0,1,0)
friendsWith.Position=UDim2.new(0,0,0,0)
friendsWith.BorderSizePixel=0
friendsWith.BackgroundColor3=Color3.new(0,0,0)
friendsWith.TextColor3=Color3.new(1,1,1)
friendsWith.TextStrokeColor3=Color3.new(0,0,0)
friendsWith.TextStrokeTransparency=0
friendsWith.BackgroundTransparency=1
friendsWith.FontSize="Size8"
end
end
end
createList()
game.Players.PlayerAdded:connect(function(plr) createList() end)
game.Players.PlayerRemoving:connect(function(plr) createList() end)
Report Abuse
thedeathmaster01 is not online. thedeathmaster01
Joined: 14 Mar 2010
Total Posts: 6331
22 Jul 2012 11:40 PM
What's the problem?
Report Abuse
Keyrut is not online. Keyrut
Joined: 23 Nov 2011
Total Posts: 6501
22 Jul 2012 11:53 PM
Problem is i cannot get a Icon of the player to the left of the name here ill upload a decal of what i mean
Report Abuse
ninjaknight101 is not online. ninjaknight101
Joined: 04 Apr 2011
Total Posts: 1281
22 Jul 2012 11:55 PM
Did you script this yourself, because I don't see anywhere Instance.new("ImageLabel")
Report Abuse
Keyrut is not online. Keyrut
Joined: 23 Nov 2011
Total Posts: 6501
23 Jul 2012 12:09 AM
No, mainly because this is new to me, this is also how i was taught to do my other work.
but eh.
i dont really know how to put the icon next to it.
Report Abuse
Keyrut is not online. Keyrut
Joined: 23 Nov 2011
Total Posts: 6501
23 Jul 2012 12:09 AM
http://www.roblox.com/Chat-gui-item?id=87610878
thats what im baseing it off of
Report Abuse
Keyrut is not online. Keyrut
Joined: 23 Nov 2011
Total Posts: 6501
23 Jul 2012 01:53 PM
bitbapbump
Report Abuse
builderman1171 is not online. builderman1171
Joined: 27 Mar 2010
Total Posts: 1595
23 Jul 2012 02:02 PM
CharacterFetch

--TehChikenHater ლ(ಠ_ಠლ)
Report Abuse
Keyrut is not online. Keyrut
Joined: 23 Nov 2011
Total Posts: 6501
23 Jul 2012 03:23 PM
._.
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