Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Body = {
- ["Neck"] = {
- C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
- C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
- },
- ["RootJoint"] = {
- C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
- C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
- },
- ["Right Shoulder"] = {
- C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0),
- C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0),
- },
- ["Left Shoulder"] = {
- C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0),
- C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0),
- },
- ["Right Hip"] = {
- C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0),
- C1 = CFrame.new(.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0),
- },
- ["Left Hip"] = {
- C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
- C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0),
- },
- }
- function newCharacter()
- local Character = Instance.new("Model")
- local Humanoid = Instance.new("Humanoid",Character)
- local Limb = Instance.new("Part")
- Limb.TopSurface = "Studs"
- Limb.BottomSurface = "Inlet"
- Limb.Size = Vector3.new(1,2,1)
- Limb.Anchored = false
- Limb.Locked = true
- local Torso = Limb:Clone()
- Torso.Name = "Torso"
- Torso.Size = Vector3.new(2,2,1)
- Torso.LeftSurface = "Weld"
- Torso.RightSurface = "Weld"
- Torso.Parent = Character
- local HRJ = Limb:Clone()
- HRJ.Name = "HumanoidRootJoint"
- HRJ.Transparency = 1
- HRJ.Size = Vector3.new(2,2,1)
- HRJ.Parent = Character
- local Head = Limb:Clone()
- Head.Name = "Head"
- Head.Size = Vector3.new(2,1,1)
- Head.BottomSurface = "Inlet"
- Head.Parent = Character
- local Head_Mesh = Instance.new("SpecialMesh")
- Head_Mesh.MeshType = "Head"
- Head_Mesh.Scale = Vector3.new(1.25,1.25,1.25)
- Head_Mesh.Parent = Head
- local Head_Face = Instance.new("Decal")
- Head_Face.Name = "face"
- Head_Face.Face = "Front"
- Head_Face.Texture = "rbxasset://textures/face.png"
- Head_Face.Parent = Head
- local Right_Arm = Limb:Clone()
- Right_Arm.Name = "Right Arm"
- Right_Arm.Parent = Character
- local Right_Leg = Limb:Clone()
- Right_Leg.Name = "Right Leg"
- Right_Leg.Parent = Character
- local Left_Arm = Limb:Clone()
- Left_Arm.Name = "Left Arm"
- Left_Arm.Parent = Character
- local Left_Leg = Limb:Clone()
- Left_Leg.Name = "Left Leg"
- Left_Leg.Parent = Character
- local Neck = Instance.new("Motor6D")
- Neck.Part0 = Torso
- Neck.Part1 = Head
- Neck.C0 = Body.Neck.C0
- Neck.C1 = Body.Neck.C1
- Neck.Parent = Torso
- local RootJoint = Instance.new("Motor6D")
- RootJoint.Part0 = HRJ
- RootJoint.Part1 = Torso
- RootJoint.C0 = Body.RootJoint.C0
- RootJoint.C1 = Body.RootJoint.C1
- RootJoint.Parent = HRJ
- local Right_Shoulder = Instance.new("Motor6D")
- Right_Shoulder.Part0 = Torso
- Right_Shoulder.Part1 = Right_Arm
- Right_Shoulder.C0 = Body["Right Shoulder"].C0
- Right_Shoulder.C1 = Body["Right Shoulder"].C1
- Right_Shoulder.Parent = Torso
- local Left_Shoulder = Instance.new("Motor6D")
- Left_Shoulder.Part0 = Torso
- Left_Shoulder.Part1 = Left_Arm
- Left_Shoulder.C0 = Body["Left Shoulder"].C0
- Left_Shoulder.C1 = Body["Left Shoulder"].C1
- Left_Shoulder.Parent = Torso
- local Right_Hip = Instance.new("Motor6D")
- Right_Hip.Part0 = Torso
- Right_Hip.Part1 = Right_Leg
- Right_Hip.C0 = Body["Right Hip"].C0
- Right_Hip.C1 = Body["Right Hip"].C1
- Right_Hip.Parent = Torso
- local Left_Hip = Instance.new("Motor6D")
- Left_Hip.Part0 = Torso
- Left_Hip.Part1 = Left_Leg
- Left_Hip.C0 = Body["Left Hip"].C0
- Left_Hip.C1 = Body["Left Hip"].C1
- Left_Hip.Parent = Torso
- return Character
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement