Advertisement
Guest User

publish it

a guest
Dec 16th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 72.23 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local Frame = Instance.new("Frame")
  6. local TextLabel = Instance.new("TextLabel")
  7. local Swords = Instance.new("TextButton")
  8. local TextButton = Instance.new("TextButton")
  9. local TextButton_2 = Instance.new("TextButton")
  10. --Properties:
  11. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  12.  
  13. Frame.Parent = ScreenGui
  14. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  15. Frame.Position = UDim2.new(0.119537272, 0, 0.104364306, 0)
  16. Frame.Size = UDim2.new(0, 377, 0, 266)
  17.  
  18. TextLabel.Parent = Frame
  19. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  20. TextLabel.Size = UDim2.new(0, 377, 0, 60)
  21. TextLabel.Font = Enum.Font.SourceSans
  22. TextLabel.Text = "Void GUI (Made by iterminater766) "
  23. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  24. TextLabel.TextSize = 14
  25.  
  26. Swords.Name = "Swords"
  27. Swords.Parent = Frame
  28. Swords.BackgroundColor3 = Color3.new(1, 1, 1)
  29. Swords.Position = UDim2.new(0, 0, 0.406015038, 0)
  30. Swords.Size = UDim2.new(0, 105, 0, 50)
  31. Swords.Font = Enum.Font.SourceSans
  32. Swords.Text = "Swords"
  33. Swords.TextColor3 = Color3.new(0, 0, 0)
  34. Swords.TextSize = 14
  35. Swords.MouseButton1Down:connect(function()
  36. Player=game:GetService("Players").LocalPlayer
  37. Character=Player.Character
  38. PlayerGui=Player.PlayerGui
  39. Backpack=Player.Backpack
  40. Torso=Character.Torso
  41. Head=Character.Head
  42. Humanoid=Character.Humanoid
  43. LeftArm=Character["Left Arm"]
  44. LeftLeg=Character["Left Leg"]
  45. RightArm=Character["Right Arm"]
  46. RightLeg=Character["Right Leg"]
  47. cam=game.Workspace.CurrentCamera
  48. LS=Torso["Left Shoulder"]
  49. LH=Torso["Left Hip"]
  50. RS=Torso["Right Shoulder"]
  51. RH=Torso["Right Hip"]
  52. Face = Head.face
  53. Neck=Torso.Neck
  54. it=Instance.new
  55. attacktype=1
  56. vt=Vector3.new
  57. cf=CFrame.new
  58. euler=CFrame.fromEulerAnglesXYZ
  59. angles=CFrame.Angles
  60. cloaked=false
  61. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  62. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  63. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  64. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  65. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  66. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  67. RootPart=Character.HumanoidRootPart
  68. RootJoint=RootPart.RootJoint
  69. RootCF=euler(-1.57,0,3.14)
  70. attack = false
  71. bounce=false
  72. cooldown=false
  73. deeznuts=false
  74. attackdebounce = false
  75. deb=false
  76. equipped=true
  77. hand=false
  78. MMouse=nil
  79. combo=0
  80. mana=0
  81. trispeed=.2
  82. attackmode='none'
  83. local idle=0
  84. local Anim="Idle"
  85. local Effects={}
  86. local gun=false
  87. local shoot=false
  88. player=nil
  89. mana=0
  90. cam = workspace.CurrentCamera
  91. ZTarget = nil
  92. RocketTarget = nil
  93. local m = Instance.new("Model",Character)
  94. m.Name = "WeaponModel"
  95.  
  96. mouse=Player:GetMouse()
  97. --save shoulders
  98. RSH, LSH=nil, nil
  99. --welds
  100. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  101. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  102. LH=Torso["Left Hip"]
  103. RH=Torso["Right Hip"]
  104. TorsoColor=Torso.BrickColor
  105. function NoOutline(Part)
  106. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  107. end
  108. player=Player
  109. ch=Character
  110. RSH=ch.Torso["Right Shoulder"]
  111. LSH=ch.Torso["Left Shoulder"]
  112. --
  113. RSH.Parent=nil
  114. LSH.Parent=nil
  115. --
  116. RW.Name="Right Shoulder"
  117. RW.Part0=ch.Torso
  118. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  119. RW.C1=cf(0, 0.5, 0)
  120. RW.Part1=ch["Right Arm"]
  121. RW.Parent=ch.Torso
  122. --
  123. LW.Name="Left Shoulder"
  124. LW.Part0=ch.Torso
  125. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  126. LW.C1=cf(0, 0.5, 0)
  127. LW.Part1=ch["Left Arm"]
  128. LW.Parent=ch.Torso
  129.  
  130. function swait(num)
  131. if num==0 or num==nil then
  132. game:service'RunService'.Heartbeat:wait(0)
  133. else
  134. for i=0,num do
  135. game:service'RunService'.Heartbeat:wait(0)
  136. end
  137. end
  138. end
  139.  
  140. function nooutline(part)
  141. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  142. end
  143.  
  144. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  145. local fp=it("Part")
  146. fp.formFactor=formfactor
  147. fp.Parent=parent
  148. fp.Reflectance=reflectance
  149. fp.Transparency=transparency
  150. fp.CanCollide=false
  151. fp.Locked=true
  152. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  153. fp.Name=name
  154. fp.Size=size
  155. fp.Position=Character.Torso.Position
  156. nooutline(fp)
  157. fp.Material=material
  158. fp:BreakJoints()
  159. return fp
  160. end
  161.  
  162. function ppart(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  163. local fp = it("Part")
  164. fp.formFactor = formfactor
  165. fp.Parent = parent
  166. fp.Reflectance = reflectance
  167. fp.Transparency = transparency
  168. fp.CanCollide = false
  169. fp.Locked=true
  170. fp.BrickColor = brickcolor
  171. fp.Name = name
  172. fp.Size = size
  173. fp.Position = EffectPart.Position
  174. NoOutline(fp)
  175. fp.Material="Neon"
  176. fp:BreakJoints()
  177. return fp
  178. end
  179.  
  180. function wweld(parent,part0,part1,c0)
  181. local weld=it("Weld")
  182. weld.Parent=parent
  183. weld.Part0=part0
  184. weld.Part1=part1
  185. weld.C0=c0
  186. return weld
  187. end
  188.  
  189. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  190. local mesh=it(Mesh)
  191. mesh.Parent=part
  192. if Mesh=="SpecialMesh" then
  193. mesh.MeshType=meshtype
  194. mesh.MeshId=meshid
  195. end
  196. mesh.Offset=offset
  197. mesh.Scale=scale
  198. return mesh
  199. end
  200.  
  201. function decal(part,face,texture,transparency,shiny,specular,name)
  202. local d=it("Decal",part)
  203. d.Shiny=shiny
  204. d.Face=face
  205. d.Specular=specular
  206. d.Transparency=transparency
  207. d.Texture=texture
  208. d.Name=name
  209. return d
  210. end
  211.  
  212. function weld(parent,part0,part1,c0,c1)
  213. local weld=it("Weld")
  214. weld.Parent=parent
  215. weld.Part0=part0
  216. weld.Part1=part1
  217. weld.C0=c0
  218. weld.C1=c1
  219. return weld
  220. end
  221.  
  222.  
  223. local function CFrameFromTopBack(at, top, back)
  224. local right = top:Cross(back)
  225. return CFrame.new(at.x, at.y, at.z,
  226. right.x, top.x, back.x,
  227. right.y, top.y, back.y,
  228. right.z, top.z, back.z)
  229. end
  230.  
  231. function Triangle(a, b, c)
  232. local edg1 = (c-a):Dot((b-a).unit)
  233. local edg2 = (a-b):Dot((c-b).unit)
  234. local edg3 = (b-c):Dot((a-c).unit)
  235. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  236. a, b, c = a, b, c
  237. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  238. a, b, c = b, c, a
  239. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  240. a, b, c = c, a, b
  241. else
  242. assert(false, "unreachable")
  243. end
  244.  
  245. local len1 = (c-a):Dot((b-a).unit)
  246. local len2 = (b-a).magnitude - len1
  247. local width = (a + (b-a).unit*len1 - c).magnitude
  248.  
  249. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  250.  
  251. local list = {}
  252.  
  253. local TrailColor = ("Toothpaste")
  254.  
  255. if len1 > 0.01 then
  256. local w1 = Instance.new('WedgePart', m)
  257. game:GetService("Debris"):AddItem(w1,5)
  258. w1.Material = "Neon"
  259. w1.FormFactor = 'Custom'
  260. w1.BrickColor = BrickColor.new(TrailColor)
  261. w1.Transparency = 0
  262. w1.Reflectance = 0
  263. w1.Material = "Neon"
  264. w1.CanCollide = false
  265. NoOutline(w1)
  266. local sz = Vector3.new(0.2, width, len1)
  267. w1.Size = sz
  268. local sp = Instance.new("SpecialMesh",w1)
  269. sp.MeshType = "Wedge"
  270. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  271. w1:BreakJoints()
  272. w1.Anchored = true
  273. w1.Parent = workspace
  274. w1.Transparency = 0.7
  275. table.insert(Effects,{w1,"Disappear",.01})
  276. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  277. table.insert(list,w1)
  278. end
  279.  
  280. if len2 > 0.01 then
  281. local w2 = Instance.new('WedgePart', m)
  282. game:GetService("Debris"):AddItem(w2,5)
  283. w2.Material = "Neon"
  284. w2.FormFactor = 'Custom'
  285. w2.BrickColor = BrickColor.new(TrailColor)
  286. w2.Transparency = 0
  287. w2.Reflectance = 0
  288. w2.Material = "Neon"
  289. w2.CanCollide = false
  290. NoOutline(w2)
  291. local sz = Vector3.new(0.2, width, len2)
  292. w2.Size = sz
  293. local sp = Instance.new("SpecialMesh",w2)
  294. sp.MeshType = "Wedge"
  295. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  296. w2:BreakJoints()
  297. w2.Anchored = true
  298. w2.Parent = workspace
  299. w2.Transparency = 0.7
  300. table.insert(Effects,{w2,"Disappear",.01})
  301. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  302. table.insert(list,w2)
  303. end
  304. return unpack(list)
  305. end
  306.  
  307.  
  308. so = function(id,par,vol,pit)
  309. coroutine.resume(coroutine.create(function()
  310. local sou = Instance.new("Sound",par or workspace)
  311. sou.Volume=vol
  312. sou.Pitch=pit or 1
  313. sou.SoundId=id
  314. swait()
  315. sou:play()
  316. game:GetService("Debris"):AddItem(sou,6)
  317. end))
  318. end
  319.  
  320. function clerp(a,b,t)
  321. local qa = {QuaternionFromCFrame(a)}
  322. local qb = {QuaternionFromCFrame(b)}
  323. local ax, ay, az = a.x, a.y, a.z
  324. local bx, by, bz = b.x, b.y, b.z
  325. local _t = 1-t
  326. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  327. end
  328.  
  329. function QuaternionFromCFrame(cf)
  330. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  331. local trace = m00 + m11 + m22
  332. if trace > 0 then
  333. local s = math.sqrt(1 + trace)
  334. local recip = 0.5/s
  335. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  336. else
  337. local i = 0
  338. if m11 > m00 then
  339. i = 1
  340. end
  341. if m22 > (i == 0 and m00 or m11) then
  342. i = 2
  343. end
  344. if i == 0 then
  345. local s = math.sqrt(m00-m11-m22+1)
  346. local recip = 0.5/s
  347. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  348. elseif i == 1 then
  349. local s = math.sqrt(m11-m22-m00+1)
  350. local recip = 0.5/s
  351. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  352. elseif i == 2 then
  353. local s = math.sqrt(m22-m00-m11+1)
  354. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  355. end
  356. end
  357. end
  358.  
  359. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  360. local xs, ys, zs = x + x, y + y, z + z
  361. local wx, wy, wz = w*xs, w*ys, w*zs
  362. local xx = x*xs
  363. local xy = x*ys
  364. local xz = x*zs
  365. local yy = y*ys
  366. local yz = y*zs
  367. local zz = z*zs
  368. 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))
  369. end
  370.  
  371. function QuaternionSlerp(a, b, t)
  372. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  373. local startInterp, finishInterp;
  374. if cosTheta >= 0.0001 then
  375. if (1 - cosTheta) > 0.0001 then
  376. local theta = math.acos(cosTheta)
  377. local invSinTheta = 1/math.sin(theta)
  378. startInterp = math.sin((1-t)*theta)*invSinTheta
  379. finishInterp = math.sin(t*theta)*invSinTheta
  380. else
  381. startInterp = 1-t
  382. finishInterp = t
  383. end
  384. else
  385. if (1+cosTheta) > 0.0001 then
  386. local theta = math.acos(-cosTheta)
  387. local invSinTheta = 1/math.sin(theta)
  388. startInterp = math.sin((t-1)*theta)*invSinTheta
  389. finishInterp = math.sin(t*theta)*invSinTheta
  390. else
  391. startInterp = t-1
  392. finishInterp = t
  393. end
  394. end
  395. 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
  396. end
  397.  
  398. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  399. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  400. end
  401.  
  402. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  403. if hit.Parent==nil then
  404. return
  405. end
  406. local h=hit.Parent:FindFirstChild("Humanoid")
  407. for _,v in pairs(hit.Parent:children()) do
  408. if v:IsA("Humanoid") then
  409. h=v
  410. end
  411. end
  412. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  413. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  414. end
  415. if hit.Parent.className=="Hat" then
  416. hit=hit.Parent.Parent:findFirstChild("Head")
  417. end
  418. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  419. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  420. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  421. return
  422. end]]
  423. -- hs(hit,1.2)
  424. local c=Instance.new("ObjectValue")
  425. c.Name="creator"
  426. c.Value=game:service("Players").LocalPlayer
  427. c.Parent=h
  428. game:GetService("Debris"):AddItem(c,.5)
  429. local Damage=math.random(minim,maxim)
  430. -- h:TakeDamage(Damage)
  431. local blocked=false
  432. local block=hit.Parent:findFirstChild("Block")
  433. if block~=nil then
  434. print(block.className)
  435. if block.className=="NumberValue" then
  436. if block.Value>0 then
  437. blocked=true
  438. if decreaseblock==nil then
  439. block.Value=block.Value-1
  440. end
  441. end
  442. end
  443. if block.className=="IntValue" then
  444. if block.Value>0 then
  445. blocked=true
  446. if decreaseblock~=nil then
  447. block.Value=block.Value-1
  448. end
  449. end
  450. end
  451. end
  452. if blocked==false then
  453. -- h:TakeDamage(Damage)
  454. h.Health=h.Health-Damage
  455. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  456. else
  457. h.Health=h.Health-(Damage/2)
  458. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
  459. end
  460. if Type=="Knockdown" then
  461. local hum=hit.Parent.Humanoid
  462. hum.PlatformStand=true
  463. coroutine.resume(coroutine.create(function(HHumanoid)
  464. swait(1)
  465. HHumanoid.PlatformStand=false
  466. end),hum)
  467. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  468. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  469. local bodvol=Instance.new("BodyVelocity")
  470. bodvol.velocity=angle*knockback
  471. bodvol.P=5000
  472. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  473. bodvol.Parent=hit
  474. local rl=Instance.new("BodyAngularVelocity")
  475. rl.P=3000
  476. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  477. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  478. rl.Parent=hit
  479. game:GetService("Debris"):AddItem(bodvol,.5)
  480. game:GetService("Debris"):AddItem(rl,.5)
  481. elseif Type=="Normal" then
  482. local vp=Instance.new("BodyVelocity")
  483. vp.P=500
  484. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  485. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  486. if KnockbackType==1 then
  487. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  488. elseif KnockbackType==2 then
  489. vp.velocity=Property.CFrame.lookVector*knockback
  490. end
  491. if knockback>0 then
  492. vp.Parent=hit.Parent.Torso
  493. end
  494. game:GetService("Debris"):AddItem(vp,.5)
  495. elseif Type=="Up" then
  496. local bodyVelocity=Instance.new("BodyVelocity")
  497. bodyVelocity.velocity=vt(0,60,0)
  498. bodyVelocity.P=5000
  499. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  500. bodyVelocity.Parent=hit
  501. game:GetService("Debris"):AddItem(bodyVelocity,1)
  502. local rl=Instance.new("BodyAngularVelocity")
  503. rl.P=3000
  504. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  505. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  506. rl.Parent=hit
  507. game:GetService("Debris"):AddItem(rl,.5)
  508. elseif Type=="Snare" then
  509. local bp=Instance.new("BodyPosition")
  510. bp.P=2000
  511. bp.D=100
  512. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  513. bp.position=hit.Parent.Torso.Position
  514. bp.Parent=hit.Parent.Torso
  515. game:GetService("Debris"):AddItem(bp,1)
  516. elseif Type=="Target" then
  517. local Targetting = false
  518. if Targetting==false then
  519. ZTarget=hit.Parent.Torso
  520. coroutine.resume(coroutine.create(function(Part)
  521. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  522. swait(5)
  523. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  524. end),ZTarget)
  525. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  526. local targetgui=Instance.new("BillboardGui")
  527. targetgui.Parent=ZTarget
  528. targetgui.Size=UDim2.new(10,100,10,100)
  529. local targ=Instance.new("ImageLabel")
  530. targ.Parent=targetgui
  531. targ.BackgroundTransparency=1
  532. targ.Image="rbxassetid://4834067"
  533. targ.Size=UDim2.new(1,0,1,0)
  534. cam.CameraType="Scriptable"
  535. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  536. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  537. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  538. Targetting=true
  539. RocketTarget=ZTarget
  540. for i=1,Property do
  541. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  542. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  543. swait()
  544. end
  545. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  546. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  547. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  548. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  549. end
  550. Targetting=false
  551. RocketTarget=nil
  552. targetgui.Parent=nil
  553. cam.CameraType="Custom"
  554. end
  555. end
  556. local debounce=Instance.new("BoolValue")
  557. debounce.Name="DebounceHit"
  558. debounce.Parent=hit.Parent
  559. debounce.Value=true
  560. game:GetService("Debris"):AddItem(debounce,Delay)
  561. c=Instance.new("ObjectValue")
  562. c.Name="creator"
  563. c.Value=Player
  564. c.Parent=h
  565. game:GetService("Debris"):AddItem(c,.5)
  566. end
  567. end
  568.  
  569.  
  570. function ShowDamage(Pos, Text, Time, Color)
  571. local Rate = (1 / 30)
  572. local Pos = (Pos or Vector3.new(0, 0, 0))
  573. local Text = (Text or "")
  574. local Time = (Time or 2)
  575. local Color = (Color or Color3.new(1, 0, 0))
  576. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  577. EffectPart.Anchored = true
  578. local BillboardGui = Instance.new("BillboardGui")
  579. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  580. BillboardGui.Adornee = EffectPart
  581. local TextLabel = Instance.new("TextLabel")
  582. TextLabel.BackgroundTransparency = 1
  583. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  584. TextLabel.Text = Text
  585. TextLabel.TextColor3 = Color
  586. TextLabel.TextScaled = true
  587. TextLabel.Font = Enum.Font.ArialBold
  588. TextLabel.Parent = BillboardGui
  589. BillboardGui.Parent = EffectPart
  590. game.Debris:AddItem(EffectPart, (Time + 0.1))
  591. EffectPart.Parent = game:GetService("Workspace")
  592. Delay(0, function()
  593. local Frames = (Time / Rate)
  594. for Frame = 1, Frames do
  595. wait(Rate)
  596. local Percent = (Frame / Frames)
  597. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  598. TextLabel.TextTransparency = Percent
  599. end
  600. if EffectPart and EffectPart.Parent then
  601. EffectPart:Destroy()
  602. end
  603. end)
  604. end
  605.  
  606. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(0.200000003, 1.61857152, 0.200000003))
  607. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.995889783, -0.101109691, 0.0468789339, -5.23798153e-005, 0.99999994, -0.000210702419, -6.36925748e-008, -0.000210702419, -0.99999994, -1, -5.23798008e-005, 7.47295417e-008))
  608. mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 1, 0.857142746))
  609. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","SwordPart",Vector3.new(0.200000003, 0.257142872, 0.911428571))
  610. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00982296467, -0.128642559, 5.57254982, -1.21753502e-007, -2.87620594e-010, 1, -1, -1.04306673e-006, -1.2175461e-007, 1.04306673e-006, -1, -2.87123214e-010))
  611. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  612. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.571428657))
  613. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100114346, 3.24283266, 2.64644623e-005, -2.98713599e-006, -1.63886575e-008, -1, -1.18017197e-005, -0.99999994, 1.64265153e-008, -0.99999994, 1.18017197e-005, 2.98713007e-006))
  614. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  615. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.514285743))
  616. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00896048546, 3.24313331, -6.2584877e-006, -2.62832918e-006, -1.58840017e-008, -1, -1.16825104e-005, -0.99999994, 1.59122848e-008, -0.99999994, 1.16825104e-005, 2.62831986e-006))
  617. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  618. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","SwordPart",Vector3.new(0.200000003, 0.914285779, 0.254285723))
  619. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0080575943, -5.57459974, 0.127099097, -7.20826961e-007, -1.18548371e-009, 1, 6.25863322e-007, 1, 1.18891563e-009, -1, 6.25863322e-007, -7.20827984e-007))
  620. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  621. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","SwordPart",Vector3.new(0.200000003, 0.942857206, 0.28285715))
  622. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00858414173, -5.58866072, 0.142816901, -5.41048905e-007, -8.99582631e-010, 1, -5.96046448e-007, 0.99999994, 9.00953978e-010, -0.99999994, -5.96046448e-007, -5.41057148e-007))
  623. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  624. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","SwordPart",Vector3.new(0.200000003, 0.285714328, 0.940000057))
  625. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.011053443, -0.142930448, 5.58944941, 2.97432763e-007, 3.64387631e-010, 1, -1, 6.25863322e-007, 2.9743137e-007, -6.25863322e-007, -1, 3.63804986e-010))
  626. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  627. Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","SwordPart",Vector3.new(1, 1.20000005, 1))
  628. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.57627869e-007, -0.809324801, 1.96695328e-006, 6.20105922e-008, 2.27451835e-010, -1, 1.81795622e-006, 1, 2.27856845e-010, 1, -1.81795622e-006, 6.2011928e-008))
  629. mesh("SpecialMesh",Part,Enum.MeshType.Head,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 0.142857134, 0.285714298))
  630. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
  631. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00226664543, 0.69951874, 1.00827909, 5.41296288e-007, 9.50464596e-010, -1, 0.707107663, -0.707105815, 3.8208583e-007, -0.707105815, -0.707107663, -3.83435292e-007))
  632. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
  633. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
  634. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19487548, -0.00217807293, 3.74913216e-005, 2.29479338e-006, 1, 7.06279479e-012, -6.20287395e-008, -7.34701189e-012, 1, 1, -2.29479338e-006, 6.20337914e-008))
  635. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.857145786, 1))
  636. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
  637. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19487882, -0.00217807293, 4.00543213e-005, 2.0563748e-006, 1, 1.14326326e-011, -6.20178255e-008, -1.28039801e-011, 1, 1, -2.0563748e-006, 6.20228633e-008))
  638. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.571431458, 1.10000002))
  639. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","SwordPart",Vector3.new(0.483492851, 0.539954185, 0.539909601))
  640. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00595891476, -1.00750566, 1.00747085, -1.81721958e-007, -3.98678424e-010, 1, -0.707107067, 0.707106411, -1.28216811e-007, -0.707106411, -0.707106948, -1.28784094e-007))
  641. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
  642. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
  643. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00534570217, -1.00757694, -0.698815584, 2.4158129e-007, 4.89748686e-010, -1, -0.707107604, 0.707105875, -1.70486445e-007, 0.707105815, 0.707107544, 1.71177419e-007))
  644. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
  645. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","SwordPart",Vector3.new(0.493492872, 0.539954185, 0.539909601))
  646. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000260472298, 0.6988675, -0.698937058, 3.01447898e-007, 5.80818948e-010, -1, -0.707105994, -0.707107365, -2.13563524e-007, -0.707107365, 0.707106113, -2.12752497e-007))
  647. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
  648. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
  649. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00927072763, -0.0121991634, 1.19311547, 0.999999881, -2.08614802e-006, 1.9306286e-007, -1.93059051e-007, -1.09411957e-007, 1, -2.08616257e-006, -0.999999881, -1.09408283e-007))
  650. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  651. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
  652. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.604586363, -0.0121991634, 1.02863288, 0.866026282, 0.499998033, 2.28958157e-007, -1.93872992e-007, -1.22099237e-007, 1, 0.499998033, -0.866026282, -8.79730777e-009))
  653. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  654. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
  655. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.03790355, -0.0121991634, 0.588528812, 0.500001669, 0.866024196, 1.74744486e-007, -1.6279435e-007, -1.0777579e-007, 1, 0.866024196, -0.500001669, 8.71042545e-008))
  656. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  657. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","SwordPart",Vector3.new(0.662679553, 0.200000003, 0.200000003))
  658. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.39311564, -0.0121991634, -0.00927072763, 2.08616257e-006, 0.999999881, 7.82298955e-008, -1.51383063e-007, -7.82268899e-008, 1, 0.999999881, -2.08614802e-006, 1.51386175e-007))
  659. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  660. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","SwordPart",Vector3.new(1.46267951, 0.200000003, 0.200000003))
  661. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.02863288, -0.0121997595, -0.604586482, -0.499998093, 0.866026223, -6.44970513e-008, -1.45620604e-007, -9.60127267e-009, 1, 0.866026223, 0.499998093, 1.30918266e-007))
  662. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  663. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
  664. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.588528991, -0.0121992826, -1.03790355, -0.866024137, 0.500001729, -9.11133142e-008, -1.16737233e-007, -1.99774206e-008, 1, 0.500001729, 0.866024137, 7.56750538e-008))
  665. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  666. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","SwordPart",Vector3.new(0.372464359, 0.762464345, 0.762464285))
  667. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00338602066, -0.736121356, -0.540583551, 5.41296288e-007, 9.50464596e-010, -1, 0.707107663, -0.707105815, 3.8208583e-007, -0.707105815, -0.707107663, -3.83435292e-007))
  668. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542364))
  669. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","SwordPart",Vector3.new(0.382464379, 0.762464345, 0.762464285))
  670. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00803625584, -0.737174749, 0.736498654, 3.01447898e-007, 5.80818948e-010, -1, -0.707105994, -0.707107365, -2.13563524e-007, -0.707107365, 0.707106113, -2.12752497e-007))
  671. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.913885474, 0.128561974, 0.128542408))
  672. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
  673. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00594449043, 0.540397167, 0.737201214, 2.4158129e-007, 4.89748686e-010, -1, -0.707107604, 0.707105875, -1.70486445e-007, 0.707105815, 0.707107544, 1.71177419e-007))
  674. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542408))
  675. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
  676. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00681877136, 0.540436149, -0.541088939, -1.81721958e-007, -3.98678424e-010, 1, -0.707107067, 0.707106411, -1.28216811e-007, -0.707106411, -0.707106948, -1.28784094e-007))
  677. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366669, 0.128561974, 0.128542364))
  678. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
  679. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910848916, -0.00147974491, 0.000465214252, 2.29479338e-006, 1, 7.06279479e-012, -6.20287395e-008, -7.34701189e-012, 1, 1, -2.29479338e-006, 6.20337914e-008))
  680. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.385687381, 0.642712057))
  681. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
  682. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910846829, -0.00147974491, 0.000467300415, 2.0563748e-006, 1, 1.14326326e-011, -6.20178255e-008, -1.28039801e-011, 1, 1, -2.0563748e-006, 6.20228633e-008))
  683. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.257125348, 0.706983268))
  684. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","SwordPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  685. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.98755074e-005, -0.86527884, -0.00526940823, 0.99999994, -3.33786011e-006, -1.61662047e-006, 3.33786011e-006, 0.99999994, -1.75251103e-009, 1.61662604e-006, 1.74897963e-009, 1))
  686. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 0.857145548, 0.857142746))
  687. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Hitbox",Vector3.new(0.650000036, 4.19999981, 0.200000003))
  688. Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0107657909, -3.95914412, 0.00325751305, 0.999999821, -0.000211339415, 2.39198562e-006, 0.000211339124, 0.999997795, -6.21902582e-005, -2.38056168e-006, 6.20116552e-005, 0.999992907))
  689. EffectPart=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Toothpaste","EffectPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  690. EffectPartweld=weld(m,handle,EffectPart,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00693154335, 0.014090538, 6.03910685, -5.23798153e-005, -6.36925748e-008, -1, 0.99999994, -0.000210702419, -5.23798008e-005, -0.000210702419, -0.99999994, 7.47295417e-008))
  691. mesh("BlockMesh",EffectPart,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  692. EffectPart2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","EffectPart2",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  693. EffectPart2weld=weld(m,Character["Left Arm"],EffectPart2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.15575993, 0.00814216491, -0.0231294632, -5.23798153e-005, 0.999999821, -0.000210702419, -6.36925748e-008, -0.00021070239, -0.99999994, -1, -5.23797935e-005, 7.47295417e-008))
  694.  
  695. DarkRiftF=function(par)
  696. while lol == true do
  697. wait()
  698. local PWN={}
  699. for _,v in pairs(game.Workspace:children()) do
  700. if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
  701. if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
  702. table.insert(PWN,v.Torso)
  703. end
  704. end
  705. end
  706. for _,t in pairs(PWN) do
  707. local targ=par.Position-t.Position
  708. local Mag=targ.magnitude
  709. if not t:IsDescendantOf(Character) and t~=nil and Mag<=50 then
  710. if Mag<=30 then
  711. t.Parent.Humanoid:TakeDamage(.5)
  712. local rl=Instance.new("BodyAngularVelocity")
  713. rl.P=3000
  714. rl.maxTorque=Vector3.new(500000,500000,500000)*5000
  715. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))/10
  716. rl.Parent=t
  717. game:GetService("Debris"):AddItem(rl,.1)
  718. end
  719. if Mag<=20 then
  720. t.Parent.Humanoid:TakeDamage(.1)
  721. else
  722. local vl=Instance.new("BodyVelocity")
  723. vl.P=3000
  724. vl.maxForce=Vector3.new(50000000000,50000000000,50000000000)
  725. vl.velocity=(t.Position-par.Position).unit*-(70/(Mag))
  726. vl.Parent=t
  727. game:GetService("Debris"):AddItem(vl,.1)
  728. end
  729. end
  730. end
  731. wait(.08)
  732. end
  733. end
  734.  
  735. function DerpMagic(part,x1,y1,z1,x2,y2,z2,color)
  736. local msh1 = Instance.new("BlockMesh")
  737. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  738. local S=Instance.new("Part")
  739. S.Name="Effect"
  740. S.Material="Neon"
  741. S.formFactor=0
  742. S.Size=Vector3.new(x1,y1,z1)
  743. S.BrickColor=color
  744. S.Reflectance = 0
  745. S.TopSurface=0
  746. S.BottomSurface=0
  747. S.Transparency=0
  748. S.Anchored=false
  749. S.CanCollide=false
  750. S.CFrame=part.CFrame
  751. S.Parent=game.Workspace
  752. msh1.Parent = S
  753. local W=Instance.new("Weld")
  754. W.Parent=S
  755. W.Part0=S
  756. W.Part1=part
  757. W.C0=CFrame.new(x2,y2,z2) * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  758. W.Parent=nil
  759. S.Anchored=true
  760. coroutine.resume(coroutine.create(function(Part,Weld) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) --[[Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))]] Part.Transparency=i*.1 wait() end Part.Parent=nil Weld.Parent=nil end),S,W)
  761. end
  762.  
  763. local function BlackHole(parent,cframe)
  764. local effectsmsh = Instance.new("SpecialMesh")
  765. effectsmsh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  766. --effectsmsh.Scale = Vector3.new(1,1,2.5)
  767. effectsmsh.Scale = Vector3.new(3,3,3)
  768. local effectsg = Instance.new("Part")
  769. effectsg.formFactor = 3
  770. effectsg.CanCollide = false
  771. effectsg.Name = "Effect"
  772. effectsg.Locked = true
  773. effectsg.Transparency = 1
  774. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  775. effectsg.Parent = parent
  776. effectsg.BrickColor = BrickColor.new("Toothpaste")
  777. effectsg.Material="Neon"
  778. coroutine.resume(coroutine.create(function(Part,Mesh)
  779. local Mesh = Instance.new("SpecialMesh")
  780. Mesh.Scale = Vector3.new(0.5,0.5,0.5)
  781. Mesh.MeshType = "Sphere"
  782. -- Mesh.TextureId="http://www.roblox.com/asset/?id=1529460"
  783. Part=Instance.new("Part")
  784. Part.Name="Effect"
  785. Part.formFactor=0
  786. Part.Size=Vector3.new(1,1,1)
  787. Part.BrickColor=BrickColor.new("Toothpaste")
  788. Part.Material="Neon"
  789. Part.Reflectance = 0
  790. Part.TopSurface=0
  791. Part.BottomSurface=0
  792. Part.Transparency=0
  793. Part.Anchored=true
  794. NoOutline(Part)
  795. Part.CanCollide=false
  796. Part.CFrame=cframe
  797. Part.Parent=parent
  798. Mesh.Parent = Part
  799. lol=true
  800. coroutine.resume(coroutine.create(function()
  801. DarkRiftF(Part)
  802. end))
  803. for i=0,200 do
  804. wait()
  805. DerpMagic(Part,1,i/3,1,0,i/3,0,BrickColor.new("Toothpaste"))
  806. Mesh.Scale=Mesh.Scale-Vector3.new(0.2,0.2,0.2)
  807. Part.CFrame=cframe*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  808. end
  809. local fff=200
  810. for i=0,100 do
  811. wait()
  812. DerpMagic(Part,1,fff/3,1,0,fff/3,0,BrickColor.new("Toothpaste"))
  813. Part.CFrame=cframe*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  814. end
  815. for i=0,1,0.05 do
  816. wait()
  817. Part.Transparency=Part.Transparency+0.05
  818. Mesh.Scale=Mesh.Scale+Vector3.new(1.5,1.5,1.5)
  819. end
  820. lol=false
  821. Part.Parent=nil
  822. end),nil,nil)
  823. end
  824.  
  825. function makeShockwave(height,color,speed,range,pulse)
  826. local range = range or 2000
  827. local p = Instance.new("Part")
  828. p.Anchored = true
  829. p.CanCollide = false
  830. p.FormFactor = "Custom"
  831. p.BrickColor = color
  832. p.Parent = workspace
  833. local m = Instance.new("SpecialMesh",p)
  834. m.MeshId = "rbxassetid://3270017"
  835. local estimateSurvival = math.floor(range/speed) * 0.03
  836. game:GetService("Debris"):AddItem(p,estimateSurvival)
  837. Spawn(function ()
  838. for i = 1,range,speed do
  839. p.Transparency = 1-math.min(0.5,3-(i/500))
  840. m.Scale = Vector3.new(i,i,i*height)
  841. p.CFrame = CFrame.new(Torso.Position) * CFrame.Angles(math.rad(90),0,0)
  842. wait()
  843. end
  844. p:Destroy()
  845. end)
  846. end
  847.  
  848. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  849. local prt=ppart(3,game.Workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  850. prt.Anchored=true
  851. prt.CFrame=cframe
  852. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(.1,.1,.1))
  853. game:GetService("Debris"):AddItem(prt,2)
  854. coroutine.resume(coroutine.create(function(Part,Mesh)
  855. for i=0,2,delay do
  856. wait()
  857. Part.CFrame=Part.CFrame
  858. Part.Transparency=i
  859. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  860. end
  861. Part.Parent=nil
  862. end),prt,msh)
  863. end
  864.  
  865. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  866. local prt=ppart(3,game.Workspace,0,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  867. prt.Anchored=true
  868. prt.CFrame=cframe
  869. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  870. game:GetService("Debris"):AddItem(prt,5)
  871. coroutine.resume(coroutine.create(function(Part,Mesh)
  872. for i=0,1,delay do
  873. wait()
  874. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  875. Part.Transparency=i
  876. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  877. end
  878. Part.Parent=nil
  879. end),prt,msh)
  880. end
  881.  
  882. local function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,Type,parent)
  883. local prt=ppart(3,game.Workspace,0,1,brickcolor,"Effect",vt())
  884. if Type~=2 then
  885. prt.Anchored=true
  886. end
  887. prt.CFrame=cframe
  888. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  889. game:GetService("Debris"):AddItem(prt,5)
  890. coroutine.resume(coroutine.create(function(Part,Mesh,dur)
  891. local wld=nil
  892. if dur==2 then
  893. wld=weld(Part,Part,parent,euler(0,0,0)*cf(0,0,0))
  894. end
  895. for i=0,1,delay do
  896. swait()
  897. if dur==1 then
  898. Part.CFrame=Part.CFrame
  899. elseif dur==2 then
  900. wld.C0=cframe
  901. end
  902. Part.Transparency=i
  903. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  904. end
  905. Part.Parent=nil
  906. end),prt,msh,Type)
  907. end
  908.  
  909. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  910. local prt=ppart(3,game.Workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  911. prt.Anchored=true
  912. prt.CFrame=cframe
  913. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  914. game:GetService("Debris"):AddItem(prt,5)
  915. coroutine.resume(coroutine.create(function(Part,Mesh)
  916. for i=0,1,delay do
  917. swait()
  918. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  919. Part.Transparency=i
  920. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  921. end
  922. Part.Parent=nil
  923. end),prt,msh)
  924. end
  925.  
  926. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  927. local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  928. prt.Anchored=true
  929. prt.CFrame=cframe
  930. local msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  931. game:GetService("Debris"):AddItem(prt,5)
  932. coroutine.resume(coroutine.create(function(Part,Mesh)
  933. for i=0,1,delay do
  934. wait()
  935. Part.CFrame=Part.CFrame
  936. Part.Transparency=i
  937. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  938. end
  939. Part.Parent=nil
  940. end),prt,msh)
  941. end
  942.  
  943. function MagicWave(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  944. local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt())
  945. prt.Anchored=true
  946. prt.CFrame=cframe
  947. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  948. game:GetService("Debris"):AddItem(prt,5)
  949. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3})
  950. end
  951.  
  952. function Blast(parent)
  953. MagicBlock(BrickColor.new("Really black"),parent.CFrame,4,4,4,0.2,0.2,0.2,0.01)
  954. MagicWaveThing(BrickColor.new("Really black"),parent.CFrame,4,4,4,0.2,0.2,0.2,0.01)
  955. end
  956.  
  957. function ChargeBall(parent,t)
  958. local counter=0
  959. local size=1
  960. for i=0,t,1 do
  961. swait()
  962. counter=counter+1
  963. if counter%10==0 then
  964. if size==3 then
  965. MagicRing(BrickColor.new("Really black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  966. elseif size==2 then
  967. MagicRing(BrickColor.new("Really black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  968. end
  969. end
  970. if counter%5==0 then
  971. if size==1 then
  972. MagicBlock(BrickColor.new("Really black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  973. elseif size==2 then
  974. MagicBlock(BrickColor.new("Really black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  975. elseif size==3 then
  976. MagicBlock(BrickColor.new("Really black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  977. end
  978. end
  979. end
  980. end
  981.  
  982. function ChargeBall2(parent,t)
  983. local counter=0
  984. local size=1
  985. for i=0,t,1 do
  986. swait()
  987. counter=counter+1
  988. if counter%10==0 then
  989. if size==3 then
  990. MagicRing(BrickColor.new("Really black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  991. elseif size==2 then
  992. MagicRing(BrickColor.new("Really black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  993. end
  994. end
  995. if counter%5==0 then
  996. if size==1 then
  997. MagicBlock(BrickColor.new("Really black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  998. MagicWave(BrickColor.new("Toothpaste"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05)
  999. elseif size==2 then
  1000. MagicBlock(BrickColor.new("Really black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1001. MagicWave(BrickColor.new("Toothpaste"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05)
  1002. elseif size==3 then
  1003. MagicBlock(BrickColor.new("Really black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1004. MagicWave(BrickColor.new("Toothpaste"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05)
  1005. end
  1006. end
  1007. end
  1008. end
  1009.  
  1010. function MagniDamage(Part,dis,mind,maxd,force,knock)
  1011. for _,c in pairs(workspace:children()) do
  1012. local hum=c:findFirstChild("Humanoid")
  1013. if hum~=nil then
  1014. local head=c:findFirstChild("Torso")
  1015. if head~=nil then
  1016. local targ=head.Position-Part.Position
  1017. local mag=targ.magnitude
  1018. if mag<=dis and c.Name~=Character.Name then
  1019. Damagefunc(Part,hum.Parent.Torso,mind,maxd,force,knock,RootPart,.2,1)
  1020. end
  1021. end
  1022. end
  1023. end
  1024. end
  1025.  
  1026. function computeDirection(vec)
  1027. local lenSquared = vec.magnitude * vec.magnitude
  1028. local invSqrt = 1 / math.sqrt(lenSquared)
  1029. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  1030. end
  1031.  
  1032. function attackone()
  1033. attack = true
  1034. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1035. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,4222,112222,math.random(5,5),"Normal",RootPart,.2,1) end)
  1036. local fx=Hitbox.Touched:connect(function(part)
  1037. local human=part.Parent:findFirstChild("Humanoid")
  1038. if human~=nil and bounce==false then
  1039. bounce=true
  1040. local rndm=math.random(1,#hitsounds)
  1041. local r=rndm
  1042. so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  1043. end
  1044. end)
  1045. for i = 0,1,0.1 do
  1046. swait()
  1047. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
  1048. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1049. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),0.4)
  1050. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),0.4)
  1051. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),0.4)
  1052. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  1053. end
  1054. so("http://www.roblox.com/asset/?id=199145841",handle,1,.9)
  1055. for i = 0,1,0.1 do
  1056. swait()
  1057. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1058. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1059. local h = 5
  1060. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1061. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1062. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1063. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1064. scfr = blcf
  1065. elseif not scfr then
  1066. scfr = blcf
  1067. end
  1068. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.4)
  1069. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.4)
  1070. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1071. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1072. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.4)
  1073. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.4)
  1074. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1075. end
  1076. attack = false
  1077. bounce=false
  1078. scfr=nil
  1079. fx:disconnect()
  1080. con:disconnect()
  1081. end
  1082.  
  1083. function attacktwo()
  1084. attack=true
  1085. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1086. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,4222,112222,math.random(5,5),"Normal",RootPart,.2,1) end)
  1087. local fx=Hitbox.Touched:connect(function(part)
  1088. local human=part.Parent:findFirstChild("Humanoid")
  1089. if human~=nil and bounce==false then
  1090. bounce=true
  1091. local rndm=math.random(1,#hitsounds)
  1092. local r=rndm
  1093. so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  1094. end
  1095. end)
  1096. for i=0,1,.1 do
  1097. swait()
  1098. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
  1099. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
  1100. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1101. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1102. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  1103. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
  1104. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1105. end
  1106. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  1107. for i = 0,1,0.1 do
  1108. swait()
  1109. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1110. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1111. local h = 5
  1112. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1113. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1114. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1115. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1116. scfr = blcf
  1117. elseif not scfr then
  1118. scfr = blcf
  1119. end
  1120. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
  1121. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
  1122. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
  1123. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
  1124. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
  1125. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
  1126. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1127. end
  1128. scfr=nil
  1129. attack=false
  1130. bounce=false
  1131. con:disconnect()
  1132. fx:disconnect()
  1133. end
  1134.  
  1135. function attackthree()
  1136. attack=true
  1137. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1138. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,6222,152222,math.random(5,5),"Normal",RootPart,.2,1) end)
  1139. local fx=Hitbox.Touched:connect(function(part)
  1140. local human=part.Parent:findFirstChild("Humanoid")
  1141. if human~=nil and bounce==false then
  1142. bounce=true
  1143. local rndm=math.random(1,#hitsounds)
  1144. local r=rndm
  1145. so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  1146. end
  1147. end)
  1148. for i=0,1,.1 do
  1149. swait()
  1150. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),0.4)
  1151. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1152. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.4)
  1153. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.4)
  1154. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(105),math.rad(0)),0.4)
  1155. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),0.4)
  1156. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1157. end
  1158. so("http://www.roblox.com/asset/?id=199145913",handle,1,.9)
  1159. for i = 0,1,0.1 do
  1160. swait()
  1161. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1162. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1163. local h = 5
  1164. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1165. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1166. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1167. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1168. scfr = blcf
  1169. elseif not scfr then
  1170. scfr = blcf
  1171. end
  1172. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1173. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  1174. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)),0.4)
  1175. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.4)
  1176. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.4)
  1177. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.4)
  1178. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.4)
  1179. end
  1180. attack=false
  1181. bounce=false
  1182. scfr=nil
  1183. con:disconnect()
  1184. fx:disconnect()
  1185. end
  1186.  
  1187. function attackfour()
  1188. attack = true
  1189. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1190. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,9222,18222,math.random(20,30),"Normal",RootPart,.2,1) end)
  1191. local fx=Hitbox.Touched:connect(function(part)
  1192. local human=part.Parent:findFirstChild("Humanoid")
  1193. if human~=nil and bounce==false then
  1194. bounce=true
  1195. local rndm=math.random(1,#hitsounds)
  1196. local r=rndm
  1197. so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  1198. end
  1199. end)
  1200. for i = 0,1,0.1 do
  1201. swait()
  1202. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(-5),math.rad(-60)),.3)
  1203. Torso.Neck.C0=clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.3)
  1204. RW.C0=clerp(RW.C0,cf(1.5, 0.8, 0.2) * angles(math.rad(5), math.rad(-15), math.rad(112)), 0.3)
  1205. LW.C0=clerp(LW.C0,cf(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-20)), 0.3)
  1206. RH.C0=clerp(RH.C0,cf(1.1,-1,0)*angles(math.rad(-5),math.rad(120),math.rad(-8)),.3)
  1207. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-60),math.rad(0)),.3)
  1208. handleweld.C0=clerp(handleweld.C0,cf(0,-.2,.5)*angles(math.rad(50),math.rad(-15),math.rad(0)),.3)
  1209. end
  1210. so("http://www.roblox.com/asset/?id=199145433",Hitbox,1,1.1)
  1211. local v=it("BodyVelocity",Torso)
  1212. v.maxForce=Vector3.new(4e+005,4e+005,4e+005)*1
  1213. v.velocity=RootPart.CFrame.lookVector*50
  1214. for i = 0,1,0.1 do
  1215. swait()
  1216. local blcf = Hitbox.CFrame*cf(0,0,0)
  1217. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1218. local h = 5
  1219. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1220. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1221. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1222. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1223. scfr = blcf
  1224. elseif not scfr then
  1225. scfr = blcf
  1226. end
  1227. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(60)),.3)
  1228. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1229. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(60), math.rad(100)), 0.3)
  1230. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-15)), 0.3)
  1231. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  1232. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  1233. handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-100),math.rad(0),math.rad(0)),.3)
  1234. end
  1235. v.Parent=nil
  1236. scfr=nil
  1237. attack = false
  1238. bounce=false
  1239. con:disconnect()
  1240. fx:disconnect()
  1241. end
  1242.  
  1243. function LustrisFulgo()
  1244. attack=true
  1245. Humanoid.WalkSpeed=0
  1246. for i=0,1,0.1 do
  1247. swait()
  1248. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-15),math.rad(0),math.rad(10)),.3)
  1249. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(-10)),.3)
  1250. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(145), math.rad(0), math.rad(7)), 0.3)
  1251. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(4), math.rad(-15)), 0.3)
  1252. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-15),math.rad(90),math.rad(0)),.3)
  1253. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-25),math.rad(-90),math.rad(0)),.3)
  1254. handleweld.C0=clerp(handleweld.C0,cf(0,0,-.5)*angles(math.rad(-60),math.rad(0),math.rad(0)),.3)
  1255. end
  1256. local function boom()
  1257. local pprt=ppart(3,game.Workspace,0,1,BrickColor.new("Really black"),"Effect",vt(1,1,1))
  1258. pprt.Anchored=true
  1259. pprt.CFrame=EffectPart.CFrame
  1260. game:GetService("Debris"):AddItem(pprt,2)
  1261. MagicCircle(BrickColor.new("Really black"),EffectPart.CFrame,20,20,20,-0.01,-0.01,-0.01,0.01)
  1262. so("http://roblox.com/asset/?id=228343412",EffectPart,1,0.6)
  1263. so("http://roblox.com/asset/?id=228343408",EffectPart,1,1.4)
  1264. local wave=part(3,game.Workspace,"Neon",0,.7,BrickColor.new("Really black"),"Effect",vt(1,1,1))
  1265. local waveweld=weld(game.Workspace,handle,wave,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00693154335, 0.014090538, 6.03910685, -5.23798153e-005, -6.36925748e-008, -1, 0.99999994, -0.000210702419, -5.23798008e-005, -0.000210702419, -0.99999994, 7.47295417e-008))
  1266. local wavemesh=mesh("SpecialMesh",wave,"Sphere","",vt(0,0,0),vt(1,1,1))
  1267. MagniDamage(wave,20,15222,25222,math.random(20,30),"Knockdown",RootPart)
  1268. for i=0,80 do
  1269. swait()
  1270. MagicBlock(BrickColor.new("Really black"),EffectPart.CFrame,7,7,7,-0.5,-0.5,-0.5,0.05)
  1271. MagicCircle(BrickColor.new("Really black"),EffectPart.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,5,0),0.5,1,0.5,0.02,1,0.02,0.05)
  1272. wave.Size=vt(1+i,1+i,1+i)
  1273. wavemesh.Scale=vt(1+i,1+i,1+i)
  1274. wave.CFrame=EffectPart.CFrame
  1275. Humanoid.Health=Humanoid.Health+.15
  1276. end
  1277. wave:Destroy()
  1278. end
  1279. boom()
  1280. attack=false
  1281. Humanoid.WalkSpeed=16
  1282. end
  1283.  
  1284. function LeviterGlomus()
  1285. attack=true
  1286. for i=0,1,.1 do
  1287. swait()
  1288. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  1289. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1290. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(18), math.rad(-15), math.rad(15)), 0.3)
  1291. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-75), math.rad(0), math.rad(-50)), 0.3)
  1292. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-3),math.rad(65),math.rad(0)),.3)
  1293. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(-25),math.rad(-110),math.rad(0))*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  1294. handleweld.C0=clerp(handleweld.C0,cf(0,.2,-.3)*angles(math.rad(-35),math.rad(-15),math.rad(0)),.3)
  1295. end
  1296. so("http://www.roblox.com/asset/?id=199145659",EffectPart2,1,1)
  1297. efprt=part(Enum.FormFactor.Custom,game.Workspace,Enum.Material.Neon,0,0,"Really black","BallEffect",Vector3.new(2, 2, 2))
  1298. weld(m,Character["Left Arm"],efprt,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.15575993, 0.00814216491, -0.0231294632, -5.23798153e-005, 0.999999821, -0.000210702419, -6.36925748e-008, -0.00021070239, -0.99999994, -1, -5.23797935e-005, 7.47295417e-008))
  1299. mesh("SpecialMesh",efprt,"Sphere","",vt(0,0,0),vt(1,1,1))
  1300. ChargeBall(EffectPart2,35)
  1301. for i=0,1,.1 do
  1302. swait()
  1303. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1304. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  1305. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-18), math.rad(15), math.rad(15)), 0.3)
  1306. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-65)), 0.3)
  1307. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
  1308. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  1309. handleweld.C0=clerp(handleweld.C0,cf(0,.2,-.3)*angles(math.rad(0),math.rad(-15),math.rad(0)),.3)
  1310. end
  1311. so("http://www.roblox.com/asset/?id=199145534",EffectPart2,1,1.2)
  1312. efprt:BreakJoints()
  1313. local Target=mouse.Hit.p
  1314. local direction = Target - handle.Position
  1315. direction = computeDirection(direction)
  1316. local pos = handle.Position + (direction * 10.0)
  1317. efprt.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(math.pi/2, 0, 0)
  1318. local floatForce = Instance.new("BodyForce")
  1319. floatForce.force = Vector3.new(0, efprt:GetMass() * 196.1, 0.0)
  1320. floatForce.Parent = efprt
  1321. efprt.Velocity = direction * 160
  1322. efprt.Touched:connect(function(hit)
  1323. if not hit:IsDescendantOf(Character) then
  1324. if hit.Name~="Effect" then
  1325. MagniDamage(efprt,15,12225,22225,math.random(20,30),"Knockdown",RootPart)
  1326. floatForce.Parent=nil
  1327. efprt.Anchored=true
  1328. so("http://www.roblox.com/asset/?id=228343330",hit,1,.8)
  1329. Blast(efprt)
  1330. efprt:Destroy()
  1331. end
  1332. end
  1333. end)
  1334. game:GetService("Debris"):AddItem(efprt,6)
  1335. attack=false
  1336. end
  1337.  
  1338. function PortalStorm()
  1339. Humanoid.WalkSpeed=0
  1340. attack=true
  1341. for i=0,1,.1 do
  1342. swait()
  1343. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1344. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1345. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-40)), 0.3)
  1346. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(40)), 0.3)
  1347. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(5),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1348. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1349. handleweld.C0=clerp(handleweld.C0,cf(-1,-2.3,-.4)*angles(math.rad(-165),math.rad(-15),math.rad(50)),.3)
  1350. end
  1351. so("http://www.roblox.com/asset/?id=199145446",handle,1,1)
  1352. ChargeBall2(handle,100)
  1353. makeShockwave(0.5,BrickColor.new("Toothpaste"),30,1000,0)
  1354. MagicWave(BrickColor.new("Toothpaste"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),2,2,2,.5,.3,.5,0.01)
  1355. so("http://www.roblox.com/asset/?id=280247455",game.Workspace,1,1)
  1356. wait(2)
  1357. so("http://www.roblox.com/asset/?id=110284742",game.Workspace,1,0)
  1358. delay(0.5,function ()
  1359. MagniDamage(Torso,2000,32225,52220,math.random(50,70),"Knockdown",RootPart)
  1360. end)
  1361. Humanoid.Health=Humanoid.Health-0
  1362. makeShockwave(4,BrickColor.new("Really black"),10,2000,1)
  1363. attack=false
  1364. Humanoid.WalkSpeed=9
  1365. wait(4)
  1366. Humanoid.WalkSpeed=16
  1367. end
  1368.  
  1369. function SolSiderea()
  1370. Humanoid.WalkSpeed=0
  1371. attack=true
  1372. so("http://www.roblox.com/asset/?id=280758833",Workspace,1,1.3)
  1373. for i=0,1,.1 do
  1374. swait()
  1375. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1376. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1377. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(95), math.rad(-10), math.rad(-17)), 0.3)
  1378. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(95), math.rad(10), math.rad(17)), 0.3)
  1379. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1380. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1381. handleweld.C0=clerp(handleweld.C0,cf(0,-2,-.5)*angles(math.rad(0),math.rad(7.5),math.rad(-75)),.3)
  1382. end
  1383. for i=0,1,.1 do
  1384. swait()
  1385. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1386. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  1387. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(-5), math.rad(8)), 0.3)
  1388. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(5), math.rad(-8)), 0.3)
  1389. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1390. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1391. handleweld.C0=clerp(handleweld.C0,cf(-1.1,-4,-2)*angles(math.rad(-72),math.rad(8.5),math.rad(-92)),.3)
  1392. end
  1393. coroutine.resume(coroutine.create(function() ChargeBall(EffectPart,120) end))
  1394. local n=2
  1395. local orb=ppart(3,Character,0,1,BrickColor.new("Toothpaste"),"Orb",vt())
  1396. local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(15,15,15))
  1397. local owld=wweld(orb,orb,Torso,cf(-10,-150,0))
  1398. for i=1,0.3,-0.01 do
  1399. wait()
  1400. orb.Transparency=i
  1401. omsh.Scale=omsh.Scale+vt(0.5,0.5,0.5)
  1402. MagicBlock(BrickColor.new("Toothpaste"),orb.CFrame,15,15,15,2,2,2,0.1)
  1403. local ef=ppart(3,workspace,0,0,BrickColor.new("Toothpaste"),"Effect",vt())
  1404. ef.Anchored=true
  1405. local emsh=mesh("SpecialMesh",ef,"Sphere","",vt(0,0,0),vt(2,math.random(1000,1500)/100,2))
  1406. local ceef=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,math.random(10,20),0)
  1407. ef.CFrame=orb.CFrame*ceef
  1408. game:GetService("Debris"):AddItem(ef,2)
  1409. coroutine.resume(coroutine.create(function(Part,Mesh)
  1410. for i=0,1,0.1 do
  1411. wait()
  1412. Part.Transparency=i
  1413. Part.CFrame=Part.CFrame*cf(0,-1,0)
  1414. end
  1415. Part.Parent=nil
  1416. end),ef,emsh)
  1417. end
  1418. local Pos=cf(orb.Position,Player:GetMouse().Hit.p).lookVector
  1419. wait(.5)
  1420. orb.Parent=nil
  1421. wait(1)
  1422. local hit,pos = rayCast(orb.Position,Pos,1000,Character)
  1423. local mag=(orb.Position-pos).magnitude
  1424. BlackHole(game.Workspace,cf(pos))
  1425. coroutine.resume(coroutine.create(function()
  1426. local wave=part(3,game.Workspace,"Neon",0,.7,BrickColor.new("Really black"),"Effect",vt(1,1,1))
  1427. wweld(game.Workspace,wave,orb,Torso.CFrame)
  1428. local wavemesh=mesh("SpecialMesh",wave,"Sphere","",vt(0,0,0),vt(1,1,1))
  1429. for i=1,100 do
  1430. swait()
  1431. wave.Size=vt(1+i,1+i,1+i)
  1432. wavemesh.Scale=vt(1+i,1+i,1+i)
  1433. wave.CFrame=cf(pos)
  1434. end
  1435. end))
  1436. coroutine.resume(coroutine.create(function()
  1437. for i=0,20 do
  1438. swait(15)
  1439. local range = 1500
  1440. local p = Instance.new("Part")
  1441. p.Anchored = true
  1442. p.CanCollide = false
  1443. p.FormFactor = "Custom"
  1444. p.BrickColor = BrickColor.new("Toothpaste")
  1445. p.Parent = workspace
  1446. p.Name="Effect"
  1447. p.CFrame=cf(pos)
  1448. local m = Instance.new("SpecialMesh",p)
  1449. m.MeshId = "rbxassetid://3270017"
  1450. local estimateSurvival = math.floor(range/30) * 0.03
  1451. game:GetService("Debris"):AddItem(p,estimateSurvival)
  1452. Spawn(function ()
  1453. for i = 1,range,30 do
  1454. p.Transparency = 1-math.min(0.5,3-(i/500))
  1455. m.Scale = Vector3.new(i,i,i*0.5)
  1456. p.CFrame = cf(pos) * CFrame.Angles(math.rad(90),0,0)
  1457. wait()
  1458. end
  1459. p:Destroy()
  1460. end)
  1461. end
  1462. end))
  1463. MagicCylinder(BrickColor.new("Toothpaste"),CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0),10,mag*5,10,0.5,0,0.5,0.01)
  1464. for i=1,2 do
  1465. end
  1466. for i=1,5 do
  1467. tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(mag/5)*(i/2),0)
  1468. end
  1469. for i=0,5 do
  1470. tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(-mag/5)*(i/2),0)
  1471. end
  1472. local ref=ppart(3,workspace,0,1,BrickColor.new("Toothpaste"),"Effect",vt())
  1473. ref.CFrame=cf(pos)
  1474. coroutine.resume(coroutine.create(function(Part)
  1475. wait(1)
  1476. Part.Parent=nil
  1477. end),ref)
  1478. MagniDamage(ref,25,22220,32220,40,"Knockdown",ref)
  1479. if hit~=nil then
  1480. Damagefunc(ref,hit,5022,70222,60,"Knockdown",RootPart,0)
  1481. end
  1482. local n=2
  1483. MagicWave(BrickColor.new("Toothpaste"),cf(pos)*euler(0,math.random(-50,50),0),2,2,2,.5,.3,.5,0.01)
  1484. swait(75)
  1485. Humanoid.WalkSpeed=16
  1486. attack=false
  1487. end
  1488.  
  1489. attacktype=1
  1490. mouse.Button1Down:connect(function()
  1491. if attacktype==1 and attack==false then
  1492. attacktype=2
  1493. attackone()
  1494. elseif attacktype==2 and attack==false then
  1495. attacktype=3
  1496. attacktwo()
  1497. elseif attacktype==3 and attack==false then
  1498. attacktype=4
  1499. attackthree()
  1500. elseif attacktype==4 and attack==false then
  1501. attacktype=1
  1502. attackfour()
  1503. end
  1504. end)
  1505.  
  1506. mouse.KeyDown:connect(function(k)
  1507. k=k:lower()
  1508. if attack == false and k == 'e' then
  1509. LeviterGlomus()
  1510. ChargeBall(efprt,100)
  1511. end
  1512. if attack == false and k == 'q' then
  1513. LustrisFulgo()
  1514. end
  1515. if attack == false and k == 'f' and deeznuts==false then
  1516. deeznuts=true
  1517. SolSiderea()
  1518. deeznuts=false
  1519. end
  1520. if attack == false and k == 'r' and cooldown==false then
  1521. cooldown=true
  1522. PortalStorm()
  1523. cooldown=false
  1524. end
  1525. end)
  1526.  
  1527.  
  1528. local sine = 0
  1529. local change = 1
  1530. local val = 0
  1531.  
  1532. while true do
  1533. swait()
  1534. sine = sine + change
  1535. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1536. local velderp=RootPart.Velocity.y
  1537. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1538. if equipped==true or equipped==false then
  1539. if attack==false then
  1540. idle=idle+1
  1541. else
  1542. idle=0
  1543. end
  1544. if idle>=500 then
  1545. if attack==false then
  1546. end
  1547. end
  1548. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1549. Anim="Jump"
  1550. if attack==false then
  1551. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1552. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1553. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(15)), 0.3)
  1554. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-15)), 0.3)
  1555. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-30),math.rad(90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1556. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-30),math.rad(-90),math.rad(-20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1557. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1558. end
  1559. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1560. Anim="Fall"
  1561. if attack==false then
  1562. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1563. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(13),math.rad(0),math.rad(0)),.3)
  1564. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3)
  1565. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  1566. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1567. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1568. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  1569. end
  1570. elseif torvel<1 and hitfloor~=nil then
  1571. Anim="Idle"
  1572. if attack==false then
  1573. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-2),math.rad(0),math.rad(15)),.3)
  1574. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2),math.rad(0),math.rad(-15)),.3)
  1575. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(0)), 0.3)
  1576. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1577. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-2),math.rad(85),math.rad(0)),.3)
  1578. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-4),math.rad(-95),math.rad(0)),.3)
  1579. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-10),math.rad(-2),math.rad(0)),.2)
  1580. end
  1581. elseif torvel>2 and hitfloor~=nil then
  1582. Anim="Walk"
  1583. if attack==false then
  1584. change=3
  1585. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
  1586. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(-5),math.rad(25)),.3)
  1587. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(-25), math.rad(5)), 0.3)
  1588. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30)*math.cos(sine/10), math.rad(5), math.rad(0)), 0.3)
  1589. RH.C0=clerp(RH.C0,cf(1.1,-.9,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
  1590. LH.C0=clerp(LH.C0,cf(-1.1,-.9,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  1591. handleweld.C0=clerp(handleweld.C0,cf(0,0,.3)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1592. end
  1593. end
  1594. end
  1595. if #Effects>0 then
  1596. for e=1,#Effects do
  1597. if Effects[e]~=nil then
  1598. local Thing=Effects[e]
  1599. if Thing~=nil then
  1600. local Part=Thing[1]
  1601. local Mode=Thing[2]
  1602. local Delay=Thing[3]
  1603. local IncX=Thing[4]
  1604. local IncY=Thing[5]
  1605. local IncZ=Thing[6]
  1606. if Thing[1].Transparency<=1 then
  1607. if Thing[2]=="Block1" then
  1608. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1609. Mesh=Thing[1].Mesh
  1610. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1611. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1612. elseif Thing[2]=="Cylinder" then
  1613. Mesh=Thing[1].Mesh
  1614. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1615. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1616. elseif Thing[2]=="Blood" then
  1617. Mesh=Thing[7]
  1618. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1619. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1620. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1621. elseif Thing[2]=="Elec" then
  1622. Mesh=Thing[1].Mesh
  1623. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1624. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1625. elseif Thing[2]=="Disappear" then
  1626. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1627. end
  1628. else
  1629. Part.Parent=nil
  1630. table.remove(Effects,e)
  1631. end
  1632. end
  1633. end
  1634. end
  1635. end
  1636. end
  1637. end)
  1638.  
  1639. TextButton.Parent = Frame
  1640. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  1641. TextButton.Position = UDim2.new(0.719022572, 0, 0.406015038, 0)
  1642. TextButton.Size = UDim2.new(0, 105, 0, 50)
  1643. TextButton.Font = Enum.Font.SourceSans
  1644. TextButton.TextColor3 = Color3.new(0, 0, 0)
  1645. TextButton.TextSize = 14
  1646.  
  1647. TextButton_2.Name = "TextButton_2"
  1648. TextButton_2.Parent = Frame
  1649. TextButton_2.BackgroundColor3 = Color3.new(1, 1, 1)
  1650. TextButton_2.Position = UDim2.new(0.358332038, 0, 0.406015038, 0)
  1651. TextButton_2.Size = UDim2.new(0, 105, 0, 50)
  1652. TextButton_2.Font = Enum.Font.SourceSans
  1653. TextButton_2.TextColor3 = Color3.new(0, 0, 0)
  1654. TextButton_2.TextSize = 14
  1655. -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement