|
| 17 Jun 2016 06:52 PM |
For some game I'm working on, but when I think I had it right it just doesn't work. (I'm very new to scripting btw) Does it look like anything is wrong with this script?
game.Workspace.ChildAdded:connect(function(plr) local name = plr.Name local playerinplayers = game.Players:FindFirstChild(plr.Name) if playerinplayers ~= nil then playersinplayers.CanLoadCharacterAppearance = false plr.Head.face.Texture = "rbxassetid://8560971" local bodycolors = Instance.new("BodyColors", plr) bodycolors.RightArmColor = BrickColor.new("Pastel brown") bodycolors.LeftArmColor = BrickColor.new("Pastel brown") bodycolors.LeftLegColor = BrickColor.new("Dark stone grey") bodycolors.LeftRightColor = BrickColor.new("Dark stone grey") bodycolors.TorsoColor = BrickColor.Random() bodycolors.HeadColor = BrickColor.new("Pastel") end end)
*Tips visor* |
|
|
| Report Abuse |
|
|
Vexarch
|
  |
| Joined: 24 May 2009 |
| Total Posts: 7191 |
|
|
| 17 Jun 2016 06:57 PM |
| I'm not an expert but if this is your whole script then "bodycolors" might be an unknown variable |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2016 07:06 PM |
| Did anyone notice that this script came from AlvinBlox? |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2016 07:07 PM |
@Vex Hmm, so just delete it?
Maybe I should try finding a thing where I can add clothes on people rather than skin colors..
*Tips visor* |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2016 07:08 PM |
@Hell Yeah it is, I'm trying to learn scripting and stuff from this guy. (Like I said, I am new after all.)
*Tips visor* |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2016 07:30 PM |
| I don't recommend learning from him tho |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2016 07:43 PM |
@Azure Well where else can I learn to make people spawn with uniforms in a game even if they reset?
*Tips visor* |
|
|
| Report Abuse |
|
|