NightPyro
|
  |
| Joined: 22 Apr 2012 |
| Total Posts: 183 |
|
|
| 21 Nov 2012 02:44 PM |
How come this doesn't work? local player = game.Players.LocalPlayer
wait(2) player:ClearCharacterAppearance( ) |
|
|
| Report Abuse |
|
|
dmjoe
|
  |
| Joined: 01 May 2009 |
| Total Posts: 2387 |
|
|
| 21 Nov 2012 02:45 PM |
local player = game.Players.LocalPlayer
wait(2) player.CharacterAppearance = " "
--#theeasywayout |
|
|
| Report Abuse |
|
|
NightPyro
|
  |
| Joined: 22 Apr 2012 |
| Total Posts: 183 |
|
|
| 21 Nov 2012 03:53 PM |
Thank you for helping, but the script didn't work, so i just figured it out on my own, which is what i should of done, but anyways, here is the final script;
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) wait(2) player:ClearCharacterAppearance( )
end) end)
Works great! |
|
|
| Report Abuse |
|
|
nrscsy
|
  |
| Joined: 09 Nov 2012 |
| Total Posts: 465 |
|
|
| 21 Nov 2012 03:59 PM |
| What would that do to the character? |
|
|
| Report Abuse |
|
|
NightPyro
|
  |
| Joined: 22 Apr 2012 |
| Total Posts: 183 |
|
|
| 21 Nov 2012 04:09 PM |
It basically deletes your personal roblox appearance you customarily chose. What i am trying to do with this... Is, i am making a zombie game, and i have it so it will delete the personal character appearance, and put on a custom character for a special character in the game. am making. I wanted to do this rather then morphs. It's more efficient. Example; BodyColors = script.BodyColors:clone() Pants = script.Pants:clone() Shirt = script.Shirt:clone() SpikyHair = script.SpikyHair:clone() face = script.face:clone() ------------------------------------------------------------------- game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) wait(2) player:ClearCharacterAppearance( ) wait(2) BodyColors.Parent = player.Character Pants.Parent = player.Character Shirt.Parent = player.Character SpikyHair.Parent = player.Character face.Parent = player.Character.Head
end) end) |
|
|
| Report Abuse |
|
|
NightPyro
|
  |
| Joined: 22 Apr 2012 |
| Total Posts: 183 |
|
|
| 21 Nov 2012 04:21 PM |
Wiki example; function onPlayerAdded(player) player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=0" --the last numbers of the URI is the ID of the desired character look end game.Players.PlayerAdded:connect(onPlayerAdded)
Put the ID "0," to what ever usename you want it to be, and you will become that use only "ingame." |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2012 04:42 PM |
| Haven't seen that method before, i've learnt something! :O |
|
|
| Report Abuse |
|
|
nrscsy
|
  |
| Joined: 09 Nov 2012 |
| Total Posts: 465 |
|
|
| 21 Nov 2012 04:42 PM |
| This method is a simpler way to delete shirts, pants, t-shirts, face, head mesh and body mesh. Wonder if it's more efficent than the old way. |
|
|
| Report Abuse |
|
|
MrNicNac
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 26567 |
|
|
| 21 Nov 2012 04:45 PM |
Actually, you can make it so much simpler in the LocalScript
local player = Game.Players.LocalPlayer player.CanLoadCharacterAppearance = false |
|
|
| Report Abuse |
|
|
nrscsy
|
  |
| Joined: 09 Nov 2012 |
| Total Posts: 465 |
|
|
| 21 Nov 2012 04:48 PM |
| It's great to see a 10 line script turn into a 2 line script. Marvelous isn't it? |
|
|
| Report Abuse |
|
|