Ok, I kinda took a script and made huge changes to it, and they actually worked! But then I added the "Torso" Parts of the script and it broke it! Ok, look, this was in a LocalScript. AND IT WORKED Believe it or not. It worked, The original script you see was how it was originally made then i added the Legs in the script, and it worked. BUT when I added the Torso parts into the script it broke it. What exactly did I do wrong? At first it was Arm1 & Arm2 Only in there, then I added Leg1 & Leg2,saved it, tested, it worked. Tried to add a Torso clone and it broke it.Output said:
10:55:02.443 - -- Remember to put this in starterpack! Credit goes to alex:6: attempt to index local 'player' (a nil value)
10:55:02.445 - Stack Begin
10:55:02.447 - Script '-- Remember to put this in starterpack! Credit goes to alex', Line 6 - global PlayerEntered
10:55:02.448 - Script '-- Remember to put this in starterpack! Credit goes to alex', Line 77
10:55:02.452 - Stack End
Original Version of script
-- Remember to put this in starterpack! Credit goes to alextomcool + Gunnery101!
wait(3)
function PlayerEntered(player)
while player.Character:FindFirstChild("Shirt") == nil do wait() end
local Arm1 = player.Character:FindFirstChild("Left Arm")
local Arm2 = player.Character:FindFirstChild("Right Arm")
local LArm = Arm1:clone()
local RArm = Arm2:clone()
LArm.formFactor = 3 --Custom, new feature added as of late 2010
RArm.formFactor = 3
LArm.Size = Vector3.new(1, 2, 1)
RArm.Size = Vector3.new(1, 2, 1)
Arm1.Transparency = 1 --shhh, trust me.
Arm2.Transparency = 1
local shirt = player.Character:FindFirstChild("Shirt")
local pants = player.Character:FindFirstChild("Pants")
local s = shirt:clone()
local p = pants:clone()
local m = Instance.new("Model")
m.Name = player.Name.."'s Body Model"
local Arm1Weld = Instance.new("Weld")
Arm1Weld.Part0 = Arm1
Arm1Weld.Part1 = LArm
local Arm2Weld = Instance.new("Weld")
Arm2Weld.Part0 = Arm2
Arm2Weld.Part1 = RArm
local human = player.Character:FindFirstChild("Humanoid"):Clone()
if m.Parent ~= game.Workspace then
m.Parent = game.Workspace
human.Parent = m
s.Parent = m
p.Parent = m
Arm1Weld.Parent = Arm1
Arm2Weld.Parent = Arm2
LArm.Parent = m
RArm.Parent = m
end
human.Died:connect(function() m:Remove() end)
player.Changed:connect(function(prop) if prop:lower() == "character" then PlayerEntered(player) end end)
end
game.Players.PlayerAdded:connect(PlayerEntered)
PlayerEntered(game.Players.LocalPlayer)
My Edits
-- Remember to put this in starterpack! Credit goes to alextomcool + Gunnery101!
wait(3)
function PlayerEntered(player)
while player.Character:FindFirstChild("Shirt") == nil do wait() end
local Arm1 = player.Character:FindFirstChild("Left Arm")
local Arm2 = player.Character:FindFirstChild("Right Arm")
local Leg1 = player.Character:FindFirstChild("Left Leg")
local Leg2 = player.Character:FindFirstChild("Right Leg")
local Torso1 = player.Character.FindFirstChild("Torso")
local LArm = Arm1:clone()
local RArm = Arm2:clone()
local LLeg = Leg1:clone()
local RLeg = Leg2:clone()
local Torso = Torso1:clone()
LArm.formFactor = 3 --Custom, new feature added as of late 2010
RArm.formFactor = 3
LLeg.formFactor = 3
RLeg.formFactor = 3
Torso.formFactor = 3
LArm.Size = Vector3.new(1, 2, 1)
RArm.Size = Vector3.new(1, 2, 1)
Torso.Size = Vector3.new(1, 2, 1)
Arm1.Transparency = 1 --shhh, trust me.
Arm2.Transparency = 1
Leg1.Transparency = 1
Leg2.Transparency = 1
Torso1.Transparency = 1
local shirt = player.Character:FindFirstChild("Shirt")
local pants = player.Character:FindFirstChild("Pants")
local s = shirt:clone()
local p = pants:clone()
local m = Instance.new("Model")
m.Name = player.Name.."'s Body Model"
local Arm1Weld = Instance.new("Weld")
Arm1Weld.Part0 = Arm1
Arm1Weld.Part1 = LArm
local Arm2Weld = Instance.new("Weld")
Arm2Weld.Part0 = Arm2
Arm2Weld.Part1 = RArm
local Leg1Weld = Instance.new("Weld")
Leg1Weld.Part0 = Leg1
Leg1Weld.Part1 = LLeg
local Leg2Weld = Instance.new("Weld")
Leg2Weld.Part0 = Leg2
Leg2Weld.Part1 = RLeg
local Torso1Weld = Instance.new("Weld")
Torso1Weld.Part0 = Torso1
Torso1Weld.Part1 = Torso
local human = player.Character:FindFirstChild("Humanoid"):Clone()
if m.Parent ~= game.Workspace then
m.Parent = game.Workspace
human.Parent = m
s.Parent = m
p.Parent = m
Arm1Weld.Parent = Arm1
Arm2Weld.Parent = Arm2
Leg1Weld.Parent = Leg1
Leg2Weld.Parent = Leg2
Torso1Weld.Parent = Torso1
LArm.Parent = m
RArm.Parent = m
LLeg.Parent = m
RLeg.Parent = m
Torso.Parent = m
end
human.Died:connect(function() m:Remove() end)
player.Changed:connect(function(prop) if prop:lower() == "character" then PlayerEntered(player) end end)
end
game.Players.PlayerAdded:connect(PlayerEntered)
PlayerEntered(game.Players.LocalPlayer)

4 comments
What isn't working exactly? Was there any Output? And if so, what did it say? These Questions are required, so that we; Have a better visual of the problem, and how to fix it.
Next time a better Description please.
People on this website is very harsh, I got -5 for a question? Seriously? Does it tick you off that badly? What did I frickin do?
In studio, it's weird. Regular scripts can use LocalPlayer. This is why a lot of people ask why scripts work in studio but not in online mode.