Advertisement
memberhero

Vanta Script Looped Theme

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