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 |
|
| |
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 |
|
|
| 22 Jul 2012 11:55 PM |
| Did you script this yourself, because I don't see anywhere Instance.new("ImageLabel") |
|
|
| Report Abuse |
|
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
|
  |
| 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
|
  |
| Joined: 23 Nov 2011 |
| Total Posts: 6501 |
|
| |
|
| 23 Jul 2012 02:02 PM |
CharacterFetch
--TehChikenHater ლ(ಠ_ಠლ) |
|
|
| Report Abuse |
|
Keyrut
|
  |
| Joined: 23 Nov 2011 |
| Total Posts: 6501 |
|
| |