ActuaIity
|
  |
| Joined: 27 Jul 2011 |
| Total Posts: 650 |
|
|
| 28 Mar 2015 08:19 PM |
player=game.Players.LocalPlayer if Profiles[i].ID.Value == player.userId.Value then
|
|
|
| Report Abuse |
|
|
ActuaIity
|
  |
| Joined: 27 Jul 2011 |
| Total Posts: 650 |
|
|
| 28 Mar 2015 08:44 PM |
bump1 also output says 21:15:26.856 - Players.Player.PlayerGui.Profile.Script:280: attempt to index field 'userId' (a number value) |
|
|
| Report Abuse |
|
|
TheJKM98
|
  |
| Joined: 20 Dec 2010 |
| Total Posts: 511 |
|
|
| 28 Mar 2015 08:59 PM |
Try this:
if Profiles[i].ID.Value == player.userId then
I am a novice with userId, but a quick look at the wiki made me think this might work. |
|
|
| Report Abuse |
|
|
ActuaIity
|
  |
| Joined: 27 Jul 2011 |
| Total Posts: 650 |
|
| |
|
| |
|