Advertisement
affady65

Untitled

May 24th, 2018
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.34 KB | None | 0 0
  1. local humRootPart = char:WaitForChild("HumanoidRootPart")
  2. local head = char:WaitForChild("Head")
  3. local torso = char:WaitForChild("Torso")
  4. local lArm = char:WaitForChild("Left Arm")
  5. local rArm = char:WaitForChild("Right Arm")
  6. local lLeg = char:WaitForChild("Left Leg")
  7. local rLeg = char:WaitForChild("Right Leg")
  8.  
  9. head.Size = Vector3.new(1.3, 1.3, 1.3)
  10. putTexture(head, "rbxassetid://38738031", "rbxassetid://36047330",
  11. "rbxassetid://36047341", "rbxassetid://36047347",
  12. "rbxassetid://36047323", "rbxassetid://36047315", "Decal")
  13. head:WaitForChild("Mesh"):Destroy()
  14. head:WaitForChild("face"):Destroy()
  15.  
  16. torso.Size = Vector3.new(1.3, 1.95, 0.65)
  17. putTexture(torso, "rbxassetid://38934753", "rbxassetid://38934731",
  18. "rbxassetid://38934780", "rbxassetid://38934740",
  19. "rbxassetid://38934762", "rbxassetid://38934762", "Decal")
  20.  
  21. lArm.Size = Vector3.new(0.65, 1.95, 0.65)
  22. putTexture(lArm, "rbxassetid://38934581", "rbxassetid://38934560",
  23. "rbxassetid://38934613", "rbxassetid://38934568",
  24. "rbxassetid://38934601", "rbxassetid://38934591", "Decal")
  25.  
  26. rArm.Size = Vector3.new(0.65, 1.95, 0.65)
  27. putTexture(rArm, "rbxassetid://38934560", "rbxassetid://38934581",
  28. "rbxassetid://38934613", "rbxassetid://38934568",
  29. "rbxassetid://38934601", "rbxassetid://38934591", "Decal")
  30.  
  31. lLeg.Size = Vector3.new(0.65, 1.95, 0.65)
  32. putTexture(lLeg, "rbxassetid://38936226", "rbxassetid://38936209",
  33. "rbxassetid://38934719", "rbxassetid://38934712",
  34. "rbxassetid://38936255", "rbxassetid://38936242", "Decal")
  35.  
  36. rLeg.Size = Vector3.new(0.65, 1.95, 0.65)
  37. putTexture(rLeg, "rbxassetid://38936209", "rbxassetid://38936226",
  38. "rbxassetid://38934719", "rbxassetid://38934712",
  39. "rbxassetid://38936242", "rbxassetid://38936255", "Decal")
  40.  
  41. char.Humanoid:ClearAllChildren()
  42. char.Animate:Remove()
  43.  
  44. -- now for the real stuff
  45. -- |
  46. -- |
  47. -- V
  48. Instance.new("BlockMesh", torso)
  49. Instance.new("BlockMesh", lArm)
  50. Instance.new("BlockMesh", rArm)
  51. Instance.new("BlockMesh", lLeg)
  52. Instance.new("BlockMesh", rLeg)
  53.  
  54. local camera = workspace.Camera
  55. local camPart = Instance.new("Part", camera)
  56. camPart.Size = Vector3.new(0, 0, 0)
  57. camPart.CFrame = camera.CFrame
  58. camPart.Transparency = 1
  59.  
  60. --[[local cameraHand = Instance.new("Part", camera)
  61. cameraHand.Size = Vector3.new(0.65, 1.95, 0.65)
  62. cameraHand.CanCollide = false
  63. cameraHand.Anchored = true
  64. cameraHand.Name = "CameraHand"
  65. putTexture(cameraHand, "rbxassetid://38934560", "rbxassetid://38934581",
  66. "rbxassetid://38934613", "rbxassetid://38934568",
  67. "rbxassetid://38934601", "rbxassetid://38934591", "Decal")
  68.  
  69. local cameraHandWeld = Instance.new("Motor6D", camPart)
  70. cameraHandWeld.Part0 = camPart
  71. cameraHandWeld.Part1 = cameraHand
  72. cameraHandWeld.C0 = CFrame.new(5, 0, 0)
  73. ]]--
  74.  
  75. local humanoid = char:WaitForChild("Humanoid")
  76. humanoid.HipHeight = 0.3
  77.  
  78. local rootJoint = Instance.new("Motor6D", torso)
  79. rootJoint.Name = "RootJoint"
  80. rootJoint.Part0 = humRootPart
  81. rootJoint.Part1 = torso
  82. rootJoint.C1 = CFrame.new(0, 0.05, 0)
  83.  
  84. local neck = Instance.new("Motor6D", torso)
  85. neck.Name = "Neck"
  86. neck.Part0 = head
  87. neck.Part1 = torso
  88.  
  89. local lS = Instance.new("Motor6D", torso)
  90. lS.Name = "Left Shoulder"
  91. lS.Part0 = lArm
  92. lS.Part1 = torso
  93. lS.C0 = CFrame.new(-0.325, 0.975, 0) * CFrame.Angles(0, 0, 0)
  94. lS.C1 = CFrame.new(0.65, 0.975, 0)
  95.  
  96. local rS = Instance.new("Motor6D", torso)
  97. rS.Name = "Right Shoulder"
  98. rS.Part0 = rArm
  99. rS.Part1 = torso
  100. rS.C0 = CFrame.new(-0.325, 0.975, 0) * CFrame.Angles(0, 0, 0)
  101. rS.C1 = CFrame.new(-0.65, 0.975, 0) * CFrame.Angles(0, -math.rad(180), 0)
  102.  
  103. local lH = Instance.new("Motor6D", torso)
  104. lH.Name = "Left Hip"
  105. lH.Part0 = lLeg
  106. lH.Part1 = torso
  107. lH.C0 = CFrame.new(0, 0.975, 0)
  108. lH.C1 = CFrame.new(0.325, -0.975, 0) * CFrame.Angles(0, 0, 0)
  109.  
  110. local rH = Instance.new("Motor6D", torso)
  111. rH.Name = "Right Hip"
  112. rH.Part0 = rLeg
  113. rH.Part1 = torso
  114. rH.C0 = CFrame.new(0, 0.975, 0)
  115. rH.C1 = CFrame.new(-0.325, -0.975, 0) * CFrame.Angles(0, -math.rad(180), 0)
  116.  
  117. for _,p in pairs(char:GetChildren()) do
  118. if p.Name ~= "HumanoidRootPart" and p.ClassName == "Part" then
  119. local hit = Instance.new("Part", char)
  120. hit.Name = "DamagePart"
  121. hit.BrickColor = BrickColor.new("Bright red")
  122. hit.Material = "SmoothPlastic"
  123. hit.Transparency = 1
  124. hit.Size = Vector3.new(p.Size.X + 0.05, p.Size.Y + 0.05, p.Size.Z + 0.05)
  125. hit.CanCollide = false
  126. weldTo(hit, p)
  127. end
  128. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement