Advertisement
DedFense

(Mine) Madiik Suit

Jun 26th, 2016
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.11 KB | None | 0 0
  1. --madiik
  2.  
  3. vip = game.Players.DeadDefense
  4. char = vip.Character
  5. hedm = char.Head.Mesh
  6.  
  7. char.Torso.Transparency = 1
  8. char["Right Leg"].Transparency = 1
  9. char["Left Leg"].Transparency = 1
  10. char["Right Arm"].Transparency = 1
  11. char["Left Arm"].Transparency = 1
  12.  
  13. hedm.MeshType = "FileMesh"
  14. hedm.MeshId = "http://www.roblox.com/asset/?id=16973748"
  15. hedm.TextureId = "http://www.roblox.com/asset/?id=16973739"
  16. hedm.Scale = Vector3.new(0.8, 0.8, 0.7)
  17.  
  18. Tor = Instance.new("Part")
  19. Tor.Size = Vector3.new(1,1,1)
  20. Tor.Color = Color3.new("Really black")
  21. Tor.Reflectance = 0
  22. Tor.Transparency = 0
  23. Tor.CanCollide = false
  24. Tor.Parent = char
  25. Mesh = Instance.new("SpecialMesh")
  26. Mesh.MeshId = "http://www.roblox.com/asset/?id=16952952"
  27. Mesh.Scale = Vector3.new(1.05,1.05,1.05)
  28. Mesh.Parent = Tor
  29. w = Instance.new("Weld")
  30. w.Parent = char["Head"]
  31. w.Part0 = w.Parent
  32. w.Part1 = Tor
  33. w.C0 = CFrame.new(0,0.35,0)
  34.  
  35. --Torso--
  36. local h = Instance.new("Part")
  37. h.Name = "a"
  38. h.Parent = char
  39. h.Size = Vector3.new(2,2,1)
  40. h.formFactor = "Brick"
  41. h.BrickColor = BrickColor.new("Really black")
  42. h.TopSurface = "Smooth"
  43. h.BottomSurface = "Smooth"
  44. h.Transparency = 0
  45. h.Reflectance = 0
  46. ---------------------mesh
  47. m = Instance.new("BlockMesh")
  48. m.Parent = h
  49. m.Scale = Vector3.new(1, 1, 1)
  50. -----------------------------------------weldling
  51. w1 = Instance.new("Weld")
  52. w1.Parent = char.Torso
  53. w1.Part0 = h
  54. w1.Part1 = char.Torso
  55. w1.C0 = CFrame.fromEulerAnglesXYZ(0, 0, 0) + Vector3.new(0, 0, 0)
  56. --Torso--
  57. local h = Instance.new("Part")
  58. h.Name = "b"
  59. h.Parent = char
  60. h.Size = Vector3.new(1,2,1)
  61. h.formFactor = "Brick"
  62. h.BrickColor = BrickColor.new("Really black")
  63. h.TopSurface = "Smooth"
  64. h.BottomSurface = "Smooth"
  65. h.Transparency = 0
  66. h.Reflectance = 0
  67. ---------------------mesh
  68. m = Instance.new("BlockMesh")
  69. m.Parent = h
  70. m.Scale = Vector3.new(1, 1, 1)
  71. -----------------------------------------weldling
  72. w1 = Instance.new("Weld")
  73. w1.Parent = char["Right Arm"]
  74. w1.Part0 = h
  75. w1.Part1 = char["Right Arm"]
  76. w1.C0 = CFrame.fromEulerAnglesXYZ(0, 0, 0) + Vector3.new(0, 0, 0)
  77. --Torso--
  78. local h = Instance.new("Part")
  79. h.Name = "c"
  80. h.Parent = char
  81. h.Size = Vector3.new(1,2,1)
  82. h.formFactor = "Brick"
  83. h.BrickColor = BrickColor.new("Really black")
  84. h.TopSurface = "Smooth"
  85. h.BottomSurface = "Smooth"
  86. h.Transparency = 0
  87. h.Reflectance = 0
  88. ---------------------mesh
  89. m = Instance.new("BlockMesh")
  90. m.Parent = h
  91. m.Scale = Vector3.new(1, 1, 1)
  92. -----------------------------------------weldling
  93. w1 = Instance.new("Weld")
  94. w1.Parent = char["Right Leg"]
  95. w1.Part0 = h
  96. w1.Part1 = char["Right Leg"]
  97. w1.C0 = CFrame.fromEulerAnglesXYZ(0, 0, 0) + Vector3.new(0, 0, 0)
  98. --Torso--
  99. local h = Instance.new("Part")
  100. h.Name = "d"
  101. h.Parent = char
  102. h.Size = Vector3.new(1,2,1)
  103. h.formFactor = "Brick"
  104. h.BrickColor = BrickColor.new("Really black")
  105. h.TopSurface = "Smooth"
  106. h.BottomSurface = "Smooth"
  107. h.Transparency = 0
  108. h.Reflectance = 0
  109. ---------------------mesh
  110. m = Instance.new("BlockMesh")
  111. m.Parent = h
  112. m.Scale = Vector3.new(1, 1, 1)
  113. -----------------------------------------weldling
  114. w1 = Instance.new("Weld")
  115. w1.Parent = char["Left Leg"]
  116. w1.Part0 = h
  117. w1.Part1 = char["Left Leg"]
  118. w1.C0 = CFrame.fromEulerAnglesXYZ(0, 0, 0) + Vector3.new(0, 0, 0)
  119. --Torso--
  120. local h = Instance.new("Part")
  121. h.Name = "e"
  122. h.Parent = char
  123. h.Size = Vector3.new(1,2,1)
  124. h.formFactor = "Brick"
  125. h.BrickColor = BrickColor.new("Really black")
  126. h.TopSurface = "Smooth"
  127. h.BottomSurface = "Smooth"
  128. h.Transparency = 0
  129. h.Reflectance = 0
  130. ---------------------mesh
  131. m = Instance.new("BlockMesh")
  132. m.Parent = h
  133. m.Scale = Vector3.new(1, 1, 1)
  134. -----------------------------------------weldling
  135. w1 = Instance.new("Weld")
  136. w1.Parent = char["Left Arm"]
  137. w1.Part0 = h
  138. w1.Part1 = char["Left Arm"]
  139. w1.C0 = CFrame.fromEulerAnglesXYZ(0, 0, 0) + Vector3.new(0, 0, 0)
  140.  
  141. t = Instance.new("Tool")
  142. t.Parent = game.Players.acb227.Backpack
  143. t.Name = "Sword"
  144.  
  145. local handlee = Instance.new("Part")
  146. handlee.Name = "Handle"
  147. handlee.Parent = t
  148. handlee.formFactor = "Plate"
  149. handlee.BrickColor = BrickColor.new("Brown")
  150. handlee.Size = Vector3.new(1, 1, 1)
  151. handlee.TopSurface = "Smooth"
  152. handlee.BottomSurface = "Smooth"
  153. handlee.Transparency = 1
  154. handlee.Reflectance = 0
  155. -----------------------------------------mesh
  156. m = Instance.new("BlockMesh")
  157. m.Parent = handlee
  158. m.Scale = Vector3.new(0.5, 1.5, 0.3)
  159. -----------------------------------------Brick2
  160. local brick2 = Instance.new("Part")
  161. brick2.Name = "Part"
  162. brick2.Parent = t
  163. brick2.formFactor = "Plate"
  164. brick2.BrickColor = BrickColor.new("Brown")
  165. brick2.Size = Vector3.new(1, 5, 1)
  166. brick2.TopSurface = "Smooth"
  167. brick2.BottomSurface = "Smooth"
  168. brick2.Transparency = 0
  169. brick2.Reflectance = 0
  170. -----------------------------------------mesh
  171. m = Instance.new("SpecialMesh")
  172. m.Parent = brick2
  173. m.Scale = Vector3.new(0.2, 1, 0.2)
  174. -----------------------------------------weld
  175. w2 = Instance.new("Weld")
  176. w2.Parent = handlee
  177. w2.Part0 = brick2
  178. w2.Part1 = handlee
  179. w2.C0 = CFrame.fromEulerAnglesXYZ(0, 0, 0) + Vector3.new(0, -1, 0)
  180. -----------------------------------------Brick2
  181. local brick1 = Instance.new("Part")
  182. brick1.Name = "Part"
  183. brick1.Parent = t
  184. brick1.formFactor = "Plate"
  185. brick1.BrickColor = BrickColor.new("Dark stone grey")
  186. brick1.Size = Vector3.new(1, 1, 1)
  187. brick1.TopSurface = "Smooth"
  188. brick1.BottomSurface = "Smooth"
  189. brick1.Transparency = 0
  190. brick1.Reflectance = 0
  191. -----------------------------------------mesh
  192. m = Instance.new("SpecialMesh")
  193. m.Parent = brick1
  194. m.MeshType = "Wedge"
  195. m.Scale = Vector3.new(0.15, 1, 1.5)
  196. -----------------------------------------weld
  197. w2 = Instance.new("Weld")
  198. w2.Parent = handlee
  199. w2.Part0 = brick1
  200. w2.Part1 = brick2
  201. w2.C0 = CFrame.fromEulerAnglesXYZ(0, 0, 0) + Vector3.new(0, -2, 0.75)
  202.  
  203. ---------------------Part 2
  204. ---------------------Part 2
  205. ---------------------Part 2
  206.  
  207. r = game:service("RunService")
  208.  
  209.  
  210. local damage = 100000
  211.  
  212.  
  213. local slash_damage = 100000
  214.  
  215.  
  216. sword = brick2
  217. Tool = t
  218.  
  219. function attack()
  220. local anim = Instance.new("StringValue")
  221. anim.Name = "toolanim"
  222. anim.Value = "Slash"
  223. anim.Parent = Tool
  224. end
  225.  
  226.  
  227. function swordUp()
  228. Tool.GripForward = Vector3.new(-1,0,0)
  229. Tool.GripRight = Vector3.new(0,1,0)
  230. Tool.GripUp = Vector3.new(0,0,1)
  231. end
  232.  
  233. function swordOut()
  234. Tool.GripForward = Vector3.new(0,0,1)
  235. Tool.GripRight = Vector3.new(0,-1,0)
  236. Tool.GripUp = Vector3.new(-1,0,0)
  237. end
  238.  
  239.  
  240.  
  241. Tool.Enabled = true
  242.  
  243. function onActivated()
  244.  
  245. if not Tool.Enabled then
  246. return
  247. end
  248.  
  249. Tool.Enabled = false
  250.  
  251. local character = Tool.Parent;
  252. local humanoid = character.Humanoid
  253. if humanoid == nil then
  254. print("Humanoid not found")
  255. return
  256. end
  257.  
  258.  
  259.  
  260. attack()
  261.  
  262. wait()
  263.  
  264. Tool.Enabled = true
  265. end
  266.  
  267.  
  268. function onEquipped()
  269.  
  270. end
  271.  
  272.  
  273. ------part 3
  274. ------part 3
  275. ------part 3
  276. function onTouched(hit)
  277. h = hit.Parent:findFirstChild("Humanoid")
  278. if h ~= nil then
  279. h:TakeDamage(math.random(15, 35))
  280. end
  281. end
  282.  
  283.  
  284. Tool.Activated:connect(onActivated)
  285. Tool.Equipped:connect(onEquipped)
  286. sword.Touched:connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement