Advertisement
rouyen

Untitled

Aug 26th, 2016
409
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.24 KB | None | 0 0
  1.  
  2. player = game.Players:findFirstChild(name)
  3. char = player.Character
  4. local tor = char:FindFirstChild("Torso")
  5. local ra = char:FindFirstChild("Right Arm")
  6. local la = char:FindFirstChild("Left Arm")
  7. local rl = char:FindFirstChild("Right Leg")
  8. local ll = char:FindFirstChild("Left Leg")
  9. local h = char:FindFirstChild("Head")
  10. ToolName = "EnderAttack"
  11. b = Instance.new("BlockMesh")
  12. motor = "Motor6D"
  13. char.Torso.CFrame = char.Torso.CFrame + Vector3.new(0, 10, 0)
  14. bm = Instance.new("BlockMesh")
  15. for _,v in pairs(char:children()) do
  16. if v:IsA("Hat") then
  17. v:remove()
  18. end
  19. end
  20. h.Transparency = 1
  21. allchar = char:GetChildren()
  22. for i = 1, #allchar do
  23. if allchar[i]:IsA("Shirt") then
  24. allchar[i]:Remove()
  25. end
  26. end
  27. allchar = char:GetChildren()
  28. for i = 1, #allchar do
  29. if allchar[i]:IsA("Pants") then
  30. allchar[i]:Remove()
  31. end
  32. end
  33. ----------------------------------Head
  34. if char:findFirstChild("EnderHead") then
  35. char:findFirstChild("EnderHead"):Remove()
  36. end
  37.  
  38. local enderm = Instance.new("Model", char)
  39. enderm.Name = "EnderHead"
  40.  
  41. head2 = Instance.new("Part",enderm)
  42. head2.formFactor = "Custom"
  43. head2.CFrame = h.CFrame
  44. head2.Size = Vector3.new(2.5,2.1,2.5)
  45. head2.TopSurface = 0
  46. head2.BottomSurface = 0
  47. head2.BrickColor = BrickColor.new("Really black")
  48. head2.Anchored = false
  49. head2.CanCollide = false
  50. local cbm = bm:Clone()
  51. cbm.Parent = head2
  52. headweld = Instance.new("Weld",h)
  53. headweld.Part0 = h
  54. headweld.Part1 = head2
  55. headweld.C0 = CFrame.new(0, 0.25, 0)
  56. eye1 = Instance.new("Part",enderm)
  57. eye1.formFactor = "Custom"
  58. eye1.CFrame = h.CFrame
  59. eye1.Size = Vector3.new(.75,.2,.3)
  60. eye1.TopSurface = 0
  61. eye1.BottomSurface = 0
  62. eye1.BrickColor = BrickColor.new("Lavender")
  63. eye1.Anchored = false
  64. eye1.CanCollide = false
  65. local cbm = bm:Clone()
  66. cbm.Parent = eye1
  67. eye1weld = Instance.new("Weld",h)
  68. eye1weld.Part0 = h
  69. eye1weld.Part1 = eye1
  70. eye1weld.C0 = CFrame.new(-0.6,0.45,-1.2)
  71. eye2 = Instance.new("Part",enderm)
  72. eye2.formFactor = "Custom"
  73. eye2.CFrame = h.CFrame
  74. eye2.Size = Vector3.new(.75,0.2,0.3)
  75. eye2.TopSurface = 0
  76. eye2.BottomSurface = 0
  77. eye2.BrickColor = BrickColor.new("Lavender")
  78. eye2.Anchored = false
  79. eye2.CanCollide = false
  80. local cbm = bm:Clone()
  81. cbm.Parent = eye2
  82. eye2weld = Instance.new("Weld",h)
  83. eye2weld.Part0 = h
  84. eye2weld.Part1 = eye2
  85. eye2weld.C0 = CFrame.new(0.6,0.45,-1.2)
  86. eye3 = Instance.new("Part",enderm)
  87. eye3.formFactor = "Custom"
  88. eye3.CFrame = h.CFrame
  89. eye3.Size = Vector3.new(.25,0.21,0)
  90. eye3.TopSurface = 0
  91. eye3.BottomSurface = 0
  92. eye3.BrickColor = BrickColor.new("Bright violet")
  93. eye3.Anchored = false
  94. eye3.CanCollide = false
  95. local cbm = bm:Clone()
  96. cbm.Parent = eye3
  97. eye3weld = Instance.new("Weld",h)
  98. eye3weld.Part0 = h
  99. eye3weld.Part1 = eye3
  100. eye3weld.C0 = CFrame.new(0.6,0.45,-1.3)
  101. eye4 = Instance.new("Part",enderm)
  102. eye4.formFactor = "Custom"
  103. eye4.CFrame = h.CFrame
  104. eye4.Size = Vector3.new(.25,0.21,0)
  105. eye4.TopSurface = 0
  106. eye4.BottomSurface = 0
  107. eye4.BrickColor = BrickColor.new("Bright violet")
  108. eye4.Anchored = false
  109. eye4.CanCollide = false
  110. local cbm = bm:Clone()
  111. cbm.Parent = eye4
  112. eye4weld = Instance.new("Weld",h)
  113. eye4weld.Part0 = h
  114. eye4weld.Part1 = eye4
  115. eye4weld.C0 = CFrame.new(-0.6,0.45,-1.3)
  116. ------------------End Of Head, Start Of Body
  117. scale = 2
  118.  
  119. if ll then
  120. ll.formFactor = 3
  121. ll.Size = Vector3.new(0.5,2*scale,0.5)
  122. ll.CFrame = ll.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90), 0, 0)
  123. local bc = b:Clone()
  124. bc.Parent = ll
  125. end
  126. if ra then
  127. ra.formFactor = 3
  128. ra.Size = Vector3.new(0.5,1.75*scale,0.5)
  129. local bc = b:Clone()
  130. bc.Parent = ra
  131. end
  132. if la then
  133. la.formFactor = 3
  134. la.Size = Vector3.new(0.5,1.75*scale,0.5)
  135. local bc = b:Clone()
  136. bc.Parent = la
  137. end
  138. if tor then
  139. local bc = b:Clone()
  140. bc.Parent = tor
  141. bc.Scale = Vector3.new(1.05, 1.25, 1.2)
  142. end
  143. if rl then
  144. rl.formFactor = 3
  145. rl.Size = Vector3.new(0.5,2*scale,0.5)
  146. local bc = b:Clone()
  147. bc.Parent = rl
  148. end
  149. local rh = Instance.new(motor)
  150. rh.Name = "Right Hip"
  151. rh.MaxVelocity = 0.1
  152. rh.Part0 = tor
  153. rh.Part1 = rl
  154. rh.C0 = CFrame.new(0.75*scale, -1*scale, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  155. rh.C1 = CFrame.new(0.55*scale, 1*1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  156. rh.Parent = tor
  157. local lh = Instance.new(motor)
  158. lh.Name = "Left Hip"
  159. lh.MaxVelocity = 0.1
  160. lh.Part0 = tor
  161. lh.Part1 = ll
  162. lh.C0 = CFrame.new(-0.75*scale, -1*scale, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  163. lh.C1 = CFrame.new(-0.55*scale, 1*1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  164. lh.Parent = tor
  165. local rs = Instance.new(motor)
  166. rs.Name = "Right Shoulder"
  167. rs.MaxVelocity = 0.1
  168. rs.Part0 = tor
  169. rs.Part1 = ra
  170. rs.C0 = CFrame.new(1*scale, 0.5*scale, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  171. rs.C1 = CFrame.new(0.35*scale, 1*scale, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  172. rs.Parent = tor
  173. local ls = Instance.new(motor)
  174. ls.Name = "Left Shoulder"
  175. ls.MaxVelocity = 0.1
  176. ls.Part0 = tor
  177. ls.Part1 = la
  178. ls.C0 = CFrame.new(1*scale, 0.5*scale, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  179. ls.C1 = CFrame.new(1.65*scale, 1*scale, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  180. ls.Parent = tor
  181. local anim = char:FindFirstChild("Animate")
  182. if anim then
  183. local new = anim:clone()
  184. anim:Remove()
  185. new.Parent = char
  186. end
  187. -----------End
  188. while true do
  189. wait()
  190. local allchar = char:GetChildren()
  191. for i = 1, #allchar do
  192. if allchar[i]:IsA("Part") then
  193. allchar[i].BrickColor = BrickColor.new("Really black")
  194. end
  195. end
  196. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement