xXRALXx
|
  |
| Joined: 12 Mar 2008 |
| Total Posts: 153 |
|
|
| 24 Apr 2014 06:24 PM |
local asset = "http://www.roblox.com/asset/?id=" local Players = Game:GetService('Players') local player = Players:GetPlayerFromCharacter(character)
local persis = player:WaitForChild("PersistentModel") local face = persis:WaitForChild("FaceTexture") local facetexture = face.Value
script.Parent.Face.Texture = asset .. facetexture
It doesn't index a player correctly. How do I make this work? Also, this isn't a local script. (But perhaps changing it to local would fix it...?) |
|
|
| Report Abuse |
|
|
SlothGod
|
  |
| Joined: 04 Apr 2011 |
| Total Posts: 1517 |
|
|
| 24 Apr 2014 06:27 PM |
local asset = "http://www.roblox.com/asset/?id=Need something here I THINK" local Players = Game:GetService('Players') local player = Players:GetPlayerFromCharacter(character)
local persis = player:WaitForChild("PersistentModel") local face = persis:WaitForChild("FaceTexture") local facetexture = face.Value
script.Parent.Face.Texture = asset .. facetexture
ALso ye make it a local script |
|
|
| Report Abuse |
|
|
xXRALXx
|
  |
| Joined: 12 Mar 2008 |
| Total Posts: 153 |
|
|
| 24 Apr 2014 06:33 PM |
| Local script doesn't fix it. And 'asset' defines "http://www.roblox.com/asset/?id=", and facetexture fills up the end of the asset. Nothing wrong there. |
|
|
| Report Abuse |
|
|