zEE1222

Untitled

Sep 5th, 2016
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 88.55 KB | None | 0 0
  1. --[[
  2. Blade Reaper Class Made by Fenrier.
  3. ]]
  4. Player = game:GetService("Players").LocalPlayer
  5. Character = Player.Character
  6. PlayerGui = Player.PlayerGui
  7. Backpack = Player.Backpack
  8. Torso = Character.Torso
  9. Head = Character.Head
  10. Humanoid = Character.Humanoid
  11. LeftArm = Character["Left Arm"]
  12. LeftLeg = Character["Left Leg"]
  13. RightArm = Character["Right Arm"]
  14. RightLeg = Character["Right Leg"]
  15. LS = Torso["Left Shoulder"]
  16. LH = Torso["Left Hip"]
  17. RS = Torso["Right Shoulder"]
  18. RH = Torso["Right Hip"]
  19. Neck = Torso.Neck
  20. it=Instance.new
  21. vt=Vector3.new
  22. cf=CFrame.new
  23. euler=CFrame.fromEulerAnglesXYZ
  24. angles=CFrame.Angles
  25. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  26. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  27. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  28. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  29. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  30. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  31. RootPart=Character.HumanoidRootPart
  32. RootJoint=RootPart.RootJoint
  33. RootCF=euler(-1.57,0,3.14)
  34. attack = false
  35. attackdebounce = false
  36. MMouse=nil
  37. combo=0
  38. --player
  39. player = nil
  40. --save shoulders
  41. RSH, LSH = nil, nil
  42. --welds
  43. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  44. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  45. LH=Torso["Left Hip"]
  46. RH=Torso["Right Hip"]
  47. con1=nil con2=nil con3=nil con4=nil con5=nil con6=nil con7=nil con8=nil con9=nil con10=nil con11=nil con12=nil
  48. weldlblade1=true weldlblade2=true weldlblade3=true weldlblade4=true weldlblade5=true weldlblade6=true
  49. hitlblade1=false hitlblade2=false hitlblade3=false hitlblade4=false hitlblade5=false hitlblade6=false
  50. weldrblade1=true weldrblade2=true weldrblade3=true weldrblade4=true weldrblade5=true weldrblade6=true
  51. hitrblade1=false hitrblade2=false hitrblade3=false hitrblade4=false hitrblade5=false hitrblade6=false
  52.  
  53. function swait(num)
  54. if num==0 or num==nil then
  55. game:service'RunService'.RenderStepped:wait()
  56. else
  57. for i=0,num do
  58. game:service'RunService'.RenderStepped:wait()
  59. end
  60. end
  61. end
  62.  
  63. if Character:findFirstChild("Shredder Blades Right Arm",true) ~= nil then
  64. Character:findFirstChild("Shredder Blades Right Arm",true).Parent = nil
  65. end
  66. if Character:findFirstChild("Shredder Blades Left Arm",true) ~= nil then
  67. Character:findFirstChild("Shredder Blades Left Arm",true).Parent = nil
  68. end
  69. if Player.PlayerGui:findFirstChild("WeaponGUI",true) ~= nil then
  70. Player.PlayerGui:findFirstChild("WeaponGUI",true).Parent = nil
  71. end
  72.  
  73.  
  74. function NoOutline(Part)
  75. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  76. end
  77.  
  78. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  79. local fp = it("Part")
  80. fp.formFactor = formfactor
  81. fp.Parent = parent
  82. fp.Reflectance = reflectance
  83. fp.Transparency = transparency
  84. fp.CanCollide = false
  85. fp.Locked=true
  86. fp.BrickColor = brickcolor
  87. fp.Name = name
  88. fp.Size = size
  89. fp.Position = Torso.Position
  90. NoOutline(fp)
  91. fp.Material="SmoothPlastic"
  92. fp:BreakJoints()
  93. return fp
  94. end
  95.  
  96. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  97. local mesh = it(Mesh)
  98. mesh.Parent = part
  99. if Mesh=="SpecialMesh" then
  100. mesh.MeshType = meshtype
  101. mesh.MeshId = meshid
  102. end
  103. mesh.Offset=offset
  104. mesh.Scale=scale
  105. return mesh
  106. end
  107.  
  108. function weld(parent,part0,part1,c0)
  109. local weld = it("Weld")
  110. weld.Parent = parent
  111. weld.Part0 = part0
  112. weld.Part1 = part1
  113. weld.C0 = c0
  114. return weld
  115. end
  116.  
  117. local fengui=it("GuiMain")
  118. fengui.Parent=Player.PlayerGui
  119. fengui.Name="WeaponGUI"
  120. fenframel=it("Frame")
  121. fenframel.Parent=fengui
  122. fenframel.BackgroundColor3=Color3.new(0.2,0.2,0.2)
  123. fenframel.BackgroundTransparency=0
  124. fenframel.BorderColor3=Color3.new(1,1,1)
  125. fenframel.BorderSizePixel=5
  126. fenframel.Size=UDim2.new(0.2,0,0.2,0)
  127. --fenframel.Position=UDim2.new(0.695,0,0.2,0)
  128. fenframel.Position=UDim2.new(0,0,0.4,0)
  129. fentext1=it("TextLabel")
  130. fentext1.Parent=fenframel
  131. fentext1.BackgroundColor3=Color3.new(0.5,0.5,0.5)
  132. fentext1.BackgroundTransparency=0
  133. fentext1.BorderColor3=Color3.new(1,0.2,0.2)
  134. fentext1.BorderSizePixel=2
  135. fentext1.Size=UDim2.new(0.495,0,0.3,0)
  136. fentext1.Position=UDim2.new(0.005,0,0.05,0)
  137. fentext1.Font="ArialBold"
  138. fentext1.Text="Blade 1: Active"
  139. fentext1.TextColor3=Color3.new(1,1,1)
  140. fentext1.TextStrokeTransparency=0
  141. fentext1.FontSize="Size18"
  142. fentext1.TextStrokeColor3=Color3.new(0.5,0.5,0.5)
  143. fentext2=fentext1:Clone()
  144. fentext2.Parent=fenframel
  145. fentext2.Text="Blade 2: Active"
  146. fentext2.Position=UDim2.new(0.005,0,0.05+0.3,0)
  147. fentext3=fentext1:Clone()
  148. fentext3.Parent=fenframel
  149. fentext3.Text="Blade 3: Active"
  150. fentext3.Position=UDim2.new(0.005,0,0.05+0.6,0)
  151. local fentext4=fentext1:Clone()
  152. fentext4.Parent=fenframel
  153. fentext4.Text="Blade 4: Active"
  154. fentext4.Position=UDim2.new(0.5,0,0.05,0)
  155. local fentext5=fentext1:Clone()
  156. fentext5.Parent=fenframel
  157. fentext5.Text="Blade 5: Active"
  158. fentext5.Position=UDim2.new(0.5,0,0.05+0.3,0)
  159. fentext6=fentext1:Clone()
  160. fentext6.Parent=fenframel
  161. fentext6.Text="Blade 6: Active"
  162. fentext6.Position=UDim2.new(0.5,0,0.05+0.6,0)
  163. lefttext=fentext1:Clone()
  164. lefttext.Parent=fenframel
  165. lefttext.Text="Left Arm"
  166. lefttext.Position=UDim2.new(0.25,0,-0.35,0)
  167. lefttext.BackgroundColor3=Color3.new(0.8,0.2,0.2)
  168. coroutine.resume(coroutine.create(function(text1,text2,text3,text4,text5,text6)
  169. while true do
  170. swait()
  171. if weldlblade1==true then
  172. text1.Text="Blade 1: Active"
  173. text1.BackgroundColor3=Color3.new(0.5,0.5,0.5)
  174. else
  175. text1.Text="Blade 1: Unactive"
  176. text1.BackgroundColor3=Color3.new(0,0,0)
  177. end
  178. if weldlblade2==true then
  179. text2.Text="Blade 2: Active"
  180. text2.BackgroundColor3=Color3.new(0.5,0.5,0.5)
  181. else
  182. text2.Text="Blade 2: Unactive"
  183. text2.BackgroundColor3=Color3.new(0,0,0)
  184. end
  185. if weldlblade3==true then
  186. text3.Text="Blade 3: Active"
  187. text3.BackgroundColor3=Color3.new(0.5,0.5,0.5)
  188. else
  189. text3.Text="Blade 3: Unactive"
  190. text3.BackgroundColor3=Color3.new(0,0,0)
  191. end
  192. if weldlblade4==true then
  193. text4.Text="Blade 4: Active"
  194. text4.BackgroundColor3=Color3.new(0.5,0.5,0.5)
  195. else
  196. text4.Text="Blade 4: Unactive"
  197. text4.BackgroundColor3=Color3.new(0,0,0)
  198. end
  199. if weldlblade5==true then
  200. text5.Text="Blade 5: Active"
  201. text5.BackgroundColor3=Color3.new(0.5,0.5,0.5)
  202. else
  203. text5.Text="Blade 5: Unactive"
  204. text5.BackgroundColor3=Color3.new(0,0,0)
  205. end
  206. if weldlblade6==true then
  207. text6.Text="Blade 6: Active"
  208. text6.BackgroundColor3=Color3.new(0.5,0.5,0.5)
  209. else
  210. text6.Text="Blade 6: Unactive"
  211. text6.BackgroundColor3=Color3.new(0,0,0)
  212. end
  213. end
  214. end),fentext1,fentext2,fentext3,fentext4,fentext5,fentext6)
  215. fenframer=it("Frame")
  216. fenframer.Parent=fengui
  217. fenframer.BackgroundColor3=Color3.new(0.2,0.2,0.2)
  218. fenframer.BackgroundTransparency=0
  219. fenframer.BorderColor3=Color3.new(1,1,1)
  220. fenframer.BorderSizePixel=5
  221. fenframer.Size=UDim2.new(0.2,0,0.2,0)
  222. fenframer.Position=UDim2.new(0.795,0,0.4,0)
  223. fentext1=it("TextLabel")
  224. fentext1.Parent=fenframer
  225. fentext1.BackgroundColor3=Color3.new(0.5,0.5,0.5)
  226. fentext1.BackgroundTransparency=0
  227. fentext1.BorderColor3=Color3.new(1,0.2,0.2)
  228. fentext1.BorderSizePixel=2
  229. fentext1.Size=UDim2.new(0.495,0,0.3,0)
  230. fentext1.Position=UDim2.new(0.005,0,0.05,0)
  231. fentext1.Font="ArialBold"
  232. fentext1.Text="Blade 1: Active"
  233. fentext1.TextColor3=Color3.new(1,1,1)
  234. fentext1.TextStrokeTransparency=0
  235. fentext1.FontSize="Size18"
  236. fentext1.TextStrokeColor3=Color3.new(0.5,0.5,0.5)
  237. fentext2=fentext1:Clone()
  238. fentext2.Parent=fenframer
  239. fentext2.Text="Blade 2: Active"
  240. fentext2.Position=UDim2.new(0.005,0,0.05+0.3,0)
  241. fentext3=fentext1:Clone()
  242. fentext3.Parent=fenframer
  243. fentext3.Text="Blade 3: Active"
  244. fentext3.Position=UDim2.new(0.005,0,0.05+0.6,0)
  245. local fentext4=fentext1:Clone()
  246. fentext4.Parent=fenframer
  247. fentext4.Text="Blade 4: Active"
  248. fentext4.Position=UDim2.new(0.5,0,0.05,0)
  249. local fentext5=fentext1:Clone()
  250. fentext5.Parent=fenframer
  251. fentext5.Text="Blade 5: Active"
  252. fentext5.Position=UDim2.new(0.5,0,0.05+0.3,0)
  253. fentext6=fentext1:Clone()
  254. fentext6.Parent=fenframer
  255. fentext6.Text="Blade 6: Active"
  256. fentext6.Position=UDim2.new(0.5,0,0.05+0.6,0)
  257. lefttext=fentext1:Clone()
  258. lefttext.Parent=fenframer
  259. lefttext.Text="Right Arm"
  260. lefttext.Position=UDim2.new(0.25,0,-0.35,0)
  261. lefttext.BackgroundColor3=Color3.new(0.8,0.2,0.2)
  262. coroutine.resume(coroutine.create(function(text1,text2,text3,text4,text5,text6)
  263. while true do
  264. swait()
  265. if weldrblade1==true then
  266. text1.Text="Blade 1: Active"
  267. text1.BackgroundColor3=Color3.new(0.5,0.5,0.5)
  268. else
  269. text1.Text="Blade 1: Unactive"
  270. text1.BackgroundColor3=Color3.new(0,0,0)
  271. end
  272. if weldrblade2==true then
  273. text2.Text="Blade 2: Active"
  274. text2.BackgroundColor3=Color3.new(0.5,0.5,0.5)
  275. else
  276. text2.Text="Blade 2: Unactive"
  277. text2.BackgroundColor3=Color3.new(0,0,0)
  278. end
  279. if weldrblade3==true then
  280. text3.Text="Blade 3: Active"
  281. text3.BackgroundColor3=Color3.new(0.5,0.5,0.5)
  282. else
  283. text3.Text="Blade 3: Unactive"
  284. text3.BackgroundColor3=Color3.new(0,0,0)
  285. end
  286. if weldrblade4==true then
  287. text4.Text="Blade 4: Active"
  288. text4.BackgroundColor3=Color3.new(0.5,0.5,0.5)
  289. else
  290. text4.Text="Blade 4: Unactive"
  291. text4.BackgroundColor3=Color3.new(0,0,0)
  292. end
  293. if weldrblade5==true then
  294. text5.Text="Blade 5: Active"
  295. text5.BackgroundColor3=Color3.new(0.5,0.5,0.5)
  296. else
  297. text5.Text="Blade 5: Unactive"
  298. text5.BackgroundColor3=Color3.new(0,0,0)
  299. end
  300. if weldrblade6==true then
  301. text6.Text="Blade 6: Active"
  302. text6.BackgroundColor3=Color3.new(0.5,0.5,0.5)
  303. else
  304. text6.Text="Blade 6: Unactive"
  305. text6.BackgroundColor3=Color3.new(0,0,0)
  306. end
  307. end
  308. end),fentext1,fentext2,fentext3,fentext4,fentext5,fentext6)
  309.  
  310.  
  311. local modelzorz=Instance.new("Model")
  312. modelzorz.Parent=Character
  313. modelzorz.Name="Shredder Blades Right Arm"
  314.  
  315. local prt1=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Part1",vt())
  316. prt2=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part2",vt())
  317. prt3=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part3",vt())
  318. prt4=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part4",vt())
  319. prt5=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part5",vt())
  320. prt6=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part6",vt())
  321. prt7=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part7",vt())
  322. prt8=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part8",vt())
  323. local bladea1=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"BladeA.1",vt())
  324. local bladea2=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"BladeA.2",vt())
  325. local bladea3=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"BladeA.3",vt())
  326. local bladea4=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"BladeA.4",vt())
  327. local bladea5=part(3,modelzorz,0.4,0,BrickColor.new("White"),"BladeA.5",vt(0.3,1.5,0.3))
  328. bladea5.Material="Plastic"
  329. local bladea6=part(3,modelzorz,0.4,0,BrickColor.new("White"),"BladeA.6",vt())
  330. bladea6.Material="Plastic"
  331. local bladeb1=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"BladeB.1",vt())
  332. local bladeb2=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"BladeB.2",vt())
  333. local bladeb3=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"BladeB.3",vt())
  334. local bladeb4=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"BladeB.4",vt())
  335. local bladeb5=part(3,modelzorz,0.4,0,BrickColor.new("White"),"BladeB.5",vt(0.3,1.5,0.3))
  336. bladeb5.Material="Plastic"
  337. local bladeb6=part(3,modelzorz,0.4,0,BrickColor.new("White"),"BladeB.6",vt())
  338. bladeb6.Material="Plastic"
  339. local bladec1=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"BladeC.1",vt())
  340. local bladec2=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"BladeC.2",vt())
  341. local bladec3=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"BladeC.3",vt())
  342. local bladec4=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"BladeC.4",vt())
  343. local bladec5=part(3,modelzorz,0.4,0,BrickColor.new("White"),"BladeC.5",vt(0.3,1.5,0.3))
  344. bladec5.Material="Plastic"
  345. local bladec6=part(3,modelzorz,0.4,0,BrickColor.new("White"),"BladeC.6",vt())
  346. bladec6.Material="Plastic"
  347. local bladed1=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"BladeD.1",vt())
  348. local bladed2=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"BladeD.2",vt())
  349. local bladed3=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"BladeD.3",vt())
  350. local bladed4=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"BladeD.4",vt())
  351. local bladed5=part(3,modelzorz,0.4,0,BrickColor.new("White"),"BladeD.5",vt(0.3,1.5,0.3))
  352. bladed5.Material="Plastic"
  353. local bladed6=part(3,modelzorz,0.4,0,BrickColor.new("White"),"BladeD.6",vt())
  354. bladed6.Material="Plastic"
  355. local bladee1=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"BladeE.1",vt())
  356. local bladee2=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"BladeE.2",vt())
  357. local bladee3=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"BladeE.3",vt())
  358. local bladee4=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"BladeE.4",vt())
  359. local bladee5=part(3,modelzorz,0.4,0,BrickColor.new("White"),"BladeE.5",vt(0.3,1.5,0.3))
  360. bladee5.Material="Plastic"
  361. local bladee6=part(3,modelzorz,0.4,0,BrickColor.new("White"),"BladeE.6",vt())
  362. bladee6.Material="Plastic"
  363. local bladef1=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"BladeF.1",vt())
  364. local bladef2=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"BladeF.2",vt())
  365. local bladef3=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"BladeF.3",vt())
  366. local bladef4=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"BladeF.4",vt())
  367. local bladef5=part(3,modelzorz,0.4,0,BrickColor.new("White"),"BladeF.5",vt(0.3,1.5,0.3))
  368. bladef5.Material="Plastic"
  369. local bladef6=part(3,modelzorz,0.4,0,BrickColor.new("White"),"BladeF.6",vt())
  370. bladef6.Material="Plastic"
  371.  
  372. msh1=mesh("BlockMesh",prt1,"","",vt(0,0,0),vt(2,5,4.1))
  373. msh2=mesh("BlockMesh",prt2,"","",vt(0,0,0),vt(1,0.25,4.25))
  374. msh3=mesh("BlockMesh",prt3,"","",vt(0,0,0),vt(1,0.25,4.25))
  375. msh4=mesh("BlockMesh",prt4,"","",vt(0,0,0),vt(1,0.25,4.25))
  376. msh5=mesh("CylinderMesh",prt5,"","",vt(0,0,0),vt(0.5,4.5,0.5))
  377. msh6=mesh("CylinderMesh",prt6,"","",vt(0,0,0),vt(0.5,4.5,0.5))
  378. msh7=mesh("CylinderMesh",prt7,"","",vt(0,0,0),vt(0.5,4.5,0.5))
  379. msh8=mesh("BlockMesh",prt8,"","",vt(0,0,0),vt(2.5,2.5,4.5))
  380. blmsha1=mesh("BlockMesh",bladea1,"","",vt(0,0,0),vt(1,0.5,0.25))
  381. blmsha2=mesh("BlockMesh",bladea2,"","",vt(0,0,0),vt(1.05,2,0.25))
  382. blmsha3=mesh("BlockMesh",bladea3,"","",vt(0,0,0),vt(1,0.5,0.25))
  383. blmsha4=mesh("BlockMesh",bladea4,"","",vt(0,0,0),vt(0.8,0.3,0.228))
  384. blmsha5=mesh("BlockMesh",bladea5,"","",vt(0,0,0),vt(0.5,1,0.15))
  385. blmsha6=mesh("SpecialMesh",bladea6,"Wedge","",vt(0,0,0),vt(0.225,0.75,0.7))
  386. blmshb1=mesh("BlockMesh",bladeb1,"","",vt(0,0,0),vt(1,0.5,0.25))
  387. blmshb2=mesh("BlockMesh",bladeb2,"","",vt(0,0,0),vt(1.05,2,0.25))
  388. blmshb3=mesh("BlockMesh",bladeb3,"","",vt(0,0,0),vt(1,0.5,0.25))
  389. blmshb4=mesh("BlockMesh",bladeb4,"","",vt(0,0,0),vt(0.8,0.3,0.228))
  390. blmshb5=mesh("BlockMesh",bladeb5,"","",vt(0,0,0),vt(0.5,1,0.15))
  391. blmshb6=mesh("SpecialMesh",bladeb6,"Wedge","",vt(0,0,0),vt(0.225,0.75,0.7))
  392. blmshc1=mesh("BlockMesh",bladec1,"","",vt(0,0,0),vt(1,0.5,0.25))
  393. blmshc2=mesh("BlockMesh",bladec2,"","",vt(0,0,0),vt(1.05,2,0.25))
  394. blmshc3=mesh("BlockMesh",bladec3,"","",vt(0,0,0),vt(1,0.5,0.25))
  395. blmshc4=mesh("BlockMesh",bladec4,"","",vt(0,0,0),vt(0.8,0.3,0.228))
  396. blmshc5=mesh("BlockMesh",bladec5,"","",vt(0,0,0),vt(0.5,1,0.15))
  397. blmshc6=mesh("SpecialMesh",bladec6,"Wedge","",vt(0,0,0),vt(0.225,0.75,0.7))
  398. blmshc1=mesh("BlockMesh",bladed1,"","",vt(0,0,0),vt(1,0.5,0.25))
  399. blmshd2=mesh("BlockMesh",bladed2,"","",vt(0,0,0),vt(1.05,2,0.25))
  400. blmshd3=mesh("BlockMesh",bladed3,"","",vt(0,0,0),vt(1,0.5,0.25))
  401. blmshd4=mesh("BlockMesh",bladed4,"","",vt(0,0,0),vt(0.8,0.3,0.228))
  402. blmshd5=mesh("BlockMesh",bladed5,"","",vt(0,0,0),vt(0.5,1,0.15))
  403. blmshd6=mesh("SpecialMesh",bladed6,"Wedge","",vt(0,0,0),vt(0.225,0.75,0.7))
  404. blmshe1=mesh("BlockMesh",bladee1,"","",vt(0,0,0),vt(1,0.5,0.25))
  405. blmshe2=mesh("BlockMesh",bladee2,"","",vt(0,0,0),vt(1.05,2,0.25))
  406. blmshe3=mesh("BlockMesh",bladee3,"","",vt(0,0,0),vt(1,0.5,0.25))
  407. blmshe4=mesh("BlockMesh",bladee4,"","",vt(0,0,0),vt(0.8,0.3,0.228))
  408. blmshe5=mesh("BlockMesh",bladee5,"","",vt(0,0,0),vt(0.5,1,0.15))
  409. blmshe6=mesh("SpecialMesh",bladee6,"Wedge","",vt(0,0,0),vt(0.225,0.75,0.7))
  410. blmshf1=mesh("BlockMesh",bladef1,"","",vt(0,0,0),vt(1,0.5,0.25))
  411. blmshf2=mesh("BlockMesh",bladef2,"","",vt(0,0,0),vt(1.05,2,0.25))
  412. blmshf3=mesh("BlockMesh",bladef3,"","",vt(0,0,0),vt(1,0.5,0.25))
  413. blmshf4=mesh("BlockMesh",bladef4,"","",vt(0,0,0),vt(0.8,0.3,0.228))
  414. blmshf5=mesh("BlockMesh",bladef5,"","",vt(0,0,0),vt(0.5,1,0.15))
  415. blmshf6=mesh("SpecialMesh",bladef6,"Wedge","",vt(0,0,0),vt(0.225,0.75,0.7))
  416.  
  417. local wld1=weld(prt1,prt1,RightArm,euler(0,0,0)*cf(-0.65,0.2,0))
  418. local wld2=weld(prt2,prt2,prt1,euler(0,0,0)*cf(-0.11,-0.1,0))
  419. local wld3=weld(prt3,prt3,prt1,euler(0,0,0)*cf(-0.11,0.1,0))
  420. local wld4=weld(prt4,prt4,prt1,euler(0,0,0)*cf(-0.11,0.3,0))
  421. local wld5=weld(prt5,prt5,prt1,euler(1.57,0,0)*cf(0.1,-0.1,0))
  422. local wld6=weld(prt6,prt6,prt1,euler(1.57,0,0)*cf(0.1,0.1,0))
  423. local wld7=weld(prt7,prt7,prt1,euler(1.57,0,0)*cf(0.1,0.3,0))
  424. local wld8=weld(prt8,prt8,prt1,euler(0,0,0)*cf(0,-0.5,0))
  425. local blwlda1=weld(bladea1,bladea1,prt1,euler(0,0,0)*cf(-0.15,-0.1,-0.25))
  426. local blwlda2=weld(bladea1,bladea2,bladea1,cf(0,0.2,0)*euler(0,0,0))
  427. local blwlda3=weld(bladea1,bladea3,bladea2,euler(0,0,0)*cf(0,0.25,0))
  428. local blwlda4=weld(bladea1,bladea4,bladea3,euler(0,0,-3.14)*cf(-0.1,-0.05,0))
  429. local blwlda5=weld(bladea1,bladea5,bladea4,cf(0,0.7,0))
  430. local blwlda6=weld(bladea1,bladea6,bladea5,euler(1.57,1.57,0)*cf(0,0.82,0))
  431. local blwldb1=weld(bladeb1,bladeb1,prt1,euler(0,0,0)*cf(-0.15,-0.1,-0.15))
  432. local blwldb2=weld(bladeb1,bladeb2,bladeb1,cf(0,0.2,0)*euler(0,0,0))
  433. local blwldb3=weld(bladeb1,bladeb3,bladeb2,euler(0,0,0)*cf(0,0.25,0))
  434. local blwldb4=weld(bladeb1,bladeb4,bladeb3,euler(0,0,-3.14)*cf(-0.1,-0.05,0))
  435. local blwldb5=weld(bladeb1,bladeb5,bladeb4,cf(0,0.7,0))
  436. local blwldb6=weld(bladeb1,bladeb6,bladeb5,euler(1.57,1.57,0)*cf(0,0.82,0))
  437. local blwldc1=weld(bladec1,bladec1,prt1,euler(0,0,0)*cf(-0.15,-0.1,-0.05))
  438. local blwldc2=weld(bladec1,bladec2,bladec1,cf(0,0.2,0)*euler(0,0,0))
  439. local blwldc3=weld(bladec1,bladec3,bladec2,euler(0,0,0)*cf(0,0.25,0))
  440. local blwldc4=weld(bladec1,bladec4,bladec3,euler(0,0,-3.14)*cf(-0.1,-0.05,0))
  441. local blwldc5=weld(bladec1,bladec5,bladec4,cf(0,0.7,0))
  442. local blwldc6=weld(bladec1,bladec6,bladec5,euler(1.57,1.57,0)*cf(0,0.82,0))
  443. local blwldd1=weld(bladed1,bladed1,prt1,euler(0,0,0)*cf(-0.15,-0.1,0.05))
  444. local blwldd2=weld(bladed1,bladed2,bladed1,cf(0,0.2,0)*euler(0,0,0))
  445. local blwldd3=weld(bladed1,bladed3,bladed2,euler(0,0,0)*cf(0,0.25,0))
  446. local blwldd4=weld(bladed1,bladed4,bladed3,euler(0,0,-3.14)*cf(-0.1,-0.05,0))
  447. local blwldd5=weld(bladed1,bladed5,bladed4,cf(0,0.7,0))
  448. local blwldd6=weld(bladed1,bladed6,bladed5,euler(1.57,1.57,0)*cf(0,0.82,0))
  449. local blwlde1=weld(bladee1,bladee1,prt1,euler(0,0,0)*cf(-0.15,-0.1,0.15))
  450. local blwlde2=weld(bladee1,bladee2,bladee1,cf(0,0.2,0)*euler(0,0,0))
  451. local blwlde3=weld(bladee1,bladee3,bladee2,euler(0,0,0)*cf(0,0.25,0))
  452. local blwlde4=weld(bladee1,bladee4,bladee3,euler(0,0,-3.14)*cf(-0.1,-0.05,0))
  453. local blwlde5=weld(bladee1,bladee5,bladee4,cf(0,0.7,0))
  454. local blwlde6=weld(bladee1,bladee6,bladee5,euler(1.57,1.57,0)*cf(0,0.82,0))
  455. local blwldf1=weld(bladef1,bladef1,prt1,euler(0,0,0)*cf(-0.15,-0.1,0.25))
  456. local blwldf2=weld(bladef1,bladef2,bladef1,cf(0,0.2,0)*euler(0,0,0))
  457. local blwldf3=weld(bladef1,bladef3,bladef2,euler(0,0,0)*cf(0,0.25,0))
  458. local blwldf4=weld(bladef1,bladef4,bladef3,euler(0,0,-3.14)*cf(-0.1,-0.05,0))
  459. local blwldf5=weld(bladef1,bladef5,bladef4,cf(0,0.7,0))
  460. local blwldf6=weld(bladef1,bladef6,bladef5,euler(1.57,1.57,0)*cf(0,0.82,0))
  461.  
  462. local modelzorz2=Instance.new("Model")
  463. modelzorz2.Parent=Character
  464. modelzorz2.Name="Shredder Blades Left Arm"
  465.  
  466. local lprt1=part(3,modelzorz2,0,0,BrickColor.new("Medium stone grey"),"Part1",vt())
  467. lprt2=part(3,modelzorz2,0,0,BrickColor.new("Dark stone grey"),"Part2",vt())
  468. lprt3=part(3,modelzorz2,0,0,BrickColor.new("Dark stone grey"),"Part3",vt())
  469. lprt4=part(3,modelzorz2,0,0,BrickColor.new("Dark stone grey"),"Part4",vt())
  470. lprt5=part(3,modelzorz2,0,0,BrickColor.new("Dark stone grey"),"Part5",vt())
  471. lprt6=part(3,modelzorz2,0,0,BrickColor.new("Dark stone grey"),"Part6",vt())
  472. lprt7=part(3,modelzorz2,0,0,BrickColor.new("Dark stone grey"),"Part7",vt())
  473. lprt8=part(3,modelzorz2,0,0,BrickColor.new("Dark stone grey"),"Part8",vt())
  474. local lbladea1=part(3,modelzorz2,0,0,BrickColor.new("Dark stone grey"),"BladeA.1",vt())
  475. local lbladea2=part(3,modelzorz2,0,0,BrickColor.new("Dark stone grey"),"BladeA.2",vt())
  476. local lbladea3=part(3,modelzorz2,0,0,BrickColor.new("Dark stone grey"),"BladeA.3",vt())
  477. local lbladea4=part(3,modelzorz2,0,0,BrickColor.new("Bright green"),"BladeA.4",vt())
  478. local lbladea5=part(3,modelzorz2,0.4,0,BrickColor.new("White"),"BladeA.5",vt(0.3,1.5,0.3))
  479. lbladea5.Material="Plastic"
  480. local lbladea6=part(3,modelzorz2,0.4,0,BrickColor.new("White"),"BladeA.6",vt())
  481. lbladea6.Material="Plastic"
  482. local lbladeb1=part(3,modelzorz2,0,0,BrickColor.new("Dark stone grey"),"BladeB.1",vt())
  483. local lbladeb2=part(3,modelzorz2,0,0,BrickColor.new("Dark stone grey"),"BladeB.2",vt())
  484. local lbladeb3=part(3,modelzorz2,0,0,BrickColor.new("Dark stone grey"),"BladeB.3",vt())
  485. local lbladeb4=part(3,modelzorz2,0,0,BrickColor.new("Bright green"),"BladeB.4",vt())
  486. local lbladeb5=part(3,modelzorz2,0.4,0,BrickColor.new("White"),"BladeB.5",vt(0.3,1.5,0.3))
  487. lbladeb5.Material="Plastic"
  488. local lbladeb6=part(3,modelzorz2,0.4,0,BrickColor.new("White"),"BladeB.6",vt())
  489. lbladeb6.Material="Plastic"
  490. local lbladec1=part(3,modelzorz2,0,0,BrickColor.new("Dark stone grey"),"BladeC.1",vt())
  491. local lbladec2=part(3,modelzorz2,0,0,BrickColor.new("Dark stone grey"),"BladeC.2",vt())
  492. local lbladec3=part(3,modelzorz2,0,0,BrickColor.new("Dark stone grey"),"BladeC.3",vt())
  493. local lbladec4=part(3,modelzorz2,0,0,BrickColor.new("Bright green"),"BladeC.4",vt())
  494. local lbladec5=part(3,modelzorz2,0.4,0,BrickColor.new("White"),"BladeC.5",vt(0.3,1.5,0.3))
  495. lbladec5.Material="Plastic"
  496. local lbladec6=part(3,modelzorz2,0.4,0,BrickColor.new("White"),"BladeC.6",vt())
  497. lbladec6.Material="Plastic"
  498. local lbladed1=part(3,modelzorz2,0,0,BrickColor.new("Dark stone grey"),"BladeD.1",vt())
  499. local lbladed2=part(3,modelzorz2,0,0,BrickColor.new("Dark stone grey"),"BladeD.2",vt())
  500. local lbladed3=part(3,modelzorz2,0,0,BrickColor.new("Dark stone grey"),"BladeD.3",vt())
  501. local lbladed4=part(3,modelzorz2,0,0,BrickColor.new("Bright green"),"BladeD.4",vt())
  502. local lbladed5=part(3,modelzorz2,0.4,0,BrickColor.new("White"),"BladeD.5",vt(0.3,1.5,0.3))
  503. lbladed5.Material="Plastic"
  504. local lbladed6=part(3,modelzorz2,0.4,0,BrickColor.new("White"),"BladeD.6",vt())
  505. lbladed6.Material="Plastic"
  506. local lbladee1=part(3,modelzorz2,0,0,BrickColor.new("Dark stone grey"),"BladeE.1",vt())
  507. local lbladee2=part(3,modelzorz2,0,0,BrickColor.new("Dark stone grey"),"BladeE.2",vt())
  508. local lbladee3=part(3,modelzorz2,0,0,BrickColor.new("Dark stone grey"),"BladeE.3",vt())
  509. local lbladee4=part(3,modelzorz2,0,0,BrickColor.new("Bright green"),"BladeE.4",vt())
  510. local lbladee5=part(3,modelzorz2,0.4,0,BrickColor.new("White"),"BladeE.5",vt(0.3,1.5,0.3))
  511. lbladee5.Material="Plastic"
  512. local lbladee6=part(3,modelzorz2,0.4,0,BrickColor.new("White"),"BladeE.6",vt())
  513. lbladee6.Material="Plastic"
  514. local lbladef1=part(3,modelzorz2,0,0,BrickColor.new("Dark stone grey"),"BladeF.1",vt())
  515. local lbladef2=part(3,modelzorz2,0,0,BrickColor.new("Dark stone grey"),"BladeF.2",vt())
  516. local lbladef3=part(3,modelzorz2,0,0,BrickColor.new("Dark stone grey"),"BladeF.3",vt())
  517. local lbladef4=part(3,modelzorz2,0,0,BrickColor.new("Bright green"),"BladeF.4",vt())
  518. local lbladef5=part(3,modelzorz2,0.4,0,BrickColor.new("White"),"BladeF.5",vt(0.3,1.5,0.3))
  519. lbladef5.Material="Plastic"
  520. local lbladef6=part(3,modelzorz2,0.4,0,BrickColor.new("White"),"BladeF.6",vt())
  521. lbladef6.Material="Plastic"
  522.  
  523. msh1=mesh("BlockMesh",lprt1,"","",vt(0,0,0),vt(2,5,4.1))
  524. msh2=mesh("BlockMesh",lprt2,"","",vt(0,0,0),vt(1,0.25,4.25))
  525. msh3=mesh("BlockMesh",lprt3,"","",vt(0,0,0),vt(1,0.25,4.25))
  526. msh4=mesh("BlockMesh",lprt4,"","",vt(0,0,0),vt(1,0.25,4.25))
  527. msh5=mesh("CylinderMesh",lprt5,"","",vt(0,0,0),vt(0.5,4.5,0.5))
  528. msh6=mesh("CylinderMesh",lprt6,"","",vt(0,0,0),vt(0.5,4.5,0.5))
  529. msh7=mesh("CylinderMesh",lprt7,"","",vt(0,0,0),vt(0.5,4.5,0.5))
  530. msh8=mesh("BlockMesh",lprt8,"","",vt(0,0,0),vt(2.5,2.5,4.5))
  531. blmsha1=mesh("BlockMesh",lbladea1,"","",vt(0,0,0),vt(1,0.5,0.25))
  532. blmsha2=mesh("BlockMesh",lbladea2,"","",vt(0,0,0),vt(1.05,2,0.25))
  533. blmsha3=mesh("BlockMesh",lbladea3,"","",vt(0,0,0),vt(1,0.5,0.25))
  534. blmsha4=mesh("BlockMesh",lbladea4,"","",vt(0,0,0),vt(0.8,0.3,0.228))
  535. blmsha5=mesh("BlockMesh",lbladea5,"","",vt(0,0,0),vt(0.5,1,0.15))
  536. blmsha6=mesh("SpecialMesh",lbladea6,"Wedge","",vt(0,0,0),vt(0.225,0.75,0.7))
  537. blmshb1=mesh("BlockMesh",lbladeb1,"","",vt(0,0,0),vt(1,0.5,0.25))
  538. blmshb2=mesh("BlockMesh",lbladeb2,"","",vt(0,0,0),vt(1.05,2,0.25))
  539. blmshb3=mesh("BlockMesh",lbladeb3,"","",vt(0,0,0),vt(1,0.5,0.25))
  540. blmshb4=mesh("BlockMesh",lbladeb4,"","",vt(0,0,0),vt(0.8,0.3,0.228))
  541. blmshb5=mesh("BlockMesh",lbladeb5,"","",vt(0,0,0),vt(0.5,1,0.15))
  542. blmshb6=mesh("SpecialMesh",lbladeb6,"Wedge","",vt(0,0,0),vt(0.225,0.75,0.7))
  543. blmshc1=mesh("BlockMesh",lbladec1,"","",vt(0,0,0),vt(1,0.5,0.25))
  544. blmshc2=mesh("BlockMesh",lbladec2,"","",vt(0,0,0),vt(1.05,2,0.25))
  545. blmshc3=mesh("BlockMesh",lbladec3,"","",vt(0,0,0),vt(1,0.5,0.25))
  546. blmshc4=mesh("BlockMesh",lbladec4,"","",vt(0,0,0),vt(0.8,0.3,0.228))
  547. blmshc5=mesh("BlockMesh",lbladec5,"","",vt(0,0,0),vt(0.5,1,0.15))
  548. blmshc6=mesh("SpecialMesh",lbladec6,"Wedge","",vt(0,0,0),vt(0.225,0.75,0.7))
  549. blmshc1=mesh("BlockMesh",lbladed1,"","",vt(0,0,0),vt(1,0.5,0.25))
  550. blmshd2=mesh("BlockMesh",lbladed2,"","",vt(0,0,0),vt(1.05,2,0.25))
  551. blmshd3=mesh("BlockMesh",lbladed3,"","",vt(0,0,0),vt(1,0.5,0.25))
  552. blmshd4=mesh("BlockMesh",lbladed4,"","",vt(0,0,0),vt(0.8,0.3,0.228))
  553. blmshd5=mesh("BlockMesh",lbladed5,"","",vt(0,0,0),vt(0.5,1,0.15))
  554. blmshd6=mesh("SpecialMesh",lbladed6,"Wedge","",vt(0,0,0),vt(0.225,0.75,0.7))
  555. blmshd7=mesh("BlockMesh",lbladed7,"","",vt(0,0,0),vt(0.5,2,0.22))
  556. blmshe1=mesh("BlockMesh",lbladee1,"","",vt(0,0,0),vt(1,0.5,0.25))
  557. blmshe2=mesh("BlockMesh",lbladee2,"","",vt(0,0,0),vt(1.05,2,0.25))
  558. blmshe3=mesh("BlockMesh",lbladee3,"","",vt(0,0,0),vt(1,0.5,0.25))
  559. blmshe4=mesh("BlockMesh",lbladee4,"","",vt(0,0,0),vt(0.8,0.3,0.228))
  560. blmshe5=mesh("BlockMesh",lbladee5,"","",vt(0,0,0),vt(0.5,1,0.15))
  561. blmshe6=mesh("SpecialMesh",lbladee6,"Wedge","",vt(0,0,0),vt(0.225,0.75,0.7))
  562. blmshf1=mesh("BlockMesh",lbladef1,"","",vt(0,0,0),vt(1,0.5,0.25))
  563. blmshf2=mesh("BlockMesh",lbladef2,"","",vt(0,0,0),vt(1.05,2,0.25))
  564. blmshf3=mesh("BlockMesh",lbladef3,"","",vt(0,0,0),vt(1,0.5,0.25))
  565. blmshf4=mesh("BlockMesh",lbladef4,"","",vt(0,0,0),vt(0.8,0.3,0.228))
  566. blmshf5=mesh("BlockMesh",lbladef5,"","",vt(0,0,0),vt(0.5,1,0.15))
  567. blmshf6=mesh("SpecialMesh",lbladef6,"Wedge","",vt(0,0,0),vt(0.225,0.75,0.7))
  568.  
  569. local lwld1=weld(lprt1,lprt1,LeftArm,cf(-0.65,0.2,0)*euler(0,3.14,0))
  570. local lwld2=weld(lprt2,lprt2,lprt1,euler(0,0,0)*cf(-0.11,-0.1,0))
  571. local lwld3=weld(lprt3,lprt3,lprt1,euler(0,0,0)*cf(-0.11,0.1,0))
  572. local lwld4=weld(lprt4,lprt4,lprt1,euler(0,0,0)*cf(-0.11,0.3,0))
  573. local lwld5=weld(lprt5,lprt5,lprt1,euler(1.57,0,0)*cf(0.1,-0.1,0))
  574. local lwld6=weld(lprt6,lprt6,lprt1,euler(1.57,0,0)*cf(0.1,0.1,0))
  575. local lwld7=weld(lprt7,lprt7,lprt1,euler(1.57,0,0)*cf(0.1,0.3,0))
  576. local lwld8=weld(lprt8,lprt8,lprt1,euler(0,0,0)*cf(0,-0.5,0))
  577. local lblwlda1=weld(lbladea1,lbladea1,lprt1,euler(0,0,0)*cf(-0.15,-0.1,-0.25))
  578. local lblwlda2=weld(lbladea1,lbladea2,lbladea1,cf(0,0.2,0)*euler(0,0,0))
  579. local lblwlda3=weld(lbladea1,lbladea3,lbladea2,euler(0,0,0)*cf(0,0.25,0))
  580. local lblwlda4=weld(lbladea1,lbladea4,lbladea3,euler(0,0,-3.14)*cf(-0.1,-0.05,0))
  581. local lblwlda5=weld(lbladea1,lbladea5,lbladea4,cf(0,0.7,0))
  582. local lblwlda6=weld(lbladea1,lbladea6,lbladea5,euler(1.57,1.57,0)*cf(0,0.82,0))
  583. local lblwldb1=weld(lbladeb1,lbladeb1,lprt1,euler(0,0,0)*cf(-0.15,-0.1,-0.15))
  584. local lblwldb2=weld(lbladeb1,lbladeb2,lbladeb1,cf(0,0.2,0)*euler(0,0,0))
  585. local lblwldb3=weld(lbladeb1,lbladeb3,lbladeb2,euler(0,0,0)*cf(0,0.25,0))
  586. local lblwldb4=weld(lbladeb1,lbladeb4,lbladeb3,euler(0,0,-3.14)*cf(-0.1,-0.05,0))
  587. local lblwldb5=weld(lbladeb1,lbladeb5,lbladeb4,cf(0,0.7,0))
  588. local lblwldb6=weld(lbladeb1,lbladeb6,lbladeb5,euler(1.57,1.57,0)*cf(0,0.82,0))
  589. local lblwldc1=weld(lbladec1,lbladec1,lprt1,euler(0,0,0)*cf(-0.15,-0.1,-0.05))
  590. local lblwldc2=weld(lbladec1,lbladec2,lbladec1,cf(0,0.2,0)*euler(0,0,0))
  591. local lblwldc3=weld(lbladec1,lbladec3,lbladec2,euler(0,0,0)*cf(0,0.25,0))
  592. local lblwldc4=weld(lbladec1,lbladec4,lbladec3,euler(0,0,-3.14)*cf(-0.1,-0.05,0))
  593. local lblwldc5=weld(lbladec1,lbladec5,lbladec4,cf(0,0.7,0))
  594. local lblwldc6=weld(lbladec1,lbladec6,lbladec5,euler(1.57,1.57,0)*cf(0,0.82,0))
  595. local lblwldd1=weld(lbladed1,lbladed1,lprt1,euler(0,0,0)*cf(-0.15,-0.1,0.05))
  596. local lblwldd2=weld(lbladed1,lbladed2,lbladed1,cf(0,0.2,0)*euler(0,0,0))
  597. local lblwldd3=weld(lbladed1,lbladed3,lbladed2,euler(0,0,0)*cf(0,0.25,0))
  598. local lblwldd4=weld(lbladed1,lbladed4,lbladed3,euler(0,0,-3.14)*cf(-0.1,-0.05,0))
  599. local lblwldd5=weld(lbladed1,lbladed5,lbladed4,cf(0,0.7,0))
  600. local lblwldd6=weld(lbladed1,lbladed6,lbladed5,euler(1.57,1.57,0)*cf(0,0.82,0))
  601. local lblwlde1=weld(lbladee1,lbladee1,lprt1,euler(0,0,0)*cf(-0.15,-0.1,0.15))
  602. local lblwlde2=weld(lbladee1,lbladee2,lbladee1,cf(0,0.2,0)*euler(0,0,0))
  603. local lblwlde3=weld(lbladee1,lbladee3,lbladee2,euler(0,0,0)*cf(0,0.25,0))
  604. local lblwlde4=weld(lbladee1,lbladee4,lbladee3,euler(0,0,-3.14)*cf(-0.1,-0.05,0))
  605. local lblwlde5=weld(lbladee1,lbladee5,lbladee4,cf(0,0.7,0))
  606. local lblwlde6=weld(lbladee1,lbladee6,lbladee5,euler(1.57,1.57,0)*cf(0,0.82,0))
  607. local lblwldf1=weld(lbladef1,lbladef1,lprt1,euler(0,0,0)*cf(-0.15,-0.1,0.25))
  608. local lblwldf2=weld(lbladef1,lbladef2,lbladef1,cf(0,0.2,0)*euler(0,0,0))
  609. local lblwldf3=weld(lbladef1,lbladef3,lbladef2,euler(0,0,0)*cf(0,0.25,0))
  610. local lblwldf4=weld(lbladef1,lbladef4,lbladef3,euler(0,0,-3.14)*cf(-0.1,-0.05,0))
  611. local lblwldf5=weld(lbladef1,lbladef5,lbladef4,cf(0,0.7,0))
  612. local lblwldf6=weld(lbladef1,lbladef6,lbladef5,euler(1.57,1.57,0)*cf(0,0.82,0))
  613.  
  614. local hitbox=part(1,nil,0,1,BrickColor.new("Black"),"Hitbox",vt(1,1,1))
  615. hitbox.Anchored=false
  616.  
  617. if (script.Parent.className ~= "HopperBin") then
  618. Tool = Instance.new("HopperBin")
  619. Tool.Parent = Backpack
  620. Tool.Name = "Shredder Blades"
  621. script.Parent = Tool
  622. end
  623. Bin = script.Parent
  624.  
  625. local bodvel=Instance.new("BodyVelocity")
  626. local bg=Instance.new("BodyGyro")
  627.  
  628. so = function(id,par,vol,pit)
  629. coroutine.resume(coroutine.create(function()
  630. local sou = Instance.new("Sound",par or workspace)
  631. sou.Volume=vol
  632. sou.Pitch=pit or 1
  633. sou.SoundId=id
  634. swait()
  635. sou:play()
  636. game:GetService("Debris"):AddItem(sou,6)
  637. end))
  638. end
  639.  
  640. function hideanim()
  641. equipped=false
  642. CloseBlades()
  643. for i=0,1,0.1 do
  644. swait()
  645. RW.C0=cf(1.5,0.5,0)*euler(0.4-0.4*i,-1+1*i,0)
  646. RW.C1=cf(0,0.5,0)*euler(-0.6+0.6*i,0,0)
  647. LW.C0=cf(-1.5,0.5,0)*euler(0.4-0.4*i,1-1*i,0)
  648. LW.C1=cf(0,0.5,0)*euler(-0.6+0.6*i,0,0)
  649. end
  650. Torso.Neck.C0=necko
  651. RootJoint.C0=RootCF
  652. RW.C0=cf(1.5,0.5,0)*euler(0,0,0)
  653. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  654. LW.C0=cf(-1.5,0.5,0)*euler(0,0,0)
  655. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  656. RH.C0=RHC0
  657. RH.C1=RHC1
  658. LH.C0=LHC0
  659. LH.C1=LHC1
  660. end
  661.  
  662. function equipanim()
  663. equipped=true
  664. for i=0,1,0.1 do
  665. swait()
  666. Torso.Neck.C0=necko*euler(0.05*i,0,0)
  667. RootJoint.C0=RootCF*euler(0,0,0)
  668. RW.C0=cf(1.5,0.5,0)*euler(1*i,0,-0.2*i)
  669. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  670. LW.C0=cf(-1.5,0.5,0)*euler(1*i,0,0.2*i)
  671. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  672. end
  673. n=2
  674. for i=0,1,0.2 do
  675. swait()
  676. Torso.Neck.C0=necko*euler(0.05+0.05*i*n,0,0)
  677. RootJoint.C0=RootCF*euler(0,0,0)
  678. RW.C0=cf(1.5,0.5,0)*euler(1+0.1*i*n,0,-0.2-0.1*i*n)
  679. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  680. LW.C0=cf(-1.5,0.5,0)*euler(1+0.1*i*n,0,0.2+0.1*i*n)
  681. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  682. n=n-0.2
  683. end
  684. OpenBlades()
  685. for i=0,1,0.2 do
  686. swait()
  687. Torso.Neck.C0=necko*euler(0.1,0,0)
  688. RootJoint.C0=RootCF*euler(0,0,0)
  689. RW.C0=cf(1.5,0.5,0)*euler(1.1-0.6*i,-1*i,-0.3+0.3*i)
  690. RW.C1=cf(0,0.5,0)*euler(-0.5*i,0,0)
  691. LW.C0=cf(-1.5,0.5,0)*euler(1.1-0.6*i,1*i,0.3-0.3*i)
  692. LW.C1=cf(0,0.5,0)*euler(-0.5*i,0,0)
  693. end
  694. n=2
  695. for i=0,1,0.2 do
  696. swait()
  697. Torso.Neck.C0=necko*euler(0.1,0,0)
  698. RootJoint.C0=RootCF*euler(0,0,0)
  699. RW.C0=cf(1.5,0.5,0)*euler(0.5-0.1*i*n,-1,0)
  700. RW.C1=cf(0,0.5,0)*euler(-0.5-0.1*i*n,0,0)
  701. LW.C0=cf(-1.5,0.5,0)*euler(0.5-0.1*i*n,1,0)
  702. LW.C1=cf(0,0.5,0)*euler(-0.5-0.1*i*n,0,0)
  703. n=n-0.2
  704. end
  705. for i=0,1,0.1 do
  706. swait()
  707. Torso.Neck.C0=necko*euler(0.1-0.1*i,0,0)
  708. end
  709. end
  710.  
  711. function Stance()
  712. Torso.Neck.C0=necko*euler(0,0,0)
  713. RootJoint.C0=RootCF*euler(0,0,0)
  714. RW.C0=cf(1.5,0.5,0)*euler(0.4,-1,0)
  715. RW.C1=cf(0,0.5,0)*euler(-0.6,0,0)
  716. LW.C0=cf(-1.5,0.5,0)*euler(0.4,1,0)
  717. LW.C1=cf(0,0.5,0)*euler(-0.6,0,0)
  718. end
  719.  
  720. function OpenBlades()
  721. coroutine.resume(coroutine.create(function()
  722. BladesShwing(true,true)
  723. for i=0,1,0.1 do
  724. swait()
  725. --[[local blwlda1=weld(bladea1,bladea1,prt1,euler(0,0,0)*cf(-0.2,-0.1,-0.35))
  726. local blwlda2=weld(bladea1,bladea2,bladea1,cf(0,0.2,0)*euler(0,0,0))
  727. local blwlda3=weld(bladea1,bladea3,bladea2,euler(0,0,0)*cf(0,0.25,0))]]
  728. blwlda2.C0=cf(0,0.2,0)*euler(0.25*i,0,0)
  729. blwlda4.C0=euler(0,0,-3.14+3.14*i)*cf(-0.1+0.1*i,-0.05+0.05*i,0)*euler(0,0,0)
  730. blwlda1.C0=euler(0,0,0)*cf(-0.15,-0.1+0.15*i,-0.25-0.1*i)
  731. blwldb2.C0=cf(0,0.2,0)*euler(0.15*i,0,-0.3*i)
  732. blwldb4.C0=euler(0,0,-3.14+3.14*i)*cf(-0.1+0.1*i,-0.05+0.05*i,0)
  733. blwldb1.C0=euler(0,0,0)*cf(-0.15,-0.1+0.15*i,-0.15-0.06*i)
  734. blwldc2.C0=cf(0,0.2,0)*euler(0.05*i,0,-0.5*i)
  735. blwldc4.C0=euler(0,0,-3.14+3.14*i)*cf(-0.1+0.1*i,-0.05+0.05*i,0)
  736. blwldc1.C0=euler(0,0,0)*cf(-0.15,-0.1+0.15*i,-0.05-0.02*i)
  737. blwldd2.C0=cf(0,0.2,0)*euler(-0.05*i,0,-0.35*i)
  738. blwldd4.C0=euler(0,0,-3.14+3.14*i)*cf(-0.1+0.1*i,-0.05+0.05*i,0)
  739. blwldd1.C0=euler(0,0,0)*cf(-0.15,-0.1+0.15*i,0.05+0.02*i)
  740. blwlde2.C0=cf(0,0.2,0)*euler(-0.15*i,0,-0.1*i)
  741. blwlde4.C0=euler(0,0,-3.14+3.14*i)*cf(-0.1+0.1*i,-0.05+0.05*i,0)
  742. blwlde1.C0=euler(0,0,0)*cf(-0.15,-0.1+0.15*i,0.15+0.06*i)
  743. blwldf2.C0=cf(0,0.2,0)*euler(-0.25*i,0,0)
  744. blwldf4.C0=euler(0,0,-3.14+3.14*i)*cf(-0.1+0.1*i,-0.05+0.05*i,0)
  745. blwldf1.C0=euler(0,0,0)*cf(-0.15,-0.1+0.15*i,0.25+0.1*i)
  746. lblwlda2.C0=cf(0,0.2,0)*euler(0.25*i,0,0)
  747. lblwlda4.C0=euler(0,0,-3.14+3.14*i)*cf(-0.1+0.1*i,-0.05+0.05*i,0)*euler(0,0,0)
  748. lblwlda1.C0=euler(0,0,0)*cf(-0.15,-0.1+0.15*i,-0.25-0.1*i)
  749. lblwldb2.C0=cf(0,0.2,0)*euler(0.15*i,0,-0.3*i)
  750. lblwldb4.C0=euler(0,0,-3.14+3.14*i)*cf(-0.1+0.1*i,-0.05+0.05*i,0)
  751. lblwldb1.C0=euler(0,0,0)*cf(-0.15,-0.1+0.15*i,-0.15-0.06*i)
  752. lblwldc2.C0=cf(0,0.2,0)*euler(0.05*i,0,-0.5*i)
  753. lblwldc4.C0=euler(0,0,-3.14+3.14*i)*cf(-0.1+0.1*i,-0.05+0.05*i,0)
  754. lblwldc1.C0=euler(0,0,0)*cf(-0.15,-0.1+0.15*i,-0.05-0.02*i)
  755. lblwldd2.C0=cf(0,0.2,0)*euler(-0.05*i,0,-0.35*i)
  756. lblwldd4.C0=euler(0,0,-3.14+3.14*i)*cf(-0.1+0.1*i,-0.05+0.05*i,0)
  757. lblwldd1.C0=euler(0,0,0)*cf(-0.15,-0.1+0.15*i,0.05+0.02*i)
  758. lblwlde2.C0=cf(0,0.2,0)*euler(-0.15*i,0,-0.1*i)
  759. lblwlde4.C0=euler(0,0,-3.14+3.14*i)*cf(-0.1+0.1*i,-0.05+0.05*i,0)
  760. lblwlde1.C0=euler(0,0,0)*cf(-0.15,-0.1+0.15*i,0.15+0.06*i)
  761. lblwldf2.C0=cf(0,0.2,0)*euler(-0.25*i,0,0)
  762. lblwldf4.C0=euler(0,0,-3.14+3.14*i)*cf(-0.1+0.1*i,-0.05+0.05*i,0)
  763. lblwldf1.C0=euler(0,0,0)*cf(-0.15,-0.1+0.15*i,0.25+0.1*i)
  764. end
  765. end))
  766. end
  767.  
  768. function CloseBlades()
  769. coroutine.resume(coroutine.create(function()
  770. BladesShwing(true,true)
  771. for i=0,1,0.1 do
  772. swait()
  773. blwlda2.C0=cf(0,0.2,0)*euler(0,0,0)
  774. blwlda4.C0=euler(0,0,-3.14*i)*cf(-0.1*i,-0.05*i,0)
  775. blwlda1.C0=euler(0,0,0)*cf(-0.15,0.05-0.15*i,-0.35+0.1*i)
  776. blwldb2.C0=cf(0,0.2,0)*euler(0,0,-0.3+0.3*i)
  777. blwldb4.C0=euler(0,0,-3.14*i)*cf(-0.1*i,-0.05*i,0)
  778. blwldb1.C0=euler(0,0,0)*cf(-0.15,0.05-0.15*i,-0.21+0.06*i)
  779. blwldc2.C0=cf(0,0.2,0)*euler(0,0,-0.6+0.6*i)
  780. blwldc4.C0=euler(0,0,-3.14*i)*cf(-0.1*i,-0.05*i,0)
  781. blwldc1.C0=euler(0,0,0)*cf(-0.15,0.05-0.15*i,-0.07+0.02*i)
  782. blwldd2.C0=cf(0,0.2,0)*euler(0,0,-0.4+0.4*i)
  783. blwldd4.C0=euler(0,0,-3.14*i)*cf(-0.1*i,-0.05*i,0)
  784. blwldd1.C0=euler(0,0,0)*cf(-0.15,0.05-0.15*i,0.07-0.02*i)
  785. blwlde2.C0=cf(0,0.2,0)*euler(0,0,-0.2+0.2*i)
  786. blwlde4.C0=euler(0,0,-3.14*i)*cf(-0.1*i,-0.05*i,0)
  787. blwlde1.C0=euler(0,0,0)*cf(-0.15,0.05-0.15*i,0.21-0.06*i)
  788. blwldf2.C0=cf(0,0.2,0)*euler(0,0,0)
  789. blwldf4.C0=euler(0,0,-3.14*i)*cf(-0.1*i,-0.05*i,0)
  790. blwldf1.C0=euler(0,0,0)*cf(-0.15,0.05-0.15*i,0.35-0.1*i)
  791. lblwlda2.C0=cf(0,0.2,0)*euler(0,0,0)
  792. lblwlda4.C0=euler(0,0,-3.14*i)*cf(-0.1*i,-0.05*i,0)
  793. lblwlda1.C0=euler(0,0,0)*cf(-0.15,0.05-0.15*i,-0.35+0.1*i)
  794. lblwldb2.C0=cf(0,0.2,0)*euler(0,0,-0.3+0.3*i)
  795. lblwldb4.C0=euler(0,0,-3.14*i)*cf(-0.1*i,-0.05*i,0)
  796. lblwldb1.C0=euler(0,0,0)*cf(-0.15,0.05-0.15*i,-0.21+0.06*i)
  797. lblwldc2.C0=cf(0,0.2,0)*euler(0,0,-0.6+0.6*i)
  798. lblwldc4.C0=euler(0,0,-3.14*i)*cf(-0.1*i,-0.05*i,0)
  799. lblwldc1.C0=euler(0,0,0)*cf(-0.15,0.05-0.15*i,-0.07+0.02*i)
  800. lblwldd2.C0=cf(0,0.2,0)*euler(0,0,-0.4+0.4*i)
  801. lblwldd4.C0=euler(0,0,-3.14*i)*cf(-0.1*i,-0.05*i,0)
  802. lblwldd1.C0=euler(0,0,0)*cf(-0.15,0.05-0.15*i,0.07-0.02*i)
  803. lblwlde2.C0=cf(0,0.2,0)*euler(0,0,-0.2+0.2*i)
  804. lblwlde4.C0=euler(0,0,-3.14*i)*cf(-0.1*i,-0.05*i,0)
  805. lblwlde1.C0=euler(0,0,0)*cf(-0.15,0.05-0.15*i,0.21-0.06*i)
  806. lblwldf2.C0=cf(0,0.2,0)*euler(0,0,0)
  807. lblwldf4.C0=euler(0,0,-3.14*i)*cf(-0.1*i,-0.05*i,0)
  808. lblwldf1.C0=euler(0,0,0)*cf(-0.15,0.05-0.15*i,0.35-0.1*i)
  809. end
  810. end))
  811. end
  812.  
  813. function attackone()
  814. attack=true
  815. for i=0,1,0.1 do
  816. swait()
  817. Torso.Neck.C0=necko*euler(0,0,0)
  818. RootJoint.C0=RootCF*euler(0,0,0)
  819. RW.C0=cf(1.5,0.5,0)*euler(0.4+2.8*i,-1+2*i,0)
  820. RW.C1=cf(0,0.5,0)*euler(-0.6+1.2*i,0,0)
  821. LW.C0=cf(-1.5,0.5,0)*euler(0.4-0.2*i,1,0)
  822. LW.C1=cf(0,0.5,0)*euler(-0.6,0,0)
  823. end
  824. BladesShwing(false,true)
  825. ConnectRight(10,20)
  826. StraightenRight()
  827. for i=0,1,0.2 do
  828. swait()
  829. Torso.Neck.C0=necko*euler(0,0,-0.5*i)
  830. RootJoint.C0=RootCF*euler(0,0,0.5*i)
  831. RW.C0=cf(1.5-0.5*i,0.5,-0.5*i)*euler(3.2-2.7*i,1+0.2*i,0)
  832. RW.C1=cf(0,0.5,0)*euler(0.6-1.3*i,0,0)
  833. LW.C0=cf(-1.5,0.5,0)*euler(0.2-0.4*i,1,0)
  834. LW.C1=cf(0,0.5,0)*euler(-0.6+0.3*i,0,0)
  835. end
  836. n=2
  837. for i=0,1,0.2 do
  838. swait()
  839. Torso.Neck.C0=necko*euler(0,0,-0.5-0.1*i*n)
  840. RootJoint.C0=RootCF*euler(0,0,0.5+0.1*i*n)
  841. RW.C0=cf(1,0.5,-0.5)*euler(0.5-0.1*i*n,1.2,0)
  842. RW.C1=cf(0,0.5,0)*euler(-0.7-0.1*i*n,0,0)
  843. LW.C0=cf(-1.5,0.5,0)*euler(-0.2,1,0)
  844. LW.C1=cf(0,0.5,0)*euler(-0.3,0,0)
  845. n=n-0.2
  846. end
  847. DisconnectRight()
  848. attack=false
  849. end
  850.  
  851. function attacktwo()
  852. attack=true
  853. UnStraightRight()
  854. for i=0,1,0.1 do
  855. swait()
  856. Torso.Neck.C0=necko*euler(0,0,-0.6)
  857. RootJoint.C0=RootCF*euler(0,0,0.6)
  858. RW.C0=cf(1+0.5*i,0.5,-0.5+0.5*i)*euler(0.4-0.6*i,1.2-1.6*i,0)
  859. RW.C1=cf(0,0.5,0)*euler(-0.8+0.8*i,0,0)
  860. LW.C0=cf(-1.5+0.5*i,0.5,-0.5*i)*euler(-0.2+1.77*i,1-1*i,0.8*i)
  861. LW.C1=cf(0,0.5,0)*euler(-0.3+0.3*i,0,0)
  862. end
  863. BladesShwing(true,false)
  864. ConnectLeft(10,20)
  865. for i=0,1,0.2 do
  866. swait()
  867. Torso.Neck.C0=necko*euler(0,0,-0.6+1.2*i)
  868. RootJoint.C0=RootCF*euler(0,0,0.6-1.2*i)
  869. RW.C0=cf(1.5,0.5,0)*euler(-0.4,-0.4,0)
  870. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  871. LW.C0=cf(-1,0.5,-0.5)*euler(1.57,0,0.8-0.4*i)
  872. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  873. end
  874. n=2
  875. for i=0,1,0.2 do
  876. swait()
  877. Torso.Neck.C0=necko*euler(0,0,0.6+0.2*i*n)
  878. RootJoint.C0=RootCF*euler(0,0,-0.6-0.2*i*n)
  879. RW.C0=cf(1.5,0.5,0)*euler(-0.4,-0.4,0)
  880. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  881. LW.C0=cf(-1,0.5,-0.5)*euler(1.57,0,0.4+0.2*i*n)
  882. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  883. n=n-0.2
  884. end
  885. DisconnectLeft()
  886. attack=false
  887. end
  888.  
  889. function attackthree()
  890. attack=true
  891. for i=0,1,0.1 do
  892. swait()
  893. Torso.Neck.C0=necko*euler(0,0,0.8-1*i)
  894. RootJoint.C0=RootCF*euler(0,0,-0.8+1*i)
  895. RW.C0=cf(1.5,0.5,0)*euler(-0.4,-0.4,0.5*i)
  896. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  897. LW.C0=cf(-1-0.5*i,0.5,-0.5+0.5*i)*euler(1.57-1.77*i,1.57*i,0.6-0.6*i)
  898. LW.C1=cf(0,0.5,0)*euler(-0.5*i,0,0)
  899. end
  900. BladesShwing(true,false)
  901. ConnectLeft(10,20)
  902. StraightenLeft()
  903. for i=0,1,0.2 do
  904. swait()
  905. Torso.Neck.C0=necko*euler(-0.2*i,0,-0.2+0.6*i)
  906. RootJoint.C0=RootCF*euler(0,0,0.2-0.6*i)
  907. RW.C0=cf(1.5,0.5,0)*euler(-0.4-0.2*i,-0.4,0.5)
  908. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  909. LW.C0=cf(-1.5+0.5*i,0.5+0.2*i,-0.5*i)*euler(-0.2+2.6*i,1.57,0)
  910. LW.C1=cf(0,0.5,0)*euler(-0.5+0.5*i,0,0)
  911. end
  912. n=2
  913. for i=0,1,0.2 do
  914. swait()
  915. Torso.Neck.C0=necko*euler(-0.2,0,0.4)
  916. RootJoint.C0=RootCF*euler(0,0,-0.4)
  917. RW.C0=cf(1.5,0.5,0)*euler(-0.6,-0.4,0.5)
  918. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  919. LW.C0=cf(-1,0.7,-0.5)*euler(2.4+0.2*i*n,1.57,0)
  920. LW.C1=cf(0,0.5,0)*euler(0.1*i*n,0,0)
  921. end
  922. DisconnectLeft()
  923. attack=false
  924. end
  925.  
  926. function attackfour()
  927. attack=true
  928. UnStraightLeft()
  929. for i=0,1,0.1 do
  930. swait()
  931. Torso.Neck.C0=necko*euler(-0.2+0.4*i,0,0.4-0.4*i)
  932. RootJoint.C0=RootCF*euler(0,0,-0.4+0.4*i)
  933. RW.C0=cf(1.5,0.5,0)*euler(-0.6+0.4*i,-0.4,0.5)
  934. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  935. LW.C0=cf(-1-0.5*i,0.7-0.2*i,-0.5+0.5*i)*euler(2.6-2.8*i,1.57-1.17*i,-0.5*i)
  936. LW.C1=cf(0,0.5,0)*euler(0.1-0.1*i,0,0)
  937. end
  938. BladesShwing(true,true)
  939. ConnectLeft(10,20)
  940. ConnectRight(10,20)
  941. StraightenLeft()
  942. StraightenRight()
  943. for i=0,1,0.2 do
  944. swait()
  945. Torso.Neck.C0=necko*euler(0.2-0.2*i,0,0)
  946. RW.C0=cf(1.5,0.5,0)*euler(-0.2+2.7*i,-0.4-1.17*i,0.5-0.5*i)
  947. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  948. LW.C0=cf(-1.5,0.5,0)*euler(-0.2+2.7*i,0.4+1.17*i,-0.5+0.5*i)
  949. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  950. end
  951. n=2
  952. for i=0,1,0.1 do
  953. swait()
  954. RW.C0=cf(1.5,0.5,0)*euler(2.5+0.6*i*n,-1.57+3.14*i*n,0)
  955. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  956. LW.C0=cf(-1.5,0.5,0)*euler(2.5+0.6*i*n,1.57-3.14*i*n,0)
  957. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  958. n=n-0.1
  959. end
  960. BladesShwing(true,true)
  961. for i=0,1,0.2 do
  962. swait()
  963. Torso.Neck.C0=necko*euler(0.2*i,0,0)
  964. RW.C0=cf(1.5,0.5,0)*euler(3.1-3.3*i,1.57,0)
  965. RW.C1=cf(0,0.5,0)*euler(0.2*i,0,0)
  966. LW.C0=cf(-1.5,0.5,0)*euler(3.1-3.3*i,-1.57,0)
  967. LW.C1=cf(0,0.5,0)*euler(0.2*i,0,0)
  968. end
  969. n=2
  970. for i=0,1,0.1 do
  971. swait()
  972. Torso.Neck.C0=necko*euler(0.2+0.1*i*n,0,0)
  973. RW.C0=cf(1.5,0.5,0)*euler(-0.2-0.1*i*n,1.57,0)
  974. RW.C1=cf(0,0.5,0)*euler(0.2+0.1*i*n,0,0)
  975. LW.C0=cf(-1.5,0.5,0)*euler(-0.2-0.1*i*n,-1.57,0)
  976. LW.C1=cf(0,0.5,0)*euler(0.2+0.1*i*n,0,0)
  977. n=n-0.1
  978. end
  979. DisconnectLeft()
  980. DisconnectRight()
  981. attack=false
  982. end
  983.  
  984. function BladeThrowL()
  985. attack=true
  986. StraightenLeft()
  987. for i=0,1,0.1 do
  988. swait()
  989. Torso.Neck.C0=necko*euler(0,0,-0.5*i)
  990. RootJoint.C0=RootCF*euler(0,0,0.5*i)
  991. RW.C0=cf(1.5,0.5,0)*euler(0.4-0.4*i,-1,0)
  992. RW.C1=cf(0,0.5,0)*euler(-0.6,0,0)
  993. LW.C0=cf(-1.5,0.5,0)*euler(0.4-0.6*i,1,0)
  994. LW.C1=cf(0,0.5,0)*euler(-0.6+0.2*i,0,0)
  995. end
  996. n=2
  997. for i=0,1,0.1 do
  998. swait()
  999. Torso.Neck.C0=necko*euler(0,0,-0.5-0.2*i*n)
  1000. RootJoint.C0=RootCF*euler(0,0,0.5+0.2*i*n)
  1001. RW.C0=cf(1.5,0.5,0)*euler(0,-1,0)
  1002. RW.C1=cf(0,0.5,0)*euler(-0.6,0,0)
  1003. LW.C0=cf(-1.5,0.5,0)*euler(-0.2-0.2*i*n,1,0)
  1004. LW.C1=cf(0,0.5,0)*euler(-0.4-0.2*i*n,0,0)
  1005. n=n-0.1
  1006. end
  1007. LaunchLeft()
  1008. for i=0,1,0.05 do
  1009. swait()
  1010. Torso.Neck.C0=necko*euler(0,0,-0.7+1.2*i)
  1011. RootJoint.C0=RootCF*euler(0,0,0.7-1.2*i)
  1012. RW.C0=cf(1.5,0.5,0)*euler(0,-1,0)
  1013. RW.C1=cf(0,0.5,0)*euler(-0.6,0,0)
  1014. LW.C0=cf(-1.5+0.5*i,0.5,-0.5*i)*euler(-0.4+2.9*i,1,0)
  1015. LW.C1=cf(0,0.5,0)*euler(-0.6+1.4*i,0,0)
  1016. end
  1017. swait(10)
  1018. UnStraightLeft()
  1019. for i=0,1,0.1 do
  1020. swait()
  1021. Torso.Neck.C0=necko*euler(0,0,0.5-0.5*i)
  1022. RootJoint.C0=RootCF*euler(0,0,-0.5+0.5*i)
  1023. RW.C0=cf(1.5,0.5,0)*euler(0.4*i,-1,0)
  1024. RW.C1=cf(0,0.5,0)*euler(-0.6,0,0)
  1025. LW.C0=cf(-1-0.5*i,0.5,-0.5+0.5*i)*euler(2.5-2.1*i,1,0)
  1026. LW.C1=cf(0,0.5,0)*euler(0.8-1.4*i,0,0)
  1027. end
  1028. attack=false
  1029. end
  1030.  
  1031. function ReturnBladesL()
  1032. attack=true
  1033. weldlblade1=false weldlblade2=false weldlblade3=false weldlblade4=false weldlblade5=false weldlblade6=false
  1034. for i=0,1,0.1 do
  1035. swait()
  1036. Torso.Neck.C0=necko*euler(0,0,0.5*i)
  1037. RootJoint.C0=RootCF*euler(0,0,-0.5*i)
  1038. RW.C0=cf(1.5,0.5,0)*euler(0.4-0.4*i,-1,0)
  1039. RW.C1=cf(0,0.5,0)*euler(-0.6,0,0)
  1040. LW.C0=cf(-1.5,0.5,0)*euler(0.4+1.17*i,1-2.57*i,0)
  1041. LW.C1=cf(0,0.5,0)*euler(-0.6+1.1*i,0,0)
  1042. end
  1043. thepart=nil
  1044. thepart2=nil
  1045. theweld=nil
  1046. bladeconec=nil
  1047. for i=1,6 do
  1048. if i==1 then thepart=lbladea5 thepart2=lbladea3 theweld=lblwlda4 bladeconec=con7
  1049. elseif i==2 then thepart=lbladeb5 thepart2=lbladeb3 theweld=lblwldb4 bladeconec=con8
  1050. elseif i==3 then thepart=lbladec5 thepart2=lbladec3 theweld=lblwldc4 bladeconec=con9
  1051. elseif i==4 then thepart=lbladed5 thepart2=lbladed3 theweld=lblwldd4 bladeconec=con10
  1052. elseif i==5 then thepart=lbladee5 thepart2=lbladee3 theweld=lblwlde4 bladeconec=con11
  1053. elseif i==6 then thepart=lbladef5 thepart2=lbladef3 theweld=lblwldf4 bladeconec=con12
  1054. end
  1055. for _,v in pairs(thepart:children()) do
  1056. if v.className=="Weld" then
  1057. v.Parent=nil
  1058. end
  1059. end
  1060. thepart.CanCollide=true
  1061. theweld.Part1=nil
  1062. theweld.Parent=lprt1
  1063. --Part1 should be lbladea3
  1064. --thepart.CFrame=thepart.CFrame
  1065. --[[prop=Instance.new("RocketPropulsion")
  1066. --prop.ThrustP=50
  1067. prop.MaxSpeed=500
  1068. --prop.MaxThrust=500
  1069. --prop.CartoonFactor=0
  1070. prop.Parent=thepart
  1071. prop.Target=thepart2
  1072. prop:Fire()]]
  1073. prop=Instance.new("BodyPosition")
  1074. prop.P=1000
  1075. prop.D=100
  1076. prop.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1077. prop.position=thepart2.Position
  1078. prop.Parent=thepart
  1079. coroutine.resume(coroutine.create(function(Part,Bod)
  1080. while Bod.Parent~=nil and holdq==true do
  1081. swait()
  1082. Bod.position=Part.Position
  1083. end
  1084. Bod.Parent=nil
  1085. end),thepart2,prop)
  1086. coroutine.resume(coroutine.create(function(Part1,Part2,Weld1,Connec,Num)
  1087. Connec=Part1.Touched:connect(function(hit)
  1088. if hit.Parent.Name==modelzorz2.Name then
  1089. tehweld=Weld1
  1090. tehweld.Part1=Part2
  1091. Part1.CanCollide=false
  1092. --[[if Part1:findFirstChild("RocketPropulsion")~=nil then
  1093. Part1.RocketPropulsion.Parent=nil
  1094. end]]
  1095. if Part1:findFirstChild("BodyPosition")~=nil then
  1096. Part1.BodyPosition.Parent=nil
  1097. end
  1098. so("rbxasset://sounds\\unsheath.wav",Part1,1,math.random(60,150)/100)
  1099. Connec:disconnect()
  1100. if Num==1 then weldlblade1=true
  1101. elseif Num==2 then weldlblade2=true
  1102. elseif Num==3 then weldlblade3=true
  1103. elseif Num==4 then weldlblade4=true
  1104. elseif Num==5 then weldlblade5=true
  1105. elseif Num==6 then weldlblade6=true
  1106. end
  1107. end
  1108. end)
  1109. end),thepart,thepart2,theweld,bladeconec,i)
  1110. end
  1111. while holdq==true do
  1112. swait()
  1113. end
  1114. thepart=nil
  1115. for i=1,6 do
  1116. if i==1 then thepart=lbladea5
  1117. elseif i==2 then thepart=lbladeb5
  1118. elseif i==3 then thepart=lbladec5
  1119. elseif i==4 then thepart=lbladed5
  1120. elseif i==5 then thepart=lbladee5
  1121. elseif i==6 then thepart=lbladef5
  1122. end
  1123. for _,v in pairs(thepart:children()) do
  1124. if v.className=="RocketPropulsion" then
  1125. v.Parent=nil
  1126. end
  1127. end
  1128. end
  1129. for i=0,1,0.1 do
  1130. swait()
  1131. Torso.Neck.C0=necko*euler(0,0,0.5-0.5*i)
  1132. RootJoint.C0=RootCF*euler(0,0,-0.5+0.5*i)
  1133. RW.C0=cf(1.5,0.5,0)*euler(0.4*i,-1,0)
  1134. RW.C1=cf(0,0.5,0)*euler(-0.6,0,0)
  1135. LW.C0=cf(-1.5,0.5,0)*euler(1.57-1.17*i,-1.57+2.57*i,0)
  1136. LW.C1=cf(0,0.5,0)*euler(0.5-1.1*i,0,0)
  1137. end
  1138. attack=false
  1139. end
  1140.  
  1141. function BladeThrowR()
  1142. attack=true
  1143. StraightenRight()
  1144. for i=0,1,0.1 do
  1145. swait()
  1146. Torso.Neck.C0=necko*euler(0,0,0.5*i)
  1147. RootJoint.C0=RootCF*euler(0,0,-0.5*i)
  1148. RW.C0=cf(1.5,0.5,0)*euler(0.4-0.6*i,-1,0)
  1149. RW.C1=cf(0,0.5,0)*euler(-0.6+0.2*i,0,0)
  1150. LW.C0=cf(-1.5,0.5,0)*euler(0.4-0.4*i,1,0)
  1151. LW.C1=cf(0,0.5,0)*euler(-0.6,0,0)
  1152. end
  1153. n=2
  1154. for i=0,1,0.1 do
  1155. swait()
  1156. Torso.Neck.C0=necko*euler(0,0,0.5+0.2*i*n)
  1157. RootJoint.C0=RootCF*euler(0,0,-0.5-0.2*i*n)
  1158. RW.C0=cf(1.5,0.5,0)*euler(-0.2-0.2*i*n,-1,0)
  1159. RW.C1=cf(0,0.5,0)*euler(-0.4-0.2*i*n,0,0)
  1160. LW.C0=cf(-1.5,0.5,0)*euler(0,1,0)
  1161. LW.C1=cf(0,0.5,0)*euler(-0.6,0,0)
  1162. n=n-0.1
  1163. end
  1164. LaunchRight()
  1165. for i=0,1,0.05 do
  1166. swait()
  1167. Torso.Neck.C0=necko*euler(0,0,0.7-1.2*i)
  1168. RootJoint.C0=RootCF*euler(0,0,-0.7+1.2*i)
  1169. RW.C0=cf(1.5-0.5*i,0.5,-0.5*i)*euler(-0.4+2.9*i,-1,0)
  1170. RW.C1=cf(0,0.5,0)*euler(-0.6+1.4*i,0,0)
  1171. LW.C0=cf(-1.5,0.5,0)*euler(0,1,0)
  1172. LW.C1=cf(0,0.5,0)*euler(-0.6,0,0)
  1173. end
  1174. swait(10)
  1175. UnStraightRight()
  1176. for i=0,1,0.1 do
  1177. swait()
  1178. Torso.Neck.C0=necko*euler(0,0,-0.5+0.5*i)
  1179. RootJoint.C0=RootCF*euler(0,0,0.5-0.5*i)
  1180. RW.C0=cf(1+0.5*i,0.5,-0.5*i)*euler(2.5-2.1*i,-1,0)
  1181. RW.C1=cf(0,0.5,0)*euler(0.8-1.4*i,0,0)
  1182. LW.C0=cf(-1.5,0.5,0)*euler(0.4*i,1,0)
  1183. LW.C1=cf(0,0.5,0)*euler(-0.6,0,0)
  1184. end
  1185. attack=false
  1186. end
  1187.  
  1188. function ReturnBladesR()
  1189. attack=true
  1190. weldrblade1=false weldrblade2=false weldrblade3=false weldrblade4=false weldrblade5=false weldrblade6=false
  1191. for i=0,1,0.1 do
  1192. swait()
  1193. Torso.Neck.C0=necko*euler(0,0,-0.5*i)
  1194. RootJoint.C0=RootCF*euler(0,0,0.5*i)
  1195. RW.C0=cf(1.5,0.5,0)*euler(0.4+1.17*i,-1+2.57*i,0)
  1196. RW.C1=cf(0,0.5,0)*euler(-0.6+1.1*i,0,0)
  1197. LW.C0=cf(-1.5,0.5,0)*euler(0.4-0.4*i,1,0)
  1198. LW.C1=cf(0,0.5,0)*euler(-0.6,0,0)
  1199. end
  1200. thepart=nil
  1201. thepart2=nil
  1202. theweld=nil
  1203. bladeconec=nil
  1204. for i=1,6 do
  1205. if i==1 then thepart=bladea5 thepart2=bladea3 theweld=blwlda4 bladeconec=con1
  1206. elseif i==2 then thepart=bladeb5 thepart2=bladeb3 theweld=blwldb4 bladeconec=con2
  1207. elseif i==3 then thepart=bladec5 thepart2=bladec3 theweld=blwldc4 bladeconec=con3
  1208. elseif i==4 then thepart=bladed5 thepart2=bladed3 theweld=blwldd4 bladeconec=con4
  1209. elseif i==5 then thepart=bladee5 thepart2=bladee3 theweld=blwlde4 bladeconec=con5
  1210. elseif i==6 then thepart=bladef5 thepart2=bladef3 theweld=blwldf4 bladeconec=con6
  1211. end
  1212. for _,v in pairs(thepart:children()) do
  1213. if v.className=="Weld" then
  1214. v.Parent=nil
  1215. end
  1216. end
  1217. thepart.CanCollide=true
  1218. theweld.Part1=nil
  1219. theweld.Parent=lprt1
  1220. --Part1 should be lbladea3
  1221. --thepart.CFrame=thepart.CFrame
  1222. prop=Instance.new("BodyPosition")
  1223. prop.P=1000
  1224. prop.D=100
  1225. prop.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1226. prop.position=thepart2.Position
  1227. prop.Parent=thepart
  1228. coroutine.resume(coroutine.create(function(Part,Bod)
  1229. while Bod.Parent~=nil and holde==true do
  1230. swait()
  1231. Bod.position=Part.Position
  1232. end
  1233. Bod.Parent=nil
  1234. end),thepart2,prop)
  1235. coroutine.resume(coroutine.create(function(Part1,Part2,Weld1,Connec,Num)
  1236. Connec=Part1.Touched:connect(function(hit)
  1237. if hit.Parent.Name==modelzorz.Name then
  1238. tehweld=Weld1
  1239. tehweld.Part1=Part2
  1240. Part1.CanCollide=false
  1241. if Part1:findFirstChild("BodyPosition")~=nil then
  1242. Part1.BodyPosition.Parent=nil
  1243. end
  1244. so("rbxasset://sounds\\unsheath.wav",Part1,1,math.random(60,150)/100)
  1245. Connec:disconnect()
  1246. if Num==1 then weldrblade1=true
  1247. elseif Num==2 then weldrblade2=true
  1248. elseif Num==3 then weldrblade3=true
  1249. elseif Num==4 then weldrblade4=true
  1250. elseif Num==5 then weldrblade5=true
  1251. elseif Num==6 then weldrblade6=true
  1252. end
  1253. end
  1254. end)
  1255. end),thepart,thepart2,theweld,bladeconec,i)
  1256. end
  1257. while holde==true do
  1258. swait()
  1259. end
  1260. thepart=nil
  1261. for i=1,6 do
  1262. if i==1 then thepart=bladea5
  1263. elseif i==2 then thepart=bladeb5
  1264. elseif i==3 then thepart=bladec5
  1265. elseif i==4 then thepart=bladed5
  1266. elseif i==5 then thepart=bladee5
  1267. elseif i==6 then thepart=bladef5
  1268. end
  1269. for _,v in pairs(thepart:children()) do
  1270. if v.className=="RocketPropulsion" then
  1271. v.Parent=nil
  1272. end
  1273. end
  1274. end
  1275. for i=0,1,0.1 do
  1276. swait()
  1277. Torso.Neck.C0=necko*euler(0,0,-0.5+0.5*i)
  1278. RootJoint.C0=RootCF*euler(0,0,0.5-0.5*i)
  1279. RW.C0=cf(1.5,0.5,0)*euler(1.57-1.17*i,1.57-2.57*i,0)
  1280. RW.C1=cf(0,0.5,0)*euler(0.5-1.1*i,0,0)
  1281. LW.C0=cf(-1.5,0.5,0)*euler(0.4*i,1,0)
  1282. LW.C1=cf(0,0.5,0)*euler(-0.6,0,0)
  1283. end
  1284. attack=false
  1285. end
  1286.  
  1287. function BoomerangThrow()
  1288. attack=true
  1289. Humanoid.WalkSpeed=0.1
  1290. StraightenRight()
  1291. StraightenLeft()
  1292. for i=0,1,0.1 do
  1293. swait()
  1294. Torso.Neck.C0=necko*euler(0,0,-0.5*i)
  1295. RootJoint.C0=RootCF*euler(0,0,0.5*i)
  1296. RW.C0=cf(1.5-0.5*i,0.5,-0.5*i)*euler(0.4+1.17*i,-1+1*i,-1*i)
  1297. RW.C1=cf(0,0.5,0)*euler(-0.6+1.2*i,0,0)
  1298. LW.C0=cf(-1.5,0.5,0)*euler(0.4+1.17*i,1-1*i,-1.57*i)
  1299. LW.C1=cf(0,0.5,0)*euler(-0.6+1.2*i,0,0)
  1300. end
  1301. while holdx==true do
  1302. swait()
  1303. BoomerangLeft()
  1304. for i=0,1,0.1 do
  1305. swait()
  1306. Torso.Neck.C0=necko*euler(0,0,-0.5+0.9*i)
  1307. RootJoint.C0=RootCF*euler(0,0,0.5-0.9*i)
  1308. RW.C0=cf(1+0.5*i,0.5,-0.5+0.5*i)*euler(1.57,0,-1+2.57*i)
  1309. RW.C1=cf(0,0.5,0)*euler(0.6-0.6*i,0,0)
  1310. LW.C0=cf(-1.5+0.5*i,0.5,-0.5*i)*euler(1.57,0,-1.57+2.57*i)
  1311. LW.C1=cf(0,0.5,0)*euler(0.6-1.2*i,0,0)
  1312. end
  1313. n=2
  1314. for i=0,1,0.2 do
  1315. swait()
  1316. Torso.Neck.C0=necko*euler(0,0,0.4+0.1*i*n)
  1317. RootJoint.C0=RootCF*euler(0,0,-0.4-0.1*i*n)
  1318. RW.C0=cf(1.5,0.5,0)*euler(1.57,0,1.57)
  1319. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  1320. LW.C0=cf(-1,0.5,-0.5)*euler(1.57,0,1+0.1*i*n)
  1321. LW.C1=cf(0,0.5,0)*euler(-0.6-0.1*i*n,0,0)
  1322. n=n-0.2
  1323. end
  1324. for i=0,1,0.1 do
  1325. swait()
  1326. RW.C0=cf(1.5,0.5,0)*euler(1.57,0,1.57)
  1327. RW.C1=cf(0,0.5,0)*euler(0.6*i,0,0)
  1328. LW.C0=cf(-1,0.5,-0.5)*euler(1.57,0,1.1-0.1*i)
  1329. LW.C1=cf(0,0.5,0)*euler(-0.7+1.3*i,0,0)
  1330. end
  1331. BoomerangRight()
  1332. for i=0,1,0.1 do
  1333. swait()
  1334. Torso.Neck.C0=necko*euler(0,0,0.5-0.9*i)
  1335. RootJoint.C0=RootCF*euler(0,0,-0.5+0.9*i)
  1336. RW.C0=cf(1.5-0.5*i,0.5,-0.5*i)*euler(1.57,0,1.57-2.57*i)
  1337. RW.C1=cf(0,0.5,0)*euler(0.6-1.2*i,0,0)
  1338. LW.C0=cf(-1-0.5*i,0.5,-0.5+0.5*i)*euler(1.57,0,1-2.57*i)
  1339. LW.C1=cf(0,0.5,0)*euler(0.6-0.6*i,0,0)
  1340. end
  1341. n=2
  1342. for i=0,1,0.2 do
  1343. swait()
  1344. Torso.Neck.C0=necko*euler(0,0,-0.4-0.1*i*n)
  1345. RootJoint.C0=RootCF*euler(0,0,0.4+0.1*i*n)
  1346. RW.C0=cf(1,0.5,-0.5)*euler(1.57,0,-1-0.1*i*n)
  1347. RW.C1=cf(0,0.5,0)*euler(-0.6-0.1*i*n,0,0)
  1348. LW.C0=cf(-1.5,0.5,0)*euler(1.57,0,-1.57)
  1349. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  1350. n=n-0.2
  1351. end
  1352. for i=0,1,0.1 do
  1353. swait()
  1354. RW.C0=cf(1,0.5,-0.5)*euler(1.57,0,-1.1+0.1*i)
  1355. RW.C1=cf(0,0.5,0)*euler(-0.7+1.3*i,0,0)
  1356. LW.C0=cf(-1.5,0.5,0)*euler(1.57,0,-1.57)
  1357. LW.C1=cf(0,0.5,0)*euler(0.6*i,0,0)
  1358. end
  1359. end
  1360. UnStraightRight()
  1361. UnStraightLeft()
  1362. for i=0,1,0.1 do
  1363. swait()
  1364. Torso.Neck.C0=necko*euler(0,0,-0.5+0.5*i)
  1365. RootJoint.C0=RootCF*euler(0,0,0.5-0.5*i)
  1366. RW.C0=cf(1+0.5*i,0.5,-0.5+0.5*i)*euler(1.57-1.17*i,-1*i,-1+1*i)
  1367. RW.C1=cf(0,0.5,0)*euler(0.6-1.2*i,0,0)
  1368. LW.C0=cf(-1.5,0.5,0)*euler(1.57-1.17*i,1*i,-1.57+1.57*i)
  1369. LW.C1=cf(0,0.5,0)*euler(0.6-1.2*i,0,0)
  1370. end
  1371. Humanoid.WalkSpeed=16
  1372. attack=false
  1373. end
  1374.  
  1375. function BladeStorm()
  1376. attack=true
  1377. for i=0,1,0.1 do
  1378. swait()
  1379. Torso.Neck.C0=necko*euler(0.2*i,0,0)
  1380. RootJoint.C0=RootCF*euler(0,0,0)
  1381. RW.C0=cf(1.5,0.5,0)*euler(0.4+1.17*i,-1+1*i,1.57*i)
  1382. RW.C1=cf(0,0.5,0)*euler(-0.6+0.6*i,0,0)
  1383. LW.C0=cf(-1.5,0.5,0)*euler(0.4+1.17*i,1-1*i,-1.57*i)
  1384. LW.C1=cf(0,0.5,0)*euler(-0.6+0.6*i,0,0)
  1385. end
  1386. n=2
  1387. for i=0,1,0.1 do
  1388. swait()
  1389. Torso.Neck.C0=necko*euler(0.2+0.1*i*n,0,0)
  1390. RootJoint.C0=RootCF*euler(0,0,0)
  1391. RW.C0=cf(1.5,0.5,0)*euler(1.57,0,1.57)
  1392. RW.C1=cf(0,0.5,0)*euler(0,0,-0.4*i*n)
  1393. LW.C0=cf(-1.5,0.5,0)*euler(1.57,0,-1.57)
  1394. LW.C1=cf(0,0.5,0)*euler(0,0,0.4*i*n)
  1395. n=n-0.1
  1396. end
  1397. CircleBlades()
  1398. for i=0,1,0.1 do
  1399. swait()
  1400. Torso.Neck.C0=necko*euler(0.3,0,0)
  1401. RootJoint.C0=RootCF*euler(0,0,0)
  1402. RW.C0=cf(1.5-0.5*i,0.5,-0.5*i)*euler(1.57-0.2*i,0,1.57)
  1403. RW.C1=cf(0,0.5,0)*euler(0,0,-0.4+3*i)
  1404. LW.C0=cf(-1.5+0.5*i,0.5,-0.5*i)*euler(1.57+0.2*i,0,-1.57)
  1405. LW.C1=cf(0,0.5,0)*euler(0,0,0.4-3*i)
  1406. end
  1407. n=2
  1408. for i=0,1,0.1 do
  1409. swait()
  1410. Torso.Neck.C0=necko*euler(0.3,0,0)
  1411. RootJoint.C0=RootCF*euler(0,0,0)
  1412. RW.C0=cf(1,0.5,-0.5)*euler(1.37,0,1.57)
  1413. RW.C1=cf(0,0.5,0)*euler(0,0,2.6+0.2*i*n)
  1414. LW.C0=cf(-1,0.5,-0.5)*euler(1.77,0,-1.57)
  1415. LW.C1=cf(0,0.5,0)*euler(0,0,-2.6-0.2*i*n)
  1416. n=n-0.1
  1417. end
  1418. for i=0,1,0.1 do
  1419. swait()
  1420. Torso.Neck.C0=necko*euler(0.3-0.3*i,0,0)
  1421. RootJoint.C0=RootCF*euler(0,0,0)
  1422. RW.C0=cf(1+0.5*i,0.5,-0.5+0.5*i)*euler(1.37-0.97*i,-1*i,1.57-1.57*i)
  1423. RW.C1=cf(0,0.5,0)*euler(-0.6*i,0,2.8-2.8*i)
  1424. LW.C0=cf(-1-0.5*i,0.5,-0.5+0.5*i)*euler(1.77-1.37*i,1*i,-1.57+1.57*i)
  1425. LW.C1=cf(0,0.5,0)*euler(-0.6*i,0,-2.8+2.8*i)
  1426. end
  1427. attack=false
  1428. end
  1429.  
  1430. function SnipeShot()
  1431. attack=true
  1432. Humanoid.WalkSpeed=0.1
  1433. StraightenLeft()
  1434. StraightenRight()
  1435. for i=0,1,0.1 do
  1436. swait()
  1437. RW.C0=cf(1.5,0.5,0)*euler(0.4+1.17*i,-1+2.57*i,0)
  1438. RW.C1=cf(0,0.5,0)*euler(-0.6+0.6*i,0,0)
  1439. LW.C0=cf(-1.5,0.5,0)*euler(0.4+1.17*i,1-2.57*i,0)
  1440. LW.C1=cf(0,0.5,0)*euler(-0.6+0.6*i,0,0)
  1441. end
  1442. SnipeLaunch()
  1443. while holdb==true do
  1444. swait()
  1445. end
  1446. UnStraightLeft()
  1447. UnStraightRight()
  1448. for i=0,1,0.1 do
  1449. swait()
  1450. RW.C0=cf(1.5,0.5,0)*euler(1.57-1.17*i,1.57-2.57*i,0)
  1451. RW.C1=cf(0,0.5,0)*euler(-0.6*i,0,0)
  1452. LW.C0=cf(-1.5,0.5,0)*euler(1.57-1.17*i,-1.57+2.57*i,0)
  1453. LW.C1=cf(0,0.5,0)*euler(-0.6*i,0,0)
  1454. end
  1455. Humanoid.WalkSpeed=16
  1456. attack=false
  1457. end
  1458.  
  1459. function StraightenRight()
  1460. coroutine.resume(coroutine.create(function()
  1461. for i=0,1,0.2 do
  1462. swait()
  1463. blwlda2.C0=cf(0,0.2,0)*euler(0.25-0.25*i,0,0)
  1464. blwldb2.C0=cf(0,0.2,0)*euler(0.15-0.15*i,0,-0.3+0.3*i)
  1465. blwldc2.C0=cf(0,0.2,0)*euler(0.05-0.05*i,0,-0.5+0.5*i)
  1466. blwldd2.C0=cf(0,0.2,0)*euler(-0.05+0.05*i,0,-0.35+0.35*i)
  1467. blwlde2.C0=cf(0,0.2,0)*euler(-0.15+0.15*i,0,-0.1+0.1*i)
  1468. blwldf2.C0=cf(0,0.2,0)*euler(-0.25+0.25*i,0,0)
  1469. end
  1470. end))
  1471. end
  1472.  
  1473. function UnStraightRight()
  1474. coroutine.resume(coroutine.create(function()
  1475. for i=0,1,0.2 do
  1476. swait()
  1477. blwlda2.C0=cf(0,0.2,0)*euler(0.25*i,0,0)
  1478. blwlda4.C0=euler(0,0,0)*cf(0,0,0)*euler(0,0,0)
  1479. blwlda1.C0=euler(0,0,0)*cf(-0.15,0.05,-0.35)
  1480. blwldb2.C0=cf(0,0.2,0)*euler(0.15*i,0,-0.3*i)
  1481. blwldc2.C0=cf(0,0.2,0)*euler(0.05*i,0,-0.5*i)
  1482. blwldd2.C0=cf(0,0.2,0)*euler(-0.05*i,0,-0.35*i)
  1483. blwlde2.C0=cf(0,0.2,0)*euler(-0.15*i,0,-0.1*i)
  1484. blwldf2.C0=cf(0,0.2,0)*euler(-0.25*i,0,0)
  1485. end
  1486. end))
  1487. end
  1488.  
  1489. function StraightenLeft()
  1490. coroutine.resume(coroutine.create(function()
  1491. for i=0,1,0.2 do
  1492. swait()
  1493. lblwlda2.C0=cf(0,0.2,0)*euler(0.25-0.25*i,0,0)
  1494. lblwldb2.C0=cf(0,0.2,0)*euler(0.15-0.15*i,0,-0.3+0.3*i)
  1495. lblwldc2.C0=cf(0,0.2,0)*euler(0.05-0.05*i,0,-0.5+0.5*i)
  1496. lblwldd2.C0=cf(0,0.2,0)*euler(-0.05+0.05*i,0,-0.35+0.35*i)
  1497. lblwlde2.C0=cf(0,0.2,0)*euler(-0.15+0.15*i,0,-0.1+0.1*i)
  1498. lblwldf2.C0=cf(0,0.2,0)*euler(-0.25+0.25*i,0,0)
  1499. end
  1500. end))
  1501. end
  1502.  
  1503. function UnStraightLeft()
  1504. coroutine.resume(coroutine.create(function()
  1505. for i=0,1,0.2 do
  1506. swait()
  1507. lblwlda2.C0=cf(0,0.2,0)*euler(0.25*i,0,0)
  1508. lblwldb2.C0=cf(0,0.2,0)*euler(0.15*i,0,-0.3*i)
  1509. lblwldc2.C0=cf(0,0.2,0)*euler(0.05*i,0,-0.5*i)
  1510. lblwldd2.C0=cf(0,0.2,0)*euler(-0.05*i,0,-0.35*i)
  1511. lblwlde2.C0=cf(0,0.2,0)*euler(-0.15*i,0,-0.1*i)
  1512. lblwldf2.C0=cf(0,0.2,0)*euler(-0.25*i,0,0)
  1513. end
  1514. end))
  1515. end
  1516.  
  1517. function BladesShwing(Left,Right)
  1518. ppart=nil
  1519. part2=nil
  1520. pit=0.6
  1521. for i=1,6 do
  1522. if i==1 then ppart=bladea5 part2=lbladea5 pit=math.random(60,160)/100
  1523. elseif i==2 then ppart=bladeb5 part2=lbladeb5 pit=math.random(60,160)/100
  1524. elseif i==3 then ppart=bladec5 part2=lbladec5 pit=math.random(60,160)/100
  1525. elseif i==4 then ppart=bladed5 part2=lbladed5 pit=math.random(60,160)/100
  1526. elseif i==5 then ppart=bladee5 part2=lbladee5 pit=math.random(60,160)/100
  1527. elseif i==6 then ppart=bladef5 part2=lbladef5 pit=math.random(60,160)/100
  1528. end
  1529. if Left==true then
  1530. so("http://www.roblox.com/Asset?ID=92597369",part2,1,pit)
  1531. end
  1532. if Right==true then
  1533. so("http://www.roblox.com/Asset?ID=92597369",ppart,1,pit)
  1534. end
  1535. end
  1536. end
  1537.  
  1538. function ConnectRight(minim,maxim)
  1539. con1=bladea5.Touched:connect(function(hit) Damagefunc(hit,minim,maxim,math.random(0,5),"Normal",RootPart,.1,1) end)
  1540. con2=bladeb5.Touched:connect(function(hit) Damagefunc(hit,minim,maxim,math.random(0,5),"Normal",RootPart,.1,1) end)
  1541. con3=bladec5.Touched:connect(function(hit) Damagefunc(hit,minim,maxim,math.random(0,5),"Normal",RootPart,.1,1) end)
  1542. con4=bladed5.Touched:connect(function(hit) Damagefunc(hit,minim,maxim,math.random(0,5),"Normal",RootPart,.1,1) end)
  1543. con5=bladee5.Touched:connect(function(hit) Damagefunc(hit,minim,maxim,math.random(0,5),"Normal",RootPart,.1,1) end)
  1544. con6=bladef5.Touched:connect(function(hit) Damagefunc(hit,minim,maxim,math.random(0,5),"Normal",RootPart,.1,1) end)
  1545. end
  1546.  
  1547. function DisconnectRight()
  1548. con1:disconnect()
  1549. con2:disconnect()
  1550. con3:disconnect()
  1551. con4:disconnect()
  1552. con5:disconnect()
  1553. con6:disconnect()
  1554. end
  1555.  
  1556. function ConnectLeft(minim,maxim)
  1557. con7=lbladea5.Touched:connect(function(hit) Damagefunc(hit,minim,maxim,math.random(0,5),"Normal",RootPart,.1,1) end)
  1558. con8=lbladeb5.Touched:connect(function(hit) Damagefunc(hit,minim,maxim,math.random(0,5),"Normal",RootPart,.1,1) end)
  1559. con9=lbladec5.Touched:connect(function(hit) Damagefunc(hit,minim,maxim,math.random(0,5),"Normal",RootPart,.1,1) end)
  1560. con10=lbladed5.Touched:connect(function(hit) Damagefunc(hit,minim,maxim,math.random(0,5),"Normal",RootPart,.1,1) end)
  1561. con11=lbladee5.Touched:connect(function(hit) Damagefunc(hit,minim,maxim,math.random(0,5),"Normal",RootPart,.1,1) end)
  1562. con12=lbladef5.Touched:connect(function(hit) Damagefunc(hit,minim,maxim,math.random(0,5),"Normal",RootPart,.1,1) end)
  1563. end
  1564.  
  1565. function DisconnectLeft()
  1566. con7:disconnect()
  1567. con8:disconnect()
  1568. con9:disconnect()
  1569. con10:disconnect()
  1570. con11:disconnect()
  1571. con12:disconnect()
  1572. end
  1573.  
  1574. Connec=nil
  1575. function LaunchLeft()
  1576. --weldlblade1=false weldlblade2=false weldlblade3=false
  1577. --weldlblade4=false weldlblade5=false weldlblade6=false
  1578. lbladea4.CanCollide=true
  1579. lbladeb4.CanCollide=true
  1580. lbladec4.CanCollide=true
  1581. lbladed4.CanCollide=true
  1582. lbladee4.CanCollide=true
  1583. lbladef4.CanCollide=true
  1584. coroutine.resume(coroutine.create(function()
  1585. thepart=nil
  1586. theweld=nil
  1587. for i=1,6 do
  1588. swait(3)
  1589. local TheHit=MMouse.Hit.p
  1590. spread=vt((math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7)*(Head.Position-MMouse.Hit.p).magnitude/100
  1591. local MouseLook=cf((Head.Position+TheHit)/2,TheHit+spread)
  1592. local hit,pos = rayCast(Head.Position,MouseLook.lookVector,999,Character)
  1593. target=nil
  1594. if hit~=nil and hit.Anchored==false then
  1595. target=hit
  1596. else
  1597. local ref=part(3,workspace,0,1,BrickColor.new("Black"),"Effect",vt())
  1598. ref.CFrame=cf(pos)
  1599. ref.Anchored=true
  1600. game:GetService("Debris"):AddItem(ref,1)
  1601. target=ref
  1602. end
  1603. prop=Instance.new("RocketPropulsion")
  1604. prop.ThrustP=50
  1605. prop.MaxSpeed=100
  1606. prop.MaxThrust=7000
  1607. prop.CartoonFactor=0
  1608. game:GetService("Debris"):AddItem(prop,.3)
  1609. if i==1 and weldlblade1==true then
  1610. weldlblade1=false
  1611. thepart=lbladea5
  1612. thepart.CanCollide=true
  1613. theweld=lblwlda4
  1614. elseif i==2 and weldlblade2==true then
  1615. weldlblade2=false
  1616. thepart=lbladeb5
  1617. thepart.CanCollide=true
  1618. theweld=lblwldb4
  1619. elseif i==3 and weldlblade3==true then
  1620. weldlblade3=false
  1621. thepart=lbladec5
  1622. thepart.CanCollide=true
  1623. theweld=lblwldc4
  1624. elseif i==4 and weldlblade4==true then
  1625. weldlblade4=false
  1626. thepart=lbladed5
  1627. thepart.CanCollide=true
  1628. theweld=lblwldd4
  1629. elseif i==5 and weldlblade5==true then
  1630. weldlblade5=false
  1631. thepart=lbladee5
  1632. thepart.CanCollide=true
  1633. theweld=lblwlde4
  1634. elseif i==6 and weldlblade6==true then
  1635. weldlblade6=false
  1636. thepart=lbladef5
  1637. thepart.CanCollide=true
  1638. theweld=lblwldf4
  1639. else
  1640. thepart=nil
  1641. end
  1642. if thepart~=nil then
  1643. so("rbxasset://sounds\\unsheath.wav",thepart,1,math.random(60,150)/100)
  1644. end
  1645. if thepart~=nil then
  1646. coroutine.resume(coroutine.create(function(Num,Part)
  1647. local Connec=nil
  1648. Connec=Part.Touched:connect(function(hit)
  1649. if hit.Name~=modelzorz2.Name and hit.Parent~=Character and hit.Parent.Parent~=Character then
  1650. blweld=Instance.new("Weld")
  1651. blweld.Part0=Part
  1652. blweld.Part1=hit
  1653. local HitPos=Part.Position+Part.CFrame.lookVector*0.75
  1654. local CJ=CFrame.new(HitPos)
  1655. local C0=Part.CFrame:inverse() * CJ
  1656. local C1=hit.CFrame:inverse() * CJ
  1657. blweld.C0=C0
  1658. blweld.C1=C1
  1659. blweld.Parent=Part
  1660. Damagefunc(hit,5,15,0,"Normal",RootPart,0,1)
  1661. Connec:disconnect()
  1662. --print(Part.." derp "..Connec)
  1663. end
  1664. end)
  1665. end),i,thepart)
  1666. thepart.CanCollide=true
  1667. theweld.Parent=nil
  1668. thepart.Velocity=Head.CFrame.lookVector*100
  1669. prop.Parent=thepart
  1670. prop.Target=target
  1671. prop:Fire()
  1672. end
  1673. end
  1674. end))
  1675. end
  1676.  
  1677. Connec=nil
  1678. function LaunchRight()
  1679. --weldlblade1=false weldlblade2=false weldlblade3=false
  1680. --weldlblade4=false weldlblade5=false weldlblade6=false
  1681. bladea4.CanCollide=true
  1682. bladeb4.CanCollide=true
  1683. bladec4.CanCollide=true
  1684. bladed4.CanCollide=true
  1685. bladee4.CanCollide=true
  1686. bladef4.CanCollide=true
  1687. coroutine.resume(coroutine.create(function()
  1688. thepart=nil
  1689. theweld=nil
  1690. for i=1,6 do
  1691. swait(3)
  1692. local TheHit=MMouse.Hit.p
  1693. spread=vt((math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7)*(Head.Position-MMouse.Hit.p).magnitude/100
  1694. local MouseLook=cf((Head.Position+TheHit)/2,TheHit+spread)
  1695. local hit,pos = rayCast(Head.Position,MouseLook.lookVector,999,Character)
  1696. target=nil
  1697. if hit~=nil and hit.Anchored==false then
  1698. target=hit
  1699. else
  1700. local ref=part(3,workspace,0,1,BrickColor.new("Black"),"Effect",vt())
  1701. ref.CFrame=cf(pos)
  1702. ref.Anchored=true
  1703. game:GetService("Debris"):AddItem(ref,1)
  1704. target=ref
  1705. end
  1706. prop=Instance.new("RocketPropulsion")
  1707. prop.ThrustP=50
  1708. prop.MaxSpeed=100
  1709. prop.MaxThrust=7000
  1710. prop.CartoonFactor=0
  1711. game:GetService("Debris"):AddItem(prop,.3)
  1712. if i==1 and weldrblade1==true then
  1713. weldrblade1=false
  1714. thepart=bladea5
  1715. thepart.CanCollide=true
  1716. theweld=blwlda4
  1717. elseif i==2 and weldrblade2==true then
  1718. weldrblade2=false
  1719. thepart=bladeb5
  1720. thepart.CanCollide=true
  1721. theweld=blwldb4
  1722. elseif i==3 and weldrblade3==true then
  1723. weldrblade3=false
  1724. thepart=bladec5
  1725. thepart.CanCollide=true
  1726. theweld=blwldc4
  1727. elseif i==4 and weldrblade4==true then
  1728. weldrblade4=false
  1729. thepart=bladed5
  1730. thepart.CanCollide=true
  1731. theweld=blwldd4
  1732. elseif i==5 and weldrblade5==true then
  1733. weldrblade5=false
  1734. thepart=bladee5
  1735. thepart.CanCollide=true
  1736. theweld=blwlde4
  1737. elseif i==6 and weldrblade6==true then
  1738. weldrblade6=false
  1739. thepart=bladef5
  1740. thepart.CanCollide=true
  1741. theweld=blwldf4
  1742. else
  1743. thepart=nil
  1744. end
  1745. if thepart~=nil then
  1746. so("rbxasset://sounds\\unsheath.wav",thepart,1,math.random(60,150)/100)
  1747. end
  1748. if thepart~=nil then
  1749. coroutine.resume(coroutine.create(function(Num,Part)
  1750. local Connec=nil
  1751. Connec=Part.Touched:connect(function(hit)
  1752. if hit.Name~=modelzorz2.Name and hit.Parent~=Character and hit.Parent.Parent~=Character then
  1753. blweld=Instance.new("Weld")
  1754. blweld.Part0=Part
  1755. blweld.Part1=hit
  1756. local HitPos=Part.Position+Part.CFrame.lookVector*0.75
  1757. local CJ=CFrame.new(HitPos)
  1758. local C0=Part.CFrame:inverse() * CJ
  1759. local C1=hit.CFrame:inverse() * CJ
  1760. blweld.C0=C0
  1761. blweld.C1=C1
  1762. blweld.Parent=Part
  1763. Damagefunc(hit,5,15,0,"Normal",RootPart,0,1)
  1764. Connec:disconnect()
  1765. --print(Part.." derp "..Connec)
  1766. end
  1767. end)
  1768. end),i,thepart)
  1769. thepart.CanCollide=true
  1770. theweld.Parent=nil
  1771. thepart.Velocity=Head.CFrame.lookVector*100
  1772. prop.Parent=thepart
  1773. prop.Target=target
  1774. prop:Fire()
  1775. end
  1776. end
  1777. end))
  1778. end
  1779.  
  1780. function BoomerangLeft()
  1781. --weldlblade1=false weldlblade2=false weldlblade3=false
  1782. --weldlblade4=false weldlblade5=false weldlblade6=false
  1783. lbladea4.CanCollide=true
  1784. lbladeb4.CanCollide=true
  1785. lbladec4.CanCollide=true
  1786. lbladed4.CanCollide=true
  1787. lbladee4.CanCollide=true
  1788. lbladef4.CanCollide=true
  1789. coroutine.resume(coroutine.create(function()
  1790. thepart=nil
  1791. thepart2=nil
  1792. theweld=nil
  1793. for i=1,6 do
  1794. swait(1)
  1795. local TheHit=MMouse.Hit.p
  1796. spread=vt((math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7)*(Head.Position-MMouse.Hit.p).magnitude/100
  1797. local MouseLook=cf((Head.Position+TheHit)/2,TheHit+spread)
  1798. local hit,pos = rayCast(Head.Position,MouseLook.lookVector,999,Character)
  1799. target=nil
  1800. if hit~=nil and hit.Anchored==false then
  1801. target=hit
  1802. else
  1803. local ref=part(3,workspace,0,1,BrickColor.new("Black"),"Effect",vt())
  1804. ref.CFrame=cf(pos)
  1805. ref.Anchored=true
  1806. game:GetService("Debris"):AddItem(ref,.5)
  1807. target=ref
  1808. end
  1809. prop=Instance.new("RocketPropulsion")
  1810. prop.ThrustP=50
  1811. prop.MaxSpeed=100
  1812. prop.MaxThrust=7000
  1813. prop.CartoonFactor=0
  1814. game:GetService("Debris"):AddItem(prop,.3)
  1815. if i==1 and weldlblade1==true then
  1816. weldlblade1=false
  1817. thepart=lbladea5
  1818. thepart2=lbladea3
  1819. thepart.CanCollide=true
  1820. theweld=lblwlda4
  1821. elseif i==2 and weldlblade2==true then
  1822. weldlblade2=false
  1823. thepart=lbladeb5
  1824. thepart2=lbladeb3
  1825. thepart.CanCollide=true
  1826. theweld=lblwldb4
  1827. elseif i==3 and weldlblade3==true then
  1828. weldlblade3=false
  1829. thepart=lbladec5
  1830. thepart2=lbladec3
  1831. thepart.CanCollide=true
  1832. theweld=lblwldc4
  1833. elseif i==4 and weldlblade4==true then
  1834. weldlblade4=false
  1835. thepart=lbladed5
  1836. thepart2=lbladed3
  1837. thepart.CanCollide=true
  1838. theweld=lblwldd4
  1839. elseif i==5 and weldlblade5==true then
  1840. weldlblade5=false
  1841. thepart=lbladee5
  1842. thepart2=lbladee3
  1843. thepart.CanCollide=true
  1844. theweld=lblwlde4
  1845. elseif i==6 and weldlblade6==true then
  1846. weldlblade6=false
  1847. thepart=lbladef5
  1848. thepart2=lbladef3
  1849. thepart.CanCollide=true
  1850. theweld=lblwldf4
  1851. else
  1852. thepart=nil
  1853. end
  1854. if thepart~=nil then
  1855. so("rbxasset://sounds\\unsheath.wav",thepart,.5,math.random(60,150)/100)
  1856. end
  1857. if thepart~=nil then
  1858. local TheMode=1
  1859. coroutine.resume(coroutine.create(function(Num,Part1,Part2,Weld1,Mode)
  1860. local Mode=1
  1861. local Connec
  1862. Connec=Part1.Touched:connect(function(hit)
  1863. if Mode==1 then
  1864. if hit.Name~=modelzorz2.Name and hit.Parent~=Character and hit.Parent.Parent~=Character then
  1865. Mode=2
  1866. Damagefunc(hit,5,15,0,"Normal",RootPart,0,1)
  1867. if Part1:findFirstChild("RocketPropulsion")~=nil then
  1868. Part1.RocketPropulsion.Parent=nil
  1869. end
  1870. prop=Instance.new("BodyPosition")
  1871. prop.P=1000
  1872. prop.D=100
  1873. prop.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1874. prop.position=Part1.Position
  1875. prop.Parent=Part1
  1876. coroutine.resume(coroutine.create(function(Part,Bod)
  1877. while Bod.Parent~=nil do
  1878. swait()
  1879. Bod.position=Part.Position
  1880. end
  1881. Bod.Parent=nil
  1882. end),Part2,prop)
  1883. --print(Part.." derp "..Connec)
  1884. end
  1885. elseif Mode==2 then
  1886. --Mode=3
  1887. if hit.Parent.Name==modelzorz2.Name then
  1888. tehweld=Weld1
  1889. tehweld.Parent=Part1
  1890. tehweld.Part1=Part2
  1891. Part1.CanCollide=false
  1892. if Part1:findFirstChild("BodyPosition")~=nil then
  1893. Part1.BodyPosition.Parent=nil
  1894. end
  1895. so("rbxasset://sounds\\unsheath.wav",Part1,.5,math.random(60,150)/100)
  1896. if Num==1 then weldlblade1=true
  1897. elseif Num==2 then weldlblade2=true
  1898. elseif Num==3 then weldlblade3=true
  1899. elseif Num==4 then weldlblade4=true
  1900. elseif Num==5 then weldlblade5=true
  1901. elseif Num==6 then weldlblade6=true
  1902. end
  1903. --print(Part.." derp "..Connec)
  1904. Connec:disconnect()
  1905. end
  1906. end
  1907. end)
  1908. end),i,thepart,thepart2,theweld,TheMode)
  1909. thepart.CanCollide=true
  1910. theweld.Parent=nil
  1911. thepart.Velocity=Head.CFrame.lookVector*100
  1912. prop.Parent=thepart
  1913. prop.Target=target
  1914. prop:Fire()
  1915. end
  1916. end
  1917. end))
  1918. end
  1919.  
  1920. function BoomerangRight()
  1921. bladea4.CanCollide=true
  1922. bladeb4.CanCollide=true
  1923. bladec4.CanCollide=true
  1924. bladed4.CanCollide=true
  1925. bladee4.CanCollide=true
  1926. bladef4.CanCollide=true
  1927. coroutine.resume(coroutine.create(function()
  1928. thepart=nil
  1929. thepart2=nil
  1930. theweld=nil
  1931. for i=1,6 do
  1932. swait(1)
  1933. local TheHit=MMouse.Hit.p
  1934. spread=vt((math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7)*(Head.Position-MMouse.Hit.p).magnitude/100
  1935. local MouseLook=cf((Head.Position+TheHit)/2,TheHit+spread)
  1936. local hit,pos = rayCast(Head.Position,MouseLook.lookVector,999,Character)
  1937. target=nil
  1938. if hit~=nil and hit.Anchored==false then
  1939. target=hit
  1940. else
  1941. local ref=part(3,workspace,0,1,BrickColor.new("Black"),"Effect",vt())
  1942. ref.CFrame=cf(pos)
  1943. ref.Anchored=true
  1944. game:GetService("Debris"):AddItem(ref,1)
  1945. target=ref
  1946. end
  1947. prop=Instance.new("RocketPropulsion")
  1948. prop.ThrustP=50
  1949. prop.MaxSpeed=100
  1950. prop.MaxThrust=7000
  1951. prop.CartoonFactor=0
  1952. game:GetService("Debris"):AddItem(prop,.3)
  1953. if i==1 and weldrblade1==true then
  1954. weldrblade1=false
  1955. thepart=bladea5
  1956. thepart2=bladea3
  1957. thepart.CanCollide=true
  1958. theweld=blwlda4
  1959. elseif i==2 and weldrblade2==true then
  1960. weldrblade2=false
  1961. thepart=bladeb5
  1962. thepart2=bladeb3
  1963. thepart.CanCollide=true
  1964. theweld=blwldb4
  1965. elseif i==3 and weldrblade3==true then
  1966. weldrblade3=false
  1967. thepart=bladec5
  1968. thepart2=bladec3
  1969. thepart.CanCollide=true
  1970. theweld=blwldc4
  1971. elseif i==4 and weldrblade4==true then
  1972. weldrblade4=false
  1973. thepart=bladed5
  1974. thepart2=bladed3
  1975. thepart.CanCollide=true
  1976. theweld=blwldd4
  1977. elseif i==5 and weldrblade5==true then
  1978. weldrblade5=false
  1979. thepart=bladee5
  1980. thepart2=bladee3
  1981. thepart.CanCollide=true
  1982. theweld=blwlde4
  1983. elseif i==6 and weldrblade6==true then
  1984. weldrblade6=false
  1985. thepart=bladef5
  1986. thepart2=bladef3
  1987. thepart.CanCollide=true
  1988. theweld=blwldf4
  1989. else
  1990. thepart=nil
  1991. end
  1992. if thepart~=nil then
  1993. so("rbxasset://sounds\\unsheath.wav",thepart,.5,math.random(60,150)/100)
  1994. end
  1995. if thepart~=nil then
  1996. local TheMode=1
  1997. coroutine.resume(coroutine.create(function(Num,Part1,Part2,Weld1,Mode)
  1998. local Mode=1
  1999. local Connec=nil
  2000. Connec=Part1.Touched:connect(function(hit)
  2001. if Mode==1 then
  2002. if hit.Name~=modelzorz.Name and hit.Parent~=Character and hit.Parent.Parent~=Character then
  2003. Mode=2
  2004. Damagefunc(hit,5,15,0,"Normal",RootPart,0,1)
  2005. if Part1:findFirstChild("RocketPropulsion")~=nil then
  2006. Part1.RocketPropulsion.Parent=nil
  2007. end
  2008. prop=Instance.new("BodyPosition")
  2009. prop.P=1000
  2010. prop.D=100
  2011. prop.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2012. prop.position=Part1.Position
  2013. prop.Parent=Part1
  2014. coroutine.resume(coroutine.create(function(Part,Bod)
  2015. while Bod.Parent~=nil do
  2016. swait()
  2017. Bod.position=Part.Position
  2018. end
  2019. Bod.Parent=nil
  2020. end),Part2,prop)
  2021. --print(Part.." derp "..Connec)
  2022. end
  2023. elseif Mode==2 then
  2024. --Mode=3
  2025. if hit.Parent.Name==modelzorz.Name then
  2026. tehweld=Weld1
  2027. tehweld.Parent=Part1
  2028. tehweld.Part1=Part2
  2029. Part1.CanCollide=false
  2030. if Part1:findFirstChild("BodyPosition")~=nil then
  2031. Part1.BodyPosition.Parent=nil
  2032. end
  2033. so("rbxasset://sounds\\unsheath.wav",Part1,.5,math.random(60,150)/100)
  2034. if Num==1 then weldrblade1=true
  2035. elseif Num==2 then weldrblade2=true
  2036. elseif Num==3 then weldrblade3=true
  2037. elseif Num==4 then weldrblade4=true
  2038. elseif Num==5 then weldrblade5=true
  2039. elseif Num==6 then weldrblade6=true
  2040. end
  2041. --print(Part.." derp "..Connec)
  2042. Connec:disconnect()
  2043. end
  2044. end
  2045. end)
  2046. end),i,thepart,thepart2,theweld,TheMode)
  2047. thepart.CanCollide=true
  2048. theweld.Parent=nil
  2049. thepart.Velocity=Head.CFrame.lookVector*100
  2050. prop.Parent=thepart
  2051. prop.Target=target
  2052. prop:Fire()
  2053. end
  2054. end
  2055. end))
  2056. end
  2057.  
  2058. function CircleBlades()
  2059. bladea4.CanCollide=false
  2060. bladeb4.CanCollide=false
  2061. bladec4.CanCollide=false
  2062. bladed4.CanCollide=false
  2063. bladee4.CanCollide=false
  2064. bladef4.CanCollide=false
  2065. lbladea4.CanCollide=false
  2066. lbladeb4.CanCollide=false
  2067. lbladec4.CanCollide=false
  2068. lbladed4.CanCollide=false
  2069. lbladee4.CanCollide=false
  2070. lbladef4.CanCollide=false
  2071. coroutine.resume(coroutine.create(function()
  2072. thepart=nil
  2073. theweld=nil
  2074. for i=1,12 do
  2075. swait()
  2076. local TheHit=MMouse.Hit.p
  2077. spread=vt((math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7)*(Head.Position-MMouse.Hit.p).magnitude/100
  2078. local MouseLook=cf((Head.Position+TheHit)/2,TheHit+spread)
  2079. local hit,pos = rayCast(Head.Position,MouseLook.lookVector,999,Character)
  2080. target=nil
  2081. if hit~=nil and hit.Anchored==false then
  2082. target=hit
  2083. else
  2084. local ref=part(3,workspace,0,1,BrickColor.new("Black"),"Effect",vt())
  2085. ref.CFrame=cf(pos)
  2086. ref.Anchored=true
  2087. game:GetService("Debris"):AddItem(ref,1)
  2088. target=ref
  2089. end
  2090. prop=Instance.new("RocketPropulsion")
  2091. prop.ThrustP=50
  2092. prop.MaxSpeed=100
  2093. prop.MaxThrust=7000
  2094. prop.CartoonFactor=0
  2095. if i==1 and weldrblade1==true then
  2096. weldrblade1=false
  2097. thepart=bladea5
  2098. theweld=blwlda4
  2099. elseif i==2 and weldrblade2==true then
  2100. weldrblade2=false
  2101. thepart=bladeb5
  2102. theweld=blwldb4
  2103. elseif i==3 and weldrblade3==true then
  2104. weldrblade3=false
  2105. thepart=bladec5
  2106. theweld=blwldc4
  2107. elseif i==4 and weldrblade4==true then
  2108. weldrblade4=false
  2109. thepart=bladed5
  2110. theweld=blwldd4
  2111. elseif i==5 and weldrblade5==true then
  2112. weldrblade5=false
  2113. thepart=bladee5
  2114. theweld=blwlde4
  2115. elseif i==6 and weldrblade6==true then
  2116. weldrblade6=false
  2117. thepart=bladef5
  2118. theweld=blwldf4
  2119. elseif i==7 and weldlblade1==true then
  2120. weldlblade1=false
  2121. thepart=lbladea5
  2122. theweld=lblwlda4
  2123. elseif i==8 and weldlblade2==true then
  2124. weldlblade2=false
  2125. thepart=lbladeb5
  2126. theweld=lblwldb4
  2127. elseif i==9 and weldlblade3==true then
  2128. weldlblade3=false
  2129. thepart=lbladec5
  2130. theweld=lblwldc4
  2131. elseif i==10 and weldlblade4==true then
  2132. weldlblade4=false
  2133. thepart=lbladed5
  2134. theweld=lblwldd4
  2135. elseif i==11 and weldlblade5==true then
  2136. weldlblade5=false
  2137. thepart=lbladee5
  2138. theweld=lblwlde4
  2139. elseif i==12 and weldlblade6==true then
  2140. weldlblade6=false
  2141. thepart=lbladef5
  2142. theweld=lblwldf4
  2143. else
  2144. thepart=nil
  2145. end
  2146. if thepart~=nil then
  2147. thepart.CanCollide=false
  2148. so("rbxasset://sounds\\unsheath.wav",thepart,1,math.random(60,150)/100)
  2149. end
  2150. if thepart~=nil then
  2151. coroutine.resume(coroutine.create(function(Num,Part)
  2152. local Connec=nil
  2153. Connec=Part.Touched:connect(function(hit)
  2154. if hit.Name~=modelzorz2.Name and hit.Parent~=Character and hit.Parent.Parent~=Character then
  2155. if Num==1 and weldrblade1==true then
  2156. Connec:disconnect()
  2157. elseif Num==2 and weldrblade2==true then
  2158. Connec:disconnect()
  2159. elseif Num==3 and weldrblade3==true then
  2160. Connec:disconnect()
  2161. elseif Num==4 and weldrblade4==true then
  2162. Connec:disconnect()
  2163. elseif Num==5 and weldrblade5==true then
  2164. Connec:disconnect()
  2165. elseif Num==6 and weldrblade6==true then
  2166. Connec:disconnect()
  2167. elseif Num==7 and weldlblade1==true then
  2168. Connec:disconnect()
  2169. elseif Num==8 and weldlblade2==true then
  2170. Connec:disconnect()
  2171. elseif Num==9 and weldlblade3==true then
  2172. Connec:disconnect()
  2173. elseif Num==10 and weldlblade4==true then
  2174. Connec:disconnect()
  2175. elseif Num==11 and weldlblade5==true then
  2176. Connec:disconnect()
  2177. elseif Num==12 and weldlblade6==true then
  2178. Connec:disconnect()
  2179. end
  2180. so("rbxasset://sounds\\unsheath.wav",thepart,.3,math.random(60,150)/100)
  2181. Damagefunc(hit,5,15,0,"Normal",RootPart,.5,1)
  2182. end
  2183. end)
  2184. end),i,thepart)
  2185. thepart.CanCollide=true
  2186. theweld.Parent=nil
  2187. --thepart.Velocity=Head.CFrame.lookVector*100
  2188. thepart.Velocity=vt(math.random(-100,100)/100,math.random(-100,100)/100,math.random(-100,100)/100)*100
  2189. prop.Parent=thepart
  2190. prop.Target=RootPart
  2191. prop:Fire()
  2192. coroutine.resume(coroutine.create(function(Num,Prop)
  2193. if Num==1 then
  2194. while weldrblade1==false do
  2195. swait()
  2196. end
  2197. Prop.Parent=nil
  2198. elseif Num==2 then
  2199. while weldrblade2==false do
  2200. swait()
  2201. end
  2202. Prop.Parent=nil
  2203. elseif Num==3 then
  2204. while weldrblade3==false do
  2205. swait()
  2206. end
  2207. Prop.Parent=nil
  2208. elseif Num==4 then
  2209. while weldrblade4==false do
  2210. swait()
  2211. end
  2212. Prop.Parent=nil
  2213. elseif Num==5 then
  2214. while weldrblade5==false do
  2215. swait()
  2216. end
  2217. Prop.Parent=nil
  2218. elseif Num==6 then
  2219. while weldrblade6==false do
  2220. swait()
  2221. end
  2222. Prop.Parent=nil
  2223. elseif Num==7 then
  2224. while weldlblade1==false do
  2225. swait()
  2226. end
  2227. Prop.Parent=nil
  2228. elseif Num==8 then
  2229. while weldlblade2==false do
  2230. swait()
  2231. end
  2232. Prop.Parent=nil
  2233. elseif Num==9 then
  2234. while weldlblade3==false do
  2235. swait()
  2236. end
  2237. Prop.Parent=nil
  2238. elseif Num==10 then
  2239. while weldlblade4==false do
  2240. swait()
  2241. end
  2242. Prop.Parent=nil
  2243. elseif Num==11 then
  2244. while weldlblade5==false do
  2245. swait()
  2246. end
  2247. Prop.Parent=nil
  2248. elseif Num==12 then
  2249. while weldlblade6==false do
  2250. swait()
  2251. end
  2252. Prop.Parent=nil
  2253. end
  2254. end),i,prop)
  2255. end
  2256. end
  2257. end))
  2258. end
  2259.  
  2260. function SnipeLaunch()
  2261. coroutine.resume(coroutine.create(function()
  2262. thepart=nil
  2263. theweld=nil
  2264. for i=1,12 do
  2265. if holdb==true then
  2266. local TheHit=MMouse.Hit.p
  2267. spread=vt((math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7)*(Head.Position-MMouse.Hit.p).magnitude/100
  2268. local MouseLook=cf((Head.Position+TheHit)/2,TheHit)
  2269. local hit,pos = rayCast(Head.Position,MouseLook.lookVector,999,Character)
  2270. target=nil
  2271. if hit~=nil and hit.Anchored==false then
  2272. target=hit
  2273. else
  2274. local ref=part(3,workspace,0,1,BrickColor.new("Black"),"Effect",vt())
  2275. ref.CFrame=cf(pos)
  2276. ref.Anchored=true
  2277. game:GetService("Debris"):AddItem(ref,1)
  2278. target=ref
  2279. end
  2280. prop=Instance.new("RocketPropulsion")
  2281. prop.ThrustP=50
  2282. prop.MaxSpeed=100
  2283. prop.MaxThrust=7000
  2284. prop.CartoonFactor=0
  2285. game:GetService("Debris"):AddItem(prop,1)
  2286. if i==1 and weldrblade1==true then
  2287. weldrblade1=false
  2288. thepart=bladea5
  2289. theweld=blwlda4
  2290. elseif i==2 and weldrblade2==true then
  2291. weldrblade2=false
  2292. thepart=bladeb5
  2293. theweld=blwldb4
  2294. elseif i==3 and weldrblade3==true then
  2295. weldrblade3=false
  2296. thepart=bladec5
  2297. theweld=blwldc4
  2298. elseif i==4 and weldrblade4==true then
  2299. weldrblade4=false
  2300. thepart=bladed5
  2301. theweld=blwldd4
  2302. elseif i==5 and weldrblade5==true then
  2303. weldrblade5=false
  2304. thepart=bladee5
  2305. theweld=blwlde4
  2306. elseif i==6 and weldrblade6==true then
  2307. weldrblade6=false
  2308. thepart=bladef5
  2309. theweld=blwldf4
  2310. elseif i==7 and weldlblade1==true then
  2311. weldlblade1=false
  2312. thepart=lbladea5
  2313. theweld=lblwlda4
  2314. elseif i==8 and weldlblade2==true then
  2315. weldlblade2=false
  2316. thepart=lbladeb5
  2317. theweld=lblwldb4
  2318. elseif i==9 and weldlblade3==true then
  2319. weldlblade3=false
  2320. thepart=lbladec5
  2321. theweld=lblwldc4
  2322. elseif i==10 and weldlblade4==true then
  2323. weldlblade4=false
  2324. thepart=lbladed5
  2325. theweld=lblwldd4
  2326. elseif i==11 and weldlblade5==true then
  2327. weldlblade5=false
  2328. thepart=lbladee5
  2329. theweld=lblwlde4
  2330. elseif i==12 and weldlblade6==true then
  2331. weldlblade6=false
  2332. thepart=lbladef5
  2333. theweld=lblwldf4
  2334. else
  2335. thepart=nil
  2336. end
  2337. if thepart~=nil then
  2338. so("rbxasset://sounds\\unsheath.wav",thepart,1,math.random(60,150)/100)
  2339. end
  2340. if thepart~=nil then
  2341. coroutine.resume(coroutine.create(function(Num,Part,Prop)
  2342. local Connec=nil
  2343. Connec=Part.Touched:connect(function(hit)
  2344. if hit.Name~=modelzorz2.Name and hit.Parent~=Character and hit.Parent.Parent~=Character then
  2345. Prop.Parent=nil
  2346. blweld=Instance.new("Weld")
  2347. blweld.Part0=Part
  2348. blweld.Part1=hit
  2349. local HitPos=Part.Position+Part.CFrame.lookVector*0.75
  2350. local CJ=CFrame.new(HitPos)
  2351. local C0=Part.CFrame:inverse() * CJ
  2352. local C1=hit.CFrame:inverse() * CJ
  2353. blweld.C0=C0
  2354. blweld.C1=C1
  2355. blweld.Parent=Part
  2356. Damagefunc(hit,5,15,0,"Normal",RootPart,0,1)
  2357. Connec:disconnect()
  2358. --print(Part.." derp "..Connec)
  2359. end
  2360. end)
  2361. end),i,thepart,prop)
  2362. thepart.CanCollide=true
  2363. theweld.Parent=nil
  2364. thepart.Velocity=Head.CFrame.lookVector*200
  2365. prop.Parent=thepart
  2366. prop.Target=target
  2367. prop:Fire()
  2368. swait(10)
  2369. end
  2370. end
  2371. end
  2372. end))
  2373. end
  2374.  
  2375. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2376. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2377. end
  2378.  
  2379. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType)
  2380. if hit.Parent==nil then
  2381. return
  2382. end
  2383. h=hit.Parent:FindFirstChild("Humanoid")
  2384. for _,v in pairs(hit.Parent:children()) do
  2385. if v:IsA("Humanoid") then
  2386. h=v
  2387. end
  2388. end
  2389. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  2390. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  2391. end
  2392. if hit.Parent.className=="Hat" then
  2393. hit=hit.Parent.Parent:findFirstChild("Head")
  2394. end
  2395. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  2396. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  2397. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  2398. return
  2399. end]]
  2400. -- hs(hit,1.2)
  2401. c=Instance.new("ObjectValue")
  2402. c.Name="creator"
  2403. c.Value=game:service("Players").LocalPlayer
  2404. c.Parent=h
  2405. game:GetService("Debris"):AddItem(c,.5)
  2406. Damage=math.random(minim,maxim)
  2407. -- h:TakeDamage(Damage)
  2408. blocked=false
  2409. block=hit.Parent:findFirstChild("Block")
  2410. if block~=nil then
  2411. if block.className=="NumberValue" then
  2412. if block.Value>0 then
  2413. blocked=true
  2414. block.Value=block.Value-1
  2415. end
  2416. end
  2417. if block.className=="IntValue" then
  2418. if block.Value>0 then
  2419. blocked=true
  2420. block.Value=block.Value-1
  2421. end
  2422. end
  2423. end
  2424. if blocked==false then
  2425. -- h:TakeDamage(Damage)
  2426. h.Health=h.Health-Damage
  2427. showDamage(hit.Parent,Damage,.5,BrickColor:Red())
  2428. else
  2429. h.Health=h.Health-(Damage/2)
  2430. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  2431. end
  2432. if Type=="Knockdown" then
  2433. hum=hit.Parent.Humanoid
  2434. hum.PlatformStand=true
  2435. coroutine.resume(coroutine.create(function(HHumanoid)
  2436. swait(1)
  2437. HHumanoid.PlatformStand=false
  2438. end),hum)
  2439. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  2440. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  2441. local bodvol=Instance.new("BodyVelocity")
  2442. bodvol.velocity=angle*knockback
  2443. bodvol.P=5000
  2444. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  2445. bodvol.Parent=hit
  2446. rl=Instance.new("BodyAngularVelocity")
  2447. rl.P=3000
  2448. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  2449. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2450. rl.Parent=hit
  2451. game:GetService("Debris"):AddItem(bodvol,.5)
  2452. game:GetService("Debris"):AddItem(rl,.5)
  2453. elseif Type=="Normal" then
  2454. vp=Instance.new("BodyVelocity")
  2455. vp.P=500
  2456. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  2457. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  2458. if KnockbackType==1 then
  2459. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  2460. elseif KnockbackType==2 then
  2461. vp.velocity=Property.CFrame.lookVector*knockback
  2462. end
  2463. if knockback>0 then
  2464. vp.Parent=hit.Parent.Torso
  2465. end
  2466. game:GetService("Debris"):AddItem(vp,.5)
  2467. elseif Type=="Up" then
  2468. local bodyVelocity=Instance.new("BodyVelocity")
  2469. bodyVelocity.velocity=vt(0,60,0)
  2470. bodyVelocity.P=5000
  2471. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  2472. bodyVelocity.Parent=hit
  2473. game:GetService("Debris"):AddItem(bodyVelocity,1)
  2474. rl=Instance.new("BodyAngularVelocity")
  2475. rl.P=3000
  2476. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  2477. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  2478. rl.Parent=hit
  2479. game:GetService("Debris"):AddItem(rl,.5)
  2480. elseif Type=="Snare" then
  2481. bp=Instance.new("BodyPosition")
  2482. bp.P=2000
  2483. bp.D=100
  2484. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2485. bp.position=hit.Parent.Torso.Position
  2486. bp.Parent=hit.Parent.Torso
  2487. game:GetService("Debris"):AddItem(bp,1)
  2488. end
  2489. debounce=Instance.new("BoolValue")
  2490. debounce.Name="DebounceHit"
  2491. debounce.Parent=hit.Parent
  2492. debounce.Value=true
  2493. game:GetService("Debris"):AddItem(debounce,Delay)
  2494. c=Instance.new("ObjectValue")
  2495. c.Name="creator"
  2496. c.Value=Player
  2497. c.Parent=h
  2498. game:GetService("Debris"):AddItem(c,.5)
  2499. CRIT=false
  2500. hitDeb=true
  2501. AttackPos=6
  2502. end
  2503. end
  2504.  
  2505. showDamage=function(Char,Dealt,du,Color)
  2506. m=Instance.new("Model")
  2507. m.Name=tostring(Dealt)
  2508. h=Instance.new("Humanoid")
  2509. h.Health=0
  2510. h.MaxHealth=0
  2511. h.Parent=m
  2512. c=Instance.new("Part")
  2513. c.Transparency=0
  2514. c.BrickColor=Color
  2515. c.Name="Head"
  2516. c.TopSurface=0
  2517. c.BottomSurface=0
  2518. c.formFactor="Plate"
  2519. c.Size=Vector3.new(1,.4,1)
  2520. ms=Instance.new("CylinderMesh")
  2521. ms.Scale=Vector3.new(.8,.8,.8)
  2522. if CRIT==true then
  2523. ms.Scale=Vector3.new(1,1.25,1)
  2524. end
  2525. ms.Parent=c
  2526. c.Reflectance=0
  2527. Instance.new("BodyGyro").Parent=c
  2528. c.Parent=m
  2529. if Char:findFirstChild("Head")~=nil then
  2530. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  2531. elseif Char.Parent:findFirstChild("Head")~=nil then
  2532. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  2533. end
  2534. f=Instance.new("BodyPosition")
  2535. f.P=2000
  2536. f.D=100
  2537. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2538. f.position=c.Position+Vector3.new(0,3,0)
  2539. f.Parent=c
  2540. game:GetService("Debris"):AddItem(m,.5+du)
  2541. c.CanCollide=false
  2542. m.Parent=workspace
  2543. c.CanCollide=false
  2544. end
  2545.  
  2546. combo=0
  2547. function ob1d(mouse)
  2548. if attack==true then return end
  2549. if equipped==false then return end
  2550. hold=true
  2551. if combo==0 then
  2552. combo=1
  2553. attackone()
  2554. elseif combo==1 then
  2555. combo=2
  2556. attacktwo()
  2557. elseif combo==2 then
  2558. combo=3
  2559. attackthree()
  2560. elseif combo==3 then
  2561. combo=4
  2562. attackfour()
  2563. end
  2564. coroutine.resume(coroutine.create(function()
  2565. for i=1,40 do
  2566. if attack==false then
  2567. swait()
  2568. end
  2569. end
  2570. if attack==false then
  2571. combo=0
  2572. Stance()
  2573. UnStraightRight()
  2574. UnStraightLeft()
  2575. end
  2576. end))
  2577. end
  2578.  
  2579. function ob1u(mouse)
  2580. hold = false
  2581. end
  2582.  
  2583. buttonhold = false
  2584.  
  2585. equipped=false
  2586. holdq=false
  2587. holde=false
  2588. holdx=false
  2589. holdb=false
  2590. function key(key)
  2591. if key=="q" then
  2592. holdq=true
  2593. end
  2594. if key=="e" then
  2595. holde=true
  2596. end
  2597. if key=="x" then
  2598. holdx=true
  2599. end
  2600. if key=="b" then
  2601. holdb=true
  2602. end
  2603. if attack==true then return end
  2604. attack=true
  2605. --[[if key=="f" then
  2606. if equipped==false then
  2607. equipped=true
  2608. RSH=ch.Torso["Right Shoulder"]
  2609. LSH=ch.Torso["Left Shoulder"]
  2610. --
  2611. RSH.Parent=nil
  2612. LSH.Parent=nil
  2613. --
  2614. RW.Name="Right Shoulder"
  2615. RW.Part0=ch.Torso
  2616. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  2617. RW.C1=cf(0, 0.5, 0)
  2618. RW.Part1=ch["Right Arm"]
  2619. RW.Parent=ch.Torso
  2620. --
  2621. LW.Name="Left Shoulder"
  2622. LW.Part0=ch.Torso
  2623. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  2624. LW.C1=cf(0, 0.5, 0)
  2625. LW.Part1=ch["Left Arm"]
  2626. LW.Parent=ch.Torso
  2627. --
  2628. equipanim()
  2629. else
  2630. equipped=false
  2631. hideanim()
  2632. swait(0)
  2633. RW.Parent=nil
  2634. LW.Parent=nil
  2635. RSH.Parent=player.Character.Torso
  2636. LSH.Parent=player.Character.Torso
  2637. end
  2638. end]]--
  2639. attack=false
  2640. if equipped==false then return end
  2641. if key=="q" then
  2642. ReturnBladesL()
  2643. end
  2644. if key=="e" then
  2645. ReturnBladesR()
  2646. end
  2647. if key=="z" then
  2648. BladeThrowL()
  2649. end
  2650. if key=="c" then
  2651. BladeThrowR()
  2652. end
  2653. if key=="x" then
  2654. BoomerangThrow()
  2655. end
  2656. if key=="v" then
  2657. BladeStorm()
  2658. end
  2659. if key=="b" then
  2660. SnipeShot()
  2661. end
  2662. end
  2663.  
  2664. function key2(key)
  2665. if key=="q" then
  2666. holdq=false
  2667. end
  2668. if key=="e" then
  2669. holde=false
  2670. end
  2671. if key=="x" then
  2672. holdx=false
  2673. end
  2674. if key=="b" then
  2675. holdb=false
  2676. end
  2677. end
  2678.  
  2679. function s(mouse)
  2680. mouse.Button1Down:connect(function() ob1d(mouse) end)
  2681. mouse.Button1Up:connect(function() ob1u(mouse) end)
  2682. mouse.KeyDown:connect(key)
  2683. mouse.KeyUp:connect(key2)
  2684. player=Player
  2685. ch=Character
  2686. MMouse=mouse
  2687. RSH=ch.Torso["Right Shoulder"]
  2688. LSH=ch.Torso["Left Shoulder"]
  2689. --
  2690. RSH.Parent=nil
  2691. LSH.Parent=nil
  2692. --
  2693. RW.Name="Right Shoulder"
  2694. RW.Part0=ch.Torso
  2695. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  2696. RW.C1=cf(0, 0.5, 0)
  2697. RW.Part1=ch["Right Arm"]
  2698. RW.Parent=ch.Torso
  2699. --
  2700. LW.Name="Left Shoulder"
  2701. LW.Part0=ch.Torso
  2702. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  2703. LW.C1=cf(0, 0.5, 0)
  2704. LW.Part1=ch["Left Arm"]
  2705. LW.Parent=ch.Torso
  2706. --
  2707. equipanim()
  2708. end
  2709.  
  2710. function ds(mouse)
  2711. equipped=false
  2712. hideanim()
  2713. swait(0)
  2714. RW.Parent=nil
  2715. LW.Parent=nil
  2716. RSH.Parent=player.Character.Torso
  2717. LSH.Parent=player.Character.Torso
  2718. end
  2719.  
  2720. Bin.Selected:connect(s)
  2721. Bin.Deselected:connect(ds)
  2722. print("Blade Reaper loaded.")
  2723.  
  2724. --[[
  2725. Copyrighted (C) Fenrier 2014
  2726. ]]
Add Comment
Please, Sign In to add comment