robthesnowman

Untitled

Aug 10th, 2016
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 43.51 KB | None | 0 0
  1. --[[
  2. Altered Fenrier's Cyber Bruiser to utilize Vanta's attack functions. -Ucalegen
  3. ]]
  4. de=true
  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. moose = Player:GetMouse()
  13. LeftArm=Character["Left Arm"]
  14. LeftLeg=Character["Left Leg"]
  15. RightArm=Character["Right Arm"]
  16. RightLeg=Character["Right Leg"]
  17. LS=Torso["Left Shoulder"]
  18. LH=Torso["Left Hip"]
  19. RS=Torso["Right Shoulder"]
  20. RH=Torso["Right Hip"]
  21. Neck=Torso.Neck
  22. it=Instance.new
  23. vt=Vector3.new
  24. cf=CFrame.new
  25. euler=CFrame.fromEulerAnglesXYZ
  26. angles=CFrame.Angles
  27. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  28. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  29. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  30. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  31. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  32. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  33. RootPart=Character.HumanoidRootPart
  34. RootJoint=RootPart.RootJoint
  35. RootCF=euler(-1.57,0,3.14)
  36. attack = false
  37. attackdebounce = false
  38. MMouse=nil
  39. combo=0
  40. mana=0
  41. local idle=0
  42. local Anim="Idle"
  43. local orbnum=0
  44. local Mode="Normal"
  45. --player
  46. player=nil
  47. --save shoulders
  48. RSH, LSH=nil, nil
  49. --welds
  50. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  51. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  52. LH=Torso["Left Hip"]
  53. RH=Torso["Right Hip"]
  54. Charge=0
  55. TorsoColor=Torso.BrickColor.Color
  56. Col1=1-Torso.Color.r
  57. Col2=1-Torso.Color.g
  58. Col3=1-Torso.Color.b
  59. InverseCol=BrickColor.new(Color3.new(Col1,Col2,Col3))
  60. upvel=Instance.new("BodyVelocity")
  61. local hitbeat=nil
  62.  
  63. function swait(num)
  64. if num==0 or num==nil then
  65. game:service'RunService'.RenderStepped:wait()
  66. else
  67. for i=0,num do
  68. game:service'RunService'.RenderStepped:wait()
  69. end
  70. end
  71. end
  72.  
  73. if Character:findFirstChild("Vanta",true) ~= nil then
  74. Character:findFirstChild("Vanta",true).Parent = nil
  75. end
  76. if Player.PlayerGui:findFirstChild("WeaponGUI",true) ~= nil then
  77. Player.PlayerGui:findFirstChild("WeaponGUI",true).Parent = nil
  78. end
  79.  
  80.  
  81. function NoOutline(Part)
  82. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  83. end
  84.  
  85. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  86. local fp=it("Part")
  87. fp.formFactor=formfactor
  88. fp.Parent=parent
  89. fp.Reflectance=reflectance
  90. fp.Transparency=transparency
  91. fp.CanCollide=false
  92. fp.Locked=true
  93. fp.BrickColor=brickcolor
  94. fp.Name=name
  95. fp.Size=size
  96. fp.Position=Torso.Position
  97. NoOutline(fp)
  98. fp.Material="SmoothPlastic"
  99. fp:BreakJoints()
  100. return fp
  101. end
  102.  
  103. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  104. local mesh=it(Mesh)
  105. mesh.Parent=part
  106. if Mesh=="SpecialMesh" then
  107. mesh.MeshType=meshtype
  108. mesh.MeshId=meshid
  109. end
  110. mesh.Offset=offset
  111. mesh.Scale=scale
  112. return mesh
  113. end
  114.  
  115. function weld(parent,part0,part1,c0)
  116. local weld=it("Weld")
  117. weld.Parent=parent
  118. weld.Part0=part0
  119. weld.Part1=part1
  120. weld.C0=c0
  121. return weld
  122. end
  123.  
  124. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  125. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  126. prt.Anchored=true
  127. prt.CFrame=cframe
  128. msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  129. game:GetService("Debris"):AddItem(prt,5)
  130. coroutine.resume(coroutine.create(function(Part,Mesh)
  131. for i=0,1,delay do
  132. wait()
  133. Part.CFrame=Part.CFrame
  134. Part.Transparency=i
  135. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  136. end
  137. Part.Parent=nil
  138. end),prt,msh)
  139. end
  140.  
  141. function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  142. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  143. prt.Anchored=true
  144. prt.CFrame=cframe
  145. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  146. game:GetService("Debris"):AddItem(prt,5)
  147. coroutine.resume(coroutine.create(function(Part,Mesh)
  148. for i=0,1,delay do
  149. wait()
  150. Part.CFrame=Part.CFrame
  151. Part.Transparency=i
  152. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  153. end
  154. Part.Parent=nil
  155. end),prt,msh)
  156. end
  157.  
  158. local Color1=Torso.BrickColor
  159.  
  160. local fengui=it("GuiMain")
  161. fengui.Parent=Player.PlayerGui
  162. fengui.Name="WeaponGUI"
  163. local fenframe=it("Frame")
  164. fenframe.Parent=fengui
  165. fenframe.BackgroundColor3=Color3.new(255,255,255)
  166. fenframe.BackgroundTransparency=1
  167. fenframe.BorderColor3=Color3.new(17,17,17)
  168. fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
  169. fenframe.Position=UDim2.new(0.4,0,0.1,0)
  170. fenframe.Visible=false
  171. local fenbarmana1=it("TextLabel")
  172. fenbarmana1.Parent=fenframe
  173. fenbarmana1.Text=" "
  174. fenbarmana1.BackgroundTransparency=0
  175. fenbarmana1.BackgroundColor3=Color3.new(0,0,0)
  176. fenbarmana1.SizeConstraint="RelativeXY"
  177. fenbarmana1.TextXAlignment="Center"
  178. fenbarmana1.TextYAlignment="Center"
  179. fenbarmana1.Position=UDim2.new(0,0,0,0)
  180. fenbarmana1.Size=UDim2.new(4,0,0.2,0)
  181. local fenbarmana2=it("TextLabel")
  182. fenbarmana2.Parent=fenframe
  183. fenbarmana2.Text=" "
  184. fenbarmana2.BackgroundTransparency=0
  185. fenbarmana2.BackgroundColor3=Torso.Color
  186. fenbarmana2.SizeConstraint="RelativeXY"
  187. fenbarmana2.TextXAlignment="Center"
  188. fenbarmana2.TextYAlignment="Center"
  189. fenbarmana2.Position=UDim2.new(0,0,0,0)
  190. fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0)
  191. local fenbarmana3=it("TextLabel")
  192. fenbarmana3.Parent=fenframe
  193. fenbarmana3.Text=" "
  194. fenbarmana3.BackgroundTransparency=0
  195. fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
  196. fenbarmana3.SizeConstraint="RelativeXY"
  197. fenbarmana3.TextXAlignment="Center"
  198. fenbarmana3.TextYAlignment="Center"
  199. fenbarmana3.Position=UDim2.new(0,0,0,0)
  200. fenbarmana3.Size=UDim2.new(0,0,0.2,0)
  201. local fenbarmana4=it("TextLabel")
  202. fenbarmana4.Parent=fenframe
  203. fenbarmana4.Text="Energy("..mana..")"
  204. fenbarmana4.BackgroundTransparency=1
  205. fenbarmana4.BackgroundColor3=Color3.new(0,0,0)
  206. fenbarmana4.SizeConstraint="RelativeXY"
  207. fenbarmana4.TextXAlignment="Center"
  208. fenbarmana4.TextYAlignment="Center"
  209. fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
  210. fenbarmana4.Size=UDim2.new(4,0,0.2,0)
  211. fenbarmana4.FontSize="Size9"
  212. fenbarmana4.TextStrokeTransparency=0
  213. fenbarmana4.TextColor=BrickColor.new("White")
  214.  
  215. local modelzorz=Instance.new("Model")
  216. modelzorz.Parent=Character
  217. modelzorz.Name="Vanta"
  218.  
  219. local hitbox=part(3,nil,0,1,BrickColor.new("Black"),"Hitbox",vt(1,1,1))
  220. hitbox.Anchored=false
  221.  
  222. if (script.Parent.className~="HopperBin") then
  223. Tool=Instance.new("HopperBin")
  224. Tool.Parent=Backpack
  225. Tool.Name="Vanta"
  226. script.Parent=Tool
  227. end
  228. Bin=script.Parent
  229.  
  230. local bodvel=Instance.new("BodyVelocity")
  231. local bg=Instance.new("BodyGyro")
  232.  
  233. so = function(id,par,vol,pit)
  234. coroutine.resume(coroutine.create(function()
  235. local sou = Instance.new("Sound",par or workspace)
  236. sou.Volume=vol
  237. sou.Pitch=pit or 1
  238. sou.SoundId=id
  239. swait()
  240. sou:play()
  241. game:GetService("Debris"):AddItem(sou,6)
  242. end))
  243. end
  244.  
  245. function clerp(a,b,t)
  246. local qa = {QuaternionFromCFrame(a)}
  247. local qb = {QuaternionFromCFrame(b)}
  248. local ax, ay, az = a.x, a.y, a.z
  249. local bx, by, bz = b.x, b.y, b.z
  250. local _t = 1-t
  251. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  252. end
  253.  
  254. function QuaternionFromCFrame(cf)
  255. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  256. local trace = m00 + m11 + m22
  257. if trace > 0 then
  258. local s = math.sqrt(1 + trace)
  259. local recip = 0.5/s
  260. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  261. else
  262. local i = 0
  263. if m11 > m00 then
  264. i = 1
  265. end
  266. if m22 > (i == 0 and m00 or m11) then
  267. i = 2
  268. end
  269. if i == 0 then
  270. local s = math.sqrt(m00-m11-m22+1)
  271. local recip = 0.5/s
  272. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  273. elseif i == 1 then
  274. local s = math.sqrt(m11-m22-m00+1)
  275. local recip = 0.5/s
  276. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  277. elseif i == 2 then
  278. local s = math.sqrt(m22-m00-m11+1)
  279. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  280. end
  281. end
  282. end
  283.  
  284. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  285. local xs, ys, zs = x + x, y + y, z + z
  286. local wx, wy, wz = w*xs, w*ys, w*zs
  287. local xx = x*xs
  288. local xy = x*ys
  289. local xz = x*zs
  290. local yy = y*ys
  291. local yz = y*zs
  292. local zz = z*zs
  293. 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))
  294. end
  295.  
  296. function QuaternionSlerp(a, b, t)
  297. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  298. local startInterp, finishInterp;
  299. if cosTheta >= 0.0001 then
  300. if (1 - cosTheta) > 0.0001 then
  301. local theta = math.acos(cosTheta)
  302. local invSinTheta = 1/math.sin(theta)
  303. startInterp = math.sin((1-t)*theta)*invSinTheta
  304. finishInterp = math.sin(t*theta)*invSinTheta
  305. else
  306. startInterp = 1-t
  307. finishInterp = t
  308. end
  309. else
  310. if (1+cosTheta) > 0.0001 then
  311. local theta = math.acos(-cosTheta)
  312. local invSinTheta = 1/math.sin(theta)
  313. startInterp = math.sin((t-1)*theta)*invSinTheta
  314. finishInterp = math.sin(t*theta)*invSinTheta
  315. else
  316. startInterp = t-1
  317. finishInterp = t
  318. end
  319. end
  320. 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
  321. end
  322.  
  323. function hideanim()
  324. equipped=false
  325. for i=0,1,0.1 do
  326. swait()
  327. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.4)
  328. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.4)
  329. Torso.Neck.C1=clerp(Torso.Neck.C1,necko2*euler(0,0,0),.4)
  330. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0,0,0),.4)
  331. RW.C1=clerp(RW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  332. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0,0,0),.4)
  333. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  334. RH.C0=clerp(RH.C0,RHC0,.2)
  335. RH.C1=clerp(RH.C1,RHC1,.2)
  336. LH.C0=clerp(LH.C0,LHC0,.2)
  337. LH.C1=clerp(LH.C1,LHC1,.2)
  338. end
  339. end
  340.  
  341. function equipanim()
  342. equipped=true
  343. for i=0,1,0.1 do
  344. swait()
  345. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0),.3)
  346. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  347. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0,0,0.1),.3)
  348. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  349. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0,0,-0.1),.3)
  350. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  351. end
  352. end
  353.  
  354. function attackone()
  355.  
  356. end
  357.  
  358. function attacktwo()
  359. end
  360.  
  361. function attackthree()
  362.  
  363. end
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383. function Nocturn(mouse)
  384. if de==true then
  385. de=false
  386. local n=2
  387. --[[for i=0,1,0.1 do
  388. wait()
  389. Neck.C0=cf(0,1,0)*euler(-0.2+0.6*i*n,0,0)
  390. RW.C0=cf(1.5,0.5,0)*euler(3.14*i*n,0,0.3-0.9*i*n)
  391. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  392. LW.C0=cf(-1.5,0.5,0)*euler(3.14*i*n,0,-0.3+0.9*i*n)
  393. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  394. n=n-0.1
  395. end]]
  396. local orb=part(3,Character,0,1,BrickColor.new("Really black"),"Orb",vt())
  397. local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(15,15,15))
  398. local owld=weld(orb,orb,Torso,cf(0,-10,0))
  399. so("http://roblox.com/asset/?id=137463716",orb,1,0.6)
  400. for i=1,0.3,-0.01 do
  401. wait()
  402. orb.Transparency=i
  403. omsh.Scale=omsh.Scale+vt(0.5,0.5,0.5)
  404. MagicBlock(BrickColor.new("Really black"),orb.CFrame,15,15,15,2,2,2,0.1)
  405. local ef=part(3,workspace,0,0,BrickColor.new("Really black"),"Effect",vt())
  406. ef.Anchored=true
  407. local emsh=mesh("SpecialMesh",ef,"Sphere","",vt(0,0,0),vt(2,math.random(1000,1500)/100,2))
  408. local ceef=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,math.random(10,20),0)
  409. ef.CFrame=orb.CFrame*ceef
  410. game:GetService("Debris"):AddItem(ef,2)
  411. coroutine.resume(coroutine.create(function(Part,Mesh)
  412. for i=0,1,0.1 do
  413. wait()
  414. Part.Transparency=i
  415. Part.CFrame=Part.CFrame*cf(0,-1,0)
  416. end
  417. Part.Parent=nil
  418. end),ef,emsh)
  419. end
  420. local Pos=cf(orb.Position,Player:GetMouse().Hit.p).lookVector
  421. wait(.5)
  422. orb.Parent=nil
  423. local hit,pos = rayCast(orb.Position,Pos,999,Character)
  424. local mag=(orb.Position-pos).magnitude
  425. MagicCircle(BrickColor.new("Really black"),cf(pos),15,15,15,8,8,8,0.02)
  426. MagicBlock(BrickColor.new("Really black"),cf(pos),15,15,15,8,8,8,0.02)
  427. MagicCylinder(BrickColor.new("Really black"),CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0),10,mag*5,10,0.5,0,0.5,0.01)
  428. for i=1,2 do
  429. MagicRing(BrickColor.new("Really black"),cf(pos)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),3,3,3,1,1,1,0.04)
  430. end
  431. for i=1,5 do
  432. tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(mag/5)*(i/2),0)
  433. MagicRing(BrickColor.new("Really black"),tehcf*euler(1.57,0,0),1,1,1,0.5,0.5,0.5,0.01)
  434. end
  435. for i=0,5 do
  436. tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(-mag/5)*(i/2),0)
  437. MagicRing(BrickColor.new("Really black"),tehcf*euler(1.57,0,0),1,1,1,0.5,0.5,0.5,0.01)
  438. end
  439. local ref=part(3,workspace,0,1,BrickColor.new("Really black"),"Effect",vt())
  440. ref.CFrame=cf(pos)
  441. so("http://roblox.com/asset/?id=183763506",Torso,1,0.6)
  442. so("http://roblox.com/asset/?id=178452221",Torso,1,0.6)
  443. so("http://www.roblox.com/Asset?ID=87767777",Torso,1,1)
  444. so("http://roblox.com/asset/?id=183763506",ref,1,0.6)
  445. so("http://roblox.com/asset/?id=178452221",ref,1,0.6)
  446. so("http://www.roblox.com/Asset?ID=87767777",ref,1,1)
  447. coroutine.resume(coroutine.create(function(Part)
  448. wait(1)
  449. Part.Parent=nil
  450. end),ref)
  451. MagniDamage(ref,20,10,30,40,"Knockdown",ref)
  452. if hit~=nil then
  453. Damagefunc(hit,30,70,50,"Knockdown",RootPart,0)
  454. end
  455. wait(1)
  456. local n=2
  457. --[[for i=0,1,0.1 do
  458. wait()
  459. Neck.C0=cf(0,1,0)*euler(0.4-0.6*i*n,0,0)
  460. RW.C0=cf(1.5,0.5,0)*euler(3.14-3.14*i*n,0,-0.6+0.9*i*n)
  461. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  462. LW.C0=cf(-1.5,0.5,0)*euler(3.14-3.14*i*n,0,0.6-0.9*i*n)
  463. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  464. n=n-0.1
  465. end]]
  466. de=true
  467. end
  468. end
  469.  
  470. function Darkrain()
  471. if de==true then
  472. de=false
  473. local n=2
  474. for i=0,1,0.1 do
  475. wait()
  476. --[[Neck.C0=cf(0,1,0)*euler(-0.2+0.6*i*n,0,0)
  477. RW.C0=cf(1.5,0.5,0)*euler(3.14*i*n,0,0.3-0.3*i*n)
  478. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  479. LW.C0=cf(-1.5,0.5,0)*euler(-0.2*i*n,0,-0.3)
  480. LW.C1=cf(0,0.5,0)*euler(0,0,0)]]
  481. n=n-0.1
  482. end
  483. for i=1,math.random(20,40) do
  484. wait(.05)
  485. MagicBlock(BrickColor.new("Really black"),RightArm.CFrame*cf(0,-5,0),30,30,30,2,2,2,0.1)
  486. local orb=part(3,Character,0,0.5,BrickColor.new("Really black"),"Orb",vt())
  487. orb.Anchored=true
  488. so("http://roblox.com/asset/?id=183763498",orb,1,1.2)
  489. local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(10,10,10))
  490. orb.CFrame=cf(Player:GetMouse().Hit.p+vt(math.random(-10,10),math.random(50,100),math.random(-10,10)))
  491. MagicCircle(BrickColor.new("Really black"),orb.CFrame,10,10,10,1,1,1,0.1)
  492. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  493. wait(1)
  494. Part.Parent=nil
  495. local spread=vt((math.random(-1,0)+math.random())*16,(math.random(-1,0)+math.random())*16,(math.random(-1,0)+math.random())*16)*(Part.Position-(Part.Position+vt(0,-1,0))).magnitude/100
  496. local TheHit=Part.Position+vt(0,-1,0)
  497. local MouseLook=cf((Part.Position+TheHit)/2,TheHit+spread)
  498. local hit,pos = rayCast(Part.Position,MouseLook.lookVector,999,Character)
  499. local mag=(Part.Position-pos).magnitude
  500. MagicCylinder(BrickColor.new("Really black"),CFrame.new((Part.Position+pos)/2,pos)*angles(1.57,0,0) ,1,mag*5,1,0.5,0,0.5,0.05)
  501. MagicBlock(BrickColor.new("Really black"),Part.CFrame,8,8,8,0.5,0.5,0.5,0.1)
  502. MagicBlock(BrickColor.new("Really black"),cf(pos),15,15,15,6,6,6,0.1)
  503. MagicRing(BrickColor.new("Really black"),cf(pos)*euler(1.57,math.random(-100,100)/100,math.random(-100,100)/100),1,1,1,2,2,2,0.05)
  504. local ref=part(3,workspace,0,1,BrickColor.new("Really black"),"Effect",vt())
  505. ref.CFrame=cf(pos)
  506. so("http://roblox.com/asset/?id=183763487",ref,1,1)
  507. coroutine.resume(coroutine.create(function(Part)
  508. wait(1)
  509. Part.Parent=nil
  510. end),ref)
  511. MagniDamage(ref,15,5,10,0,"Normal",RootPart)
  512. if hit~=nil then
  513. Damagefunc(hit,20,40,1,"Knockdown",RootPart,0)
  514. end
  515. end),orb,omsh)
  516. end
  517. wait(0.5)
  518. local n=2
  519. for i=0,1,0.1 do
  520. wait()
  521. --[[Neck.C0=cf(0,1,0)*euler(0.4-0.6*i*n,0,0)
  522. RW.C0=cf(1.5,0.5,0)*euler(3.14-3.14*i*n,0,0.3*i*n)
  523. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  524. LW.C0=cf(-1.5,0.5,0)*euler(-0.2+0.2*i*n,0,-0.3)
  525. LW.C1=cf(0,0.5,0)*euler(0,0,0)]]
  526. n=n-0.1
  527. end
  528. de=true
  529. end
  530. end
  531.  
  532. function Terrorblast()
  533. if de==true then
  534. de=false
  535. local n=2
  536. --[[for i=0,1,0.1 do
  537. wait()
  538. Neck.C0=cf(0,1,0)*euler(-0.2-0.2*i*n,0,0)
  539. RW.C0=cf(1.5-0.5*i*n,0.5,-0.5*i*n)*euler(1.4*i*n,0,0.2-1.4*i*n)
  540. LW.C0=cf(-1.5+0.5*i*n,0.5,-0.5*i*n)*euler(1.6*i*n,0,-0.2+1.6*i*n)
  541. n=n-0.1
  542. end]]
  543. so("http://roblox.com/asset/?id=160772554",Torso,1,0.6)
  544. so("http://roblox.com/asset/?id=161006069",Torso,1,0.6)
  545. local charging=true
  546. for _,c in pairs(game.Workspace:GetChildren()) do
  547. if c.className=="Model" then
  548. if c:findFirstChild("Torso")~=nil and c:findFirstChild("Humanoid")~=nil and c.Name~=Player.Name then
  549. print(c)
  550. local Tors=c:findFirstChild("Torso")
  551. coroutine.resume(coroutine.create(function(Part)
  552. local ef=part(3,Character,0,0.5,BrickColor.new("Really black"),"Effect",vt(0.2,0.2,0.2))
  553. ef.Anchored=true
  554. local emsh=mesh("SpecialMesh",ef,"Head","",vt(0,0,0),vt(1,1,1))
  555. game:GetService("Debris"):AddItem(ef,5)
  556. while charging==true do
  557. wait()
  558. local TheHit=Part.Position
  559. local MouseLook=cf((Torso.Position+TheHit)/2,TheHit)
  560. local hit,pos = rayCast(Torso.Position,MouseLook.lookVector,999,Character)
  561. local mag=(Torso.Position-pos).magnitude
  562. ef.CFrame=CFrame.new((Torso.Position+pos)/2,pos)*euler(1.57,0,0)
  563. emsh.Scale=vt(1,mag*5,1)
  564. end
  565. ef.Parent=nil
  566. local TheHit=Part.Position
  567. local MouseLook=cf((Torso.Position+TheHit)/2,TheHit)
  568. wait()
  569. local hit,pos = rayCast(Torso.Position,MouseLook.lookVector,999,Character)
  570. local mag=(Torso.Position-pos).magnitude
  571. if hit~=nil then
  572. Damagefunc(hit,20,40,50,"Knockdown",RootPart,0)
  573. MagicCircle(BrickColor.new("Really black"),cf(pos),5,5,5,6,6,6,0.02)
  574. MagicBlock(BrickColor.new("Really black"),cf(pos),5,5,5,7,7,7,0.02)
  575. MagicCylinder(BrickColor.new("Really black"),CFrame.new((Torso.Position+pos)/2,pos)*euler(1.57,0,0),5,mag*5,5,0.5,0,0.5,0.01)
  576. so("http://roblox.com/asset/?id=183763515",hit,1,1)
  577. so("http://roblox.com/asset/?id=183763512",hit,1,1)
  578. end
  579. end),Tors)
  580. end
  581. end
  582. end
  583. wait(1)
  584. n=2
  585. --[[for i=0,1,0.2 do
  586. wait()
  587. Neck.C0=cf(0,1,0)*euler(-0.4+0.2*i*n,0,0)
  588. RW.C0=cf(1+0.5*i*n,0.5,-0.5+0.5*i*n)*euler(1.4+0.17*i*n,0,-1.2+2.77*i*n)
  589. LW.C0=cf(-1-0.5*i*n,0.5,-0.5+0.5*i*n)*euler(1.6-0.03*i*n,0,1.4-2.97*i*n)
  590. n=n-0.2
  591. end]]
  592. charging=false
  593. wait(1)
  594. n=2
  595. --[[for i=0,1,0.1 do
  596. wait()
  597. Neck.C0=cf(0,1,0)*euler(-0.2,0,0)
  598. RW.C0=cf(1.5,0.5,0)*euler(1.57-1.57*i*n,0,1.57-1.37*i*n)
  599. LW.C0=cf(-1.5,0.5,0)*euler(1.57-1.57*i*n,0,-1.57+1.37*i*n)
  600. n=n-0.1
  601. end]]
  602. wait(6)
  603. de=true
  604. end
  605. end
  606.  
  607. function Titanfall()
  608. if de==true then
  609. de=false
  610. Humanoid.WalkSpeed=0
  611. local n=2
  612. for i=0,1,0.05 do
  613. wait()
  614. --[[cf4=6-2*i*n
  615. cf5=2+2*i*n
  616. cf6=-2*i*n
  617. cf7=-6+2*i*n
  618. cf8=2+2*i*n
  619. cf9=-2*i*n
  620. Neck.C0=cf(0,1,0)*euler(-0.2+0.8*i*n,0,0)
  621. RW.C0=cf(1.5-0.5*i*n,0.5+0.5*i*n,-0.5*i*n)*euler(3.14*i*n,0,0.3-0.9*i*n)
  622. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  623. LW.C0=cf(-1.5+0.5*i*n,0.5+0.5*i*n,-0.5*i*n)*euler(3.14*i*n,0,-0.3+0.9*i*n)
  624. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  625. n=n-0.05]]
  626. end
  627. so("http://www.roblox.com/asset/?id=169445121",Torso,1,0.6)
  628. n=2
  629. for i=0,1,0.2 do
  630. wait()
  631. MagicBlock(BrickColor.new("Really black"),RightArm.CFrame*cf(0,-5,0),30,30,30,2,2,2,0.1)
  632. MagicBlock(BrickColor.new("Really black"),LeftArm.CFrame*cf(0,-5,0),30,30,30,2,2,2,0.1)
  633. --cf11=-4+2*i*n
  634. --cf12=-2*i*n
  635. --cf5=4-4*i*n
  636. --cf8=4-4*i*n
  637. --RootJoint.C0=cf(0,-14.5+3*i*n,0)*euler(0,0,0)
  638. --[[Neck.C0=cf(0,1,0)*euler(0.6-1*i*n,0,0)
  639. RW.C0=cf(1,1-1*i*n,-0.5)*euler(3.14-2.64*i*n,0,-0.6)
  640. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  641. LW.C0=cf(-1,1-1*i*n,-0.5)*euler(3.14-2.64*i*n,0,0.6)
  642. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  643. RH.C0=cf(0.5,-1+0.5*i*n,-0.5*i*n)*euler(-0.1*i*n,0,0)
  644. RH.C1=cf(0,1,0)
  645. LH.C0=cf(-0.5,-1,0)*euler(-0.6*i*n,0,0)
  646. LH.C1=cf(0,1,0)]]
  647. n=n-0.2
  648. end
  649. local cf2=RootPart.CFrame*cf(0,500,-20)
  650. local ref=part(3,workspace,0,1,BrickColor.new("Really black"),"Effect",vt())
  651. ref.CFrame=cf2
  652. ref.Anchored=true
  653. local TheHit=ref.Position+vt(0,-1,0)
  654. local MouseLook=cf((ref.Position+TheHit)/2,TheHit)
  655. local hit,pos = rayCast(ref.Position,MouseLook.lookVector,999,Character)
  656. local ref2=part(3,workspace,0,1,BrickColor.new("Really black"),"Effect",vt())
  657. ref2.CFrame=cf(pos)
  658. ref2.Anchored=true
  659. local mag=(ref.Position-pos).magnitude
  660. MagicCylinder(BrickColor.new("Really black"),CFrame.new((ref.Position+pos)/2,pos)*angles(1.57,0,0),5,mag*5,5,1,0,1,0.05)
  661. MagicCircle(BrickColor.new("Really black"),ref2.CFrame,15,15,15,8,8,8,0.02)
  662. MagicBlock(BrickColor.new("Really black"),ref2.CFrame,15,15,15,3,3,3,0.02)
  663. WaveEffect2(BrickColor.new("Really black"),ref2.CFrame,5,5,5,2,3,2,0.05)
  664. MagicRing(BrickColor.new("Really black"),cf(ref2.Position)*euler(1.57,0,0),5,5,5,4,4,4,0.05)
  665. MagniDamage(ref2,25,20,50,math.random(10,30),"Knockdown",ref2)
  666. --so("http://roblox.com/asset/?id=144844438",ref2,1,0.8)
  667. so("http://roblox.com/asset/?id=87784452",ref2,1,0.8)
  668. so("http://roblox.com/asset/?id=183763515",ref2,1,0.8)
  669. game:GetService("Debris"):AddItem(ref,2)
  670. game:GetService("Debris"):AddItem(ref2,2)
  671. n=2
  672. for i=0,1,0.1 do
  673. wait()
  674. --[[cf4=4+2*i*n
  675. cf5=2*i*n
  676. cf6=-2+2*i*n
  677. cf7=-4-2*i*n
  678. cf8=2*i*n
  679. cf9=-2+2*i*n
  680. cf11=-4+2-2*i*n
  681. cf12=-2+2*i*n
  682. RootJoint.C0=cf(0,-14.5+3-3*i*n,0)*euler(0,0,0)
  683. Neck.C0=cf(0,1,0)*euler(-0.4+0.2*i*n,0,0)
  684. RW.C0=cf(1+0.5*i*n,0.5*i*n,-0.5+0.5*i*n)*euler(0.5-0.5*i*n,0,-0.6+0.9*i*n)
  685. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  686. LW.C0=cf(-1-0.5*i*n,0.5*i*n,-0.5+0.5*i*n)*euler(0.5-0.5*i*n,0,0.6-0.9*i*n)
  687. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  688. RH.C0=cf(0.5,-0.5-0.5*i*n,-0.5+0.5*i*n)*euler(-0.1+0.1*i*n,0,0)
  689. RH.C1=cf(0,1,0)
  690. LH.C0=cf(-0.5,-1,0)*euler(-0.6+0.6*i*n,0,0)
  691. LH.C1=cf(0,1,0)]]
  692. n=n-0.1
  693. end
  694. Humanoid.WalkSpeed=16
  695. de=true
  696. end
  697. end
  698.  
  699. function Darkstomp()
  700. if de==true then
  701. de=false
  702. Humanoid.WalkSpeed=0
  703. local n=2
  704. for i=0,1,0.1 do
  705. --[[wait()
  706. cf11=-4+2*i*n
  707. cf12=-2*i*n
  708. --cf13=-2
  709. --cf14=-4
  710. --cf15=0
  711. RootJoint.C0=cf(0,-14.5,0)*euler(0.2*i*n,0,0)
  712. Neck.C0=cf(0,1,0)*euler(-0.2-0.4*i*n,0,0)
  713. RW.C0=cf(1.5,0.5,0)*euler(-0.2*i*n,0,0.3)
  714. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  715. LW.C0=cf(-1.5,0.5,0)*euler(-0.2*i*n,0,-0.3)
  716. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  717. RH.C0=cf(0.5,-1+0.5*i*n,-0.5*i*n)*euler(0.2*i*n,0,0)
  718. RH.C1=cf(0,1,0)
  719. LH.C0=cf(-0.5,-1,0)*euler(-0.2*i*n,0,0)
  720. LH.C1=cf(0,1,0)]]
  721. n=n-0.1
  722. end
  723. so("http://www.roblox.com/asset/?id=169445046",RightLeg,1,0.6)
  724. local n=2
  725. for i=0,1,0.2 do
  726. wait()
  727. --cf11=-2-2*i*n
  728. --RH.C0=cf(0.5,-0.5-0.5*i*n,-0.5)*euler(0.2+0.1*i*n,0,0)
  729. --RH.C1=cf(0,1,0)
  730. n=n-0.2
  731. end
  732. MagicCylinder(BrickColor.new("Really black"),cf(RightLeg.Position+vt(0,-4,0)),10,4,10,5,3,5,0.05)
  733. local numb=-8
  734. local basecf=RootPart.CFrame
  735. for i=1,4 do
  736. local cf2=basecf*cf(0,0,numb)
  737. local ref=part(3,workspace,0,1,BrickColor.new("Really black"),"Effect",vt())
  738. ref.CFrame=cf2
  739. ref.Anchored=true
  740. local TheHit=ref.Position+vt(0,-1,0)
  741. local MouseLook=cf((ref.Position+TheHit)/2,TheHit)
  742. local hit,pos = rayCast(ref.Position,MouseLook.lookVector,999,Character)
  743. local ref2=part(3,workspace,0,1,BrickColor.new("Really black"),"Effect",vt())
  744. ref2.CFrame=cf(pos)
  745. ref2.Anchored=true
  746. MagicCircle(BrickColor.new("Really black"),ref2.CFrame,15,15,15,8,8,8,0.02)
  747. MagicWaveThing(BrickColor.new("Really black"),ref2.CFrame,5,5,5,2,2,2,0.05)
  748. MagniDamage(ref2,20,20,30,math.random(5,20),"Normal",RootPart)
  749. so("http://www.roblox.com/asset/?id=161006093",ref2,1,0.6)
  750. game:GetService("Debris"):AddItem(ref,2)
  751. game:GetService("Debris"):AddItem(ref2,2)
  752. numb=numb-15
  753. wait(0.4)
  754. end
  755. --wait(1)
  756. local n=2
  757. for i=0,1,0.1 do
  758. wait()
  759. --[[cf12=-2+2*i*n
  760. RootJoint.C0=cf(0,-14.5,0)*euler(0.2-0.2*i*n,0,0)
  761. Neck.C0=cf(0,1,0)*euler(-0.6+0.4*i*n,0,0)
  762. RW.C0=cf(1.5,0.5,0)*euler(-0.2+0.2*i*n,0,0.3)
  763. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  764. LW.C0=cf(-1.5,0.5,0)*euler(-0.2+0.2*i*n,0,-0.3)
  765. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  766. RH.C0=cf(0.5,-1,-0.5+0.5*i*n)*euler(0.3-0.3*i*n,0,0)
  767. RH.C1=cf(0,1,0)
  768. LH.C0=cf(-0.5,-1,0)*euler(-0.2+0.2*i*n,0,0)
  769. LH.C1=cf(0,1,0)]]
  770. n=n-0.1
  771. end
  772. Humanoid.WalkSpeed=16
  773. de=true
  774. end
  775. end
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792. function KaltosBeat()
  793.  
  794. end
  795.  
  796. function EnergyTranscend()
  797.  
  798. end
  799.  
  800. function TranscendAttack()
  801.  
  802. end
  803.  
  804. function NegConvert()
  805.  
  806. end
  807.  
  808. function KaltosWave()
  809.  
  810. end
  811.  
  812. function MagniDamage(Part,magni,mindam,maxdam,knock,Type)
  813. for _,c in pairs(workspace:children()) do
  814. local hum=c:findFirstChild("Humanoid")
  815. if hum~=nil then
  816. local head=c:findFirstChild("Torso")
  817. if head~=nil then
  818. local targ=head.Position-Part.Position
  819. local mag=targ.magnitude
  820. if mag<=magni and c.Name~=Player.Name then
  821. Damagefunc(head,mindam,maxdam,knock,Type,RootPart,.2,1,3,1)
  822. end
  823. end
  824. end
  825. end
  826. end
  827.  
  828. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  829. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  830. end
  831.  
  832. local Effects={}
  833. local Point=Torso.CFrame*cf(0,Torso.Size.Y,0)
  834. LastPoint=Point
  835. function effect(Color,Ref,LP,P1,returnn)
  836. local effectsmsh=Instance.new("CylinderMesh")
  837. effectsmsh.Scale=Vector3.new(0.2,1,0.2)
  838. effectsmsh.Name="Mesh"
  839. local effectsg=Instance.new("Part")
  840. effectsg.formFactor=3
  841. effectsg.CanCollide=false
  842. effectsg.Name="Eff"
  843. effectsg.Locked=true
  844. effectsg.Anchored=true
  845. effectsg.Size=Vector3.new(0.5,1,0.5)
  846. effectsg.Parent=workspace
  847. effectsmsh.Parent=effectsg
  848. effectsg.BrickColor=Color1
  849. effectsg.Reflectance=Ref
  850. local point1=P1
  851. local mg=(LP.p - point1.p).magnitude
  852. effectsg.Size=Vector3.new(0.5,mg,0.5)
  853. effectsg.CFrame=cf((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
  854. effectsmsh.Scale=Vector3.new(0.4,1,0.4)
  855. game:GetService("Debris"):AddItem(effectsg,2)
  856. if returnn then return effectsg end
  857. if not returnn then
  858. table.insert(Effects,{effectsg,"Cylinder",0.05,0.01,0,0.01})
  859. end
  860. end
  861.  
  862. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  863. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  864. prt.Anchored=true
  865. prt.CFrame=cframe
  866. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  867. game:GetService("Debris"):AddItem(prt,5)
  868. coroutine.resume(coroutine.create(function(Part,Mesh)
  869. for i=0,1,delay do
  870. wait()
  871. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  872. Part.Transparency=i
  873. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  874. end
  875. Part.Parent=nil
  876. end),prt,msh)
  877. end
  878.  
  879. function WaveEffect2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  880. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  881. prt.Anchored=true
  882. prt.CFrame=cframe
  883. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1323306",vt(0,0,0),vt(x1,y1,z1))
  884. game:GetService("Debris"):AddItem(prt,2)
  885. coroutine.resume(coroutine.create(function(Part,Mesh)
  886. for i=0,1,delay do
  887. wait()
  888. Part.CFrame=Part.CFrame
  889. Part.Transparency=i
  890. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  891. end
  892. Part.Parent=nil
  893. end),prt,msh)
  894. end
  895.  
  896. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,Type,parent)
  897. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt())
  898. prt.Anchored=true
  899. prt.CFrame=cframe
  900. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  901. game:GetService("Debris"):AddItem(prt,5)
  902. if Type==1 or Type==nil then
  903. table.insert(Effects,{prt,"Block1",delay,x3,y3,z3,msh})
  904. elseif Type==2 then
  905. table.insert(Effects,{prt,"Block2",delay,x3,y3,z3,msh})
  906. end
  907. end
  908.  
  909. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  910. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt())
  911. prt.Anchored=true
  912. prt.CFrame=cframe
  913. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  914. game:GetService("Debris"):AddItem(prt,2)
  915. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3,msh})
  916. end
  917.  
  918. function MagicWave(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  919. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt())
  920. prt.Anchored=true
  921. prt.CFrame=cframe
  922. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  923. game:GetService("Debris"):AddItem(prt,5)
  924. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3,msh})
  925. end
  926.  
  927. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  928. if hit.Parent==nil then
  929. return
  930. end
  931. h=hit.Parent:FindFirstChild("Humanoid")
  932. for _,v in pairs(hit.Parent:children()) do
  933. if v:IsA("Humanoid") then
  934. h=v
  935. end
  936. end
  937. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  938. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  939. end
  940. if hit.Parent.className=="Hat" then
  941. hit=hit.Parent.Parent:findFirstChild("Head")
  942. end
  943. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  944. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  945. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  946. return
  947. end]]
  948. -- hs(hit,1.2)
  949. c=Instance.new("ObjectValue")
  950. c.Name="creator"
  951. c.Value=game:service("Players").LocalPlayer
  952. c.Parent=h
  953. game:GetService("Debris"):AddItem(c,.5)
  954. Damage=math.random(minim,maxim)
  955. -- h:TakeDamage(Damage)
  956. blocked=false
  957. block=hit.Parent:findFirstChild("Block")
  958. if block~=nil then
  959. print(block.className)
  960. if block.className=="NumberValue" then
  961. if block.Value>0 then
  962. blocked=true
  963. if decreaseblock~=nil then
  964. block.Value=block.Value-decreaseblock
  965. end
  966. end
  967. end
  968. if block.className=="IntValue" then
  969. if block.Value>0 then
  970. blocked=true
  971. if decreaseblock~=nil then
  972. block.Value=block.Value-decreaseblock
  973. end
  974. end
  975. end
  976. end
  977. if blocked==false then
  978. -- h:TakeDamage(Damage)
  979. h.Health=h.Health-Damage
  980. showDamage(hit.Parent,Damage,.5,BrickColor:Red())
  981. else
  982. h.Health=h.Health-(Damage/2)
  983. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  984. end
  985. if Type=="Knockdown" then
  986. hum=hit.Parent.Humanoid
  987. hum.PlatformStand=true
  988. coroutine.resume(coroutine.create(function(HHumanoid)
  989. swait(1)
  990. HHumanoid.PlatformStand=false
  991. end),hum)
  992. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  993. --hit.CFrame=cf(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  994. local bodvol=Instance.new("BodyVelocity")
  995. bodvol.velocity=angle*knockback
  996. bodvol.P=5000
  997. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  998. bodvol.Parent=hit
  999. rl=Instance.new("BodyAngularVelocity")
  1000. rl.P=3000
  1001. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1002. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1003. rl.Parent=hit
  1004. game:GetService("Debris"):AddItem(bodvol,.5)
  1005. game:GetService("Debris"):AddItem(rl,.5)
  1006. elseif Type=="Normal" then
  1007. vp=Instance.new("BodyVelocity")
  1008. vp.P=500
  1009. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1010. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1011. if KnockbackType==1 then
  1012. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1013. elseif KnockbackType==2 then
  1014. vp.velocity=Property.CFrame.lookVector*knockback
  1015. end
  1016. if knockback>0 then
  1017. vp.Parent=hit.Parent.Torso
  1018. end
  1019. game:GetService("Debris"):AddItem(vp,.5)
  1020. elseif Type=="Up" then
  1021. local bodyVelocity=Instance.new("BodyVelocity")
  1022. bodyVelocity.velocity=vt(0,30,0)
  1023. bodyVelocity.P=5000
  1024. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1025. bodyVelocity.Parent=hit
  1026. game:GetService("Debris"):AddItem(bodyVelocity,1)
  1027. rl=Instance.new("BodyAngularVelocity")
  1028. rl.P=3000
  1029. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1030. rl.angularvelocity=Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  1031. rl.Parent=hit
  1032. game:GetService("Debris"):AddItem(rl,.5)
  1033. elseif Type=="Snare" then
  1034. bp=Instance.new("BodyPosition")
  1035. bp.P=2000
  1036. bp.D=100
  1037. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1038. bp.position=hit.Parent.Torso.Position
  1039. bp.Parent=hit.Parent.Torso
  1040. game:GetService("Debris"):AddItem(bp,1)
  1041. end
  1042. debounce=Instance.new("BoolValue")
  1043. debounce.Name="DebounceHit"
  1044. debounce.Parent=hit.Parent
  1045. debounce.Value=true
  1046. game:GetService("Debris"):AddItem(debounce,Delay)
  1047. c=Instance.new("ObjectValue")
  1048. c.Name="creator"
  1049. c.Value=Player
  1050. c.Parent=h
  1051. game:GetService("Debris"):AddItem(c,.5)
  1052. CRIT=false
  1053. end
  1054. end
  1055.  
  1056. showDamage=function(Char,Dealt,du,Color)
  1057. m=Instance.new("Model")
  1058. m.Name=tostring(math.floor(Dealt))
  1059. h=Instance.new("Humanoid")
  1060. h.Health=0
  1061. h.MaxHealth=0
  1062. h.Parent=m
  1063. c=Instance.new("Part")
  1064. c.Transparency=0
  1065. c.BrickColor=Color
  1066. c.Name="Head"
  1067. c.TopSurface=0
  1068. c.BottomSurface=0
  1069. c.formFactor="Plate"
  1070. c.Size=Vector3.new(1,.4,1)
  1071. ms=Instance.new("CylinderMesh")
  1072. ms.Scale=Vector3.new(.8,.8,.8)
  1073. if CRIT==true then
  1074. ms.Scale=Vector3.new(1,1.25,1)
  1075. end
  1076. ms.Parent=c
  1077. c.Reflectance=0
  1078. Instance.new("BodyGyro").Parent=c
  1079. c.Parent=m
  1080. if Char:findFirstChild("Head")~=nil then
  1081. c.CFrame=cf(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1082. elseif Char.Parent:findFirstChild("Head")~=nil then
  1083. c.CFrame=cf(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1084. end
  1085. f=Instance.new("BodyPosition")
  1086. f.P=2000
  1087. f.D=100
  1088. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1089. f.position=c.Position+Vector3.new(0,3,0)
  1090. f.Parent=c
  1091. game:GetService("Debris"):AddItem(m,.5+du)
  1092. c.CanCollide=false
  1093. m.Parent=workspace
  1094. c.CanCollide=false
  1095. end
  1096.  
  1097. combo=0
  1098. function ob1d(mouse)
  1099. if attack==true or equipped==false then return end
  1100. hold=true
  1101. if Mode=="Normal" then
  1102. if combo==0 then
  1103. combo=1
  1104. attackone()
  1105. elseif combo==1 then
  1106. combo=2
  1107. attacktwo()
  1108. elseif combo==2 then
  1109. combo=0
  1110. attackthree()
  1111. end
  1112. else
  1113. TranscendAttack()
  1114. end
  1115. coroutine.resume(coroutine.create(function()
  1116. for i=1,50 do
  1117. if attack==false then
  1118. swait()
  1119. end
  1120. end
  1121. if attack==false then
  1122. combo=0
  1123. end
  1124. end))
  1125. end
  1126.  
  1127. function ob1u(mouse)
  1128. hold = false
  1129. end
  1130.  
  1131. buttonhold = false
  1132.  
  1133. eul=0
  1134. holdz=false
  1135. equipped=false
  1136. function key(key)
  1137. if key=="z" then
  1138. end
  1139. if attack==true then return end
  1140. if key=="f" then
  1141. attack=true
  1142. if equipped==false then
  1143. equipped=true
  1144. RSH=ch.Torso["Right Shoulder"]
  1145. LSH=ch.Torso["Left Shoulder"]
  1146. --
  1147. RSH.Parent=nil
  1148. LSH.Parent=nil
  1149. --
  1150. RW.Name="Right Shoulder"
  1151. RW.Part0=ch.Torso
  1152. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1153. RW.C1=cf(0, 0.5, 0)
  1154. RW.Part1=ch["Right Arm"]
  1155. RW.Parent=ch.Torso
  1156. --
  1157. LW.Name="Left Shoulder"
  1158. LW.Part0=ch.Torso
  1159. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1160. LW.C1=cf(0, 0.5, 0)
  1161. LW.Part1=ch["Left Arm"]
  1162. LW.Parent=ch.Torso
  1163. --
  1164. equipanim()
  1165. else
  1166. equipped=false
  1167. hideanim()
  1168. swait(0)
  1169. RW.Parent=nil
  1170. LW.Parent=nil
  1171. RSH.Parent=player.Character.Torso
  1172. LSH.Parent=player.Character.Torso
  1173. end
  1174. attack=false
  1175. end
  1176. if equipped==false then return end
  1177. if key=="r" then
  1178. Terrorblast()
  1179. end
  1180. if key=="q" then
  1181. Nocturn()
  1182. end
  1183. if key=="e" then
  1184. Darkrain()
  1185. end
  1186. if key=="x" then
  1187. Titanfall()
  1188. end
  1189. if key=="c" then
  1190. Darkstomp()
  1191. end
  1192. if key=="v" then
  1193. so("http://www.roblox.com/asset/?id=203691282",Player.Character.Torso,1,1)
  1194. end
  1195. end
  1196.  
  1197. function key2(key)
  1198. if key=="z" then
  1199. holdz=false
  1200. end
  1201. end
  1202.  
  1203. function s(mouse)
  1204. mouse.Button1Down:connect(function() ob1d(mouse) end)
  1205. mouse.Button1Up:connect(function() ob1u(mouse) end)
  1206. mouse.KeyDown:connect(key)
  1207. mouse.KeyUp:connect(key2)
  1208.  
  1209. player=Player
  1210. ch=Character
  1211. MMouse=mouse
  1212. end
  1213.  
  1214. function ds(mouse)
  1215. end
  1216.  
  1217. Bin.Selected:connect(s)
  1218. Bin.Deselected:connect(ds)
  1219. print("Vanta powers activated.")
  1220.  
  1221. local mananum=0
  1222. local donum=0
  1223. local circlenum=0
  1224. local handidle=false
  1225. local orbeffect=1
  1226. local orbdelay=0
  1227. local effectdelay=0
  1228. while true do
  1229. swait()
  1230. if Mode=="Transcend" then
  1231. if orbnum<=0 then
  1232. Mode="Normal"
  1233. end
  1234. if effectdelay>4 then
  1235. return
  1236. end
  1237. end
  1238. --if orbdelay>=5 then
  1239. --end
  1240. --orbdelay=orbdelay+1
  1241. circlenum=circlenum+0.1
  1242. --wld48.C0=clerp(wld48.C0,CFrame.Angles(x,y,z),.3)
  1243. if donum>=.5 then
  1244. handidle=true
  1245. elseif donum<=0 then
  1246. handidle=false
  1247. end
  1248. if handidle==false then
  1249. donum=donum+0.003
  1250. else
  1251. donum=donum-0.003
  1252. end
  1253. if attack==false and equipped==true then
  1254.  
  1255. end
  1256. --between prt16 and prt17
  1257. --local wld27=weld(prt27,prt27,prt26,euler(0,0,0)*cf(0,-1.2,0))
  1258. --[[local top=prt16r.CFrame
  1259. local bottom=prt17r.CFrame
  1260. oristrpos=CFrame.new((top.p+bottom.p)/2)
  1261. local mg1=(top.p-oristrpos.p).magnitude
  1262. local mg2=(bottom.p-oristrpos.p).magnitude
  1263. cff=CFrame.new(top*angles(1.57,0,0).p,prt17r.Position)*angles(math.rad(90),0,0)*cf(0,-mg1/2,0)
  1264. hit2=prt27
  1265. hit=prt17r
  1266. wld27.Parent=prt27
  1267. wld27.Part0=hit2
  1268. wld27.Part1=hit
  1269. HitPos=cff.p
  1270. local CJ = CFrame.new(HitPos)
  1271. local C0=cff:inverse() *CJ
  1272. local C1=hit.CFrame:inverse() * CJ
  1273. wld27.C0=clerp(wld27.C0,C0,.1)
  1274. wld27.C1=clerp(wld27.C1,C1,.1)]]
  1275. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1276. local velderp=RootPart.Velocity.y
  1277. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1278. if equipped==true then
  1279. if attack==false then
  1280. idle=idle+1
  1281. else
  1282. idle=0
  1283. end
  1284. if idle>=500 then
  1285. if attack==false then
  1286. --Sheath()
  1287. end
  1288. end
  1289. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1290. Anim="Jump"
  1291. if attack==false then
  1292.  
  1293. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  1294. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1295. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  1296. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.5,0,0.5),.3)
  1297. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1298. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3)
  1299. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1300. RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.2)
  1301. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.2)
  1302. end
  1303. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1304. Anim="Fall"
  1305. if attack==false then
  1306.  
  1307. Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3)
  1308. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1309. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  1310. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.3,0,0.2),.3)
  1311. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1312. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3)
  1313. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1314. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.2)
  1315. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.2)
  1316. end
  1317. elseif torvel<1 and hitfloor~=nil then
  1318. Anim="Idle"
  1319. if attack==false then
  1320. if Mode=="Normal" then
  1321.  
  1322. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0),.3)
  1323. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1324. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  1325. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0,0,0.1-(donum/5)),.3)
  1326. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1327. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0,0,-0.1+(donum/5)),.3)
  1328. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1329. RH.C0=clerp(RH.C0,RHC0,.3)
  1330. RH.C1=clerp(RH.C1,RHC1,.3)
  1331. LH.C0=clerp(LH.C0,LHC0,.3)
  1332. LH.C1=clerp(LH.C1,LHC1,.3)
  1333. else
  1334.  
  1335. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-.4)*euler(0,0,.4),.3)
  1336. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,-.4),.3)
  1337. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(.8,0,.4-(donum/4)),.3)
  1338. RW.C1=clerp(RW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1339. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.2,0,-.8+(donum/4)),.3)
  1340. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1341. RH.C0=clerp(RH.C0,cf(1,-.8,0)*euler(0,1.57,0)*euler(-.1,-.5,-.4),.3)
  1342. LH.C0=clerp(LH.C0,cf(-1,-.8,-.2)*euler(0,-1.57,0)*euler(-.1,-.5,.4),.3)
  1343. end
  1344. end
  1345. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  1346. Anim="Walk"
  1347. if attack==false then
  1348. if Mode=="Normal" then
  1349.  
  1350. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0),.3)
  1351. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1352. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.3)
  1353. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.2,0,0.3),.3)
  1354. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1355. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-0.2,0,-0.3),.3)
  1356. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1357. RH.C0=clerp(RH.C0,RHC0,.3)
  1358. LH.C0=clerp(LH.C0,LHC0,.3)
  1359. else
  1360.  
  1361. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-.4)*euler(0.1,0,0),.3)
  1362. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.3)
  1363. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.6,0,.4),.3)
  1364. RW.C1=clerp(RW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1365. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.6,0,-.8),.3)
  1366. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1367. RH.C0=clerp(RH.C0,cf(1,-.8,0)*euler(0,1.57,0)*euler(-.1,0,-.4),.3)
  1368. LH.C0=clerp(LH.C0,cf(-1,-.8,-.2)*euler(0,-1.57,0)*euler(-.1,0,.4),.3)
  1369. end
  1370. end
  1371. elseif torvel>=22 and hitfloor~=nil then
  1372. Anim="Run"
  1373. if attack==false then
  1374. if Mode=="Normal" then
  1375.  
  1376. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0),.3)
  1377. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1378. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.3,0,0),.3)
  1379. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.5,0,0.5),.3)
  1380. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1381. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-0.5,0,-0.5),.3)
  1382. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1383. else
  1384.  
  1385. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-.4)*euler(0.1,0,0),.3)
  1386. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.3)
  1387. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.6,0,.4),.3)
  1388. RW.C1=clerp(RW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1389. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.6,0,-.8),.3)
  1390. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1391. RH.C0=clerp(RH.C0,cf(1,-.8,0)*euler(0,1.57,0)*euler(-.1,0,-.4),.3)
  1392. LH.C0=clerp(LH.C0,cf(-1,-.8,-.2)*euler(0,-1.57,0)*euler(-.1,0,.4),.3)
  1393. end
  1394. end
  1395. end
  1396. end
  1397. if #Effects>0 then
  1398. --table.insert(Effects,{prt,"Block1",delay})
  1399. for e=1,#Effects do
  1400. if Effects[e]~=nil then
  1401. --for j=1,#Effects[e] do
  1402. local Thing=Effects[e]
  1403. if Thing~=nil then
  1404. local Part=Thing[1]
  1405. local Mode=Thing[2]
  1406. local Delay=Thing[3]
  1407. local IncX=Thing[4]
  1408. local IncY=Thing[5]
  1409. local IncZ=Thing[6]
  1410. if Thing[1].Transparency<=1 then
  1411. if Thing[2]=="Block1" then
  1412. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1413. Mesh=Thing[1].Mesh
  1414. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1415. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1416. elseif Thing[2]=="Block2" then
  1417. Thing[1].CFrame=Thing[1].CFrame
  1418. Mesh=Thing[1].Mesh
  1419. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1420. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1421. elseif Thing[2]=="Cylinder" then
  1422. Mesh=Thing[7]
  1423. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1424. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1425. elseif Thing[2]=="Blood" then
  1426. Mesh=Thing[7]
  1427. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1428. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1429. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1430. elseif Thing[2]=="Elec" then
  1431. Mesh=Thing[1].Mesh
  1432. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1433. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1434. elseif Thing[2]=="Disappear" then
  1435. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1436. end
  1437. else
  1438. Part.Parent=nil
  1439. table.remove(Effects,e)
  1440. end
  1441. end
  1442. --end
  1443. end
  1444. end
  1445. end
  1446. fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
  1447. fenbarmana4.Text="Energy("..mana..")"
  1448. if mana>=100 then
  1449. mana=100
  1450. else
  1451. if mananum<=8 then
  1452. mananum=mananum+1
  1453. else
  1454. mananum=0
  1455. mana=mana+1
  1456. end
  1457. end
  1458. end
  1459. --[[
  1460. Copyrighted (C) Fenrier 2014
  1461. ]]
Add Comment
Please, Sign In to add comment