Advertisement
TempusMoon

Untitled

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