ThatOneGuy561

Untitled

Jun 20th, 2017
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 69.08 KB | None | 0 0
  1. --[[
  2. Blood Shogai 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. Face = Head.face
  12. LeftArm = Character["Left Arm"]
  13. LeftLeg = Character["Left Leg"]
  14. RightArm = Character["Right Arm"]
  15. RightLeg = Character["Right Leg"]
  16. LS = Torso["Left Shoulder"]
  17. LH = Torso["Left Hip"]
  18. RS = Torso["Right Shoulder"]
  19. RH = Torso["Right Hip"]
  20. Neck = Torso.Neck
  21. it=Instance.new
  22. vt=Vector3.new
  23. cf=CFrame.new
  24. euler=CFrame.fromEulerAnglesXYZ
  25. angles=CFrame.Angles
  26. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  27. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  28. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  29. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  30. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  31. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  32. RootPart=Character.HumanoidRootPart
  33. RootJoint=RootPart.RootJoint
  34. RootCF=euler(-1.57,0,3.14)
  35. attack = false
  36. attackdebounce = false
  37. MMouse=nil
  38. combo=0
  39. --player
  40. player = nil
  41. --save shoulders
  42. RSH, LSH = nil, nil
  43. --welds
  44. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  45. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  46. LH=Torso["Left Hip"]
  47. RH=Torso["Right Hip"]
  48. xenabled=true cenabled=true venabled=true benabled=true
  49. cloaked=false
  50. shadowthrust="None"
  51.  
  52. function swait(num)
  53. if num==0 or num==nil then
  54. game:service'RunService'.RenderStepped:wait()
  55. else
  56. for i=0,num do
  57. game:service'RunService'.RenderStepped:wait()
  58. end
  59. end
  60. end
  61.  
  62. if Character:findFirstChild("Shogai",true) ~= nil then
  63. Character:findFirstChild("Shogai",true).Parent = nil
  64. end
  65. if Player.PlayerGui:findFirstChild("WeaponGUI",true) ~= nil then
  66. Player.PlayerGui:findFirstChild("WeaponGUI",true).Parent = nil
  67. end
  68.  
  69.  
  70. function NoOutline(Part)
  71. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  72. end
  73.  
  74. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  75. local fp = it("Part")
  76. fp.formFactor = formfactor
  77. fp.Parent = parent
  78. fp.Reflectance = reflectance
  79. fp.Transparency = transparency
  80. fp.CanCollide = false
  81. fp.Locked=true
  82. fp.BrickColor = brickcolor
  83. fp.Name = name
  84. fp.Size = size
  85. fp.Position = Torso.Position
  86. NoOutline(fp)
  87. fp.Material="Neon"
  88. fp:BreakJoints()
  89. return fp
  90. end
  91.  
  92. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  93. local mesh = it(Mesh)
  94. mesh.Parent = part
  95. if Mesh=="SpecialMesh" then
  96. mesh.MeshType = meshtype
  97. mesh.MeshId = meshid
  98. end
  99. mesh.Offset=offset
  100. mesh.Scale=scale
  101. return mesh
  102. end
  103.  
  104. function weld(parent,part0,part1,c0)
  105. local weld = it("Weld")
  106. weld.Parent = parent
  107. weld.Part0 = part0
  108. weld.Part1 = part1
  109. weld.C0 = c0
  110. return weld
  111. end
  112.  
  113. local fengui=it("GuiMain")
  114. fengui.Parent=Player.PlayerGui
  115. fengui.Name="WeaponGUI"
  116. local fenframe1=it("TextLabel")
  117. fenframe1.Parent=fengui
  118. fenframe1.BackgroundColor3=Color3.new(50/255,50/255,50/255)
  119. fenframe1.BackgroundTransparency=0.3
  120. fenframe1.BorderSizePixel=5
  121. fenframe1.BorderColor3=Color3.new(1,1,1)
  122. fenframe1.Size=UDim2.new(0.05, 0, 0.1, 0)
  123. fenframe1.Position=UDim2.new(0.325,0,0.7,0)
  124. fenframe1.Text="X"
  125. fenframe1.TextWrapped=true
  126. fenframe1.FontSize=7
  127. fenframe1.TextColor3=Color3.new(1,1,1)
  128. local fenframe1a=it("TextLabel")
  129. fenframe1a.Parent=fengui
  130. fenframe1a.BackgroundColor3=Color3.new(255/255,50/255,50/255)
  131. fenframe1a.BackgroundTransparency=0.3
  132. fenframe1a.BorderSizePixel=5
  133. fenframe1a.BorderColor3=Color3.new(1,1,1)
  134. fenframe1a.Size=UDim2.new(0.05, 0, 0.1, 0)
  135. fenframe1a.Position=UDim2.new(0.325,0,0.7,0)
  136. fenframe1a.Text=""
  137. local fenframe2=it("TextLabel")
  138. fenframe2.Parent=fengui
  139. fenframe2.BackgroundColor3=Color3.new(50/255,50/255,50/255)
  140. fenframe2.BackgroundTransparency=0.3
  141. fenframe2.BorderSizePixel=5
  142. fenframe2.BorderColor3=Color3.new(1,1,1)
  143. fenframe2.Size=UDim2.new(0.05, 0, 0.1, 0)
  144. fenframe2.Position=UDim2.new(0.425,0,0.7,0)
  145. fenframe2.Text="C"
  146. fenframe2.TextWrapped=true
  147. fenframe2.FontSize=7
  148. fenframe2.TextColor3=Color3.new(1,1,1)
  149. local fenframe2a=it("TextLabel")
  150. fenframe2a.Parent=fengui
  151. fenframe2a.BackgroundColor3=Color3.new(255/255,50/255,50/255)
  152. fenframe2a.BackgroundTransparency=0.3
  153. fenframe2a.BorderSizePixel=5
  154. fenframe2a.BorderColor3=Color3.new(1,1,1)
  155. fenframe2a.Size=UDim2.new(0.05, 0, 0.1, 0)
  156. fenframe2a.Position=UDim2.new(0.425,0,0.7,0)
  157. fenframe2a.Text=""
  158. local fenframe3=it("TextLabel")
  159. fenframe3.Parent=fengui
  160. fenframe3.BackgroundColor3=Color3.new(50/255,50/255,50/255)
  161. fenframe3.BackgroundTransparency=0.3
  162. fenframe3.BorderSizePixel=5
  163. fenframe3.BorderColor3=Color3.new(1,1,1)
  164. fenframe3.Size=UDim2.new(0.05, 0, 0.1, 0)
  165. fenframe3.Position=UDim2.new(0.525,0,0.7,0)
  166. fenframe3.Text="V"
  167. fenframe3.TextWrapped=true
  168. fenframe3.FontSize=7
  169. fenframe3.TextColor3=Color3.new(1,1,1)
  170. local fenframe3a=it("TextLabel")
  171. fenframe3a.Parent=fengui
  172. fenframe3a.BackgroundColor3=Color3.new(255/255,50/255,50/255)
  173. fenframe3a.BackgroundTransparency=0.3
  174. fenframe3a.BorderSizePixel=5
  175. fenframe3a.BorderColor3=Color3.new(1,1,1)
  176. fenframe3a.Size=UDim2.new(0.05, 0, 0.1, 0)
  177. fenframe3a.Position=UDim2.new(0.525,0,0.7,0)
  178. fenframe3a.Text=""
  179. local fenframe4=it("TextLabel")
  180. fenframe4.Parent=fengui
  181. fenframe4.BackgroundColor3=Color3.new(50/255,50/255,50/255)
  182. fenframe4.BackgroundTransparency=0.3
  183. fenframe4.BorderSizePixel=5
  184. fenframe4.BorderColor3=Color3.new(1,1,1)
  185. fenframe4.Size=UDim2.new(0.05, 0, 0.1, 0)
  186. fenframe4.Position=UDim2.new(0.625,0,0.7,0)
  187. fenframe4.Text="B"
  188. fenframe4.TextWrapped=true
  189. fenframe4.FontSize=7
  190. fenframe4.TextColor3=Color3.new(1,1,1)
  191. local fenframe4a=it("TextLabel")
  192. fenframe4a.Parent=fengui
  193. fenframe4a.BackgroundColor3=Color3.new(255/255,50/255,50/255)
  194. fenframe4a.BackgroundTransparency=0.3
  195. fenframe4a.BorderSizePixel=5
  196. fenframe4a.BorderColor3=Color3.new(1,1,1)
  197. fenframe4a.Size=UDim2.new(0.05, 0, 0.1, 0)
  198. fenframe4a.Position=UDim2.new(0.625,0,0.7,0)
  199. fenframe4a.Text=""
  200.  
  201. fenframe1a.Size=UDim2.new(0,0,0.1,0)
  202. fenframe2a.Size=UDim2.new(0,0,0.1,0)
  203. fenframe3a.Size=UDim2.new(0,0,0.1,0)
  204. fenframe4a.Size=UDim2.new(0,0,0.1,0)
  205.  
  206. local modelzorz = Instance.new("Model")
  207. modelzorz.Parent = Character
  208. modelzorz.Name = "Shogai"
  209.  
  210. local prt1=part(1,modelzorz,0,0,Torso.BrickColor,"Part1",vt(1,1,1))
  211. local prt2=part(1,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part2",vt(1,1,1))
  212. local prt3=part(1,modelzorz,0,0,BrickColor.new("Bright red"),"Part3",vt(1,1,1))
  213. local prt4=part(1,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part4",vt(1,1,1))
  214. local prt5=part(1,modelzorz,0.2,0,BrickColor.new("White"),"Part5",vt(1,1,1))
  215. local prt6=part(1,modelzorz,0.2,0,BrickColor.new("White"),"Part6",vt(1,1,1))
  216. local prt11=part(1,modelzorz,0,0,Torso.BrickColor,"Part11",vt(1,1,1))
  217. local prt12=part(1,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part12",vt(1,1,1))
  218. local prt13=part(1,modelzorz,0,0,BrickColor.new("Bright red"),"Part13",vt(1,1,1))
  219. local prt14=part(1,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part14",vt(1,1,1))
  220. local prt15=part(1,modelzorz,0.2,0,BrickColor.new("White"),"Part15",vt(1,1,1))
  221. local prt16=part(1,modelzorz,0.2,0,BrickColor.new("White"),"Part16",vt(1,1,1))
  222.  
  223. local msh1=mesh("CylinderMesh",prt1,"","",vt(0,0,0),vt(0.5,0.5,0.5))
  224. local msh2=mesh("CylinderMesh",prt2,"","",vt(0,0,0),vt(0.49,0.8,0.49))
  225. local msh3=mesh("SpecialMesh",prt3,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(1,1,1))
  226. local msh4=mesh("SpecialMesh",prt4,"FileMesh","http://www.roblox.com/asset/?id=9756362",vt(0,0,0),vt(1,0.5,0.5))
  227. local msh5=mesh("SpecialMesh",prt5,"Wedge","",vt(0,0,0),vt(0.1,1.4,0.4))
  228. local msh6=mesh("SpecialMesh",prt6,"Wedge","",vt(0,0,0),vt(0.1,1.4,0.4))
  229. local msh11=mesh("CylinderMesh",prt11,"","",vt(0,0,0),vt(0.5,0.5,0.5))
  230. local msh12=mesh("CylinderMesh",prt12,"","",vt(0,0,0),vt(0.49,0.8,0.49))
  231. local msh13=mesh("SpecialMesh",prt13,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(1,1,1))
  232. local msh14=mesh("SpecialMesh",prt14,"FileMesh","http://www.roblox.com/asset/?id=9756362",vt(0,0,0),vt(1,0.5,0.5))
  233. local msh15=mesh("SpecialMesh",prt15,"Wedge","",vt(0,0,0),vt(0.1,1.4,0.4))
  234. local msh16=mesh("SpecialMesh",prt16,"Wedge","",vt(0,0,0),vt(0.1,1.4,0.4))
  235.  
  236. local wld1=weld(prt1,prt1,Torso,euler(0,0,-2)*cf(-1,0.8,-0.5))
  237. local wld2=weld(prt2,prt2,prt1,euler(0,0,0)*cf(0,0,0))
  238. local wld3=weld(prt3,prt3,prt2,euler(3.14,0,0)*cf(0,0.5,0))
  239. local wld4=weld(prt4,prt4,prt2,euler(0,0,0)*cf(0,-0.5,0))
  240. local wld5=weld(prt5,prt5,prt4,euler(0,1.57,0)*cf(-0.2,-0.9,0))
  241. local wld6=weld(prt6,prt6,prt4,euler(0,-1.57,0)*cf(0.2,-0.9,0))
  242. local wld11=weld(prt11,prt11,Torso,euler(0,0,2)*cf(1,0.8,-0.5))
  243. local wld12=weld(prt12,prt12,prt11,euler(0,0,0)*cf(0,0,0))
  244. local wld13=weld(prt13,prt13,prt12,euler(3.14,0,0)*cf(0,0.5,0))
  245. local wld14=weld(prt14,prt14,prt12,euler(0,0,0)*cf(0,-0.5,0))
  246. local wld15=weld(prt15,prt15,prt14,euler(0,1.57,0)*cf(-0.2,-0.9,0))
  247. local wld16=weld(prt16,prt16,prt14,euler(0,-1.57,0)*cf(0.2,-0.9,0))
  248.  
  249. numb=-0.3
  250. numb2=0.5
  251. for i=1,5 do
  252. local prt7=part(1,modelzorz,0,0,BrickColor.new("Really black"),"Part7",vt(1,1,1))
  253. local msh7=mesh("SpecialMesh",prt7,"FileMesh","http://www.roblox.com/asset/?id=9756362",vt(0,0,0),vt(numb2,0.2,0.2))
  254. local wld7=weld(prt7,prt7,prt4,euler(0,0,0)*cf(0,numb,0))
  255. local prt17=part(1,modelzorz,0,0,BrickColor.new("Really black"),"Part17",vt(1,1,1))
  256. local msh17=mesh("SpecialMesh",prt17,"FileMesh","http://www.roblox.com/asset/?id=9756362",vt(0,0,0),vt(numb2,0.2,0.2))
  257. local wld17=weld(prt17,prt17,prt14,euler(0,0,0)*cf(0,numb,0))
  258. numb=numb-0.3
  259. numb2=numb2-0.1
  260. end
  261.  
  262. local hitbox=part(1,nil,0,1,BrickColor.new("Black"),"Hitbox",vt(1,1,1))
  263. hitbox.Anchored=false
  264.  
  265. if (script.Parent.className ~= "HopperBin") then
  266. Tool = Instance.new("HopperBin")
  267. Tool.Parent = Backpack
  268. Tool.Name = "Blood Shogai"
  269. script.Parent = Tool
  270. end
  271. Bin = script.Parent
  272.  
  273. local Bg = it("BodyGyro")
  274. Bg.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  275. Bg.P = 20e+003
  276. Bg.Parent = nil
  277.  
  278. so = function(id,par,vol,pit)
  279. coroutine.resume(coroutine.create(function()
  280. local sou = Instance.new("Sound",par or workspace)
  281. sou.Volume=vol
  282. sou.Pitch=pit or 1
  283. sou.SoundId=id
  284. swait()
  285. sou:play()
  286. swait(6)
  287. sou:Remove()
  288. end))
  289. end
  290.  
  291. function hideanim()
  292. equipped=false
  293. Torso.Neck.C0=necko
  294. RootJoint.C0=RootCF
  295. RW.C0=cf(1.5,0.5,0)*euler(0,0,0)
  296. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  297. LW.C0=cf(-1.5,0.5,0)*euler(0,0,0)
  298. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  299. RH.C0=RHC0
  300. RH.C1=RHC1
  301. LH.C0=LHC0
  302. LH.C1=LHC1
  303. wld1.Part1=Torso
  304. wld1.C0=euler(0,0,-2)*cf(-1,0.8,-0.5)
  305. wld11.Part1=Torso
  306. wld11.C0=euler(0,0,2)*cf(1,0.8,-0.5)
  307. end
  308.  
  309. function equipanim()
  310. equipped=true
  311. --[[Torso.Neck.C0=necko*euler(0,0,1)
  312. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,-1)
  313. RW.C0=cf(1.5,0.5,0)*euler(-0.2,0,0.5)
  314. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  315. LW.C0=cf(-1.5,0.5,0)*euler(0,0,-0.2)
  316. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  317. RH.C0=RHC0*cf(0.5,0.2,0)*euler(0,0.5,-0.5)
  318. RH.C1=RHC1
  319. LH.C0=LHC0*cf(0,0.3,0)*euler(0.2,1,0)
  320. LH.C1=LHC1
  321. wld1.Part1=RightArm
  322. wld1.C0=euler(-1.57,0,1.57)*cf(0,1,0)]]
  323. Torso.Neck.C0=necko*euler(0,0,1.4)
  324. Torso.Neck.C1=necko2
  325. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,-1.4)
  326. RW.C0=cf(1.5,0.5,0)*euler(-0.6,0,0.5)
  327. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  328. LW.C0=cf(-1.5,0.5,0)*euler(0,0,-0.2)
  329. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  330. RH.C0=RHC0*cf(0.5,0.2,0)*euler(0,0.5,-0.5)
  331. RH.C1=RHC1
  332. LH.C0=LHC0*cf(0,0.3,0)*euler(0.2,1,0)
  333. LH.C1=LHC1
  334. wld1.Part1=RightArm
  335. wld1.C0=euler(-1.57,0,1.57)*cf(0,1,0)
  336. wld11.Part1=LeftArm
  337. wld11.C0=euler(1.57,0,1.57)*cf(0,1,0)
  338. end
  339.  
  340. function attackone()
  341. attack=true
  342. so("http://roblox.com/asset/?id=10209640",prt5,1,1.5)
  343. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,0,"Normal",hitbox,0.2) end)
  344. hitbox.Parent=modelzorz
  345. hitbox.Size=vt(1,2,1)
  346. hitbox.CFrame=prt5.CFrame
  347. local LastPoint=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  348. for i=0,1,0.2 do
  349. swait()
  350. Torso.Neck.C0=necko*euler(0,0,1.4-2.7*i)
  351. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,-1.4+2.7*i)
  352. RW.C0=cf(1.5-0.5*i,0.5,-0.5*i)*euler(-0.2+0.4*i,0,0.5+1*i)
  353. RW.C1=cf(0,0.5,0)*euler(-2.5*i,0,0)
  354. LW.C0=cf(-1.5,0.5,0)*euler(0,0,-0.2)
  355. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  356. wld11.C0=euler(1.57,-3.14*i,1.57)*cf(0,1,0)
  357. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  358. effect("White",0.5,LastPoint,Point,0.1)
  359. LastPoint=Point
  360. hitbox.CFrame=prt5.CFrame
  361. end
  362. numb=2
  363. for i=0,1,0.2 do
  364. swait()
  365. Torso.Neck.C0=necko*euler(0,0,-1.3-0.2*(i*numb))
  366. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,1.3+0.2*(i*numb))
  367. RW.C0=cf(1,0.5,-0.5)*euler(0.2,0,1.5)
  368. RW.C1=cf(0,0.5,0)*euler(-2.5-0.2*(i*numb),0,0)
  369. LW.C0=cf(-1.5,0.5,0)*euler(0,0,-0.2)
  370. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  371. wld11.C0=euler(1.57,3.14,1.57)*cf(0,1,0)
  372. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  373. effect("White",0.5,LastPoint,Point,0.1)
  374. LastPoint=Point
  375. hitbox.CFrame=prt5.CFrame
  376. numb=numb-0.2
  377. end
  378. so("http://roblox.com/asset/?id=10209640",prt5,1,1.4)
  379. so("http://roblox.com/asset/?id=10209640",prt15,1,1.4)
  380. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  381. LastPoint2=Point2
  382. for i=0,1,0.2 do
  383. swait()
  384. Torso.Neck.C0=necko*euler(0,0,-1.5+2.8*i)
  385. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,1.5-3.2*i)
  386. RW.C0=cf(1+0.5*i,0.5,-0.5+0.5*i)*euler(0.2-0.4*i,0,1.5)
  387. RW.C1=cf(0,0.5,0)*euler(-2.7+2.7*i,0,0)
  388. LW.C0=cf(-1.5,0.5,0)*euler(0.2*i,0,-0.2-1.37*i)
  389. LW.C1=cf(0,0.5,0)*euler(-1*i,0,0)
  390. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  391. effect("White",0.5,LastPoint,Point,0.1)
  392. LastPoint=Point
  393. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  394. effect("White",0.5,LastPoint2,Point2,0.1)
  395. LastPoint2=Point2
  396. hitbox.CFrame=prt15.CFrame
  397. end
  398. numb=2
  399. for i=0,1,0.2 do
  400. swait()
  401. Torso.Neck.C0=necko*euler(0,0,1.3+0.2*i*numb)
  402. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,-1.7-0.2*i*numb)
  403. RW.C0=cf(1.5,0.5,0)*euler(-0.2,0,1.5)
  404. RW.C1=cf(0,0.5,0)*euler(0.5*i*numb,0,0)
  405. LW.C0=cf(-1.5,0.5,0)*euler(0.2,0,-1.57)
  406. LW.C1=cf(0,0.5,0)*euler(-1-0.2*i*numb,0,0)
  407. wld11.C0=euler(-1.57,0,1.57)*cf(0,1,0)
  408. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  409. effect("White",0.5,LastPoint,Point,0.1)
  410. LastPoint=Point
  411. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  412. effect("White",0.5,LastPoint2,Point2,0.1)
  413. LastPoint2=Point2
  414. hitbox.CFrame=prt15.CFrame
  415. numb=numb-0.2
  416. end
  417. con1:disconnect()
  418. hitbox.Parent=nil
  419. attack=false
  420. end
  421.  
  422. function attacktwo()
  423. attack=true
  424. so("http://roblox.com/asset/?id=10209640",prt5,1,1.1)
  425. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  426. LastPoint=Point
  427. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  428. LastPoint2=Point2
  429. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,5,10,10,"Normal",hitbox,.2) end)
  430. hitbox.Parent=modelzorz
  431. hitbox.Size=vt(1,2,1)
  432. hitbox.CFrame=prt5.CFrame
  433. for i=0,1,0.1 do
  434. swait()
  435. Torso.Neck.C0=necko*euler(0,0,1.5-2.6*i)
  436. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,-1.9+3*i)
  437. RW.C0=cf(1.5,0.5,0)*euler(-0.2+0.4*i,0,1.5-0.4*i)
  438. RW.C1=cf(0,0.5,0)*euler(0.5-0.5*i,0,0)
  439. LW.C0=cf(-1.5,0.5,0)*euler(0.2,0,-1.57)
  440. LW.C1=cf(0,0.5,0)*euler(-1.2+1.8*i,0,0)
  441. wld1.C0=euler(-1.57,-3.14*i,1.57)*cf(0,1,0)
  442. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  443. effect("White",0.5,LastPoint,Point,0.1)
  444. LastPoint=Point
  445. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  446. effect("White",0.5,LastPoint2,Point2,0.1)
  447. LastPoint2=Point2
  448. hitbox.CFrame=prt5.CFrame
  449. end
  450. numb=2
  451. for i=0,1,0.1 do
  452. swait()
  453. Torso.Neck.C0=necko*euler(0,0,-1.1-0.2*i*numb)
  454. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,1.1+0.2*i*numb)
  455. RW.C0=cf(1.5,0.5,0)*euler(0.2,0,1.1)
  456. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  457. LW.C0=cf(-1.5,0.5,0)*euler(0.2,0,-1.57)
  458. LW.C1=cf(0,0.5,0)*euler(0.6-0.2*i*numb,0,0)
  459. wld1.C0=euler(-1.57,-3.14,1.57)*cf(0,1,0)
  460. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  461. effect("White",0.5,LastPoint,Point,0.1)
  462. LastPoint=Point
  463. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  464. effect("White",0.5,LastPoint2,Point2,0.1)
  465. LastPoint2=Point2
  466. hitbox.CFrame=prt5.CFrame
  467. numb=numb-0.1
  468. end
  469. so("http://roblox.com/asset/?id=10209640",prt5,1,1.5)
  470. so("http://roblox.com/asset/?id=10209640",prt15,1,1.6)
  471. for i=0,1,0.2 do
  472. swait()
  473. Torso.Neck.C0=necko*euler(0,0,-1.3)
  474. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,1.3-3.14*i)
  475. RW.C0=cf(1.5,0.5,0)*euler(0.2,0,1.1+0.47*i)
  476. RW.C1=cf(0,0.5,0)*euler(-0.4*i,0,0)
  477. LW.C0=cf(-1.5,0.5,0)*euler(0.2,0,-1.57)
  478. LW.C1=cf(0,0.5,0)*euler(0.4,0,0)
  479. wld1.C0=euler(-1.57,-3.14,1.57)*cf(0,1,0)
  480. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  481. effect("White",0.5,LastPoint,Point,0.1)
  482. LastPoint=Point
  483. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  484. effect("White",0.5,LastPoint2,Point2,0.1)
  485. LastPoint2=Point2
  486. hitbox.CFrame=prt5.CFrame
  487. hitbox.CFrame=prt15.CFrame
  488. end
  489. so("http://roblox.com/asset/?id=10209640",prt5,1,1.6)
  490. so("http://roblox.com/asset/?id=10209640",prt15,1,1.5)
  491. for i=0,1,0.2 do
  492. swait()
  493. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,1.3-3.14-3.14*i)
  494. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  495. effect("White",0.5,LastPoint,Point,0.1)
  496. LastPoint=Point
  497. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  498. effect("White",0.5,LastPoint2,Point2,0.1)
  499. LastPoint2=Point2
  500. hitbox.CFrame=prt5.CFrame
  501. hitbox.CFrame=prt15.CFrame
  502. end
  503. numb=2
  504. for i=0,1,0.1 do
  505. swait()
  506. Torso.Neck.C0=necko*euler(0,0,-1.3+0.4*i*numb)
  507. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,1.3-0.4*i*numb)
  508. RW.C0=cf(1.5,0.5,0)*euler(0.2,0,1.57)
  509. RW.C1=cf(0,0.5,0)*euler(-0.4-0.2*i*numb,0,0)
  510. LW.C0=cf(-1.5,0.5,0)*euler(0.2,0,-1.57)
  511. LW.C1=cf(0,0.5,0)*euler(0.4+0.2*i*numb,0,0)
  512. wld1.C0=euler(-1.57,-3.14,1.57)*cf(0,1,0)
  513. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  514. effect("White",0.5,LastPoint,Point,0.1)
  515. LastPoint=Point
  516. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  517. effect("White",0.5,LastPoint2,Point2,0.1)
  518. LastPoint2=Point2
  519. hitbox.CFrame=prt5.CFrame
  520. hitbox.CFrame=prt15.CFrame
  521. numb=numb-0.1
  522. end
  523. con1:disconnect()
  524. hitbox.Parent=nil
  525. attack=false
  526. end
  527.  
  528. function attackthree()
  529. attack=true
  530. for i=0,1,0.1 do
  531. swait()
  532. Torso.Neck.C0=necko*euler(0,0,-0.9)
  533. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,0.9)
  534. RW.C0=cf(1.5,0.5,0)*euler(0.2-0.6*i,0,1.57)
  535. RW.C1=cf(0,0.5,0)*euler(-0.6,0,0)
  536. LW.C0=cf(-1.5,0.5,0)*euler(0.2-0.6*i,0,-1.57)
  537. LW.C1=cf(0,0.5,0)*euler(0.6,0,0)
  538. end
  539. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  540. LastPoint=Point
  541. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  542. LastPoint2=Point2
  543. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(10,20),"Knockdown",RootPart,.2) end)
  544. hitbox.Parent=modelzorz
  545. hitbox.Size=vt(1,2,1)
  546. hitbox.CFrame=prt5.CFrame
  547. for i=1,2 do
  548. so("http://roblox.com/asset/?id=28144425",prt5,.8,1.2)
  549. so("http://roblox.com/asset/?id=28144425",prt15,.8,1.2)
  550. for i=0,1,0.1 do
  551. swait()
  552. Torso.Neck.C0=necko*euler(0,0,-0.9)
  553. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,0.9-3.14*i)
  554. RW.C0=cf(1.5,0.5,0)*euler(-0.4+0.8*i,0,1.57)
  555. RW.C1=cf(0,0.5,0)*euler(-0.6,0,0)
  556. LW.C0=cf(-1.5,0.5,0)*euler(-0.4+0.8*i,0,-1.57)
  557. LW.C1=cf(0,0.5,0)*euler(0.6,0,0)
  558. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  559. effect("Black",0.2,LastPoint,Point,0.6)
  560. LastPoint=Point
  561. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  562. effect("Black",0.2,LastPoint2,Point2,0.6)
  563. LastPoint2=Point2
  564. hitbox.CFrame=prt5.CFrame
  565. hitbox.CFrame=prt15.CFrame
  566. --[[MagicBlock(BrickColor.new("Black"),prt5.CFrame*cf(0,2,0),1,1,1,0.1,0.1,0.1,0.1)
  567. MagicBlock(BrickColor.new("Black"),prt15.CFrame*cf(0,2,0),1,1,1,0.1,0.1,0.1,0.1)]]
  568. randnum=math.random()
  569. tehr=math.random(100,200)/10000
  570. StravEffect(BrickColor.new("Black"),RootPart.CFrame*euler(0,math.random(-50,50),0),-math.random(0,3)/2,0,0,randnum,randnum,randnum,tehr)
  571. end
  572. so("http://roblox.com/asset/?id=28144425",prt5,.8,1.2)
  573. so("http://roblox.com/asset/?id=28144425",prt15,.8,1.2)
  574. for i=0,1,0.1 do
  575. swait()
  576. Torso.Neck.C0=necko*euler(0,0,-0.9)
  577. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,0.9-3.14-3.14*i)
  578. RW.C0=cf(1.5,0.5,0)*euler(0.4-0.8*i,0,1.57)
  579. RW.C1=cf(0,0.5,0)*euler(-0.6,0,0)
  580. LW.C0=cf(-1.5,0.5,0)*euler(0.4-0.8*i,0,-1.57)
  581. LW.C1=cf(0,0.5,0)*euler(0.6,0,0)
  582. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  583. effect("Black",0.2,LastPoint,Point,0.6)
  584. LastPoint=Point
  585. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  586. effect("Black",0.2,LastPoint2,Point2,0.6)
  587. LastPoint2=Point2
  588. hitbox.CFrame=prt5.CFrame
  589. hitbox.CFrame=prt15.CFrame
  590. randnum=math.random()
  591. tehr=math.random(100,200)/10000
  592. StravEffect(BrickColor.new("Black"),RootPart.CFrame*euler(0,math.random(-50,50),0),-math.random(0,3)/2,0,0,randnum,randnum,randnum,tehr)
  593. end
  594. end
  595. attack=false
  596. end
  597.  
  598. function heavyattackone()
  599. attack=true
  600. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  601. LastPoint=Point
  602. so("http://roblox.com/asset/?id=10209640",prt5,1,1.5)
  603. for i=0,1,0.1 do
  604. swait()
  605. Torso.Neck.C0=necko*euler(0,0,1.4+0.15*i)
  606. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,-1.4-0.15*i)
  607. RW.C0=cf(1.5,0.5,0)*euler(-0.6-0.1*i,0,0.5+0.1*i)
  608. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  609. LW.C0=cf(-1.5,0.5,0)*euler(0.1*i,0,-0.2)
  610. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  611. wld1.Part1=RightArm
  612. wld1.C0=euler(-1.57,-6.28*i,1.57)*cf(0,1,0)
  613. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  614. effect("White",0.5,LastPoint,Point,0.1)
  615. LastPoint=Point
  616. end
  617. so("http://roblox.com/asset/?id=10209640",prt5,1,1.5)
  618. for i=0,1,0.1 do
  619. swait()
  620. Torso.Neck.C0=necko*euler(0,0,1.55+0.15*i)
  621. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,-1.55-0.15*i)
  622. RW.C0=cf(1.5,0.5,0)*euler(-0.7-0.1*i,0,0.6+0.1*i)
  623. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  624. LW.C0=cf(-1.5,0.5,0)*euler(0.1+0.1*i,0,-0.2)
  625. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  626. wld1.C0=euler(-1.57,-6.28*i,1.57)*cf(0,1,0)
  627. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  628. effect("White",0.5,LastPoint,Point,0.1)
  629. LastPoint=Point
  630. end
  631. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,0,"Knockdown",RootPart,.2) end)
  632. hitbox.Parent=modelzorz
  633. hitbox.Size=vt(1,2,1)
  634. hitbox.CFrame=prt5.CFrame
  635. so("http://roblox.com/asset/?id=28144425",prt5,1,1)
  636. for i=0,1,0.1 do
  637. swait()
  638. Torso.Neck.C0=necko*euler(0,0,1.7-3*i)
  639. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,-1.7+3*i)
  640. RW.C0=cf(1.5,0.5,0)*euler(-0.8+1.2*i,0,0.7+0.4*i)
  641. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  642. LW.C0=cf(-1.5,0.5,0)*euler(0.2+1.2*i,0,-0.2-1*i)
  643. LW.C1=cf(0,0.5,0)*euler(0,1*i,0)
  644. wld1.C0=euler(-1.57,-3.14*i,1.57)*cf(0,1,0)
  645. wld11.C0=euler(1.57,3.14*i,1.57)*cf(0,1,0)
  646. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  647. effect("Black",0.2,LastPoint,Point,0.6)
  648. LastPoint=Point
  649. MagicBlock(BrickColor.new("Black"),prt5.CFrame*cf(0,2,0),1,1,1,0.1,0.1,0.1,0.1)
  650. hitbox.CFrame=prt5.CFrame
  651. end
  652. numb=2
  653. for i=0,1,0.1 do
  654. swait()
  655. Torso.Neck.C0=necko*euler(0,0,-1.3-0.2*i*numb)
  656. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,1.3+0.2*i*numb)
  657. RW.C0=cf(1.5,0.5,0)*euler(0.4,0,1.1)
  658. RW.C1=cf(0,0.5,0)*euler(0.2*i*numb,0,0)
  659. LW.C0=cf(-1.5,0.5,0)*euler(1.4,0,-1.2)
  660. LW.C1=cf(0,0.5,0)*euler(0,1,0)
  661. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  662. effect("Black",0.2,LastPoint,Point,0.6)
  663. LastPoint=Point
  664. hitbox.CFrame=prt5.CFrame
  665. numb=numb-0.1
  666. end
  667. con1:disconnect()
  668. hitbox.Parent=nil
  669. attack=false
  670. end
  671.  
  672. function heavyattacktwo()
  673. attack=true
  674. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  675. LastPoint=Point
  676. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  677. LastPoint2=Point2
  678. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,1,"Knockdown",RootPart,.2) end)
  679. hitbox.Parent=modelzorz
  680. hitbox.Size=vt(1,2,1)
  681. hitbox.CFrame=prt5.CFrame
  682. so("http://roblox.com/asset/?id=28144425",prt5,.6,1.1)
  683. so("http://roblox.com/asset/?id=28144425",prt15,.6,1.1)
  684. bodvel=it("BodyVelocity")
  685. bodvel.Parent=RootPart
  686. bodvel.maxForce=vt(4e+005,4e+005,4e+005)*1
  687. bodvel.velocity=RootPart.CFrame.lookVector*30
  688. for i=0,1,0.1 do
  689. swait()
  690. Torso.Neck.C0=necko*euler(0,0,-1.5)
  691. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,1.5-3.14*i)
  692. RW.C0=cf(1.5,0.5,0)*euler(0.4,0,1.1+0.3*i)
  693. RW.C1=cf(0,0.5,0)*euler(0.2,0,0)
  694. LW.C0=cf(-1.5,0.5,0)*euler(1.4,0,-1.2-0.3*i)
  695. LW.C1=cf(0,0.5,0)*euler(0,1,0)
  696. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  697. effect("Black",0.2,LastPoint,Point,0.6)
  698. LastPoint=Point
  699. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  700. effect("Black",0.2,LastPoint2,Point2,0.6)
  701. LastPoint2=Point2
  702. hitbox.CFrame=prt5.CFrame
  703. hitbox.CFrame=prt15.CFrame
  704. randnum=math.random()
  705. tehr=math.random(100,200)/10000
  706. StravEffect(BrickColor.new("Black"),RootPart.CFrame*euler(0,math.random(-50,50),0),-math.random(0,3)/2,0,0,randnum,randnum,randnum,tehr)
  707. end
  708. so("http://roblox.com/asset/?id=28144425",prt5,.6,1.1)
  709. so("http://roblox.com/asset/?id=28144425",prt15,.6,1.1)
  710. for i=0,1,0.1 do
  711. swait()
  712. Torso.Neck.C0=necko*euler(0,0,-1.5)
  713. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,1.5-3.14-3.14*i)
  714. RW.C0=cf(1.5,0.5,0)*euler(0.4,0,1.4)
  715. RW.C1=cf(0,0.5,0)*euler(0.2+0.4*i,0,0)
  716. LW.C0=cf(-1.5,0.5,0)*euler(1.4,0,-1.5)
  717. LW.C1=cf(0,0.5,0)*euler(-0.4*i,1,0)
  718. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  719. effect("Black",0.2,LastPoint,Point,0.6)
  720. LastPoint=Point
  721. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  722. effect("Black",0.2,LastPoint2,Point2,0.6)
  723. LastPoint2=Point2
  724. hitbox.CFrame=prt5.CFrame
  725. hitbox.CFrame=prt15.CFrame
  726. randnum=math.random()
  727. tehr=math.random(100,200)/10000
  728. StravEffect(BrickColor.new("Black"),RootPart.CFrame*euler(0,math.random(-50,50),0),-math.random(0,3)/2,0,0,randnum,randnum,randnum,tehr)
  729. end
  730. con1:disconnect()
  731. hitbox.Parent=nil
  732. bodvel.Parent=nil
  733. numb=2
  734. for i=0,1,0.1 do
  735. swait()
  736. Torso.Neck.C0=necko*euler(0,0,-1.5+0.3*i*numb)
  737. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,1.5-0.3*i*numb)
  738. RW.C0=cf(1.5,0.5,0)*euler(0.4,0,1.4)
  739. RW.C1=cf(0,0.5,0)*euler(0.2+0.4+0.2*i*numb,0,0)
  740. LW.C0=cf(-1.5,0.5,0)*euler(1.4,0,-1.5)
  741. LW.C1=cf(0,0.5,0)*euler(-0.4-0.2*i*numb,1,0)
  742. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  743. effect("Black",0.2,LastPoint,Point,0.3)
  744. LastPoint=Point
  745. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  746. effect("Black",0.2,LastPoint2,Point2,0.3)
  747. LastPoint2=Point2
  748. end
  749. attack=false
  750. end
  751.  
  752. function heavyattackthree()
  753. attack=true
  754. Humanoid.WalkSpeed=0
  755. WaveEffect(BrickColor.new("Black"),Torso.CFrame,3,5,3,0.2,-0.02,0.2,0.01)
  756. MagicBlock(BrickColor.new("Black"),Torso.CFrame,4,4,4,0.2,0.2,0.2,0.01)
  757. MagicWaveThing(BrickColor.new("Black"),Torso.CFrame,4,4,4,0.2,0.2,0.2,0.01)
  758. so("http://roblox.com/asset/?id=157487812",Torso,1,0.7)
  759. so("http://roblox.com/asset/?id=169380495",Torso,1,0.7)
  760. coroutine.resume(coroutine.create(function()
  761. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,30,"Knockdown",Torso,1) end)
  762. hitbox.Parent=modelzorz
  763. hitbox.Size=vt(6,6,6)
  764. hitbox.CFrame=RootPart.CFrame
  765. for i=0,5 do
  766. swait()
  767. hitbox.Size=hitbox.Size+vt(1,1,1)
  768. hitbox.CFrame=RootPart.CFrame
  769. end
  770. for i=1,30 do
  771. swait()
  772. hitbox.CFrame=RootPart.CFrame
  773. end
  774. con1:disconnect()
  775. hitbox.Parent=nil
  776. end))
  777. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  778. LastPoint=Point
  779. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  780. LastPoint2=Point2
  781. for i=0,1,0.1 do
  782. swait()
  783. Torso.Neck.C0=necko*euler(0,0,-1.2)
  784. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,1.2-6.28*i)
  785. RW.C0=cf(1.5,0.5,0)*euler(0.4,0,1.4+0.1*i)
  786. RW.C1=cf(0,0.5,0)*euler(0.8-0.8*i,0,0)
  787. LW.C0=cf(-1.5,0.5,0)*euler(1.4-1*i,0,-1.5)
  788. LW.C1=cf(0,0.5,0)*euler(-0.6+0.6*i,1-1*i,0)
  789. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  790. effect("White",0.5,LastPoint,Point,0.2)
  791. LastPoint=Point
  792. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  793. effect("White",0.5,LastPoint2,Point2,0.2)
  794. LastPoint2=Point2
  795. end
  796. for i=0,1,0.1 do
  797. swait()
  798. Torso.Neck.C0=necko*euler(0.2*i,0,-1.2+1.2*i)
  799. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,1.2-1.2*i)
  800. RW.C0=cf(1.5,0.5,0)*euler(0.4-0.6*i,0,1.5)
  801. RW.C1=cf(0,0.5,0)*euler(0,-0.4*i,0)
  802. LW.C0=cf(-1.5,0.5,0)*euler(0.4-0.6*i,0,-1.5)
  803. LW.C1=cf(0,0.5,0)*euler(0,0.4*i,0)
  804. RH.C0=RHC0*cf(0.5,0.2,0)*euler(0,0.5-0.5*i,-0.5)
  805. RH.C1=RHC1
  806. LH.C0=LHC0*cf(-0.5*i,0.3,0)*euler(0.2,1-1*i,0.5*i)
  807. LH.C1=LHC1*euler(0.5*i,0,0)
  808. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  809. effect("White",0.5,LastPoint,Point,0.2)
  810. LastPoint=Point
  811. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  812. effect("White",0.5,LastPoint2,Point2,0.2)
  813. LastPoint2=Point2
  814. wld1.C0=euler(-1.57,-3.14+3.14*i,1.57)*cf(0,1,0)
  815. end
  816. swait(50)
  817. Humanoid.WalkSpeed=16
  818. attack=false
  819. end
  820.  
  821. function ShadowlessThrust()
  822. attack=true
  823. Humanoid.WalkSpeed=0
  824. shadowthrust="Stance"
  825. so("http://roblox.com/asset/?id=147722227",prt5,1,1)
  826. so("http://roblox.com/asset/?id=28144425",prt5,.6,1.5)
  827. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  828. LastPoint=Point
  829. bodvel=it("BodyVelocity")
  830. bodvel.Parent=RootPart
  831. bodvel.maxForce=vt(4e+005,4e+005,4e+005)*1
  832. bodvel.velocity=RootPart.CFrame.lookVector*60
  833. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,5,15,1,"Normal",RootPart,.2) end)
  834. hitbox.Parent=modelzorz
  835. hitbox.Size=vt(1,2,1)
  836. hitbox.CFrame=prt5.CFrame
  837. for i=0,1,0.2 do
  838. swait()
  839. Torso.Neck.C0=necko*euler(0,0,1.4-2.5*i)
  840. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,-1.4+2.5*i)
  841. RW.C0=cf(1.5,0.5,0)*euler(-0.6+1.2*i,0,0.5+1*i)
  842. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  843. LW.C0=cf(-1.5,0.5,0)*euler(-0.2*i,0,-0.2)
  844. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  845. RH.C0=RHC0*cf(0.5,0.2,0)*euler(0,0.5,-0.5)
  846. RH.C1=RHC1*euler(-0.5*i,1*i,0)
  847. LH.C0=LHC0*cf(-0.1*i,0.3,0)*euler(0.2,1,0)
  848. LH.C1=LHC1*euler(0.5*i,1*i,0)
  849. wld1.C0=euler(-1.57,-2.5*i,1.57)*cf(0,1,0)
  850. wld11.C0=euler(1.57,0,1.57)*cf(0,1,0)
  851. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  852. effect("Black",0.2,LastPoint,Point,0.3)
  853. LastPoint=Point
  854. hitbox.CFrame=prt5.CFrame
  855. end
  856. numb=2
  857. for i=0,1,0.2 do
  858. swait()
  859. Torso.Neck.C0=necko*euler(0,0,-1.1-0.4*i*numb)
  860. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,1.1+0.4*i*numb)
  861. RW.C0=cf(1.5,0.5,0)*euler(0.6,0,1.5)
  862. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  863. LW.C0=cf(-1.5,0.5,0)*euler(-0.2,0,-0.2)
  864. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  865. wld1.C0=euler(-1.57,-2.5,1.57)*cf(0,1,0)
  866. wld11.C0=euler(1.57,0,1.57)*cf(0,1,0)
  867. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  868. effect("Black",0.2,LastPoint,Point,0.3)
  869. LastPoint=Point
  870. numb=numb-0.2
  871. hitbox.CFrame=prt5.CFrame
  872. end
  873. con1:disconnect()
  874. hitbox.Parent=nil
  875. bodvel.Parent=nil
  876. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  877. LastPoint2=Point2
  878. for i=0,1,0.2 do
  879. swait()
  880. Torso.Neck.C0=necko*euler(0,0,-1.5+3*i)
  881. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,1.5-3*i)
  882. RW.C0=cf(1.5,0.5,0)*euler(0.6-0.8*i,0,1.5)
  883. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  884. LW.C0=cf(-1.5,0.5,0)*euler(-0.2,0,-0.2-1*i)
  885. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  886. RH.C0=RHC0*cf(0.5,0.2,0)*euler(0,0.5,-0.5)
  887. RH.C1=RHC1*euler(-0.5+0.5*i,1-1*i,0)
  888. LH.C0=LHC0*cf(-0.1+0.1*i,0.3,0)*euler(0.2,1,0)
  889. LH.C1=LHC1*euler(0.5-0.5*i,1-1*i,0)
  890. wld1.C0=euler(-1.57,-2.5-0.64*i,1.57)*cf(0,1,0)
  891. wld11.C0=euler(1.57,0,1.57)*cf(0,1,0)
  892. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  893. effect("White",0.5,LastPoint,Point,0.2)
  894. LastPoint=Point
  895. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  896. effect("White",0.5,LastPoint2,Point2,0.2)
  897. LastPoint2=Point2
  898. end
  899. coroutine.resume(coroutine.create(function()
  900. for i=1,50 do
  901. swait()
  902. end
  903. if shadowthrust=="Stance" then
  904. shadowthrust="Spin"
  905. end
  906. end))
  907. while shadowthrust=="Stance" do
  908. swait()
  909. end
  910. if shadowthrust=="Dash" then
  911. bodvel=it("BodyVelocity")
  912. bodvel.Parent=RootPart
  913. bodvel.maxForce=vt(4e+005,4e+005,4e+005)*1
  914. bodvel.velocity=RootPart.CFrame.lookVector*130
  915. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,20,30,1,"Knockdown",RootPart,1) end)
  916. hitbox.Parent=modelzorz
  917. hitbox.Size=vt(1,2,1)
  918. hitbox.CFrame=prt5.CFrame
  919. so("http://roblox.com/asset/?id=147722227",prt5,1,0.7)
  920. so("http://roblox.com/asset/?id=28144425",prt5,.6,0.8)
  921. for i=0,1,0.2 do
  922. swait()
  923. Torso.Neck.C0=necko*euler(0,0,1.5-2.9*i)
  924. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,-1.5+2.9*i)
  925. RW.C0=cf(1.5,0.5,0)*euler(-0.2,0,1.5)
  926. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  927. LW.C0=cf(-1.5,0.5,0)*euler(-0.2+0.2*i,0,-1.2)
  928. LW.C1=cf(0,0.5,0)*euler(0.4*i,0.5*i,0)
  929. RH.C0=RHC0*cf(0.5,0.2,0)*euler(0,0.5,-0.5)
  930. RH.C1=RHC1*euler(-0.5*i,1*i,0)
  931. LH.C0=LHC0*cf(-0.1*i,0.3,0)*euler(0.2,1,0)
  932. LH.C1=LHC1*euler(0.5*i,1*i,0)
  933. wld1.C0=euler(-1.57,-3.14+1.4*i,1.57)*cf(0,1,0)
  934. wld11.C0=euler(1.57,0,1.57)*cf(0,1,0)
  935. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  936. effect("Black",0.2,LastPoint,Point,0.6)
  937. LastPoint=Point
  938. hitbox.CFrame=prt5.CFrame
  939. end
  940. for i=0,1,0.1 do
  941. swait()
  942. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  943. effect("Black",0.2,LastPoint,Point,0.6)
  944. LastPoint=Point
  945. hitbox.CFrame=prt5.CFrame
  946. end
  947. con1:disconnect()
  948. hitbox.Parent=nil
  949. bodvel.Parent=nil
  950. swait(10)
  951. for i=0,1,0.1 do
  952. swait()
  953. Torso.Neck.C0=necko*euler(0,0,-1.4+2.8*i)
  954. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,1.4-2.8*i)
  955. RW.C0=cf(1.5,0.5,0)*euler(-0.2-0.4*i,0,1.5-1*i)
  956. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  957. LW.C0=cf(-1.5,0.5,0)*euler(0,0,-1.2+1*i)
  958. LW.C1=cf(0,0.5,0)*euler(0.4-0.4*i,0.5-0.5*i,0)
  959. RH.C0=RHC0*cf(0.5,0.2,0)*euler(0,0.5,-0.5)
  960. RH.C1=RHC1*euler(-0.5+0.5*i,1-1*i,0)
  961. LH.C0=LHC0*cf(-0.1+0.1*i,0.3,0)*euler(0.2,1,0)
  962. LH.C1=LHC1*euler(0.5-0.5*i,1-1*i,0)
  963. wld1.C0=euler(-1.57,-1.74+1.74*i,1.57)*cf(0,1,0)
  964. wld11.C0=euler(1.57,0,1.57)*cf(0,1,0)
  965. end
  966. elseif shadowthrust=="Spin" then
  967. WaveEffect(BrickColor.new("Black"),Torso.CFrame,3,5,3,0.2,-0.02,0.2,0.01)
  968. MagicBlock(BrickColor.new("Black"),Torso.CFrame,4,4,4,0.2,0.2,0.2,0.01)
  969. so("http://roblox.com/asset/?id=157487812",Torso,1,1)
  970. so("http://roblox.com/asset/?id=169380495",Torso,1,1)
  971. coroutine.resume(coroutine.create(function()
  972. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,20,40,30,"Knockdown",Torso,1) end)
  973. hitbox.Parent=modelzorz
  974. hitbox.Size=vt(6,6,6)
  975. hitbox.CFrame=RootPart.CFrame
  976. for i=0,5 do
  977. swait()
  978. hitbox.Size=hitbox.Size+vt(1,1,1)
  979. hitbox.CFrame=RootPart.CFrame
  980. end
  981. for i=1,30 do
  982. swait()
  983. hitbox.CFrame=RootPart.CFrame
  984. end
  985. con1:disconnect()
  986. hitbox.Parent=nil
  987. end))
  988. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  989. LastPoint=Point
  990. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  991. LastPoint2=Point2
  992. for i=0,1,0.05 do
  993. swait()
  994. Torso.Neck.C0=necko*euler(0,0,1.5)
  995. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,-1.5-6.28*i)
  996. RW.C0=cf(1.5,0.5,0)*euler(-0.2,0,1.5)
  997. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  998. LW.C0=cf(-1.5,0.5,0)*euler(-0.2,0,-1.2)
  999. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  1000. wld1.C0=euler(-1.57,-3.14+3.14*i,1.57)*cf(0,1,0)
  1001. wld11.C0=euler(1.57,0,1.57)*cf(0,1,0)
  1002. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  1003. effect("Black",0.2,LastPoint,Point,0.6)
  1004. LastPoint=Point
  1005. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  1006. effect("Black",0.2,LastPoint2,Point2,0.6)
  1007. LastPoint2=Point2
  1008. randnum=math.random(2,3)+math.random()
  1009. tehr=math.random(50,100)/10000
  1010. StravEffect(BrickColor.new("Black"),RootPart.CFrame*euler(0,math.random(-50,50),0),-math.random(1,10),0,0,randnum,randnum,randnum,tehr)
  1011. end
  1012. for i=0,1,0.1 do
  1013. swait()
  1014. Torso.Neck.C0=necko*euler(0,0,1.5-0.1*i)
  1015. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,-1.5+0.1*i)
  1016. RW.C0=cf(1.5,0.5,0)*euler(-0.2-0.4*i,0,1.5-1*i)
  1017. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  1018. LW.C0=cf(-1.5,0.5,0)*euler(-0.2+0.2*i,0,-1.2+1*i)
  1019. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  1020. wld1.C0=euler(-1.57,0,1.57)*cf(0,1,0)
  1021. wld11.C0=euler(1.57,0,1.57)*cf(0,1,0)
  1022. end
  1023. end
  1024. swait()
  1025. shadowthrust="None"
  1026. Humanoid.WalkSpeed=16
  1027. attack=false
  1028. end
  1029.  
  1030. function Assassinate()
  1031. attack=true
  1032. Humanoid.WalkSpeed=25
  1033. Clone()
  1034. Cloak()
  1035. for i=0,1,0.1 do
  1036. swait()
  1037. Torso.Neck.C0=necko*euler(0,0,1.4-1.4*i)
  1038. RootJoint.C0=RootCF*cf(0,0,-0.5+0.5*i)*euler(0,0,-1.4+1.4*i)
  1039. RW.C0=cf(1.5,0.5,0)*euler(-0.6,0,0.5)
  1040. LW.C0=cf(-1.5,0.5,0)*euler(-0.6*i,0,-0.2-0.3*i)
  1041. RH.C0=RHC0*cf(0.5-0.5*i,0.2-0.2*i,0)*euler(0,0.5-0.5*i,-0.5+0.5*i)
  1042. LH.C0=LHC0*cf(0,0.3-0.3*i,0)*euler(0.2-0.2*i,1-1*i,0)
  1043. wld1.C0=euler(-1.57,3.14*i,1.57)*cf(0,1,0)
  1044. wld11.C0=euler(1.57,0,1.57)*cf(0,1,0)
  1045. end
  1046. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  1047. LastPoint=Point
  1048. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  1049. LastPoint2=Point2
  1050. swait(100)
  1051. UnCloak()
  1052. Humanoid.WalkSpeed=16
  1053. so("http://roblox.com/asset/?id=28144425",prt5,.5,1.2)
  1054. so("http://roblox.com/asset/?id=28144425",prt15,.5,1.2)
  1055. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(10,20),"Knockdown",RootPart,.2) end)
  1056. hitbox.Parent=modelzorz
  1057. hitbox.Size=vt(1,2,1)
  1058. hitbox.CFrame=prt5.CFrame
  1059. for i=0,1,0.1 do
  1060. swait()
  1061. RW.C0=cf(1.5,0.5,0)*euler(-0.6+1.6*i,0,0.5-0.8*i)
  1062. LW.C0=cf(-1.5,0.5,0)*euler(-0.6+1.6*i,0,-0.5+0.8*i)
  1063. wld1.C0=euler(-1.57,3.14+1*i,1.57)*cf(0,1,0)
  1064. wld11.C0=euler(1.57,1*i,1.57)*cf(0,1,0)
  1065. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  1066. effect("Black",0.2,LastPoint,Point,0.6)
  1067. LastPoint=Point
  1068. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  1069. effect("Black",0.2,LastPoint2,Point2,0.6)
  1070. LastPoint2=Point2
  1071. hitbox.CFrame=prt5.CFrame
  1072. hitbox.CFrame=prt15.CFrame
  1073. end
  1074. numb=2
  1075. for i=0,1,0.2 do
  1076. swait()
  1077. RW.C0=cf(1.5,0.5,0)*euler(1+0.4*i*numb,0,-0.3-0.2*i*numb)
  1078. LW.C0=cf(-1.5,0.5,0)*euler(1+0.4*i*numb,0,0.3+0.2*i*numb)
  1079. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  1080. effect("Black",0.2,LastPoint,Point,0.6)
  1081. LastPoint=Point
  1082. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  1083. effect("Black",0.2,LastPoint2,Point2,0.6)
  1084. LastPoint2=Point2
  1085. hitbox.CFrame=prt5.CFrame
  1086. hitbox.CFrame=prt15.CFrame
  1087. numb=numb-0.2
  1088. end
  1089. con1:disconnect()
  1090. hitbox.Parent=nil
  1091. swait(10)
  1092. for i=0,1,0.1 do
  1093. swait()
  1094. Torso.Neck.C0=necko*euler(0,0,1.4*i)
  1095. RootJoint.C0=RootCF*cf(0,0,-0.5*i)*euler(0,0,-1.4*i)
  1096. RW.C0=cf(1.5,0.5,0)*euler(1.4-2*i,0,-0.5+1*i)
  1097. LW.C0=cf(-1.5,0.5,0)*euler(1.4-1.4*i,0,0.5-0.7*i)
  1098. wld1.C0=euler(-1.57,4.14-4.14*i,1.57)*cf(0,1,0)
  1099. wld11.C0=euler(1.57,1-1*i,1.57)*cf(0,1,0)
  1100. RH.C0=RHC0*cf(0.5*i,0.2*i,0)*euler(0,0.5*i,-0.5*i)
  1101. LH.C0=LHC0*cf(0,0.3*i,0)*euler(0.2*i,1*i,0)
  1102. end
  1103. attack=false
  1104. end
  1105.  
  1106. function Eclipse()
  1107. attack=true
  1108. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,5,15,5,"Normal",RootPart,.2) end)
  1109. hitbox.Parent=modelzorz
  1110. hitbox.Size=vt(1,2,1)
  1111. hitbox.CFrame=prt5.CFrame
  1112. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  1113. LastPoint=Point
  1114. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  1115. LastPoint2=Point2
  1116. so("http://roblox.com/asset/?id=10209640",prt5,1,1.2)
  1117. so("http://roblox.com/asset/?id=10209640",prt15,1,1.2)
  1118. for i=0,1,0.1 do
  1119. swait()
  1120. Torso.Neck.C0=necko*euler(0,0,1.4-1.4*i)
  1121. Torso.Neck.C1=necko2
  1122. RootJoint.C0=RootCF*cf(0,0,-0.5+0.7*i)*euler(0,1.57*i,-1.4+1.4*i)
  1123. RW.C0=cf(1.5,0.5,0)*euler(-0.6+0.4*i,0,0.5+1.07*i)
  1124. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  1125. LW.C0=cf(-1.5,0.5,0)*euler(-0.2*i,0,-0.2-1.37*i)
  1126. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  1127. RH.C0=RHC0*cf(0.5-0.5*i,0.2-0.2*i,0)*euler(-0.5*i,0.5-0.5*i,-0.5+0.5*i)
  1128. LH.C0=LHC0*cf(0,0.3-0.3*i,0)*euler(0.2-0.7*i,1-1*i,0)
  1129. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  1130. effect("White",0.5,LastPoint,Point,0.2)
  1131. LastPoint=Point
  1132. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  1133. effect("White",0.5,LastPoint2,Point2,0.2)
  1134. LastPoint2=Point2
  1135. hitbox.CFrame=prt5.CFrame
  1136. hitbox.CFrame=prt15.CFrame
  1137. end
  1138. so("http://roblox.com/asset/?id=10209640",prt5,1,1.3)
  1139. so("http://roblox.com/asset/?id=10209640",prt15,1,1.3)
  1140. for i=0,1,0.1 do
  1141. swait()
  1142. RootJoint.C0=RootCF*cf(0,0,0.2+1*i)*euler(3.14*i,1.57,0)
  1143. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  1144. effect("White",0.5,LastPoint,Point,0.2)
  1145. LastPoint=Point
  1146. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  1147. effect("White",0.5,LastPoint2,Point2,0.2)
  1148. LastPoint2=Point2
  1149. hitbox.CFrame=prt5.CFrame
  1150. hitbox.CFrame=prt15.CFrame
  1151. end
  1152. so("http://roblox.com/asset/?id=10209640",prt5,1,1.4)
  1153. so("http://roblox.com/asset/?id=10209640",prt15,1,1.4)
  1154. for i=0,1,0.1 do
  1155. swait()
  1156. RootJoint.C0=RootCF*cf(0,0,1.2+1*i)*euler(3.14+3.14*i,1.57,0)
  1157. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  1158. effect("White",0.5,LastPoint,Point,0.2)
  1159. LastPoint=Point
  1160. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  1161. effect("White",0.5,LastPoint2,Point2,0.2)
  1162. LastPoint2=Point2
  1163. hitbox.CFrame=prt5.CFrame
  1164. hitbox.CFrame=prt15.CFrame
  1165. end
  1166. so("http://roblox.com/asset/?id=10209640",prt5,1,1.3)
  1167. so("http://roblox.com/asset/?id=10209640",prt15,1,1.3)
  1168. for i=0,1,0.1 do
  1169. swait()
  1170. RootJoint.C0=RootCF*cf(0,0,2.2-1*i)*euler(3.14*i,1.57,0)
  1171. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  1172. effect("White",0.5,LastPoint,Point,0.2)
  1173. LastPoint=Point
  1174. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  1175. effect("White",0.5,LastPoint2,Point2,0.2)
  1176. LastPoint2=Point2
  1177. hitbox.CFrame=prt5.CFrame
  1178. hitbox.CFrame=prt15.CFrame
  1179. end
  1180. so("http://roblox.com/asset/?id=10209640",prt5,1,1.2)
  1181. so("http://roblox.com/asset/?id=10209640",prt15,1,1.2)
  1182. for i=0,1,0.1 do
  1183. swait()
  1184. RootJoint.C0=RootCF*cf(0,0,1.2-1*i)*euler(3.14+3.14*i,1.57,0)
  1185. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  1186. effect("White",0.5,LastPoint,Point,0.2)
  1187. LastPoint=Point
  1188. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  1189. effect("White",0.5,LastPoint2,Point2,0.2)
  1190. LastPoint2=Point2
  1191. hitbox.CFrame=prt5.CFrame
  1192. hitbox.CFrame=prt15.CFrame
  1193. end
  1194. Humanoid.WalkSpeed=0
  1195. con1:disconnect()
  1196. hitbox.Parent=nil
  1197. so("http://roblox.com/asset/?id=10209640",prt5,1,1.1)
  1198. so("http://roblox.com/asset/?id=10209640",prt15,1,1.1)
  1199. for i=0,1,0.1 do
  1200. swait()
  1201. Torso.Neck.C0=necko*euler(0,-0.2*i,-1.57*i)
  1202. RootJoint.C0=RootCF*cf(0,0,0.2-1.2*i)*euler(0.5*i,1.57-1.57*i,1.57*i)
  1203. RW.C0=cf(1.5,0.5,0)*euler(-0.2-1.37*i,0,1.57)
  1204. LW.C0=cf(-1.5,0.5,0)*euler(-0.2,0,-1.57)
  1205. RH.C0=RHC0*cf(0.5*i,0.2*i,0)*euler(-0.5+0.5*i,0.5*i,-0.5*i)
  1206. LH.C0=LHC0*cf(0,0.3*i,0)*euler(-0.5+0.5*i,1*i,0)
  1207. wld1.C0=euler(-1.57,-2.7*i,1.57)*cf(0,1,0)
  1208. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  1209. effect("White",0.5,LastPoint,Point,0.2)
  1210. LastPoint=Point
  1211. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  1212. effect("White",0.5,LastPoint2,Point2,0.2)
  1213. LastPoint2=Point2
  1214. end
  1215. so("http://roblox.com/asset/?id=161006182",prt5,1,0.5)
  1216. MagicBlock(BrickColor.new("Black"),RootPart.CFrame*cf(0,-2,-3),4,4,4,0.2,0.2,0.2,0.01)
  1217. MagicWaveThing(BrickColor.new("Black"),RootPart.CFrame*cf(0,-2,-3),4,4,4,0.2,0.2,0.2,0.01)
  1218. coroutine.resume(coroutine.create(function(CeeEf)
  1219. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,20,30,30,"Knockdown",Torso,1) end)
  1220. hitbox.Parent=modelzorz
  1221. hitbox.Size=vt(2,2,2)
  1222. hitbox.CFrame=CeeEf
  1223. for i=0,5 do
  1224. swait()
  1225. hitbox.Size=hitbox.Size+vt(1,1,1)
  1226. hitbox.CFrame=CeeEf
  1227. end
  1228. for i=1,10 do
  1229. swait()
  1230. hitbox.CFrame=CeeEf
  1231. end
  1232. con1:disconnect()
  1233. hitbox.Parent=nil
  1234. end),RootPart.CFrame*cf(0,-2,-3))
  1235. swait(20)
  1236. for i=0,1,0.1 do
  1237. swait()
  1238. Torso.Neck.C0=necko*euler(0,-0.2+0.2*i,-1.57+2.97*i)
  1239. RootJoint.C0=RootCF*cf(0,0,-1+0.5*i)*euler(0.5-0.5*i,0,1.57-2.97*i)
  1240. RW.C0=cf(1.5,0.5,0)*euler(-1.57+0.97*i,0,1.57-1.07*i)
  1241. LW.C0=cf(-1.5,0.5,0)*euler(-0.2+0.2*i,0,-1.57+1.37*i)
  1242. wld1.C0=euler(-1.57,-2.7+2.7*i,1.57)*cf(0,1,0)
  1243. end
  1244. Humanoid.WalkSpeed=16
  1245. attack=false
  1246. end
  1247.  
  1248. function DanceofSwords()
  1249. attack=true
  1250. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  1251. LastPoint=Point
  1252. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  1253. LastPoint2=Point2
  1254. so("http://roblox.com/asset/?id=10209640",prt5,1,1)
  1255. so("http://roblox.com/asset/?id=10209640",prt15,1,1)
  1256. for i=0,1,0.1 do
  1257. swait()
  1258. Torso.Neck.C0=necko*euler(0,0,1.4-2.7*i)
  1259. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,-1.4+2.7*i)
  1260. RW.C0=cf(1.5,0.5,0)*euler(-0.6+0.8*i,0,0.5+1.07*i)
  1261. RW.C1=cf(0,0.5,0)*euler(-0.4*i,0,0)
  1262. LW.C0=cf(-1.5,0.5,0)*euler(0.2*i,0,-0.2-1.37*i)
  1263. LW.C1=cf(0,0.5,0)*euler(0.4*i,0,0)
  1264. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  1265. effect("White",0.5,LastPoint,Point,0.2)
  1266. LastPoint=Point
  1267. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  1268. effect("White",0.5,LastPoint2,Point2,0.2)
  1269. LastPoint2=Point2
  1270. end
  1271. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,10,15,0,"Knockdown",Torso,.5) end)
  1272. hitbox.Parent=modelzorz
  1273. hitbox.Size=vt(6,6,6)
  1274. hitbox.CFrame=RootPart.CFrame
  1275. for i=1,6 do
  1276. so("http://roblox.com/asset/?id=10209640",prt5,1,1.5)
  1277. so("http://roblox.com/asset/?id=10209640",prt15,1,1.5)
  1278. for i=0,1,0.1 do
  1279. swait()
  1280. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,1.3+3.14*i)
  1281. wld1.C0=euler(-1.57,-6.28*i,1.57)*cf(0,1,0)
  1282. wld11.C0=euler(1.57,6.28*i,1.57)*cf(0,1,0)
  1283. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  1284. effect("White",0.5,LastPoint,Point,0.2)
  1285. LastPoint=Point
  1286. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  1287. effect("White",0.5,LastPoint2,Point2,0.2)
  1288. LastPoint2=Point2
  1289. hitbox.CFrame=RootPart.CFrame
  1290. if i==0.2 or i==0.4 or i==0.6 or i==0.8 then
  1291. Magicsword(BrickColor.new("Black"),RootPart.CFrame,RootPart,1,2,1,0,math.random(-300,300)/100,-math.random(300,600)/100,0.02)
  1292. end
  1293. end
  1294. so("http://roblox.com/asset/?id=10209640",prt5,1,1.5)
  1295. so("http://roblox.com/asset/?id=10209640",prt15,1,1.5)
  1296. for i=0,1,0.1 do
  1297. swait()
  1298. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,1.3+3.14+3.14*i)
  1299. wld1.C0=euler(-1.57,-6.28*i,1.57)*cf(0,1,0)
  1300. wld11.C0=euler(1.57,6.28*i,1.57)*cf(0,1,0)
  1301. local Point=prt5.CFrame*cf(0,prt5.Size.Y/1.5,0.2)
  1302. effect("White",0.5,LastPoint,Point,0.2)
  1303. LastPoint=Point
  1304. local Point2=prt15.CFrame*cf(0,prt15.Size.Y/1.5,0.2)
  1305. effect("White",0.5,LastPoint2,Point2,0.2)
  1306. LastPoint2=Point2
  1307. hitbox.CFrame=RootPart.CFrame
  1308. if i==0.2 or i==0.4 or i==0.6 or i==0.8 then
  1309. Magicsword(BrickColor.new("Black"),RootPart.CFrame,RootPart,1,2,1,0,math.random(-300,300)/100,-math.random(300,600)/100,0.02)
  1310. end
  1311. end
  1312. end
  1313. con1:disconnect()
  1314. hitbox.Parent=nil
  1315. for i=0,1,0.1 do
  1316. swait()
  1317. Torso.Neck.C0=necko*euler(0,0,-1.3+2.7*i)
  1318. RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,1.3-2.7*i)
  1319. RW.C0=cf(1.5,0.5,0)*euler(0.2-0.8*i,0,1.57-1.07*i)
  1320. RW.C1=cf(0,0.5,0)*euler(-0.4+0.4*i,0,0)
  1321. LW.C0=cf(-1.5,0.5,0)*euler(0.2-0.2*i,0,-1.57+1.37*i)
  1322. LW.C1=cf(0,0.5,0)*euler(0.4-0.4*i,0,0)
  1323. end
  1324. attack=false
  1325. end
  1326.  
  1327. function Clone()
  1328. so("http://roblox.com/asset/?id=2767090",Torso,1,1)
  1329. for _,v in pairs(Torso.Parent:children()) do
  1330. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1331. n=v:clone()
  1332. n:BreakJoints()
  1333. n.archivable=true
  1334. n.Anchored=true
  1335. n.CanCollide=false
  1336. n.Name="TRAILER"
  1337. n.BrickColor=BrickColor.new("Really black")
  1338. n.Parent=workspace
  1339. n.CFrame=v.CFrame
  1340. coroutine.resume(coroutine.create(function(ne) for i=1, 80 do ne:BreakJoints() ne.Transparency=i/80 wait() end ne.Parent=nil end),n)
  1341. elseif v.className=="Hat" then
  1342. n=v.Handle:clone()
  1343. n:BreakJoints()
  1344. n.archivable=true
  1345. n.Anchored=true
  1346. n.CanCollide=false
  1347. n.Name="TRAILER"
  1348. n.BrickColor=BrickColor.new("Really black")
  1349. n.Parent=workspace
  1350. n.CFrame=v.Handle.CFrame
  1351. coroutine.resume(coroutine.create(function(ne) for i=1, 80 do ne:BreakJoints() ne.Transparency=i/80 wait() end ne.Parent=nil end),n)
  1352. end
  1353. end
  1354. for _,v in pairs(modelzorz:children()) do
  1355. if v.className=="Part" then
  1356. n=v:clone()
  1357. n:BreakJoints()
  1358. n.archivable=true
  1359. n.Anchored=true
  1360. n.CanCollide=false
  1361. n.Name="TRAILER"
  1362. n.BrickColor=BrickColor.new("Really black")
  1363. n.Parent=workspace
  1364. n.CFrame=v.CFrame
  1365. coroutine.resume(coroutine.create(function(ne) for i=1, 80 do ne:BreakJoints() ne.Transparency=i/80 wait() end ne.Parent=nil end),n)
  1366. end
  1367. end
  1368. end
  1369.  
  1370. function Cloak()
  1371. Face.Parent=nil
  1372. cloaked=true
  1373. for _,v in pairs(Torso.Parent:children()) do
  1374. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1375. coroutine.resume(coroutine.create(function()
  1376. for i=0,1,0.1 do
  1377. wait()
  1378. v.Transparency=v.Transparency+0.1
  1379. end
  1380. v.Transparency=1
  1381. end))
  1382. end
  1383. if v.className=="Hat" then
  1384. hatp=v.Handle
  1385. coroutine.resume(coroutine.create(function(derp)
  1386. for i=0,1,0.1 do
  1387. wait()
  1388. derp.Transparency=derp.Transparency+0.1
  1389. end
  1390. derp.Transparency=1
  1391. end),hatp)
  1392. end
  1393. end
  1394. for _,v in pairs(modelzorz:children()) do
  1395. if v.className=="Part" then
  1396. coroutine.resume(coroutine.create(function()
  1397. for i=0,1,0.1 do
  1398. wait()
  1399. v.Transparency=v.Transparency+0.1
  1400. end
  1401. v.Transparency=1
  1402. end))
  1403. end
  1404. end
  1405. end
  1406.  
  1407. function UnCloak()
  1408. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  1409. Face.Parent=Head
  1410. cloaked=false
  1411. for _,v in pairs(Torso.Parent:children()) do
  1412. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1413. coroutine.resume(coroutine.create(function()
  1414. for i=0,1,0.1 do
  1415. wait()
  1416. v.Transparency=v.Transparency-0.1
  1417. end
  1418. v.Transparency=0
  1419. end))
  1420. end
  1421. if v.className=="Hat" then
  1422. hatp=v.Handle
  1423. coroutine.resume(coroutine.create(function(derp)
  1424. for i=0,1,0.1 do
  1425. wait()
  1426. derp.Transparency=derp.Transparency-0.1
  1427. end
  1428. derp.Transparency=0
  1429. end),hatp)
  1430. end
  1431. end
  1432. for _,v in pairs(modelzorz:children()) do
  1433. if v.className=="Part" and v.Name~="Hitbox" then
  1434. coroutine.resume(coroutine.create(function()
  1435. for i=0,1,0.1 do
  1436. wait()
  1437. v.Transparency=v.Transparency-0.1
  1438. end
  1439. v.Transparency=0
  1440. end))
  1441. v.Transparency=0
  1442. end
  1443. end
  1444. end
  1445.  
  1446. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1447. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1448. end
  1449.  
  1450. local Point=prt5.CFrame*CFrame.new(0,prt5.Size.Y/7,0)
  1451. LastPoint=Point
  1452. function effect(Color,Ref,LP,P1,sizee)
  1453. local effectsmsh = Instance.new("BlockMesh")
  1454. effectsmsh.Scale = Vector3.new(0.2,1,0.2)
  1455. effectsmsh.Name = "Mesh"
  1456. local effectsg = Instance.new("Part")
  1457. effectsg.formFactor = 3
  1458. effectsg.CanCollide = false
  1459. effectsg.Name = "Eff"
  1460. effectsg.Locked = true
  1461. effectsg.Anchored = true
  1462. effectsg.Size = Vector3.new(0.5,1,0.5)
  1463. effectsg.Parent = workspace
  1464. effectsmsh.Parent = effectsg
  1465. effectsg.BrickColor = BrickColor.new(Color)
  1466. effectsg.Reflectance = Ref
  1467. local point1 = P1
  1468. local mg = (LP.p - point1.p).magnitude
  1469. effectsg.Size = Vector3.new(0.5,mg,0.5)
  1470. effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
  1471. effectsmsh.Scale = Vector3.new(sizee,1,sizee)
  1472. game:GetService("Debris"):AddItem(effectsg,2)
  1473. coroutine.resume(coroutine.create(function(Part,Mesh,MeshSiz)
  1474. for i = 0 , 1 , 0.1 do
  1475. swait()
  1476. Part.Transparency = 1*i
  1477. Mesh.Scale = Vector3.new(MeshSiz-MeshSiz*i,1,MeshSiz-MeshSiz*i)
  1478. end
  1479. swait()
  1480. Part.Parent = nil
  1481. end),effectsg,effectsmsh,sizee)
  1482. end
  1483.  
  1484. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1485. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1486. prt.Anchored=true
  1487. prt.CFrame=cframe
  1488. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1489. --http://www.roblox.com/asset/?id=4770560
  1490. game:GetService("Debris"):AddItem(prt,2)
  1491. CF=prt.CFrame
  1492. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1493. for i=0,1,0.2 do
  1494. swait()
  1495. Part.CFrame=CF*cf(0,0,-0.4)
  1496. end
  1497. for i=0,1,delay do
  1498. swait()
  1499. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  1500. Mesh.Scale=Mesh.Scale
  1501. end
  1502. for i=0,1,0.1 do
  1503. swait()
  1504. Part.Transparency=i
  1505. end
  1506. Part.Parent=nil
  1507. end),prt,msh,CF)
  1508. end
  1509.  
  1510. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1511. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1512. prt.Anchored=true
  1513. prt.CFrame=cframe
  1514. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1515. game:GetService("Debris"):AddItem(prt,5)
  1516. coroutine.resume(coroutine.create(function(Part,Mesh)
  1517. for i=0,1,delay do
  1518. swait()
  1519. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1520. Part.Transparency=i
  1521. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1522. end
  1523. Part.Parent=nil
  1524. end),prt,msh)
  1525. end
  1526.  
  1527. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1528. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1529. prt.Anchored=false
  1530. prt.CFrame=cframe
  1531. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1532. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  1533. game:GetService("Debris"):AddItem(prt,5)
  1534. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1535. for i=0,1,delay do
  1536. swait()
  1537. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1538. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1539. Part.Transparency=i
  1540. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1541. end
  1542. Part.Parent=nil
  1543. end),prt,msh,wld)
  1544. end
  1545.  
  1546. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1547. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1548. prt.Anchored=false
  1549. prt.CFrame=cframe
  1550. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1551. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  1552. game:GetService("Debris"):AddItem(prt,5)
  1553. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1554. for i=0,1,delay do
  1555. swait()
  1556. Weld.C0=euler(i*20,0,0)
  1557. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1558. Part.Transparency=i
  1559. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1560. end
  1561. Part.Parent=nil
  1562. end),prt,msh,wld)
  1563. end
  1564.  
  1565. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1566. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1567. prt.Anchored=true
  1568. prt.CFrame=cframe
  1569. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1570. game:GetService("Debris"):AddItem(prt,2)
  1571. coroutine.resume(coroutine.create(function(Part,Mesh)
  1572. for i=0,1,delay do
  1573. swait()
  1574. Part.CFrame=Part.CFrame
  1575. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1576. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1577. prt2.Anchored=true
  1578. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1579. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  1580. game:GetService("Debris"):AddItem(prt2,2)
  1581. coroutine.resume(coroutine.create(function(Part,Mesh)
  1582. for i=0,1,0.1 do
  1583. swait()
  1584. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  1585. end
  1586. Part.Parent=nil
  1587. end),prt2,msh2)
  1588. end
  1589. for i=0,1,delay*2 do
  1590. swait()
  1591. Part.CFrame=Part.CFrame
  1592. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  1593. end
  1594. Part.Parent=nil
  1595. end),prt,msh)
  1596. end
  1597.  
  1598. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1599. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1600. prt.Anchored=true
  1601. prt.CFrame=cframe
  1602. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1603. game:GetService("Debris"):AddItem(prt,2)
  1604. coroutine.resume(coroutine.create(function(Part,Mesh)
  1605. for i=0,1,delay do
  1606. swait()
  1607. Part.CFrame=Part.CFrame
  1608. Part.Transparency=i
  1609. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1610. end
  1611. Part.Parent=nil
  1612. end),prt,msh)
  1613. end
  1614.  
  1615. function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
  1616. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1617. prt.Anchored=true
  1618. prt.CFrame=cframe*euler(x2,y2,z2)
  1619. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  1620. game:GetService("Debris"):AddItem(prt,2)
  1621. coroutine.resume(coroutine.create(function(Part,Mesh)
  1622. for i=0,1,0.03 do
  1623. swait()
  1624. Part.CFrame=Part.CFrame
  1625. Part.Transparency=i
  1626. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1627. end
  1628. Part.Parent=nil
  1629. end),prt,msh)
  1630. end
  1631.  
  1632. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  1633. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1634. prt.Anchored=true
  1635. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1636. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1637. game:GetService("Debris"):AddItem(prt,2)
  1638. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  1639. CF=Part.CFrame
  1640. Numbb=0
  1641. randnumb=math.random()-math.random()
  1642. rand1=math.random()/5
  1643. for i=0,1,rand1 do
  1644. swait()
  1645. CF=CF*cf(0,1,0)
  1646. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  1647. Part.CFrame=CF*euler(Numbb,0,0)
  1648. Part.Transparency=i
  1649. Numbb=Numbb+randnumb
  1650. end
  1651. Part.Parent=nil
  1652. end),prt,CF,Numbb,randnumb)
  1653. end
  1654.  
  1655. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1656. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1657. prt.Anchored=true
  1658. prt.CFrame=cframe
  1659. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1660. game:GetService("Debris"):AddItem(prt,5)
  1661. coroutine.resume(coroutine.create(function(Part,Mesh)
  1662. for i=0,1,delay do
  1663. swait()
  1664. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  1665. Part.Transparency=i
  1666. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1667. end
  1668. Part.Parent=nil
  1669. end),prt,msh)
  1670. end
  1671.  
  1672. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1673. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1674. prt.Anchored=true
  1675. prt.CFrame=cframe
  1676. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  1677. game:GetService("Debris"):AddItem(prt,2)
  1678. coroutine.resume(coroutine.create(function(Part,Mesh)
  1679. for i=0,1,delay do
  1680. swait()
  1681. Part.CFrame=Part.CFrame*cf(0,y3,0)
  1682. Part.Transparency=i
  1683. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1684. end
  1685. Part.Parent=nil
  1686. end),prt,msh)
  1687. end
  1688.  
  1689. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  1690. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1691. prt.Anchored=true
  1692. prt.CFrame=cframe*cf(x,y,z)
  1693. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  1694. game:GetService("Debris"):AddItem(prt,5)
  1695. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  1696. local num=math.random()
  1697. local num2=math.random(-3,2)+math.random()
  1698. local numm=0
  1699. for i=0,1,delay do
  1700. swait()
  1701. Part.CFrame=cframe*euler(0,-numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  1702. Part.Transparency=i
  1703. numm=numm+0.01
  1704. end
  1705. Part.Parent=nil
  1706. end),prt,msh,x,y,z)
  1707. end
  1708.  
  1709. function Magicsword(brickcolor,cframe,Parent,x1,y1,z1,x2,y2,z2,delay)
  1710. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1711. prt.Anchored=false
  1712. prt.CFrame=cframe
  1713. so("http://roblox.com/asset/?id=10209640",prt,.7,2)
  1714. msh=mesh("SpecialMesh",prt,"FileMesh","rbxasset://fonts/sword.mesh",vt(0,0,0),vt(x1,y1,z1))
  1715. local wld=weld(prt,prt,Parent,euler(0,math.random(-50,50),0)*cf(x2,y2,z2))
  1716. game:GetService("Debris"):AddItem(prt,5)
  1717. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1718. local dur=math.random(-50,50)/200
  1719. local tehcf=euler(dur,0,0)*cf(x2,y2,z2)*euler(0,math.random(-50,50),0)
  1720. for i=0,1,delay do
  1721. swait()
  1722. Weld.C0=tehcf*euler(0,-i*i*15,0)
  1723. Part.Transparency=i
  1724. end
  1725. Part.Parent=nil
  1726. end),prt,msh,wld)
  1727. end
  1728.  
  1729. so = function(id,par,vol,pit)
  1730. coroutine.resume(coroutine.create(function()
  1731. local sou = Instance.new("Sound",par or workspace)
  1732. sou.Volume=vol
  1733. sou.Pitch=pit or 1
  1734. sou.SoundId=id
  1735. swait()
  1736. sou:play()
  1737. game:GetService("Debris"):AddItem(sou,6)
  1738. end))
  1739. end
  1740.  
  1741. function findNearestTorso(pos)
  1742. local list = game:service("Workspace"):children()
  1743. local torso = nil
  1744. local dist = 50
  1745. local temp = nil
  1746. local human = nil
  1747. local temp2 = nil
  1748. for x = 1, #list do
  1749. temp2 = list[x]
  1750. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Name ~= "Fenrier") then
  1751. temp = temp2:findFirstChild("Torso")
  1752. human = temp2:findFirstChild("Humanoid")
  1753. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  1754. if (temp.Position - pos).magnitude < dist then
  1755. torso = temp
  1756. dist = (temp.Position - pos).magnitude
  1757. end
  1758. end
  1759. end
  1760. end
  1761. return torso
  1762. end
  1763.  
  1764. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,HitSound,HitPitch)
  1765. if hit.Parent==nil then
  1766. return
  1767. end
  1768. CPlayer=Bin
  1769. h=hit.Parent:FindFirstChild("Humanoid")
  1770. for _,v in pairs(hit.Parent:children()) do
  1771. if v:IsA("Humanoid") then
  1772. h=v
  1773. end
  1774. end
  1775. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1776. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  1777. if h.MaxHealth>=math.huge then
  1778. hit:BreakJoints()
  1779. end
  1780. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1781. return
  1782. end]]
  1783. -- hs(hit,1.2)
  1784. c=Instance.new("ObjectValue")
  1785. c.Name="creator"
  1786. c.Value=game:service("Players").LocalPlayer
  1787. c.Parent=h
  1788. game:GetService("Debris"):AddItem(c,.5)
  1789. if HitSound~=nil and HitPitch~=nil then
  1790. so(HitSound,hit,1,HitPitch)
  1791. end
  1792. Damage=math.random(minim,maxim)
  1793. -- h:TakeDamage(Damage)
  1794. blocked=false
  1795. block=hit.Parent:findFirstChild("Block")
  1796. if block~=nil then
  1797. if block.className=="IntValue" then
  1798. if block.Value>0 then
  1799. blocked=true
  1800. block.Value=block.Value-1
  1801. print(block.Value)
  1802. end
  1803. end
  1804. end
  1805. if blocked==false then
  1806. -- h:TakeDamage(Damage)
  1807. h.Health=h.Health-Damage
  1808. showDamage(hit.Parent,Damage,.5,BrickColor:Red())
  1809. else
  1810. h.Health=h.Health-(Damage/2)
  1811. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  1812. end
  1813. if Type=="Knockdown" then
  1814. hum=hit.Parent.Humanoid
  1815. hum.PlatformStand=true
  1816. coroutine.resume(coroutine.create(function(HHumanoid)
  1817. swait(1)
  1818. HHumanoid.PlatformStand=false
  1819. end),hum)
  1820. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  1821. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1822. local bodvol=Instance.new("BodyVelocity")
  1823. bodvol.velocity=angle*knockback
  1824. bodvol.P=5000
  1825. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1826. bodvol.Parent=hit
  1827. rl=Instance.new("BodyAngularVelocity")
  1828. rl.P=3000
  1829. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1830. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1831. rl.Parent=hit
  1832. game:GetService("Debris"):AddItem(bodvol,.5)
  1833. game:GetService("Debris"):AddItem(rl,.5)
  1834. elseif Type=="Normal" then
  1835. vp=Instance.new("BodyVelocity")
  1836. vp.P=500
  1837. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1838. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1839. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1840. if knockback>0 then
  1841. vp.Parent=hit.Parent.Torso
  1842. end
  1843. game:GetService("Debris"):AddItem(vp,.5)
  1844. elseif Type=="Up" then
  1845. local bodyVelocity=Instance.new("BodyVelocity")
  1846. bodyVelocity.velocity=vt(0,20,0)
  1847. bodyVelocity.P=5000
  1848. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1849. bodyVelocity.Parent=hit
  1850. game:GetService("Debris"):AddItem(bodyVelocity,.5)
  1851. elseif Type=="Snare" then
  1852. bp=Instance.new("BodyPosition")
  1853. bp.P=2000
  1854. bp.D=100
  1855. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1856. bp.position=hit.Parent.Torso.Position
  1857. bp.Parent=hit.Parent.Torso
  1858. game:GetService("Debris"):AddItem(bp,1)
  1859. elseif Type=="Freeze" then
  1860. BodPos=Instance.new("BodyPosition")
  1861. BodPos.P=50000
  1862. BodPos.D=1000
  1863. BodPos.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1864. BodPos.position=hit.Parent.Torso.Position
  1865. BodPos.Parent=hit.Parent.Torso
  1866. BodGy = it("BodyGyro")
  1867. BodGy.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  1868. BodGy.P = 20e+003
  1869. BodGy.Parent=hit.Parent.Torso
  1870. BodGy.cframe = hit.Parent.Torso.CFrame
  1871. hit.Parent.Torso.Anchored=true
  1872. coroutine.resume(coroutine.create(function(Part)
  1873. swait(1.5)
  1874. Part.Anchored=false
  1875. end),hit.Parent.Torso)
  1876. game:GetService("Debris"):AddItem(BodPos,3)
  1877. game:GetService("Debris"):AddItem(BodGy,3)
  1878. end
  1879. debounce=Instance.new("BoolValue")
  1880. debounce.Name="DebounceHit"
  1881. debounce.Parent=hit.Parent
  1882. debounce.Value=true
  1883. game:GetService("Debris"):AddItem(debounce,Delay)
  1884. c=Instance.new("ObjectValue")
  1885. c.Name="creator"
  1886. c.Value=Player
  1887. c.Parent=h
  1888. game:GetService("Debris"):AddItem(c,.5)
  1889. CRIT=false
  1890. hitDeb=true
  1891. AttackPos=6
  1892. end
  1893. end
  1894.  
  1895. showDamage=function(Char,Dealt,du,Color)
  1896. m=Instance.new("Model")
  1897. m.Name=tostring(Dealt)
  1898. h=Instance.new("Humanoid")
  1899. h.Health=0
  1900. h.MaxHealth=0
  1901. h.Parent=m
  1902. c=Instance.new("Part")
  1903. c.Transparency=0
  1904. c.BrickColor=Color
  1905. c.Name="Head"
  1906. c.TopSurface=0
  1907. c.BottomSurface=0
  1908. c.formFactor="Plate"
  1909. c.Size=Vector3.new(1,.4,1)
  1910. ms=Instance.new("CylinderMesh")
  1911. ms.Scale=Vector3.new(.8,.8,.8)
  1912. if CRIT==true then
  1913. ms.Scale=Vector3.new(1,1.25,1)
  1914. end
  1915. ms.Parent=c
  1916. c.Reflectance=0
  1917. Instance.new("BodyGyro").Parent=c
  1918. c.Parent=m
  1919. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1920. f=Instance.new("BodyPosition")
  1921. f.P=2000
  1922. f.D=100
  1923. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1924. f.position=c.Position+Vector3.new(0,3,0)
  1925. f.Parent=c
  1926. game:GetService("Debris"):AddItem(m,.5+du)
  1927. c.CanCollide=false
  1928. m.Parent=workspace
  1929. c.CanCollide=false
  1930. end
  1931.  
  1932. combo=0
  1933. function ob1d(mouse)
  1934. if attack==true then return end
  1935. hold=true
  1936. if combo==0 then
  1937. if holdz==false then
  1938. combo=1
  1939. attackone()
  1940. else
  1941. combo=4
  1942. heavyattackone()
  1943. end
  1944. elseif combo==1 then
  1945. combo=2
  1946. attacktwo()
  1947. elseif combo==2 then
  1948. combo=3
  1949. attackthree()
  1950. elseif combo==4 then
  1951. combo=5
  1952. heavyattacktwo()
  1953. elseif combo==5 then
  1954. combo=6
  1955. heavyattackthree()
  1956. else
  1957. combo=0
  1958. end
  1959. coroutine.resume(coroutine.create(function()
  1960. swait(50)
  1961. if attack==false then
  1962. combo=0
  1963. equipanim()
  1964. end
  1965. end))
  1966. end
  1967.  
  1968. function ob1u(mouse)
  1969. hold = false
  1970. end
  1971.  
  1972. buttonhold = false
  1973.  
  1974. eul=0
  1975. holdz=false
  1976. function key(key)
  1977. if key=="x" and shadowthrust=="Stance" then
  1978. print("DASH")
  1979. shadowthrust="Dash"
  1980. end
  1981. if attack==true then return end
  1982. if key=="z" then
  1983. holdz=true
  1984. end
  1985. if key=="x" and xenabled==true then
  1986. xenabled=false
  1987. coroutine.resume(coroutine.create(function()
  1988. for i=1,0,-0.003 do
  1989. swait()
  1990. fenframe1a.Size=UDim2.new(0.05*i,0,0.1,0)
  1991. end
  1992. xenabled=true
  1993. fenframe1a.Size=UDim2.new(0,0,0.1,0)
  1994. end))
  1995. ShadowlessThrust()
  1996. end
  1997. if key=="c" and cenabled==true then
  1998. cenabled=false
  1999. coroutine.resume(coroutine.create(function()
  2000. for i=1,0,-0.005 do
  2001. swait()
  2002. fenframe2a.Size=UDim2.new(0.05*i,0,0.1,0)
  2003. end
  2004. cenabled=true
  2005. fenframe2a.Size=UDim2.new(0,0,0.1,0)
  2006. end))
  2007. Assassinate()
  2008. end
  2009. if key=="v" and venabled==true then
  2010. venabled=false
  2011. coroutine.resume(coroutine.create(function()
  2012. for i=1,0,-0.003 do
  2013. swait()
  2014. fenframe3a.Size=UDim2.new(0.05*i,0,0.1,0)
  2015. end
  2016. venabled=true
  2017. fenframe3a.Size=UDim2.new(0,0,0.1,0)
  2018. end))
  2019. Eclipse()
  2020. end
  2021. if key=="b" and benabled==true and cloaked==false then
  2022. benabled=false
  2023. coroutine.resume(coroutine.create(function()
  2024. for i=1,0,-0.002 do
  2025. swait()
  2026. fenframe4a.Size=UDim2.new(0.05*i,0,0.1,0)
  2027. end
  2028. benabled=true
  2029. fenframe4a.Size=UDim2.new(0,0,0.1,0)
  2030. end))
  2031. DanceofSwords()
  2032. end
  2033. if key=="f" then
  2034. Neck.C0=necko*euler(-0.4,0,-0.2)
  2035. RootJoint.C0=RootCF*cf(0,0,-1.5)*euler(0.8,0,0.5)
  2036. RW.C0=cf(1.5,0.5,0)*euler(1.4,0,1.57-1.07)
  2037. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  2038. LW.C0=cf(-1.5,0.5,0)*euler(-0.2,0,-1.57+1.17)
  2039. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  2040. RH.C0=RHC0*cf(0,0,0)*euler(0,-0.5,-0.5)
  2041. LH.C0=LHC0*cf(-0.5,1,0)*euler(0.5,0,-0.5)
  2042. end
  2043. end
  2044.  
  2045. function key2(key)
  2046. if key=="z" then
  2047. holdz=false
  2048. end
  2049. end
  2050.  
  2051. function s(mouse)
  2052. mouse.Button1Down:connect(function() ob1d(mouse) end)
  2053. mouse.Button1Up:connect(function() ob1u(mouse) end)
  2054. mouse.KeyDown:connect(key)
  2055. mouse.KeyUp:connect(key2)
  2056. unsheathed = true
  2057. player = Player
  2058. ch = Character
  2059. MMouse = mouse
  2060. RSH = ch.Torso["Right Shoulder"]
  2061. LSH = ch.Torso["Left Shoulder"]
  2062. --
  2063. RSH.Parent = nil
  2064. LSH.Parent = nil
  2065. --
  2066. RW.Name = "Right Shoulder"
  2067. RW.Part0 = ch.Torso
  2068. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  2069. RW.C1 = CFrame.new(0, 0.5, 0)
  2070. RW.Part1 = ch["Right Arm"]
  2071. RW.Parent = ch.Torso
  2072. --_G.R = RW
  2073. --
  2074. LW.Name = "Left Shoulder"
  2075. LW.Part0 = ch.Torso
  2076. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  2077. LW.C1 = CFrame.new(0, 0.5, 0)
  2078. LW.Part1 = ch["Left Arm"]
  2079. LW.Parent = ch.Torso
  2080. --_G.L = LW
  2081. --
  2082. equipanim()
  2083. end
  2084.  
  2085. function ds(mouse)
  2086. hideanim()
  2087. swait(0)
  2088. RW.Parent = nil
  2089. LW.Parent = nil
  2090. RSH.Parent = player.Character.Torso
  2091. LSH.Parent = player.Character.Torso
  2092. end
  2093.  
  2094. Bin.Selected:connect(s)
  2095. Bin.Deselected:connect(ds)
  2096. print("Blood Shogai loaded.")
  2097.  
  2098. --[[
  2099. Copyrighted (C) Fenrier 2014
  2100. ]]
Add Comment
Please, Sign In to add comment