Advertisement
wormybag9035

da

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