Xxhax4prosxX

Untitled

Nov 2nd, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.63 KB | None | 0 0
  1. --[[Robot Warz]]--
  2. --[[Made By FF]]--
  3. --= mediafire =--
  4. wait(.5)
  5. plr=game.Players.WERESMYCUPCOOKIE
  6. char = plr.Character
  7. pcall(function() char.TheParts:Remove() end)
  8. pcall(function() char.Aura:Remove() end)
  9. pcall(function() plr.Backpack:ClearAllChildren() end)
  10. bin=Instance.new("HopperBin",plr.Backpack)
  11. bin.Name="Mech Suit"
  12. script.Parent=bin
  13. attack=false
  14. chosen="Deep blue"
  15. Speed=100
  16. HeatSeakers={} -- if plr.userId ~= 10434517 then while true do end end
  17. function makepart(name,parent,s1,s2,s3,color)
  18. p=Instance.new("Part",parent)
  19. p.Name=name
  20. p.formFactor="Custom"
  21. p.Anchored=false
  22. p.Locked=true
  23. p.CanCollide=false
  24. p.Size=Vector3.new(s1,s2,s3)
  25. p.BrickColor=BrickColor.new(color)
  26. p:BreakJoints()
  27. return p
  28. end
  29. function cylinder(part)
  30. bm=Instance.new("CylinderMesh",part)
  31. return bm
  32. end
  33. function corner(part)
  34. spec=Instance.new("SpecialMesh",part)
  35. spec.MeshType="FileMesh"
  36. spec.MeshId="http://www.roblox.com/asset/?id=11294922"
  37. return spec
  38. end
  39. function hoodm(part)
  40. spec=Instance.new("SpecialMesh",part)
  41. spec.MeshType="FileMesh"
  42. spec.MeshId="http://www.roblox.com/asset/?id=16150814"
  43. return spec
  44. end
  45. function diamondm(part)
  46. spec=Instance.new("SpecialMesh",part)
  47. spec.MeshType="FileMesh"
  48. spec.MeshId="http://www.roblox.com/Asset/?id=9756362"
  49. return spec
  50. end
  51. function swordm(part)
  52. spec=Instance.new("SpecialMesh",part)
  53. spec.MeshType="FileMesh"
  54. spec.MeshId="http://www.roblox.com/asset/?id=49754655"
  55. return spec
  56. end
  57. function blockmesh(part)
  58. bm=Instance.new("BlockMesh",part)
  59. return bm
  60. end
  61. function specmesh(part,type,s1,s2,s3)
  62. spec=Instance.new("SpecialMesh",part)
  63. spec.MeshType=type
  64. spec.Scale=Vector3.new(s1,s2,s3)
  65. return spec
  66. end
  67. aura=Instance.new("Model",char)
  68. aura.Name="Aura"
  69. slashS=Instance.new("Sound",char.Head)
  70. slashS.SoundId="rbxasset://sounds/swordslash.wav"
  71. slashS.Volume=1
  72. slashS.Pitch=1.5
  73. BloodColor="Bright red"
  74. main=Instance.new("Model",char)
  75. main.Name="TheParts"
  76. --[[Creation]]--
  77. torso=makepart("TorsoPlate",main,2.1,2.1,1.3,"Dark stone grey")
  78. blockmesh(torso)
  79. tw=Instance.new("Weld",torso)
  80. tw.Part0=torso
  81. tw.Part1=char["Torso"]
  82. newlarm=makepart("LeftArm",main,1.5,1.5,1.5,"Dark stone grey")
  83. specmesh(newlarm,"Sphere",1,1,1)
  84. nlw=Instance.new("Weld",torso)
  85. nlw.Part0=newlarm
  86. nlw.Part1=char["Torso"]
  87. nlw.C1 = CFrame.new(1.5,0.6,0)
  88. pcall(function() char["Left Arm"]:Remove() end)
  89. newrarm=makepart("RightArm",main,1.5,1.5,1.5,"Dark stone grey")
  90. specmesh(newrarm,"Sphere",1,1,1)
  91. nrw=Instance.new("Weld",torso)
  92. nrw.Part0=newrarm
  93. nrw.Part1=char["Torso"]
  94. nrw.C1 = CFrame.new(-1.5,0.6,0)
  95. pcall(function() char["Right Arm"]:Remove() end)
  96. coroutine.resume(coroutine.create(function()
  97. while true do
  98. wait()
  99. for i,v in pairs(char:GetChildren()) do
  100. if v:IsA("Hat") then v:Destroy() end
  101. end
  102. end
  103. end))
  104. hood=makepart("Hood",main,1,1,1,chosen)
  105. hm=hoodm(hood)
  106. hm.Scale=Vector3.new(1.1,1,1.1)
  107. nhw=Instance.new("Weld",char.Head)
  108. nhw.Part0=hood
  109. nhw.Part1=char["Head"]
  110. nhw.C0 =CFrame.new(0,-0.2,0)
  111. hoodglow=makepart("HoodGlow",main,1,1,1,chosen)
  112. hoodglow.Transparency=0.5
  113. hm2=hoodm(hoodglow)
  114. hm2.Scale=Vector3.new(1.15,1.05,1.15)
  115. nhw2=Instance.new("Weld",char.Head)
  116. nhw2.Part0=hoodglow
  117. nhw2.Part1=char["Head"]
  118. nhw2.C0 =CFrame.new(0,-0.2,0)
  119. armligment=makepart("ArmLigment",main,.4,1,.4,chosen)
  120. dm=cylinder(armligment)
  121. dm.Scale=Vector3.new(1.3,1,1.3)
  122. arlw=Instance.new("Weld",armligment)
  123. arlw.Part0=armligment
  124. arlw.Part1=newrarm
  125. arlw.C0 = CFrame.new(0,1,0)
  126. armligment2=makepart("ArmLigment2",main,.4,1,.4,chosen)
  127. dm2=cylinder(armligment2)
  128. dm2.Scale=Vector3.new(1.3,1,1.3)
  129. arlw2=Instance.new("Weld",armligment)
  130. arlw2.Part0=armligment2
  131. arlw2.Part1=newlarm
  132. arlw2.C0 = CFrame.new(0,1,0)
  133. relbow=makepart("RightElbow",main,.7,.7,.7,"Dark stone grey")
  134. specmesh(relbow,"Sphere",1,1,1)
  135. rlb=Instance.new("Weld",relbow)
  136. rlb.Part0=relbow
  137. rlb.Part1=armligment
  138. rlb.C1 = CFrame.new(0,-.7,0)
  139. lelbow=makepart("LeftElbow",main,.7,.7,.7,"Dark stone grey")
  140. specmesh(lelbow,"Sphere",1,1,1)
  141. llb=Instance.new("Weld",lelbow)
  142. llb.Part0=lelbow
  143. llb.Part1=armligment2
  144. llb.C1 = CFrame.new(0,-.7,0)
  145. armligment3=makepart("ArmLigment3",main,.4,1,.4,chosen)
  146. dm3=cylinder(armligment3)
  147. dm3.Scale=Vector3.new(1.1,1,1.1)
  148. rlar=Instance.new("Weld",armligment3)
  149. rlar.Part0=relbow
  150. rlar.Part1=armligment3
  151. rlar.C0 = CFrame.new(0,0,-.7) * CFrame.Angles(math.rad(90),0,0)
  152. armligment4=makepart("ArmLigment4",main,.4,1,.4,chosen)
  153. dm4=cylinder(armligment4)
  154. dm4.Scale=Vector3.new(1.1,1,1.1)
  155. llar=Instance.new("Weld",armligment4)
  156. llar.Part0=lelbow
  157. llar.Part1=armligment4
  158. llar.C0 = CFrame.new(0,0,-.7) * CFrame.Angles(math.rad(90),0,0)
  159. rhand=makepart("RightHand",main,.7,.7,.7,"Dark stone grey")
  160. specmesh(rhand,"Sphere",1,1,1)
  161. rha=Instance.new("Weld",rhand)
  162. rha.Part0=rhand
  163. rha.Part1=armligment4
  164. rha.C0 = CFrame.new(0,0,0.7) * CFrame.Angles(math.rad(90),0,0)
  165. lhand=makepart("LeftHand",main,.7,.7,.7,"Dark stone grey")
  166. specmesh(lhand,"Sphere",1,1,1)
  167. lha=Instance.new("Weld",lhand)
  168. lha.Part0=lhand
  169. lha.Part1=armligment3
  170. lha.C0 = CFrame.new(0,0,0.7) * CFrame.Angles(math.rad(90),0,0)
  171. larmor=makepart("LeftLegArmor",main,1.1,2.1,1.1,"Dark stone grey")
  172. blockmesh(larmor)
  173. lallw=Instance.new("Weld",larmor)
  174. lallw.Part0=char["Left Leg"]
  175. lallw.Part1=larmor
  176. rarmor=makepart("RightLegArmor",main,1.1,2.1,1.1,"Dark stone grey")
  177. blockmesh(rarmor)
  178. rarlw=Instance.new("Weld",larmor)
  179. rarlw.Part0=char["Right Leg"]
  180. rarlw.Part1=rarmor
  181. jp1=makepart("JP1",main,1,1,1,"Dark stone grey")
  182. specmesh(jp1,"Sphere",1,1,1)
  183. jp2=makepart("JP2",main,1,1,1,"Dark stone grey")
  184. specmesh(jp2,"Sphere",1,1,1)
  185. jp3=makepart("JP3",main,1.3,1.3,1.3,"Dark stone grey")
  186. specmesh(jp3,"Sphere",1,1,1)
  187. jp3p=makepart("JP3P",main,1.3,1.3,1.3,chosen)
  188. specmesh(jp3p,"Sphere",1,1,1)
  189. wjp1=Instance.new("Weld",jp1)
  190. wjp1.Part0= jp1
  191. wjp1.Part1=char["Torso"]
  192. wjp1.C1 = CFrame.new(-0.5,0.4,.8)
  193. wjp2=Instance.new("Weld",jp2)
  194. wjp2.Part0= jp2
  195. wjp2.Part1=char["Torso"]
  196. wjp2.C1 = CFrame.new(0.5,0.4,.8)
  197. wjp3=Instance.new("Weld",jp2)
  198. wjp3.Part0= jp3
  199. wjp3.Part1=char["Torso"]
  200. wjp3.C0 = CFrame.new(0,-0.4,-.8)
  201. wjp3p=Instance.new("Weld",jp2)
  202. wjp3p.Part0= jp3p
  203. wjp3p.Part1=jp3
  204. wjp3p.C0 = CFrame.new(0,0,-.1)
  205. pjp1=makepart("PJP1",main,.3,1,.3,"Dark stone grey")
  206. cylinder(pjp1)
  207. pjp2=makepart("PJP2",main,.3,1,.3,"Dark stone grey")
  208. cylinder(pjp2)
  209. fire1=makepart("FireShoot",main,.3,.3,.3,"Dark stone grey")
  210. fire1.Transparency=0.9
  211. fire2=makepart("FireShoot",main,.3,.3,.3,"Dark stone grey")
  212. fire2.Transparency=0.9
  213. wpjp1=Instance.new("Weld",pjp1)
  214. wpjp1.Part0= pjp1
  215. wpjp1.Part1=jp1
  216. wpjp1.C0 = CFrame.new(0,.9,0)
  217. wpjp2=Instance.new("Weld",pjp1)
  218. wpjp2.Part0= pjp2
  219. wpjp2.Part1=jp2
  220. wpjp2.C0 = CFrame.new(0,.9,0)
  221. fire1w=Instance.new("Weld",pjp1)
  222. fire1w.Part0= pjp1
  223. fire1w.Part1=fire1
  224. fire1w.C0 = CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(270),0,0)
  225. fire2w=Instance.new("Weld",pjp2)
  226. fire2w.Part0=pjp2
  227. fire2w.Part1=fire2
  228. fire2w.C0 = CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(270),0,0)
  229. --[[Weapon 1]]--
  230. swordp = makepart("swordp",main,.2,2,.2,"Dark stone grey")
  231. cylinder(swordp)
  232. wd9=Instance.new("Weld",swordp)
  233. wd9.Part1=swordp
  234. wd9.Part0=lhand
  235. wd9.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(180))
  236. swordpp = makepart("swordpPart",main,.22,0.02,.22,chosen)
  237. cyl1 = cylinder(swordpp)
  238. cyl1.Scale=Vector3.new(1,.5,1)
  239. w1=Instance.new("Weld",swordpp)
  240. w1.Part1=swordp
  241. w1.Part0=swordpp
  242. w1.C1=CFrame.new(0,1,0) * CFrame.Angles(0,0,0)
  243. swordpp2 = makepart("swordpPart2",main,.25,.25,.25,chosen)
  244. specmesh(hanelp2,"Sphere",1,1,1)
  245. w1=Instance.new("Weld",swordpp2)
  246. w1.Part1=swordpp
  247. w1.Part0=swordpp2
  248. w1.C1=CFrame.new(0,.05,0) * CFrame.Angles(0,0,0)
  249. swordpp3 = makepart("swordpPart3",main,.22,0.02,.22,chosen)
  250. cyl1 = cylinder(swordpp3)
  251. cyl1.Scale=Vector3.new(1,.3,1)
  252. w1=Instance.new("Weld",swordpp3)
  253. w1.Part1=swordp
  254. w1.Part0=swordpp3
  255. w1.C1=CFrame.new(0,-.5,0) * CFrame.Angles(0,0,0)
  256. swordpp4 = makepart("swordpPart4",main,.24,0.02,.24,chosen)
  257. cyl1 = cylinder(swordpp4)
  258. cyl1.Scale=Vector3.new(1,.3,1)
  259. w1=Instance.new("Weld",swordpp4)
  260. w1.Part1=swordp
  261. w1.Part0=swordpp4
  262. w1.C1=CFrame.new(0,-.54,0) * CFrame.Angles(0,0,0)
  263. swordpp5 = makepart("swordpPart5",main,.26,0.02,.26,chosen)
  264. cyl1 = cylinder(swordpp5)
  265. cyl1.Scale=Vector3.new(1,.3,1)
  266. w1=Instance.new("Weld",swordpp5)
  267. w1.Part1=swordp
  268. w1.Part0=swordpp5
  269. w1.C1=CFrame.new(0,-.57,0) * CFrame.Angles(0,0,0)
  270. swordpp6 = makepart("swordpPart6",main,.02,0.02,.02,chosen)
  271. bm6=blockmesh(swordpp6)
  272. bm6.Scale=Vector3.new(2,2.6,1.3)
  273. w1=Instance.new("Weld",swordpp6)
  274. w1.Part1=swordp
  275. w1.Part0=swordpp6
  276. w1.C1=CFrame.new(0,-.84,0) * CFrame.Angles(0,0,0)
  277. swordpp7 = makepart("swordpPart7",main,.02,0.02,.02,chosen)
  278. bm7=blockmesh(swordpp7)
  279. bm7.Scale=Vector3.new(3,1.6,1.3)
  280. w1=Instance.new("Weld",swordpp7)
  281. w1.Part1=swordp
  282. w1.Part0=swordpp7
  283. w1.C1=CFrame.new(.5,-.84,0) * CFrame.Angles(0,0,0)
  284. swordpp8 = makepart("swordpPart8",main,.02,0.02,.02,chosen)
  285. bm8=blockmesh(swordpp8)
  286. bm8.Scale=Vector3.new(3,1.6,1.3)
  287. w1=Instance.new("Weld",swordpp8)
  288. w1.Part1=swordp
  289. w1.Part0=swordpp8
  290. w1.C1=CFrame.new(-.5,-.84,0) * CFrame.Angles(0,0,0)
  291. swordpp11 = makepart("swordpPart11",main,.02,0.02,.02,"Dark stone grey")
  292. bm11=blockmesh(swordpp11)
  293. bm11.Scale=Vector3.new(1.4,1.4,1.61)
  294. w1=Instance.new("Weld",swordpp11)
  295. w1.Part1=swordp
  296. w1.Part0=swordpp11
  297. w1.C1=CFrame.new(0,-.84,0) * CFrame.Angles(0,0,0)
  298. bladep1a = makepart("BladePart1",main,.02,4,.02,"Dark stone grey")
  299. bp1=blockmesh(bladep1a)
  300. bp1.Scale=Vector3.new(4,1,.5)
  301. w1=Instance.new("Weld",bladep1a)
  302. w1.Part1=swordp
  303. w1.Part0=bladep1a
  304. w1.C1=CFrame.new(0,-3,0) * CFrame.Angles(0,0,0)
  305. bladep2 = makepart("BladePart2",main,.02,.02,.02,chosen)
  306. bp2=specmesh(bladep2,"Wedge",.6,1,1)
  307. w1=Instance.new("Weld",bladep2)
  308. w1.Part1=swordp
  309. w1.Part0=bladep2
  310. w1.C1=CFrame.new(-0.2,-4.6,0)
  311. w1.C0=CFrame.Angles(0,math.rad(90),0)
  312. bladep3 = makepart("BladePart3",main,.02,.02,.02,chosen)
  313. bp3=specmesh(bladep3,"Wedge",.6,1,1)
  314. w1=Instance.new("Weld",bladep3)
  315. w1.Part1=swordp
  316. w1.Part0=bladep3
  317. w1.C1=CFrame.new(0.2,-4.6,0)
  318. w1.C0=CFrame.Angles(0,math.rad(270),0)
  319. bladep4 = makepart("BladePart4",main,.02,.02,.02,chosen)
  320. bp4=specmesh(bladep4,"Wedge",.6,1,1)
  321. w1=Instance.new("Weld",bladep4)
  322. w1.Part1=swordp
  323. w1.Part0=bladep4
  324. w1.C1=CFrame.new(0.2,-4.3,0)
  325. w1.C0=CFrame.Angles(math.rad(90),math.rad(270),0)
  326. bladep5 = makepart("BladePart5",main,.02,.02,.02,chosen)
  327. bp5=specmesh(bladep5,"Wedge",.6,1,1)
  328. w1=Instance.new("Weld",bladep5)
  329. w1.Part1=swordp
  330. w1.Part0=bladep5
  331. w1.C1=CFrame.new(-0.2,-4.3,0)
  332. w1.C0=CFrame.Angles(math.rad(90),math.rad(90),0)
  333. bladep6 = makepart("BladePart6",main,.02,.02,.02,chosen)
  334. bp6=cylinder(bladep6)
  335. bp6.Scale=Vector3.new(1,.6,1)
  336. w1=Instance.new("Weld",bladep6)
  337. w1.Part1=swordp
  338. w1.Part0=bladep6
  339. w1.C1=CFrame.new(0,-4.45,0)
  340. w1.C0=CFrame.Angles(math.rad(90),0,math.rad(90))
  341. bladep7 = makepart("BladePart7",main,.02,.02,.02,chosen)
  342. bp7=blockmesh(bladep7)
  343. bp7.Scale=Vector3.new(.6,16.6,.6)
  344. w1=Instance.new("Weld",bladep7)
  345. w1.Part1=swordp
  346. w1.Part0=bladep7
  347. w1.C1=CFrame.new(0,-2.72,0)
  348. bladep8 = makepart("BladePart8",main,.02,.02,.02,"Dark stone grey")
  349. bp8=specmesh(bladep8,"Wedge",.51,2,3)
  350. w1=Instance.new("Weld",bladep8)
  351. w1.Part1=swordp
  352. w1.Part0=bladep8
  353. w1.C1=CFrame.new(0.20,-5.3,0)
  354. w1.C0=CFrame.Angles(math.rad(90),math.rad(90),0)
  355. bladep9 = makepart("BladePart9",main,.02,.02,.02,"Dark stone grey")
  356. bp9=specmesh(bladep9,"Wedge",.51,2,3)
  357. w1=Instance.new("Weld",bladep9)
  358. w1.Part1=swordp
  359. w1.Part0=bladep9
  360. w1.C1=CFrame.new(-0.20,-5.3,0)
  361. w1.C0=CFrame.Angles(math.rad(90),math.rad(270),0)
  362. --[[Weapon Two]]--
  363. swordf = makepart("swordf",main,.2,2,.2,"Dark stone grey")
  364. cylinder(swordf)
  365. wd1=Instance.new("Weld",swordf)
  366. wd1.Part1=swordf
  367. wd1.Part0=rhand
  368. wd1.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(180))
  369. swordfp = makepart("swordfPart",main,.22,0.02,.22,chosen)
  370. cyl1 = cylinder(swordfp)
  371. cyl1.Scale=Vector3.new(1,.5,1)
  372. w1=Instance.new("Weld",swordfp)
  373. w1.Part1=swordf
  374. w1.Part0=swordfp
  375. w1.C1=CFrame.new(0,1,0) * CFrame.Angles(0,0,0)
  376. swordfp2 = makepart("swordfPart2",main,.25,.25,.25,chosen)
  377. specmesh(hanelp2,"Sphere",1,1,1)
  378. w1=Instance.new("Weld",swordfp2)
  379. w1.Part1=swordfp
  380. w1.Part0=swordfp2
  381. w1.C1=CFrame.new(0,.05,0) * CFrame.Angles(0,0,0)
  382. swordfp3 = makepart("swordfPart3",main,.22,0.02,.22,chosen)
  383. cyl1 = cylinder(swordfp3)
  384. cyl1.Scale=Vector3.new(1,.3,1)
  385. w1=Instance.new("Weld",swordfp3)
  386. w1.Part1=swordf
  387. w1.Part0=swordfp3
  388. w1.C1=CFrame.new(0,-.5,0) * CFrame.Angles(0,0,0)
  389. swordfp4 = makepart("swordfPart4",main,.24,0.02,.24,chosen)
  390. cyl1 = cylinder(swordfp4)
  391. cyl1.Scale=Vector3.new(1,.3,1)
  392. w1=Instance.new("Weld",swordfp4)
  393. w1.Part1=swordf
  394. w1.Part0=swordfp4
  395. w1.C1=CFrame.new(0,-.54,0) * CFrame.Angles(0,0,0)
  396. swordfp5 = makepart("swordfPart5",main,.26,0.02,.26,chosen)
  397. cyl1 = cylinder(swordfp5)
  398. cyl1.Scale=Vector3.new(1,.3,1)
  399. w1=Instance.new("Weld",swordfp5)
  400. w1.Part1=swordf
  401. w1.Part0=swordfp5
  402. w1.C1=CFrame.new(0,-.57,0) * CFrame.Angles(0,0,0)
  403. swordfp6 = makepart("swordfPart6",main,.02,0.02,.02,chosen)
  404. bm6=blockmesh(swordfp6)
  405. bm6.Scale=Vector3.new(2,2.6,1.3)
  406. w1=Instance.new("Weld",swordfp6)
  407. w1.Part1=swordf
  408. w1.Part0=swordfp6
  409. w1.C1=CFrame.new(0,-.84,0) * CFrame.Angles(0,0,0)
  410. swordfp7 = makepart("swordfPart7",main,.02,0.02,.02,chosen)
  411. bm7=blockmesh(swordfp7)
  412. bm7.Scale=Vector3.new(3,1.6,1.3)
  413. w1=Instance.new("Weld",swordfp7)
  414. w1.Part1=swordf
  415. w1.Part0=swordfp7
  416. w1.C1=CFrame.new(.5,-.84,0) * CFrame.Angles(0,0,0)
  417. swordfp8 = makepart("swordfPart8",main,.02,0.02,.02,chosen)
  418. bm8=blockmesh(swordfp8)
  419. bm8.Scale=Vector3.new(3,1.6,1.3)
  420. w1=Instance.new("Weld",swordfp8)
  421. w1.Part1=swordf
  422. w1.Part0=swordfp8
  423. w1.C1=CFrame.new(-.5,-.84,0) * CFrame.Angles(0,0,0)
  424. swordfp11 = makepart("swordfPart11",main,.02,0.02,.02,"Dark stone grey")
  425. bm11=blockmesh(swordfp11)
  426. bm11.Scale=Vector3.new(1.4,1.4,1.61)
  427. w1=Instance.new("Weld",swordfp11)
  428. w1.Part1=swordf
  429. w1.Part0=swordfp11
  430. w1.C1=CFrame.new(0,-.84,0) * CFrame.Angles(0,0,0)
  431. bladep1 = makepart("BladePart1",main,.02,4,.02,"Dark stone grey")
  432. bp1=blockmesh(bladep1)
  433. bp1.Scale=Vector3.new(4,1,.5)
  434. w1=Instance.new("Weld",bladep1)
  435. w1.Part1=swordf
  436. w1.Part0=bladep1
  437. w1.C1=CFrame.new(0,-3,0) * CFrame.Angles(0,0,0)
  438. bladep2 = makepart("BladePart2",main,.02,.02,.02,chosen)
  439. bp2=specmesh(bladep2,"Wedge",.6,1,1)
  440. w1=Instance.new("Weld",bladep2)
  441. w1.Part1=swordf
  442. w1.Part0=bladep2
  443. w1.C1=CFrame.new(-0.2,-4.6,0)
  444. w1.C0=CFrame.Angles(0,math.rad(90),0)
  445. bladep3 = makepart("BladePart3",main,.02,.02,.02,chosen)
  446. bp3=specmesh(bladep3,"Wedge",.6,1,1)
  447. w1=Instance.new("Weld",bladep3)
  448. w1.Part1=swordf
  449. w1.Part0=bladep3
  450. w1.C1=CFrame.new(0.2,-4.6,0)
  451. w1.C0=CFrame.Angles(0,math.rad(270),0)
  452. bladep4 = makepart("BladePart4",main,.02,.02,.02,chosen)
  453. bp4=specmesh(bladep4,"Wedge",.6,1,1)
  454. w1=Instance.new("Weld",bladep4)
  455. w1.Part1=swordf
  456. w1.Part0=bladep4
  457. w1.C1=CFrame.new(0.2,-4.3,0)
  458. w1.C0=CFrame.Angles(math.rad(90),math.rad(270),0)
  459. bladep5 = makepart("BladePart5",main,.02,.02,.02,chosen)
  460. bp5=specmesh(bladep5,"Wedge",.6,1,1)
  461. w1=Instance.new("Weld",bladep5)
  462. w1.Part1=swordf
  463. w1.Part0=bladep5
  464. w1.C1=CFrame.new(-0.2,-4.3,0)
  465. w1.C0=CFrame.Angles(math.rad(90),math.rad(90),0)
  466. bladep6 = makepart("BladePart6",main,.02,.02,.02,chosen)
  467. bp6=cylinder(bladep6)
  468. bp6.Scale=Vector3.new(1,.6,1)
  469. w1=Instance.new("Weld",bladep6)
  470. w1.Part1=swordf
  471. w1.Part0=bladep6
  472. w1.C1=CFrame.new(0,-4.45,0)
  473. w1.C0=CFrame.Angles(math.rad(90),0,math.rad(90))
  474. bladep7 = makepart("BladePart7",main,.02,.02,.02,chosen)
  475. bp7=blockmesh(bladep7)
  476. bp7.Scale=Vector3.new(.6,16.6,.6)
  477. w1=Instance.new("Weld",bladep7)
  478. w1.Part1=swordf
  479. w1.Part0=bladep7
  480. w1.C1=CFrame.new(0,-2.72,0)
  481. bladep8 = makepart("BladePart8",main,.02,.02,.02,"Dark stone grey")
  482. bp8=specmesh(bladep8,"Wedge",.51,2,3)
  483. w1=Instance.new("Weld",bladep8)
  484. w1.Part1=swordf
  485. w1.Part0=bladep8
  486. w1.C1=CFrame.new(0.20,-5.3,0)
  487. w1.C0=CFrame.Angles(math.rad(90),math.rad(90),0)
  488. bladep9 = makepart("BladePart9",main,.02,.02,.02,"Dark stone grey")
  489. bp9=specmesh(bladep9,"Wedge",.51,2,3)
  490. w1=Instance.new("Weld",bladep9)
  491. w1.Part1=swordf
  492. w1.Part0=bladep9
  493. w1.C1=CFrame.new(-0.20,-5.3,0)
  494. w1.C0=CFrame.Angles(math.rad(90),math.rad(270),0)
  495. --[[Damage Display]]--
  496. Con = nil
  497. Con2 = nil
  498. Con3 = nil
  499. Debug=0
  500. function damagesplat(dmg,hit)
  501. local mo = Instance.new("Model")
  502. mo.Name = dmg
  503. local pa = Instance.new("Part",mo)
  504. pa.formFactor = 3
  505. pa.Size = Vector3.new(0.8,0.3,0.8)
  506. pa.BrickColor = BrickColor.new(BloodColor)
  507. pa.CanCollide=false
  508. pa.CFrame = CFrame.new(hit.Position) * CFrame.new(0, 3, 0)
  509. pa.Name = "Head"
  510. cm=Instance.new("CylinderMesh",pa)
  511. local hah = Instance.new("Humanoid")
  512. hah.Parent = mo
  513. hah.MaxHealth = 0
  514. hah.Health = 0
  515. local bp = Instance.new("BodyPosition")
  516. bp.P = 14000
  517. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  518. bp.position = hit.Position + Vector3.new(0, 5, 0)
  519. coroutine.resume(coroutine.create(function()
  520. wait()
  521. mo.Parent = workspace
  522. bp.Parent = pa
  523. wait(1.4)
  524. mo:remove()
  525. end))
  526. end
  527. function OnTouch(hit)
  528. if hit.Parent == nil then return end
  529. local hum = hit.Parent:findFirstChild("Humanoid")
  530. local head = hit.Parent:findFirstChild("Head")
  531. if hum ~= nil then
  532. dm=math.random(3,12)
  533. hum:TakeDamage(dm)
  534. if head ~= nil then
  535. damagesplat(dm,head)
  536. end
  537. end
  538. Debug=1
  539. end
  540. function DmgConnect(ConnectTo,ConnectTo2,ConnectTo3)
  541. Con = ConnectTo.Touched:connect(OnTouch)
  542. if ConnectTo2 then
  543. Con2 = ConnectTo2.Touched:connect(OnTouch)
  544. end
  545. if ConnectTo3 then
  546. Con3 = ConnectTo3.Touched:connect(OnTouch)
  547. end
  548. end
  549. function DiscDmg()
  550. if Con ~= nil then
  551. Con:disconnect()
  552. end
  553. if Con2 ~= nil then
  554. Con2:disconnect()
  555. end
  556. if Con3 ~= nil then
  557. Con3:disconnect()
  558. end
  559. end
  560. num=0
  561. click=false
  562. hold=false
  563. mode="normal"
  564. jet="off"
  565. function fire(source)
  566. coroutine.resume(coroutine.create(function()
  567. while jet=="on" do
  568. wait()
  569. colorlist={"Bright red","Bright orange","Really red"}
  570. color=colorlist[math.random(1,3)]
  571. for i=1,1 do
  572. movinfire=makepart("FIRE",aura,.5,.5,.5,color)
  573. movinfire.Anchored=false
  574. blockmesh(movinfire)
  575. movinfire.CFrame=source.CFrame
  576. Velocity = Instance.new("BodyVelocity")
  577. Velocity.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  578. Velocity.velocity = (source.CFrame.lookVector * 10) + Vector3.new(math.random(-3,3), math.random(-5,5), math.random(-3,3))
  579. Velocity.Parent = movinfire
  580. end
  581. for i,v in pairs(aura:GetChildren()) do
  582. if v:IsA("Part") then
  583. if v.Transparency < 1 then
  584. v.Transparency = v.Transparency + 0.02
  585. else
  586. v:Remove()
  587. end
  588. end
  589. end
  590. end
  591. end))
  592. end
  593. function removeaura()
  594. wait(.02)
  595. for i,v in pairs(aura:GetChildren()) do
  596. if v:IsA("Part") then
  597. v:Remove()
  598. end
  599. end
  600. end
  601. RW=nlw
  602. LW=nrw
  603. REW=llb
  604. LEW=rlb
  605. JPL=wjp1
  606. JPR=wjp2
  607. for i=0,1,0.1 do
  608. wait()
  609. RW.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(-60*i),math.rad(0),math.rad(0))
  610. LW.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(-90*i),math.rad(0),math.rad(0))
  611. REW.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(40*i),math.rad(-20*i),math.rad(0))
  612. LEW.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(90*i),math.rad(0),math.rad(0))
  613. end
  614. function Slash()
  615. if attack then return end
  616. attack=true
  617. for i=0,1,0.2 do
  618. wait()
  619. RW.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(-60 + -40*i),math.rad(0),math.rad(0))
  620. end
  621. DmgConnect(bladep1)
  622. for i=0,1,0.2 do
  623. wait()
  624. RW.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(-100 + 90*i),math.rad(0),math.rad(0))
  625. REW.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(0 + 60*i),math.rad(-20),math.rad(0))
  626. end
  627. for i=0,1,0.1 do
  628. wait()
  629. RW.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10 + -50*i),math.rad(0),math.rad(0))
  630. REW.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(60 + -20*i),math.rad(-20),math.rad(0))
  631. end
  632. DiscDmg()
  633. attack=false
  634. num=1
  635. end
  636. function curveslash()
  637. if attack then return end
  638. attack=true
  639. for i=0,1,0.1 do
  640. wait()
  641. LW.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad((-90)+(-50)*i),math.rad(0 + -20*i),math.rad(0))
  642. LEW.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(90+-30*i),math.rad(0),math.rad(0))
  643. end
  644. DmgConnect(bladep1a)
  645. for i=0,1,0.2 do
  646. wait()
  647. LW.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad((-140)+(90)*i),math.rad(-20 + 50*i),math.rad(0))
  648. LEW.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(60+30*i),math.rad(0),math.rad(0))
  649. end
  650. for i=0,1,0.2 do
  651. wait()
  652. LW.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad((-50)+(-70)*i),math.rad((30)+(-30)*i),math.rad(0))
  653. LEW.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))
  654. end
  655. DiscDmg()
  656. for i=0,1,0.2 do
  657. wait()
  658. LW.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad((-120)+(30)*i),math.rad((30)+(-30)),math.rad(0))
  659. end
  660. attack=false
  661. num=0
  662. end
  663. function moveback()
  664. if not jetmove then return end
  665. jetmove=false
  666. for i=0,1,0.1 do
  667. wait()
  668. JPR.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(50 - 50*i),0,0)
  669. JPL.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(50 - 50*i),0,0)
  670. end
  671. end
  672. function moveforward()
  673. if jetmove then return end
  674. jetmove=true
  675. for i=0,1,0.1 do
  676. wait()
  677. JPR.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(50*i),0,0)
  678. JPL.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(50*i),0,0)
  679. end
  680. end
  681. --[[Mouse]]--
  682. bin.Selected:connect(function(mouse)
  683. mouse.Button1Down:connect(function()
  684. if mode=="normal" then
  685. if click then return end
  686. click=true
  687. if num ==0 then
  688. Slash()
  689. elseif num == 1 then
  690. curveslash()
  691. end
  692. click=false
  693. elseif mode=="Fly" then
  694. hold=true
  695. pcall(function() char.Head.BV:Destroy() end)
  696. pcall(function() char.Torso.BG:Destroy() end)
  697. local bv = Instance.new("BodyVelocity")
  698. bv.Parent = char.Head
  699. bv.Name="BV"
  700. bv.maxForce = Vector3.new(1e+010, 1e+010, 1e+010)
  701. bg = Instance.new("BodyGyro")
  702. bg.maxTorque = Vector3.new(0,0,0)
  703. bg.Parent = char.Torso
  704. bg.Name="BG"
  705. bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  706. effects=true
  707. while hold do
  708. wait()
  709. bg.cframe = CFrame.new(char.Torso.Position,mouse.hit.p) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  710. bv.velocity = (char.Head.Position - mouse.Hit.p).unit * -Speed
  711. bg.cframe = CFrame.new(char.Torso.Position,mouse.hit.p) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  712.  
  713. end
  714. end
  715. end)
  716. mouse.Button1Up:connect(function()
  717. hold=false
  718. for i=1,10 do
  719. pcall(function() char.Head.BV:Destroy() end)
  720. pcall(function() char.Torso.BG:Destroy() end)
  721. end
  722. end)
  723. mouse.KeyDown:connect(function(key)
  724. hold=true
  725. if key == "q" then
  726. mode="normal"
  727. jet="off"
  728. moveback()
  729. removeaura()
  730. elseif key=="e" then
  731. mode="Fly"
  732. jet="on"
  733. moveforward()
  734.  
  735. fire(fire1)
  736. fire(fire2)
  737. elseif key=="f" then
  738. end
  739. end)mouse.KeyUp:connect(function()
  740. hold=false
  741. end)
  742. end)
Add Comment
Please, Sign In to add comment