Advertisement
memberhero

Vanta Script

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