Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr = owner
- char = plr.Character
- char2 = Instance.new("Model",char)
- for _,v in pairs (char:children()) do
- if v:IsA("MeshPart") then
- v.Transparency = 1
- end
- end
- function ezweld(a, b, cf)
- local weld = Instance.new("Weld",char)
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = cf
- return weld
- end
- Humanoid = Instance.new("Humanoid",char2)
- Humanoid.PlatformStand = true
- Torso = Instance.new("Part",char)
- Torso.Name = "Torso"
- Torso.CanCollide = false
- Torso.Color = char["UpperTorso"].Color
- Torso.Size = Vector3.new(2, 2, 1)
- Torso.Transparency = 1
- Torso2 = Torso:Clone()
- Torso2.Parent = char2
- RightArm = Instance.new("Part",char)
- RightArm.Name = "Right Arm"
- RightArm.CanCollide = false
- RightArm.Color = char["RightUpperArm"].Color
- RightArm.Size = Vector3.new(1, 2, 1)
- RightArm.Transparency = 1
- RightArm2 = RightArm:Clone()
- RightArm2.Parent = char2
- RightArm2.Transparency = 0
- LeftArm = Instance.new("Part",char)
- LeftArm.Name = "Left Arm"
- LeftArm.CanCollide = false
- LeftArm.Color = char["LeftUpperArm"].Color
- LeftArm.Size = Vector3.new(1, 2, 1)
- LeftArm.Transparency = 1
- LeftArm2 = Instance.new("Part",char2)
- LeftArm2.Name = "Left Arm"
- LeftArm2.CanCollide = false
- LeftArm2.Color = char["LeftUpperArm"].Color
- LeftArm2.Size = Vector3.new(1, 2, 1)
- LeftArm2.Transparency = 0
- RightLeg = Instance.new("Part",char)
- RightLeg.Name = "Right Leg"
- RightLeg.CanCollide = false
- RightLeg.Color = char["RightUpperLeg"].Color
- RightLeg.Size = Vector3.new(1, 2, 1)
- RightLeg.Transparency = 1
- RightLeg2 = Instance.new("Part",char2)
- RightLeg2.Name = "Right Leg"
- RightLeg2.CanCollide = false
- RightLeg2.Color = char["RightUpperLeg"].Color
- RightLeg2.Size = Vector3.new(1, 2, 1)
- RightLeg2.Transparency = 0
- LeftLeg = Instance.new("Part",char)
- LeftLeg.Name = "Left Leg"
- LeftLeg.CanCollide = false
- LeftLeg.Color = char["LeftUpperLeg"].Color
- LeftLeg.Size = Vector3.new(1, 2, 1)
- LeftLeg.Transparency = 1
- LeftLeg2 = Instance.new("Part",char2)
- LeftLeg2.Name = "Left Leg"
- LeftLeg2.CanCollide = false
- LeftLeg2.Color = char["LeftUpperLeg"].Color
- LeftLeg2.Size = Vector3.new(1, 2, 1)
- LeftLeg2.Transparency = 0
- RootJ = Instance.new("Motor6D",char.HumanoidRootPart)
- --RootJ.Name = "RootJoint"
- RSH = Instance.new("Motor6D",char.Torso)
- --RSH.Name = "Right Shoulder"
- RSH.Part0 = RightArm
- RSH.Part1 = char.RightLowerArm
- RSH.C0 = CFrame.new(0, -0.125, 0)
- LSH = Instance.new("Motor6D",char.Torso)
- --LSH.Name = "Left Shoulder"
- LSH.Part0 = LeftArm
- LSH.Part1 = char.LeftLowerArm
- LSH.C0 = CFrame.new(0, -0.125, 0)
- RHH = Instance.new("Motor6D",char.Torso)
- --RHH.Name = "Right Hip"
- RHH.Part0 = RightLeg
- RHH.Part1 = char.RightLowerLeg
- RHH.C0 = CFrame.new(0, -0.15, 0)
- LHH = Instance.new("Motor6D",char.Torso)
- --LHH.Name = "Left Hip"
- LHH.Part0 = LeftLeg
- LHH.Part1 = char.LeftLowerLeg
- LHH.C0 = CFrame.new(0, -0.15, 0)
- NCK = Instance.new("Motor6D",char.Torso)
- NCK.Name = "Neck"
- local PlayerSize = 1
- local FT,RA,LA,RL,LL = Instance.new("SpecialMesh",Torso),Instance.new("SpecialMesh",RightArm),Instance.new("SpecialMesh",LeftArm),Instance.new("SpecialMesh",RightLeg),Instance.new("SpecialMesh",LeftLeg)
- FT.MeshId,FT.Scale = "rbxasset://fonts/torso.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
- RA.MeshId,RA.Scale = "rbxasset://fonts/rightarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
- LA.MeshId,LA.Scale = "rbxasset://fonts/leftarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
- RL.MeshId,RL.Scale = "rbxasset://fonts/rightleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
- LL.MeshId,LL.Scale = "rbxasset://fonts/leftleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
- --[[
- local FT,RA,LA,RL,LL = Instance.new("SpecialMesh",Torso2),Instance.new("SpecialMesh",RightArm2),Instance.new("SpecialMesh",LeftArm2),Instance.new("SpecialMesh",RightLeg2),Instance.new("SpecialMesh",LeftLeg2)
- FT.MeshId,FT.Scale = "rbxasset://fonts/torso.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
- RA.MeshId,RA.Scale = "rbxasset://fonts/rightarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
- LA.MeshId,LA.Scale = "rbxasset://fonts/leftarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
- RL.MeshId,RL.Scale = "rbxasset://fonts/rightleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
- LL.MeshId,LL.Scale = "rbxasset://fonts/leftleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
- ]]--
- for i,v in pairs (char2:children()) do
- if v:IsA("Part") then
- v.Transparency = 0
- end
- end
- TW = ezweld(Torso,char.UpperTorso,CFrame.new(0, 0.25, 0))
- TW.Parent = char.HumanoidRootPart
- TW.Name = "RootJoint"
- RS = ezweld(RightArm, char.RightLowerArm, CFrame.new(0, -0.125, 0))
- RS.Parent = Torso
- RS.Name = "Right Shoulder"
- LS = ezweld(LeftArm, char.LeftLowerArm, CFrame.new(0, -0.125, 0))
- LS.Parent = Torso
- LS.Name = "Left Shoulder"
- RH = ezweld(RightLeg, char.RightLowerLeg, CFrame.new(0, -0.15, 0))
- RH.Parent = Torso
- RH.Name = "Right Hip"
- LH = ezweld(LeftLeg, char.LeftLowerLeg, CFrame.new(0, -0.15, 0))
- LH.Parent = Torso
- LH.Name = "Left Hip"
- TW2 = ezweld(Torso2,Torso, CFrame.new())
- RS2 = ezweld(RightArm2,RightArm, CFrame.new())
- LS2 = ezweld(LeftArm2,LeftArm, CFrame.new())
- RH2 = ezweld(RightLeg2,RightLeg, CFrame.new())
- LH2 = ezweld(LeftLeg2,LeftLeg, CFrame.new())
- p = false
- s = false
- local shirt = char:FindFirstChildOfClass("Shirt")
- local pants = char:FindFirstChildOfClass("Pants")
- if shirt then
- shirt2 = shirt:Clone()
- shirt2.Parent = char2
- s = true
- end
- if pants then
- pants2 = pants:Clone()
- pants2.Parent = char2
- p = true
- end
- while true do
- wait()
- local shirt = char:FindFirstChildOfClass("Shirt")
- local pants = char:FindFirstChildOfClass("Pants")
- if shirt and not s then
- shirt2 = shirt:Clone()
- shirt2.Parent = char2
- s = true
- end
- if pants and not p then
- pants2 = pants:Clone()
- pants2.Parent = char2
- p = true
- end
- LeftArm.Color = char["LeftUpperArm"].Color
- RightLeg.Color = char["RightUpperLeg"].Color
- LeftLeg.Color = char["LeftUpperLeg"].Color
- RightArm.Color = char["RightUpperArm"].Color
- Torso.Color = char["UpperTorso"].Color
- LeftArm2.Color = LeftArm.Color
- RightArm2.Color = RightArm.Color
- LeftLeg2.Color = LeftLeg.Color
- RightLeg2.Color = RightLeg.Color
- Torso2.Color = Torso.Color
- for _,v in pairs (char:children()) do
- if v:IsA("Shirt") then
- shirt2.ShirtTemplate = v.ShirtTemplate
- end
- if v:IsA("Pants") then
- pants2.PantsTemplate = v.PantsTemplate
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement