I AM TRYING TO MAKE A Body script! This is not my script! But please tell me what is wrong here?! I've been trying to find a Body script for my FPS games for SOO LONG!!

local anim_model = Instance.new("Model")
anim_model.Name = "WeaponAnimation"
weapon_model = anim_model
	
local cam_larm = Instance.new("Part")
cam_larm.Parent = anim_model
cam_larm.BrickColor = BrickColor.new(tostring(character["Left Arm"].BrickColor))
cam_larm.formFactor = "Custom"
cam_larm.Size = Vector3.new(1, 2, 1)
cam_larm.TopSurface = 0
cam_larm.BottomSurface = 0
cam_larm.Transparency = 0
cam_larm.CanCollide = false
cam_larm.Name="Left Arm"
local cam_torso=Instance.new("Part")
cam_torso.formFactor="Custom"
cam_torso.Size=Vector3.new(2, 2, 1)
cam_torso.Parent=anim_model
cam_torso.BrickColor=BrickColor.new(tostring(character.Torso.BrickColor))
cam_torso.Name="Torso"
local tempw=Instance.new(conn_type, cam_torso)
tempw.Part0=character["Torso"]
tempw.Part1=cam_torso
local cam_lleg=Instance.new("Part")
cam_lleg.formFactor="Custom"
cam_lleg.Size=Vector3.new(1, 2, 1)
cam_lleg.Parent=anim_model
cam_lleg.BrickColor=BrickColor.new(tostring(character["Left Leg"].BrickColor))
cam_lleg.Name="Left Leg"
local tempw=Instance.new(conn_type, cam_lleg)
tempw.Part0=character["Left Leg"]
tempw.Part1=cam_lleg
local cam_rleg=Instance.new("Part")
cam_rleg.formFactor="Custom"
cam_rleg.Size=Vector3.new(1, 2, 1)
cam_rleg.Parent=anim_model
cam_rleg.BrickColor=BrickColor.new(tostring(character["Right Leg"].BrickColor))
cam_rleg.Name="Right Leg"
local tempw=Instance.new(conn_type, cam_rleg)
tempw.Part0=character["Right Leg"]
tempw.Part1=cam_rleg
for i, v in pairs(character:GetChildren()) do
	if v.ClassName=="CharacterMesh" then
		if v.BodyPart~=nil then
			newcmesh=v:Clone()
			newcmesh.Parent=anim_model
		end
	end
end

local cam_rarm = cam_larm:clone()
cam_rarm.Parent = anim_model
cam_rarm.Name="Right Arm"
cam_rarm.BrickColor = BrickColor.new(tostring(character["Right Arm"].BrickColor))

if character:FindFirstChild("Shirt") then
	local fakeshirt=character.Shirt:Clone()
	fakeshirt.Parent=anim_model
end
if character:FindFirstChild("Pants") then
	local fakepants=character.Pants:Clone()
	fakepants.Parent=anim_model
end
local fakehm=Instance.new("Humanoid", anim_model)
fakehm.MaxHealth=0

4 comments

1

Please tell us what the problem is

0

I edited SOME of it I didnt build it, BUT PLEASE HELP? PLEASE? I ALWAYS NEEDED/WANTED THIS!!

0

Oh, and I got a free model Murder knife because I knew it had a body script, and It shows the arms! Torso! Legs and all! That is what I need! Please help?

0

... So, you gonna answer or... what?