Advertisement
aiden50_70

Untitled

Oct 21st, 2017
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 85.02 KB | None | 0 0
  1. --Variables
  2. local plr = game.Players.LocalPlayer
  3. local guis = Instance.new("ScreenGui", plr.PlayerGui)
  4. local frame = Instance.new("Frame", guis)
  5. local speed = Instance.new("TextButton", frame)
  6. local jumppower = Instance.new("TextButton", frame)
  7. local god = Instance.new("TextButton", frame)
  8. local close = Instance.new("TextButton", frame)
  9. local open = Instance.new("TextButton", guis)
  10. local deepclean = Instance.new("TextButton", frame)
  11. local scriptframe = Instance.new("Frame", frame)
  12. local swordbutton = Instance.new("TextButton", scriptframe)
  13. local openframe = Instance.new("TextButton", frame)
  14. local closeframe = Instance.new("TextButton", scriptframe)
  15. local anchortorso = Instance.new("TextButton", scriptframe)
  16. local zenoscript = Instance.new("TextButton", scriptframe)
  17. local ff = Instance.new("TextButton", scriptframe)
  18. local menuextend = Instance.new("Frame", guis)
  19. local openmenuex = Instance.new("TextButton", frame)
  20. local closemenuex = Instance.new("TextButton", menuextend)
  21. local menulab = Instance.new("TextLabel", menuextend)
  22. --Positions, sizes and layouts
  23. frame.Name = "2"
  24. guis.Name = "1"
  25. scriptframe.Name = "3"
  26. menuextend.Name = "4"
  27. frame.Position = UDim2.new(0, 238,0, 67)
  28. frame.Size = UDim2.new(0, 354,0, 329)
  29. frame.BackgroundColor3 = Color3.new(255,255,255)
  30. frame.Visible = false
  31. scriptframe.Visible = false
  32. menuextend.Visible = false
  33.  
  34. speed.Position = UDim2.new(0, 0,0, 0)
  35. speed.Size = UDim2.new(0, 113,0, 50)
  36. speed.TextScaled = true
  37. speed.Text = "Speed"
  38. speed.BackgroundColor3 = Color3.new(255,255,255)
  39. speed.AutoButtonColor = true
  40.  
  41. jumppower.Position = UDim2.new(0, 240,0, 0)
  42. jumppower.Size = UDim2.new(0, 113,0, 50)
  43. jumppower.TextScaled = true
  44. jumppower.Text = "Jump Power"
  45. jumppower.BackgroundColor3 = Color3.new(255,255,255)
  46. jumppower.AutoButtonColor = true
  47.  
  48. god.Position = UDim2.new(0, 0,0, 109)
  49. god.Size = UDim2.new(0, 113,0, 50)
  50. god.TextScaled = true
  51. god.Text = "God"
  52. god.BackgroundColor3 = Color3.new(255,255,255)
  53. god.AutoButtonColor = true
  54.  
  55. close.Position = UDim2.new(0, 78,0, 243)
  56. close.Size = UDim2.new(0,200,0,31)
  57. close.BackgroundColor3 = Color3.new(255,255,255)
  58. close.TextScaled = true
  59. close.Text = "Close"
  60.  
  61. open.Position = UDim2.new(0,0,0,182)
  62. open.Size = UDim2.new(0,200,0,50)
  63. open.TextScaled = true
  64. open.Text = "Open"
  65. open.BackgroundColor3 = Color3.new(93,93,93)
  66.  
  67. deepclean.Position = UDim2.new(0, 240,0, 109)
  68. deepclean.Size = UDim2.new(0, 113,0, 50)
  69. deepclean.TextScaled = true
  70. deepclean.Text = "Deepclean server"
  71. deepclean.BackgroundColor3 = Color3.new(255,255,255)
  72.  
  73. scriptframe.Size = UDim2.new(0, 173,0, 318)
  74. scriptframe.Position = UDim2.new(0, 357,0, 0)
  75.  
  76. openframe.Position = UDim2.new(0, 78,0, 191)
  77. openframe.Size = UDim2.new(0, 200,0, 42)
  78. openframe.TextScaled = true
  79. openframe.Text = "Open script menu"
  80. openframe.BackgroundColor3 = Color3.new(255,255,255)
  81.  
  82. swordbutton.Size = UDim2.new(0, 173,0, 50)
  83. swordbutton.BackgroundColor3 = Color3.new(255,255,255)
  84. swordbutton.TextScaled = true
  85. swordbutton.Text = "Purple Sword"
  86.  
  87. closeframe.Size = UDim2.new(0, 173,0, 50)
  88. closeframe.Position = UDim2.new(0, 0,0, 268)
  89. closeframe.TextScaled = true
  90. closeframe.Text = "Close"
  91. closeframe.BackgroundColor3 = Color3.new(255,255,255)
  92.  
  93. anchortorso.Size = UDim2.new(0, 173,0, 50)
  94. anchortorso.Position = UDim2.new(0, 0,0, 52)
  95. anchortorso.BackgroundColor3 = Color3.new(255,255,255)
  96. anchortorso.TextScaled = true
  97. anchortorso.Text = "Anchor torso"
  98.  
  99. zenoscript.Size = UDim2.new(0, 173,0, 50)
  100. zenoscript.Position = UDim2.new(0, 0,0, 109)
  101. zenoscript.BackgroundColor3 = Color3.new(255,255,255)
  102. zenoscript.TextScaled = true
  103. zenoscript.Text = "Zeno script"
  104.  
  105. ff.Size = UDim2.new(0, 173,0, 50)
  106. ff.Position = UDim2.new(0, 0,0, 159)
  107. ff.BackgroundColor3 = Color3.new(255,255,255)
  108. ff.TextScaled = true
  109. ff.Text = "Force Field"
  110.  
  111. openmenuex.Position = UDim2.new(0, 78,0, 54)
  112. openmenuex.Size = UDim2.new(0, 200,0, 50)
  113. openmenuex.BackgroundColor3 = Color3.new(255,255,255)
  114. openmenuex.TextScaled = true
  115. openmenuex.Text = "Menu extension"
  116.  
  117. menuextend.Size = UDim2.new(0, 609,0, 388)
  118. menuextend.BackgroundColor3 = Color3.new(51, 61, 255)
  119. menuextend.Position = UDim2.new(0, 161,0, 38)
  120.  
  121. closemenuex.Position = UDim2.new(0, 167,0, 311)
  122. closemenuex.Size = UDim2.new(0, 319,0, 50)
  123. closemenuex.BackgroundColor3 = Color3.new(255,255,255)
  124. closemenuex.TextScaled = true
  125. closemenuex.Text = "Close menu"
  126.  
  127. menulab.TextScaled = true
  128. menulab.Position = UDim2.new(0,0,0,0)
  129. menulab.Size = UDim2.new(0, 609,0, 98)
  130. menulab.Text = "This is a work in progress menu."
  131.  
  132. --Main script
  133.  
  134. speed.MouseButton1Click:connect(function()
  135. print("Granted")
  136. plr.Character.Humanoid.WalkSpeed = 99
  137. end)
  138.  
  139. jumppower.MouseButton1Click:connect(function()
  140. print("Granted")
  141. plr.Character.Humanoid.JumpPower = 100
  142. end)
  143.  
  144. god.MouseButton1Click:connect(function()
  145. print("Granted")
  146. plr.Character.Humanoid.MaxHealth = math.huge
  147. plr.Character.Humanoid.Health = math.huge
  148. end)
  149.  
  150. close.MouseButton1Click:connect(function()
  151. frame.Visible = false
  152. end)
  153.  
  154. open.MouseButton1Click:connect(function()
  155. frame.Visible = true
  156. end)
  157.  
  158. deepclean.MouseButton1Click:connect(function()
  159. for i = 1, 5 do
  160. workspace:ClearAllChildren()
  161. end
  162. end)
  163.  
  164. openframe.MouseButton1Click:connect(function()
  165. scriptframe.Visible = true
  166. end)
  167.  
  168. closeframe.MouseButton1Click:connect(function()
  169. scriptframe.Visible = false
  170. end)
  171.  
  172. swordbutton.MouseButton1Click:connect(function(Player, Character, Humanoid)
  173. Player=game:GetService("Players").LocalPlayer
  174. Character=Player.Character
  175. PlayerGui=Player.PlayerGui
  176. Backpack=Player.Backpack
  177. Torso=Character.Torso
  178. Head=Character.Head
  179. Humanoid=Character.Humanoid
  180. LeftArm=Character["Left Arm"]
  181. LeftLeg=Character["Left Leg"]
  182. RightArm=Character["Right Arm"]
  183. RightLeg=Character["Right Leg"]
  184. cam=game.Workspace.CurrentCamera
  185. LS=Torso["Left Shoulder"]
  186. LH=Torso["Left Hip"]
  187. RS=Torso["Right Shoulder"]
  188. RH=Torso["Right Hip"]
  189. Face = Head.face
  190. Neck=Torso.Neck
  191. it=Instance.new
  192. attacktype=1
  193. vt=Vector3.new
  194. cf=CFrame.new
  195. euler=CFrame.fromEulerAnglesXYZ
  196. angles=CFrame.Angles
  197. cloaked=false
  198. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  199. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  200. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  201. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  202. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  203. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  204. RootPart=Character.HumanoidRootPart
  205. RootJoint=RootPart.RootJoint
  206. RootCF=euler(-1.57,0,3.14)
  207. attack = false
  208. bounce=false
  209. cooldown=false
  210. deeznuts=false
  211. attackdebounce = false
  212. deb=false
  213. equipped=true
  214. hand=false
  215. MMouse=nil
  216. combo=0
  217. mana=0
  218. trispeed=.2
  219. attackmode='none'
  220. local idle=0
  221. local Anim="Idle"
  222. local Effects={}
  223. local gun=false
  224. local shoot=false
  225. player=nil
  226. mana=0
  227. cam = workspace.CurrentCamera
  228. ZTarget = nil
  229. RocketTarget = nil
  230. local m = Instance.new("Model",Character)
  231. m.Name = "WeaponModel"
  232.  
  233. mouse=Player:GetMouse()
  234. --save shoulders
  235. RSH, LSH=nil, nil
  236. --welds
  237. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  238. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  239. LH=Torso["Left Hip"]
  240. RH=Torso["Right Hip"]
  241. TorsoColor=Torso.BrickColor
  242. function NoOutline(Part)
  243. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  244. end
  245. player=Player
  246. ch=Character
  247. RSH=ch.Torso["Right Shoulder"]
  248. LSH=ch.Torso["Left Shoulder"]
  249. --
  250. RSH.Parent=nil
  251. LSH.Parent=nil
  252. --
  253. RW.Name="Right Shoulder"
  254. RW.Part0=ch.Torso
  255. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  256. RW.C1=cf(0, 0.5, 0)
  257. RW.Part1=ch["Right Arm"]
  258. RW.Parent=ch.Torso
  259. --
  260. LW.Name="Left Shoulder"
  261. LW.Part0=ch.Torso
  262. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  263. LW.C1=cf(0, 0.5, 0)
  264. LW.Part1=ch["Left Arm"]
  265. LW.Parent=ch.Torso
  266.  
  267. function swait(num)
  268. if num==0 or num==nil then
  269. game:service'RunService'.Heartbeat:wait(0)
  270. else
  271. for i=0,num do
  272. game:service'RunService'.Heartbeat:wait(0)
  273. end
  274. end
  275. end
  276.  
  277. function nooutline(part)
  278. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  279. end
  280.  
  281. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  282. local fp=it("Part")
  283. fp.formFactor=formfactor
  284. fp.Parent=parent
  285. fp.Reflectance=reflectance
  286. fp.Transparency=transparency
  287. fp.CanCollide=false
  288. fp.Locked=true
  289. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  290. fp.Name=name
  291. fp.Size=size
  292. fp.Position=Character.Torso.Position
  293. nooutline(fp)
  294. fp.Material=material
  295. fp:BreakJoints()
  296. return fp
  297. end
  298.  
  299. function ppart(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  300. local fp = it("Part")
  301. fp.formFactor = formfactor
  302. fp.Parent = parent
  303. fp.Reflectance = reflectance
  304. fp.Transparency = transparency
  305. fp.CanCollide = false
  306. fp.Locked=true
  307. fp.BrickColor = brickcolor
  308. fp.Name = name
  309. fp.Size = size
  310. fp.Position = EffectPart.Position
  311. NoOutline(fp)
  312. fp.Material="Neon"
  313. fp:BreakJoints()
  314. return fp
  315. end
  316.  
  317. function wweld(parent,part0,part1,c0)
  318. local weld=it("Weld")
  319. weld.Parent=parent
  320. weld.Part0=part0
  321. weld.Part1=part1
  322. weld.C0=c0
  323. return weld
  324. end
  325.  
  326. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  327. local mesh=it(Mesh)
  328. mesh.Parent=part
  329. if Mesh=="SpecialMesh" then
  330. mesh.MeshType=meshtype
  331. mesh.MeshId=meshid
  332. end
  333. mesh.Offset=offset
  334. mesh.Scale=scale
  335. return mesh
  336. end
  337.  
  338. function decal(part,face,texture,transparency,shiny,specular,name)
  339. local d=it("Decal",part)
  340. d.Shiny=shiny
  341. d.Face=face
  342. d.Specular=specular
  343. d.Transparency=transparency
  344. d.Texture=texture
  345. d.Name=name
  346. return d
  347. end
  348.  
  349. function weld(parent,part0,part1,c0,c1)
  350. local weld=it("Weld")
  351. weld.Parent=parent
  352. weld.Part0=part0
  353. weld.Part1=part1
  354. weld.C0=c0
  355. weld.C1=c1
  356. return weld
  357. end
  358.  
  359.  
  360. local function CFrameFromTopBack(at, top, back)
  361. local right = top:Cross(back)
  362. return CFrame.new(at.x, at.y, at.z,
  363. right.x, top.x, back.x,
  364. right.y, top.y, back.y,
  365. right.z, top.z, back.z)
  366. end
  367.  
  368. function Triangle(a, b, c)
  369. local edg1 = (c-a):Dot((b-a).unit)
  370. local edg2 = (a-b):Dot((c-b).unit)
  371. local edg3 = (b-c):Dot((a-c).unit)
  372. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  373. a, b, c = a, b, c
  374. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  375. a, b, c = b, c, a
  376. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  377. a, b, c = c, a, b
  378. else
  379. assert(false, "unreachable")
  380. end
  381.  
  382. local len1 = (c-a):Dot((b-a).unit)
  383. local len2 = (b-a).magnitude - len1
  384. local width = (a + (b-a).unit*len1 - c).magnitude
  385.  
  386. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  387.  
  388. local list = {}
  389.  
  390. local TrailColor = ("Royal purple")
  391.  
  392. if len1 > 0.01 then
  393. local w1 = Instance.new('WedgePart', m)
  394. game:GetService("Debris"):AddItem(w1,5)
  395. w1.Material = "Neon"
  396. w1.FormFactor = 'Custom'
  397. w1.BrickColor = BrickColor.new(TrailColor)
  398. w1.Transparency = 0
  399. w1.Reflectance = 0
  400. w1.Material = "Neon"
  401. w1.CanCollide = false
  402. NoOutline(w1)
  403. local sz = Vector3.new(0.2, width, len1)
  404. w1.Size = sz
  405. local sp = Instance.new("SpecialMesh",w1)
  406. sp.MeshType = "Wedge"
  407. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  408. w1:BreakJoints()
  409. w1.Anchored = true
  410. w1.Parent = workspace
  411. w1.Transparency = 0.7
  412. table.insert(Effects,{w1,"Disappear",.01})
  413. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  414. table.insert(list,w1)
  415. end
  416.  
  417. if len2 > 0.01 then
  418. local w2 = Instance.new('WedgePart', m)
  419. game:GetService("Debris"):AddItem(w2,5)
  420. w2.Material = "Neon"
  421. w2.FormFactor = 'Custom'
  422. w2.BrickColor = BrickColor.new(TrailColor)
  423. w2.Transparency = 0
  424. w2.Reflectance = 0
  425. w2.Material = "Neon"
  426. w2.CanCollide = false
  427. NoOutline(w2)
  428. local sz = Vector3.new(0.2, width, len2)
  429. w2.Size = sz
  430. local sp = Instance.new("SpecialMesh",w2)
  431. sp.MeshType = "Wedge"
  432. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  433. w2:BreakJoints()
  434. w2.Anchored = true
  435. w2.Parent = workspace
  436. w2.Transparency = 0.7
  437. table.insert(Effects,{w2,"Disappear",.01})
  438. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  439. table.insert(list,w2)
  440. end
  441. return unpack(list)
  442. end
  443.  
  444.  
  445. so = function(id,par,vol,pit)
  446. coroutine.resume(coroutine.create(function()
  447. local sou = Instance.new("Sound",par or workspace)
  448. sou.Volume=vol
  449. sou.Pitch=pit or 1
  450. sou.SoundId=id
  451. swait()
  452. sou:play()
  453. game:GetService("Debris"):AddItem(sou,6)
  454. end))
  455. end
  456.  
  457. function clerp(a,b,t)
  458. local qa = {QuaternionFromCFrame(a)}
  459. local qb = {QuaternionFromCFrame(b)}
  460. local ax, ay, az = a.x, a.y, a.z
  461. local bx, by, bz = b.x, b.y, b.z
  462. local _t = 1-t
  463. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  464. end
  465.  
  466. function QuaternionFromCFrame(cf)
  467. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  468. local trace = m00 + m11 + m22
  469. if trace > 0 then
  470. local s = math.sqrt(1 + trace)
  471. local recip = 0.5/s
  472. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  473. else
  474. local i = 0
  475. if m11 > m00 then
  476. i = 1
  477. end
  478. if m22 > (i == 0 and m00 or m11) then
  479. i = 2
  480. end
  481. if i == 0 then
  482. local s = math.sqrt(m00-m11-m22+1)
  483. local recip = 0.5/s
  484. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  485. elseif i == 1 then
  486. local s = math.sqrt(m11-m22-m00+1)
  487. local recip = 0.5/s
  488. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  489. elseif i == 2 then
  490. local s = math.sqrt(m22-m00-m11+1)
  491. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  492. end
  493. end
  494. end
  495.  
  496. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  497. local xs, ys, zs = x + x, y + y, z + z
  498. local wx, wy, wz = w*xs, w*ys, w*zs
  499. local xx = x*xs
  500. local xy = x*ys
  501. local xz = x*zs
  502. local yy = y*ys
  503. local yz = y*zs
  504. local zz = z*zs
  505. 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))
  506. end
  507.  
  508. function QuaternionSlerp(a, b, t)
  509. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  510. local startInterp, finishInterp;
  511. if cosTheta >= 0.0001 then
  512. if (1 - cosTheta) > 0.0001 then
  513. local theta = math.acos(cosTheta)
  514. local invSinTheta = 1/math.sin(theta)
  515. startInterp = math.sin((1-t)*theta)*invSinTheta
  516. finishInterp = math.sin(t*theta)*invSinTheta
  517. else
  518. startInterp = 1-t
  519. finishInterp = t
  520. end
  521. else
  522. if (1+cosTheta) > 0.0001 then
  523. local theta = math.acos(-cosTheta)
  524. local invSinTheta = 1/math.sin(theta)
  525. startInterp = math.sin((t-1)*theta)*invSinTheta
  526. finishInterp = math.sin(t*theta)*invSinTheta
  527. else
  528. startInterp = t-1
  529. finishInterp = t
  530. end
  531. end
  532. 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
  533. end
  534.  
  535. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  536. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  537. end
  538.  
  539. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  540. if hit.Parent==nil then
  541. return
  542. end
  543. local h=hit.Parent:FindFirstChild("Humanoid")
  544. for _,v in pairs(hit.Parent:children()) do
  545. if v:IsA("Humanoid") then
  546. h=v
  547. end
  548. end
  549. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  550. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  551. end
  552. if hit.Parent.className=="Hat" then
  553. hit=hit.Parent.Parent:findFirstChild("Head")
  554. end
  555. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  556. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  557. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  558. return
  559. end]]
  560. -- hs(hit,1.2)
  561. local c=Instance.new("ObjectValue")
  562. c.Name="creator"
  563. c.Value=game:service("Players").LocalPlayer
  564. c.Parent=h
  565. game:GetService("Debris"):AddItem(c,.5)
  566. local Damage=math.random(minim,maxim)
  567. -- h:TakeDamage(Damage)
  568. local blocked=false
  569. local block=hit.Parent:findFirstChild("Block")
  570. if block~=nil then
  571. print(block.className)
  572. if block.className=="NumberValue" then
  573. if block.Value>0 then
  574. blocked=true
  575. if decreaseblock==nil then
  576. block.Value=block.Value-1
  577. end
  578. end
  579. end
  580. if block.className=="IntValue" then
  581. if block.Value>0 then
  582. blocked=true
  583. if decreaseblock~=nil then
  584. block.Value=block.Value-1
  585. end
  586. end
  587. end
  588. end
  589. if blocked==false then
  590. -- h:TakeDamage(Damage)
  591. h.Health=h.Health-Damage
  592. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  593. else
  594. h.Health=h.Health-(Damage/2)
  595. 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)
  596. end
  597. if Type=="Knockdown" then
  598. local hum=hit.Parent.Humanoid
  599. hum.PlatformStand=true
  600. coroutine.resume(coroutine.create(function(HHumanoid)
  601. swait(1)
  602. HHumanoid.PlatformStand=false
  603. end),hum)
  604. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  605. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  606. local bodvol=Instance.new("BodyVelocity")
  607. bodvol.velocity=angle*knockback
  608. bodvol.P=5000
  609. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  610. bodvol.Parent=hit
  611. local rl=Instance.new("BodyAngularVelocity")
  612. rl.P=3000
  613. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  614. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  615. rl.Parent=hit
  616. game:GetService("Debris"):AddItem(bodvol,.5)
  617. game:GetService("Debris"):AddItem(rl,.5)
  618. elseif Type=="Normal" then
  619. local vp=Instance.new("BodyVelocity")
  620. vp.P=500
  621. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  622. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  623. if KnockbackType==1 then
  624. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  625. elseif KnockbackType==2 then
  626. vp.velocity=Property.CFrame.lookVector*knockback
  627. end
  628. if knockback>0 then
  629. vp.Parent=hit.Parent.Torso
  630. end
  631. game:GetService("Debris"):AddItem(vp,.5)
  632. elseif Type=="Up" then
  633. local bodyVelocity=Instance.new("BodyVelocity")
  634. bodyVelocity.velocity=vt(0,60,0)
  635. bodyVelocity.P=5000
  636. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  637. bodyVelocity.Parent=hit
  638. game:GetService("Debris"):AddItem(bodyVelocity,1)
  639. local rl=Instance.new("BodyAngularVelocity")
  640. rl.P=3000
  641. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  642. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  643. rl.Parent=hit
  644. game:GetService("Debris"):AddItem(rl,.5)
  645. elseif Type=="Snare" then
  646. local bp=Instance.new("BodyPosition")
  647. bp.P=2000
  648. bp.D=100
  649. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  650. bp.position=hit.Parent.Torso.Position
  651. bp.Parent=hit.Parent.Torso
  652. game:GetService("Debris"):AddItem(bp,1)
  653. elseif Type=="Target" then
  654. local Targetting = false
  655. if Targetting==false then
  656. ZTarget=hit.Parent.Torso
  657. coroutine.resume(coroutine.create(function(Part)
  658. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  659. swait(5)
  660. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  661. end),ZTarget)
  662. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  663. local targetgui=Instance.new("BillboardGui")
  664. targetgui.Parent=ZTarget
  665. targetgui.Size=UDim2.new(10,100,10,100)
  666. local targ=Instance.new("ImageLabel")
  667. targ.Parent=targetgui
  668. targ.BackgroundTransparency=1
  669. targ.Image="rbxassetid://4834067"
  670. targ.Size=UDim2.new(1,0,1,0)
  671. cam.CameraType="Scriptable"
  672. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  673. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  674. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  675. Targetting=true
  676. RocketTarget=ZTarget
  677. for i=1,Property do
  678. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  679. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  680. swait()
  681. end
  682. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  683. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  684. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  685. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  686. end
  687. Targetting=false
  688. RocketTarget=nil
  689. targetgui.Parent=nil
  690. cam.CameraType="Custom"
  691. end
  692. end
  693. local debounce=Instance.new("BoolValue")
  694. debounce.Name="DebounceHit"
  695. debounce.Parent=hit.Parent
  696. debounce.Value=true
  697. game:GetService("Debris"):AddItem(debounce,Delay)
  698. c=Instance.new("ObjectValue")
  699. c.Name="creator"
  700. c.Value=Player
  701. c.Parent=h
  702. game:GetService("Debris"):AddItem(c,.5)
  703. end
  704. end
  705.  
  706.  
  707. function ShowDamage(Pos, Text, Time, Color)
  708. local Rate = (1 / 30)
  709. local Pos = (Pos or Vector3.new(0, 0, 0))
  710. local Text = (Text or "")
  711. local Time = (Time or 2)
  712. local Color = (Color or Color3.new(1, 0, 0))
  713. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  714. EffectPart.Anchored = true
  715. local BillboardGui = Instance.new("BillboardGui")
  716. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  717. BillboardGui.Adornee = EffectPart
  718. local TextLabel = Instance.new("TextLabel")
  719. TextLabel.BackgroundTransparency = 1
  720. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  721. TextLabel.Text = Text
  722. TextLabel.TextColor3 = Color
  723. TextLabel.TextScaled = true
  724. TextLabel.Font = Enum.Font.ArialBold
  725. TextLabel.Parent = BillboardGui
  726. BillboardGui.Parent = EffectPart
  727. game.Debris:AddItem(EffectPart, (Time + 0.1))
  728. EffectPart.Parent = game:GetService("Workspace")
  729. Delay(0, function()
  730. local Frames = (Time / Rate)
  731. for Frame = 1, Frames do
  732. wait(Rate)
  733. local Percent = (Frame / Frames)
  734. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  735. TextLabel.TextTransparency = Percent
  736. end
  737. if EffectPart and EffectPart.Parent then
  738. EffectPart:Destroy()
  739. end
  740. end)
  741. end
  742.  
  743. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","Handle",Vector3.new(0.200000003, 1.61857152, 0.200000003))
  744. 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))
  745. mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 1, 0.857142746))
  746. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(0.200000003, 0.257142872, 0.911428571))
  747. 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))
  748. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  749. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.571428657))
  750. 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))
  751. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  752. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.514285743))
  753. 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))
  754. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  755. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(0.200000003, 0.914285779, 0.254285723))
  756. 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))
  757. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  758. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.200000003, 0.942857206, 0.28285715))
  759. 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))
  760. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  761. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.200000003, 0.285714328, 0.940000057))
  762. 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))
  763. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  764. Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(1, 1.20000005, 1))
  765. 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))
  766. mesh("SpecialMesh",Part,Enum.MeshType.Head,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 0.142857134, 0.285714298))
  767. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
  768. 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))
  769. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
  770. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
  771. 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))
  772. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.857145786, 1))
  773. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
  774. 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))
  775. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.571431458, 1.10000002))
  776. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.483492851, 0.539954185, 0.539909601))
  777. 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))
  778. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
  779. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
  780. 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))
  781. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
  782. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.493492872, 0.539954185, 0.539909601))
  783. 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))
  784. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
  785. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
  786. 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))
  787. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  788. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
  789. 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))
  790. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  791. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
  792. 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))
  793. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  794. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.662679553, 0.200000003, 0.200000003))
  795. 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))
  796. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  797. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(1.46267951, 0.200000003, 0.200000003))
  798. 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))
  799. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  800. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
  801. 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))
  802. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  803. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.372464359, 0.762464345, 0.762464285))
  804. 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))
  805. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542364))
  806. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.382464379, 0.762464345, 0.762464285))
  807. 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))
  808. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.913885474, 0.128561974, 0.128542408))
  809. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
  810. 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))
  811. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542408))
  812. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
  813. 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))
  814. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366669, 0.128561974, 0.128542364))
  815. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
  816. 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))
  817. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.385687381, 0.642712057))
  818. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
  819. 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))
  820. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.257125348, 0.706983268))
  821. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  822. 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))
  823. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 0.857145548, 0.857142746))
  824. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Black","Hitbox",Vector3.new(0.650000036, 4.19999981, 0.200000003))
  825. 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))
  826. EffectPart=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Royal purple","EffectPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  827. 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))
  828. mesh("BlockMesh",EffectPart,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  829. EffectPart2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Black","EffectPart2",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  830. 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))
  831.  
  832. DarkRiftF=function(par)
  833. while lol == true do
  834. wait()
  835. local PWN={}
  836. for _,v in pairs(game.Workspace:children()) do
  837. if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
  838. if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
  839. table.insert(PWN,v.Torso)
  840. end
  841. end
  842. end
  843. for _,t in pairs(PWN) do
  844. local targ=par.Position-t.Position
  845. local Mag=targ.magnitude
  846. if not t:IsDescendantOf(Character) and t~=nil and Mag<=50 then
  847. if Mag<=30 then
  848. t.Parent.Humanoid:TakeDamage(.5)
  849. local rl=Instance.new("BodyAngularVelocity")
  850. rl.P=3000
  851. rl.maxTorque=Vector3.new(500000,500000,500000)*5000
  852. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))/10
  853. rl.Parent=t
  854. game:GetService("Debris"):AddItem(rl,.1)
  855. end
  856. if Mag<=20 then
  857. t.Parent.Humanoid:TakeDamage(.1)
  858. else
  859. local vl=Instance.new("BodyVelocity")
  860. vl.P=3000
  861. vl.maxForce=Vector3.new(50000000000,50000000000,50000000000)
  862. vl.velocity=(t.Position-par.Position).unit*-(70/(Mag))
  863. vl.Parent=t
  864. game:GetService("Debris"):AddItem(vl,.1)
  865. end
  866. end
  867. end
  868. wait(.08)
  869. end
  870. end
  871.  
  872. function DerpMagic(part,x1,y1,z1,x2,y2,z2,color)
  873. local msh1 = Instance.new("BlockMesh")
  874. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  875. local S=Instance.new("Part")
  876. S.Name="Effect"
  877. S.Material="Neon"
  878. S.formFactor=0
  879. S.Size=Vector3.new(x1,y1,z1)
  880. S.BrickColor=color
  881. S.Reflectance = 0
  882. S.TopSurface=0
  883. S.BottomSurface=0
  884. S.Transparency=0
  885. S.Anchored=false
  886. S.CanCollide=false
  887. S.CFrame=part.CFrame
  888. S.Parent=game.Workspace
  889. msh1.Parent = S
  890. local W=Instance.new("Weld")
  891. W.Parent=S
  892. W.Part0=S
  893. W.Part1=part
  894. W.C0=CFrame.new(x2,y2,z2) * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  895. W.Parent=nil
  896. S.Anchored=true
  897. 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)
  898. end
  899.  
  900. local function BlackHole(parent,cframe)
  901. local effectsmsh = Instance.new("SpecialMesh")
  902. effectsmsh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  903. --effectsmsh.Scale = Vector3.new(1,1,2.5)
  904. effectsmsh.Scale = Vector3.new(3,3,3)
  905. local effectsg = Instance.new("Part")
  906. effectsg.formFactor = 3
  907. effectsg.CanCollide = false
  908. effectsg.Name = "Effect"
  909. effectsg.Locked = true
  910. effectsg.Transparency = 1
  911. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  912. effectsg.Parent = parent
  913. effectsg.BrickColor = BrickColor.new("Royal purple")
  914. effectsg.Material="Neon"
  915. coroutine.resume(coroutine.create(function(Part,Mesh)
  916. local Mesh = Instance.new("SpecialMesh")
  917. Mesh.Scale = Vector3.new(0.5,0.5,0.5)
  918. Mesh.MeshType = "Sphere"
  919. -- Mesh.TextureId="http://www.roblox.com/asset/?id=1529460"
  920. Part=Instance.new("Part")
  921. Part.Name="Effect"
  922. Part.formFactor=0
  923. Part.Size=Vector3.new(1,1,1)
  924. Part.BrickColor=BrickColor.new("Royal purple")
  925. Part.Material="Neon"
  926. Part.Reflectance = 0
  927. Part.TopSurface=0
  928. Part.BottomSurface=0
  929. Part.Transparency=0
  930. Part.Anchored=true
  931. NoOutline(Part)
  932. Part.CanCollide=false
  933. Part.CFrame=cframe
  934. Part.Parent=parent
  935. Mesh.Parent = Part
  936. lol=true
  937. coroutine.resume(coroutine.create(function()
  938. DarkRiftF(Part)
  939. end))
  940. for i=0,200 do
  941. wait()
  942. DerpMagic(Part,1,i/3,1,0,i/3,0,BrickColor.new("Royal purple"))
  943. Mesh.Scale=Mesh.Scale-Vector3.new(0.2,0.2,0.2)
  944. Part.CFrame=cframe*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  945. end
  946. local fff=200
  947. for i=0,100 do
  948. wait()
  949. DerpMagic(Part,1,fff/3,1,0,fff/3,0,BrickColor.new("Royal purple"))
  950. Part.CFrame=cframe*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  951. end
  952. for i=0,1,0.05 do
  953. wait()
  954. Part.Transparency=Part.Transparency+0.05
  955. Mesh.Scale=Mesh.Scale+Vector3.new(1.5,1.5,1.5)
  956. end
  957. lol=false
  958. Part.Parent=nil
  959. end),nil,nil)
  960. end
  961.  
  962. function makeShockwave(height,color,speed,range,pulse)
  963. local range = range or 2000
  964. local p = Instance.new("Part")
  965. p.Anchored = true
  966. p.CanCollide = false
  967. p.FormFactor = "Custom"
  968. p.BrickColor = color
  969. p.Parent = workspace
  970. local m = Instance.new("SpecialMesh",p)
  971. m.MeshId = "rbxassetid://3270017"
  972. local estimateSurvival = math.floor(range/speed) * 0.03
  973. game:GetService("Debris"):AddItem(p,estimateSurvival)
  974. Spawn(function ()
  975. for i = 1,range,speed do
  976. p.Transparency = 1-math.min(0.5,3-(i/500))
  977. m.Scale = Vector3.new(i,i,i*height)
  978. p.CFrame = CFrame.new(Torso.Position) * CFrame.Angles(math.rad(90),0,0)
  979. wait()
  980. end
  981. p:Destroy()
  982. end)
  983. end
  984.  
  985. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  986. local prt=ppart(3,game.Workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  987. prt.Anchored=true
  988. prt.CFrame=cframe
  989. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(.1,.1,.1))
  990. game:GetService("Debris"):AddItem(prt,2)
  991. coroutine.resume(coroutine.create(function(Part,Mesh)
  992. for i=0,2,delay do
  993. wait()
  994. Part.CFrame=Part.CFrame
  995. Part.Transparency=i
  996. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  997. end
  998. Part.Parent=nil
  999. end),prt,msh)
  1000. end
  1001.  
  1002. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1003. local prt=ppart(3,game.Workspace,0,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1004. prt.Anchored=true
  1005. prt.CFrame=cframe
  1006. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1007. game:GetService("Debris"):AddItem(prt,5)
  1008. coroutine.resume(coroutine.create(function(Part,Mesh)
  1009. for i=0,1,delay do
  1010. wait()
  1011. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1012. Part.Transparency=i
  1013. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1014. end
  1015. Part.Parent=nil
  1016. end),prt,msh)
  1017. end
  1018.  
  1019. local function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,Type,parent)
  1020. local prt=ppart(3,game.Workspace,0,1,brickcolor,"Effect",vt())
  1021. if Type~=2 then
  1022. prt.Anchored=true
  1023. end
  1024. prt.CFrame=cframe
  1025. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  1026. game:GetService("Debris"):AddItem(prt,5)
  1027. coroutine.resume(coroutine.create(function(Part,Mesh,dur)
  1028. local wld=nil
  1029. if dur==2 then
  1030. wld=weld(Part,Part,parent,euler(0,0,0)*cf(0,0,0))
  1031. end
  1032. for i=0,1,delay do
  1033. swait()
  1034. if dur==1 then
  1035. Part.CFrame=Part.CFrame
  1036. elseif dur==2 then
  1037. wld.C0=cframe
  1038. end
  1039. Part.Transparency=i
  1040. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1041. end
  1042. Part.Parent=nil
  1043. end),prt,msh,Type)
  1044. end
  1045.  
  1046. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1047. local prt=ppart(3,game.Workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1048. prt.Anchored=true
  1049. prt.CFrame=cframe
  1050. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1051. game:GetService("Debris"):AddItem(prt,5)
  1052. coroutine.resume(coroutine.create(function(Part,Mesh)
  1053. for i=0,1,delay do
  1054. swait()
  1055. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  1056. Part.Transparency=i
  1057. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1058. end
  1059. Part.Parent=nil
  1060. end),prt,msh)
  1061. end
  1062.  
  1063. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1064. local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  1065. prt.Anchored=true
  1066. prt.CFrame=cframe
  1067. local msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  1068. game:GetService("Debris"):AddItem(prt,5)
  1069. coroutine.resume(coroutine.create(function(Part,Mesh)
  1070. for i=0,1,delay do
  1071. wait()
  1072. Part.CFrame=Part.CFrame
  1073. Part.Transparency=i
  1074. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1075. end
  1076. Part.Parent=nil
  1077. end),prt,msh)
  1078. end
  1079.  
  1080. function MagicWave(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1081. local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt())
  1082. prt.Anchored=true
  1083. prt.CFrame=cframe
  1084. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  1085. game:GetService("Debris"):AddItem(prt,5)
  1086. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3})
  1087. end
  1088.  
  1089. function Blast(parent)
  1090. MagicBlock(BrickColor.new("Black"),parent.CFrame,4,4,4,0.2,0.2,0.2,0.01)
  1091. MagicWaveThing(BrickColor.new("Black"),parent.CFrame,4,4,4,0.2,0.2,0.2,0.01)
  1092. end
  1093.  
  1094. function ChargeBall(parent,t)
  1095. local counter=0
  1096. local size=1
  1097. for i=0,t,1 do
  1098. swait()
  1099. counter=counter+1
  1100. if counter%10==0 then
  1101. if size==3 then
  1102. MagicRing(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1103. elseif size==2 then
  1104. MagicRing(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1105. end
  1106. end
  1107. if counter%5==0 then
  1108. if size==1 then
  1109. MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1110. elseif size==2 then
  1111. MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1112. elseif size==3 then
  1113. MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1114. end
  1115. end
  1116. end
  1117. end
  1118.  
  1119. function ChargeBall2(parent,t)
  1120. local counter=0
  1121. local size=1
  1122. for i=0,t,1 do
  1123. swait()
  1124. counter=counter+1
  1125. if counter%10==0 then
  1126. if size==3 then
  1127. MagicRing(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1128. elseif size==2 then
  1129. MagicRing(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1130. end
  1131. end
  1132. if counter%5==0 then
  1133. if size==1 then
  1134. MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1135. 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)
  1136. elseif size==2 then
  1137. MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1138. 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)
  1139. elseif size==3 then
  1140. MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1141. 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)
  1142. end
  1143. end
  1144. end
  1145. end
  1146.  
  1147. function MagniDamage(Part,dis,mind,maxd,force,knock)
  1148. for _,c in pairs(workspace:children()) do
  1149. local hum=c:findFirstChild("Humanoid")
  1150. if hum~=nil then
  1151. local head=c:findFirstChild("Torso")
  1152. if head~=nil then
  1153. local targ=head.Position-Part.Position
  1154. local mag=targ.magnitude
  1155. if mag<=dis and c.Name~=Character.Name then
  1156. Damagefunc(Part,hum.Parent.Torso,mind,maxd,force,knock,RootPart,.2,1)
  1157. end
  1158. end
  1159. end
  1160. end
  1161. end
  1162.  
  1163. function computeDirection(vec)
  1164. local lenSquared = vec.magnitude * vec.magnitude
  1165. local invSqrt = 1 / math.sqrt(lenSquared)
  1166. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  1167. end
  1168.  
  1169. function attackone()
  1170. attack = true
  1171. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1172. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,4222,112222,math.random(5,5),"Normal",RootPart,.2,1) end)
  1173. local fx=Hitbox.Touched:connect(function(part)
  1174. local human=part.Parent:findFirstChild("Humanoid")
  1175. if human~=nil and bounce==false then
  1176. bounce=true
  1177. local rndm=math.random(1,#hitsounds)
  1178. local r=rndm
  1179. so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  1180. end
  1181. end)
  1182. for i = 0,1,0.1 do
  1183. swait()
  1184. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
  1185. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1186. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),0.4)
  1187. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),0.4)
  1188. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),0.4)
  1189. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  1190. end
  1191. so("http://www.roblox.com/asset/?id=199145841",handle,1,.9)
  1192. for i = 0,1,0.1 do
  1193. swait()
  1194. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1195. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1196. local h = 5
  1197. 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)
  1198. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1199. 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)
  1200. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1201. scfr = blcf
  1202. elseif not scfr then
  1203. scfr = blcf
  1204. end
  1205. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.4)
  1206. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.4)
  1207. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1208. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1209. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.4)
  1210. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.4)
  1211. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1212. end
  1213. attack = false
  1214. bounce=false
  1215. scfr=nil
  1216. fx:disconnect()
  1217. con:disconnect()
  1218. end
  1219.  
  1220. function attacktwo()
  1221. attack=true
  1222. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1223. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,4222,112222,math.random(5,5),"Normal",RootPart,.2,1) end)
  1224. local fx=Hitbox.Touched:connect(function(part)
  1225. local human=part.Parent:findFirstChild("Humanoid")
  1226. if human~=nil and bounce==false then
  1227. bounce=true
  1228. local rndm=math.random(1,#hitsounds)
  1229. local r=rndm
  1230. so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  1231. end
  1232. end)
  1233. for i=0,1,.1 do
  1234. swait()
  1235. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
  1236. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
  1237. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1238. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1239. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  1240. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
  1241. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1242. end
  1243. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  1244. for i = 0,1,0.1 do
  1245. swait()
  1246. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1247. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1248. local h = 5
  1249. 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)
  1250. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1251. 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)
  1252. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1253. scfr = blcf
  1254. elseif not scfr then
  1255. scfr = blcf
  1256. end
  1257. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
  1258. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
  1259. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
  1260. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
  1261. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
  1262. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
  1263. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1264. end
  1265. scfr=nil
  1266. attack=false
  1267. bounce=false
  1268. con:disconnect()
  1269. fx:disconnect()
  1270. end
  1271.  
  1272. function attackthree()
  1273. attack=true
  1274. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1275. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,6222,152222,math.random(5,5),"Normal",RootPart,.2,1) end)
  1276. local fx=Hitbox.Touched:connect(function(part)
  1277. local human=part.Parent:findFirstChild("Humanoid")
  1278. if human~=nil and bounce==false then
  1279. bounce=true
  1280. local rndm=math.random(1,#hitsounds)
  1281. local r=rndm
  1282. so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  1283. end
  1284. end)
  1285. for i=0,1,.1 do
  1286. swait()
  1287. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),0.4)
  1288. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1289. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.4)
  1290. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.4)
  1291. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(105),math.rad(0)),0.4)
  1292. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),0.4)
  1293. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1294. end
  1295. so("http://www.roblox.com/asset/?id=199145913",handle,1,.9)
  1296. for i = 0,1,0.1 do
  1297. swait()
  1298. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1299. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1300. local h = 5
  1301. 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)
  1302. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1303. 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)
  1304. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1305. scfr = blcf
  1306. elseif not scfr then
  1307. scfr = blcf
  1308. end
  1309. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1310. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  1311. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)),0.4)
  1312. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.4)
  1313. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.4)
  1314. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.4)
  1315. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.4)
  1316. end
  1317. attack=false
  1318. bounce=false
  1319. scfr=nil
  1320. con:disconnect()
  1321. fx:disconnect()
  1322. end
  1323.  
  1324. function attackfour()
  1325. attack = true
  1326. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1327. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,9222,18222,math.random(20,30),"Normal",RootPart,.2,1) end)
  1328. local fx=Hitbox.Touched:connect(function(part)
  1329. local human=part.Parent:findFirstChild("Humanoid")
  1330. if human~=nil and bounce==false then
  1331. bounce=true
  1332. local rndm=math.random(1,#hitsounds)
  1333. local r=rndm
  1334. so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  1335. end
  1336. end)
  1337. for i = 0,1,0.1 do
  1338. swait()
  1339. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(-5),math.rad(-60)),.3)
  1340. Torso.Neck.C0=clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.3)
  1341. RW.C0=clerp(RW.C0,cf(1.5, 0.8, 0.2) * angles(math.rad(5), math.rad(-15), math.rad(112)), 0.3)
  1342. LW.C0=clerp(LW.C0,cf(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-20)), 0.3)
  1343. RH.C0=clerp(RH.C0,cf(1.1,-1,0)*angles(math.rad(-5),math.rad(120),math.rad(-8)),.3)
  1344. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-60),math.rad(0)),.3)
  1345. handleweld.C0=clerp(handleweld.C0,cf(0,-.2,.5)*angles(math.rad(50),math.rad(-15),math.rad(0)),.3)
  1346. end
  1347. so("http://www.roblox.com/asset/?id=199145433",Hitbox,1,1.1)
  1348. local v=it("BodyVelocity",Torso)
  1349. v.maxForce=Vector3.new(4e+005,4e+005,4e+005)*1
  1350. v.velocity=RootPart.CFrame.lookVector*50
  1351. for i = 0,1,0.1 do
  1352. swait()
  1353. local blcf = Hitbox.CFrame*cf(0,0,0)
  1354. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1355. local h = 5
  1356. 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)
  1357. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1358. 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)
  1359. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1360. scfr = blcf
  1361. elseif not scfr then
  1362. scfr = blcf
  1363. end
  1364. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(60)),.3)
  1365. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1366. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(60), math.rad(100)), 0.3)
  1367. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-15)), 0.3)
  1368. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  1369. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  1370. handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-100),math.rad(0),math.rad(0)),.3)
  1371. end
  1372. v.Parent=nil
  1373. scfr=nil
  1374. attack = false
  1375. bounce=false
  1376. con:disconnect()
  1377. fx:disconnect()
  1378. end
  1379.  
  1380. function LustrisFulgo()
  1381. attack=true
  1382. Humanoid.WalkSpeed=0
  1383. for i=0,1,0.1 do
  1384. swait()
  1385. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-15),math.rad(0),math.rad(10)),.3)
  1386. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(-10)),.3)
  1387. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(145), math.rad(0), math.rad(7)), 0.3)
  1388. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(4), math.rad(-15)), 0.3)
  1389. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-15),math.rad(90),math.rad(0)),.3)
  1390. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-25),math.rad(-90),math.rad(0)),.3)
  1391. handleweld.C0=clerp(handleweld.C0,cf(0,0,-.5)*angles(math.rad(-60),math.rad(0),math.rad(0)),.3)
  1392. end
  1393. local function boom()
  1394. local pprt=ppart(3,game.Workspace,0,1,BrickColor.new("Black"),"Effect",vt(1,1,1))
  1395. pprt.Anchored=true
  1396. pprt.CFrame=EffectPart.CFrame
  1397. game:GetService("Debris"):AddItem(pprt,2)
  1398. MagicCircle(BrickColor.new("Black"),EffectPart.CFrame,20,20,20,-0.01,-0.01,-0.01,0.01)
  1399. so("http://roblox.com/asset/?id=228343412",EffectPart,1,0.6)
  1400. so("http://roblox.com/asset/?id=228343408",EffectPart,1,1.4)
  1401. local wave=part(3,game.Workspace,"Neon",0,.7,BrickColor.new("Black"),"Effect",vt(1,1,1))
  1402. 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))
  1403. local wavemesh=mesh("SpecialMesh",wave,"Sphere","",vt(0,0,0),vt(1,1,1))
  1404. MagniDamage(wave,20,15222,25222,math.random(20,30),"Knockdown",RootPart)
  1405. for i=0,80 do
  1406. swait()
  1407. MagicBlock(BrickColor.new("Black"),EffectPart.CFrame,7,7,7,-0.5,-0.5,-0.5,0.05)
  1408. 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)
  1409. wave.Size=vt(1+i,1+i,1+i)
  1410. wavemesh.Scale=vt(1+i,1+i,1+i)
  1411. wave.CFrame=EffectPart.CFrame
  1412. Humanoid.Health=Humanoid.Health+.15
  1413. end
  1414. wave:Destroy()
  1415. end
  1416. boom()
  1417. attack=false
  1418. Humanoid.WalkSpeed=16
  1419. end
  1420.  
  1421. function LeviterGlomus()
  1422. attack=true
  1423. for i=0,1,.1 do
  1424. swait()
  1425. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  1426. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1427. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(18), math.rad(-15), math.rad(15)), 0.3)
  1428. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-75), math.rad(0), math.rad(-50)), 0.3)
  1429. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-3),math.rad(65),math.rad(0)),.3)
  1430. 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)
  1431. handleweld.C0=clerp(handleweld.C0,cf(0,.2,-.3)*angles(math.rad(-35),math.rad(-15),math.rad(0)),.3)
  1432. end
  1433. so("http://www.roblox.com/asset/?id=199145659",EffectPart2,1,1)
  1434. efprt=part(Enum.FormFactor.Custom,game.Workspace,Enum.Material.Neon,0,0,"Black","BallEffect",Vector3.new(2, 2, 2))
  1435. 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))
  1436. mesh("SpecialMesh",efprt,"Sphere","",vt(0,0,0),vt(1,1,1))
  1437. ChargeBall(EffectPart2,35)
  1438. for i=0,1,.1 do
  1439. swait()
  1440. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1441. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  1442. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-18), math.rad(15), math.rad(15)), 0.3)
  1443. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-65)), 0.3)
  1444. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
  1445. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  1446. handleweld.C0=clerp(handleweld.C0,cf(0,.2,-.3)*angles(math.rad(0),math.rad(-15),math.rad(0)),.3)
  1447. end
  1448. so("http://www.roblox.com/asset/?id=199145534",EffectPart2,1,1.2)
  1449. efprt:BreakJoints()
  1450. local Target=mouse.Hit.p
  1451. local direction = Target - handle.Position
  1452. direction = computeDirection(direction)
  1453. local pos = handle.Position + (direction * 10.0)
  1454. efprt.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(math.pi/2, 0, 0)
  1455. local floatForce = Instance.new("BodyForce")
  1456. floatForce.force = Vector3.new(0, efprt:GetMass() * 196.1, 0.0)
  1457. floatForce.Parent = efprt
  1458. efprt.Velocity = direction * 160
  1459. efprt.Touched:connect(function(hit)
  1460. if not hit:IsDescendantOf(Character) then
  1461. if hit.Name~="Effect" then
  1462. MagniDamage(efprt,15,12225,22225,math.random(20,30),"Knockdown",RootPart)
  1463. floatForce.Parent=nil
  1464. efprt.Anchored=true
  1465. so("http://www.roblox.com/asset/?id=228343330",hit,1,.8)
  1466. Blast(efprt)
  1467. efprt:Destroy()
  1468. end
  1469. end
  1470. end)
  1471. game:GetService("Debris"):AddItem(efprt,6)
  1472. attack=false
  1473. end
  1474.  
  1475. function PortalStorm()
  1476. Humanoid.WalkSpeed=0
  1477. attack=true
  1478. for i=0,1,.1 do
  1479. swait()
  1480. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1481. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1482. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-40)), 0.3)
  1483. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(40)), 0.3)
  1484. 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)
  1485. 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)
  1486. handleweld.C0=clerp(handleweld.C0,cf(-1,-2.3,-.4)*angles(math.rad(-165),math.rad(-15),math.rad(50)),.3)
  1487. end
  1488. so("http://www.roblox.com/asset/?id=199145446",handle,1,1)
  1489. ChargeBall2(handle,100)
  1490. makeShockwave(0.5,BrickColor.new("Royal purple"),30,1000,0)
  1491. 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)
  1492. so("http://www.roblox.com/asset/?id=280247455",game.Workspace,1,1)
  1493. wait(2)
  1494. so("http://www.roblox.com/asset/?id=110284742",game.Workspace,1,0)
  1495. delay(0.5,function ()
  1496. MagniDamage(Torso,2000,32225,52220,math.random(50,70),"Knockdown",RootPart)
  1497. end)
  1498. Humanoid.Health=Humanoid.Health-0
  1499. makeShockwave(4,BrickColor.new("Teal"),10,2000,1)
  1500. attack=false
  1501. Humanoid.WalkSpeed=9
  1502. wait(4)
  1503. Humanoid.WalkSpeed=16
  1504. end
  1505.  
  1506. function SolSiderea()
  1507. Humanoid.WalkSpeed=0
  1508. attack=true
  1509. so("http://www.roblox.com/asset/?id=280758833",Workspace,1,1.3)
  1510. for i=0,1,.1 do
  1511. swait()
  1512. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1513. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1514. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(95), math.rad(-10), math.rad(-17)), 0.3)
  1515. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(95), math.rad(10), math.rad(17)), 0.3)
  1516. 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)
  1517. 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)
  1518. handleweld.C0=clerp(handleweld.C0,cf(0,-2,-.5)*angles(math.rad(0),math.rad(7.5),math.rad(-75)),.3)
  1519. end
  1520. for i=0,1,.1 do
  1521. swait()
  1522. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1523. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  1524. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(-5), math.rad(8)), 0.3)
  1525. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(5), math.rad(-8)), 0.3)
  1526. 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)
  1527. 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)
  1528. handleweld.C0=clerp(handleweld.C0,cf(-1.1,-4,-2)*angles(math.rad(-72),math.rad(8.5),math.rad(-92)),.3)
  1529. end
  1530. coroutine.resume(coroutine.create(function() ChargeBall(EffectPart,120) end))
  1531. local n=2
  1532. local orb=ppart(3,Character,0,1,BrickColor.new("Royal purple"),"Orb",vt())
  1533. local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(15,15,15))
  1534. local owld=wweld(orb,orb,Torso,cf(-10,-150,0))
  1535. for i=1,0.3,-0.01 do
  1536. wait()
  1537. orb.Transparency=i
  1538. omsh.Scale=omsh.Scale+vt(0.5,0.5,0.5)
  1539. MagicBlock(BrickColor.new("Royal purple"),orb.CFrame,15,15,15,2,2,2,0.1)
  1540. local ef=ppart(3,workspace,0,0,BrickColor.new("Royal purple"),"Effect",vt())
  1541. ef.Anchored=true
  1542. local emsh=mesh("SpecialMesh",ef,"Sphere","",vt(0,0,0),vt(2,math.random(1000,1500)/100,2))
  1543. local ceef=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,math.random(10,20),0)
  1544. ef.CFrame=orb.CFrame*ceef
  1545. game:GetService("Debris"):AddItem(ef,2)
  1546. coroutine.resume(coroutine.create(function(Part,Mesh)
  1547. for i=0,1,0.1 do
  1548. wait()
  1549. Part.Transparency=i
  1550. Part.CFrame=Part.CFrame*cf(0,-1,0)
  1551. end
  1552. Part.Parent=nil
  1553. end),ef,emsh)
  1554. end
  1555. local Pos=cf(orb.Position,Player:GetMouse().Hit.p).lookVector
  1556. wait(.5)
  1557. orb.Parent=nil
  1558. wait(1)
  1559. local hit,pos = rayCast(orb.Position,Pos,1000,Character)
  1560. local mag=(orb.Position-pos).magnitude
  1561. BlackHole(game.Workspace,cf(pos))
  1562. coroutine.resume(coroutine.create(function()
  1563. local wave=part(3,game.Workspace,"Neon",0,.7,BrickColor.new("Black"),"Effect",vt(1,1,1))
  1564. wweld(game.Workspace,wave,orb,Torso.CFrame)
  1565. local wavemesh=mesh("SpecialMesh",wave,"Sphere","",vt(0,0,0),vt(1,1,1))
  1566. for i=1,100 do
  1567. swait()
  1568. wave.Size=vt(1+i,1+i,1+i)
  1569. wavemesh.Scale=vt(1+i,1+i,1+i)
  1570. wave.CFrame=cf(pos)
  1571. end
  1572. end))
  1573. coroutine.resume(coroutine.create(function()
  1574. for i=0,20 do
  1575. swait(15)
  1576. local range = 1500
  1577. local p = Instance.new("Part")
  1578. p.Anchored = true
  1579. p.CanCollide = false
  1580. p.FormFactor = "Custom"
  1581. p.BrickColor = BrickColor.new("Royal purple")
  1582. p.Parent = workspace
  1583. p.Name="Effect"
  1584. p.CFrame=cf(pos)
  1585. local m = Instance.new("SpecialMesh",p)
  1586. m.MeshId = "rbxassetid://3270017"
  1587. local estimateSurvival = math.floor(range/30) * 0.03
  1588. game:GetService("Debris"):AddItem(p,estimateSurvival)
  1589. Spawn(function ()
  1590. for i = 1,range,30 do
  1591. p.Transparency = 1-math.min(0.5,3-(i/500))
  1592. m.Scale = Vector3.new(i,i,i*0.5)
  1593. p.CFrame = cf(pos) * CFrame.Angles(math.rad(90),0,0)
  1594. wait()
  1595. end
  1596. p:Destroy()
  1597. end)
  1598. end
  1599. end))
  1600. 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)
  1601. for i=1,2 do
  1602. end
  1603. for i=1,5 do
  1604. tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(mag/5)*(i/2),0)
  1605. end
  1606. for i=0,5 do
  1607. tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(-mag/5)*(i/2),0)
  1608. end
  1609. local ref=ppart(3,workspace,0,1,BrickColor.new("Royal purple"),"Effect",vt())
  1610. ref.CFrame=cf(pos)
  1611. coroutine.resume(coroutine.create(function(Part)
  1612. wait(1)
  1613. Part.Parent=nil
  1614. end),ref)
  1615. MagniDamage(ref,25,22220,32220,40,"Knockdown",ref)
  1616. if hit~=nil then
  1617. Damagefunc(ref,hit,5022,70222,60,"Knockdown",RootPart,0)
  1618. end
  1619. local n=2
  1620. MagicWave(BrickColor.new("Royal purple"),cf(pos)*euler(0,math.random(-50,50),0),2,2,2,.5,.3,.5,0.01)
  1621. swait(75)
  1622. Humanoid.WalkSpeed=16
  1623. attack=false
  1624. end
  1625.  
  1626. attacktype=1
  1627. mouse.Button1Down:connect(function()
  1628. if attacktype==1 and attack==false then
  1629. attacktype=2
  1630. attackone()
  1631. elseif attacktype==2 and attack==false then
  1632. attacktype=3
  1633. attacktwo()
  1634. elseif attacktype==3 and attack==false then
  1635. attacktype=4
  1636. attackthree()
  1637. elseif attacktype==4 and attack==false then
  1638. attacktype=1
  1639. attackfour()
  1640. end
  1641. end)
  1642.  
  1643. mouse.KeyDown:connect(function(k)
  1644. k=k:lower()
  1645. if attack == false and k == 'e' then
  1646. LeviterGlomus()
  1647. ChargeBall(efprt,100)
  1648. end
  1649. if attack == false and k == 'q' then
  1650. LustrisFulgo()
  1651. end
  1652. if attack == false and k == 'f' and deeznuts==false then
  1653. deeznuts=true
  1654. SolSiderea()
  1655. deeznuts=false
  1656. end
  1657. if attack == false and k == 'r' and cooldown==false then
  1658. cooldown=true
  1659. PortalStorm()
  1660. cooldown=false
  1661. end
  1662. end)
  1663.  
  1664.  
  1665. local sine = 0
  1666. local change = 1
  1667. local val = 0
  1668.  
  1669. while true do
  1670. swait()
  1671. sine = sine + change
  1672. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1673. local velderp=RootPart.Velocity.y
  1674. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1675. if equipped==true or equipped==false then
  1676. if attack==false then
  1677. idle=idle+1
  1678. else
  1679. idle=0
  1680. end
  1681. if idle>=500 then
  1682. if attack==false then
  1683. end
  1684. end
  1685. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1686. Anim="Jump"
  1687. if attack==false then
  1688. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1689. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1690. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(15)), 0.3)
  1691. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-15)), 0.3)
  1692. 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)
  1693. 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)
  1694. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1695. end
  1696. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1697. Anim="Fall"
  1698. if attack==false then
  1699. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1700. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(13),math.rad(0),math.rad(0)),.3)
  1701. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3)
  1702. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  1703. 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)
  1704. 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)
  1705. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  1706. end
  1707. elseif torvel<1 and hitfloor~=nil then
  1708. Anim="Idle"
  1709. if attack==false then
  1710. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-2),math.rad(0),math.rad(15)),.3)
  1711. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2),math.rad(0),math.rad(-15)),.3)
  1712. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(0)), 0.3)
  1713. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1714. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-2),math.rad(85),math.rad(0)),.3)
  1715. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-4),math.rad(-95),math.rad(0)),.3)
  1716. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-10),math.rad(-2),math.rad(0)),.2)
  1717. end
  1718. elseif torvel>2 and hitfloor~=nil then
  1719. Anim="Walk"
  1720. if attack==false then
  1721. change=3
  1722. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
  1723. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(-5),math.rad(25)),.3)
  1724. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(-25), math.rad(5)), 0.3)
  1725. 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)
  1726. RH.C0=clerp(RH.C0,cf(1.1,-.9,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
  1727. LH.C0=clerp(LH.C0,cf(-1.1,-.9,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  1728. handleweld.C0=clerp(handleweld.C0,cf(0,0,.3)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1729. end
  1730. end
  1731. end
  1732. if #Effects>0 then
  1733. for e=1,#Effects do
  1734. if Effects[e]~=nil then
  1735. local Thing=Effects[e]
  1736. if Thing~=nil then
  1737. local Part=Thing[1]
  1738. local Mode=Thing[2]
  1739. local Delay=Thing[3]
  1740. local IncX=Thing[4]
  1741. local IncY=Thing[5]
  1742. local IncZ=Thing[6]
  1743. if Thing[1].Transparency<=1 then
  1744. if Thing[2]=="Block1" then
  1745. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1746. Mesh=Thing[1].Mesh
  1747. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1748. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1749. elseif Thing[2]=="Cylinder" then
  1750. Mesh=Thing[1].Mesh
  1751. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1752. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1753. elseif Thing[2]=="Blood" then
  1754. Mesh=Thing[7]
  1755. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1756. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1757. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1758. elseif Thing[2]=="Elec" then
  1759. Mesh=Thing[1].Mesh
  1760. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1761. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1762. elseif Thing[2]=="Disappear" then
  1763. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1764. end
  1765. else
  1766. Part.Parent=nil
  1767. table.remove(Effects,e)
  1768. end
  1769. end
  1770. end
  1771. end
  1772. end
  1773. end
  1774. end)
  1775.  
  1776. anchortorso.MouseButton1Click:connect(function()
  1777. plr.Character.Torso.Anchored = true
  1778. wait(8)
  1779. plr.Character.Torso.Anchored = false
  1780. end)
  1781.  
  1782. zenoscript.MouseButton1Click:connect(function()
  1783. plr = game.Players.LocalPlayer
  1784. char = plr.Character
  1785. ff = Instance.new('ForceField', char)
  1786. ff.Visible = false
  1787. mouse = plr:GetMouse()
  1788. human = char.Humanoid
  1789. torso = char.Torso
  1790. root = char.HumanoidRootPart
  1791. lleg = char["Left Leg"]
  1792. rleg = char["Right Leg"]
  1793. larm = char["Left Arm"]
  1794. rarm = char["Right Arm"]
  1795. head = char.Head
  1796. lshold = torso["Left Shoulder"]
  1797. rshold = torso["Right Shoulder"]
  1798. neck = torso.Neck
  1799. lhip = torso["Left Hip"]
  1800. rhip = torso["Right Hip"]
  1801. lscf = lshold.C0
  1802. rscf = rshold.C0
  1803. ncf = neck.C0
  1804. lhcf = lhip.C0
  1805. rhcf = rhip.C0
  1806. rad = math.rad
  1807. random = math.random
  1808. sin = math.sin
  1809. cos = math.cos
  1810. floor = math.floor
  1811. lsho = lshold.C0
  1812. rsho = rshold.C0
  1813. cd1 = true
  1814. cd2 = true
  1815.  
  1816. function harmlessexplo()
  1817. sph = Instance.new('Part', char)
  1818. sph.Anchored = true
  1819. sph.CFrame = char.Torso.CFrame
  1820. sph.CanCollide = false
  1821. sph.Anchored = true
  1822. sph.Transparency = 0
  1823. sph.Material = "Neon"
  1824. sph.Shape = "Ball"
  1825. sph.Size = Vector3.new(0.2,0.2,0.2)
  1826. for i = 1,50 do
  1827. wait()
  1828. sph.Size = sph.Size + Vector3.new(4,4,4)
  1829. sph.Transparency = sph.Transparency + 0.05
  1830. sph.CFrame = char.Torso.CFrame
  1831. end
  1832. sph:Destroy()
  1833. end
  1834.  
  1835. function entrance()
  1836.  
  1837. for _,q in pairs(char:GetChildren()) do
  1838. if q:IsA('Accessory') then
  1839. q:Destroy()
  1840. end
  1841.  
  1842. a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
  1843. a.MeshId = "279174949"
  1844. a.BodyPart = "LeftArm"
  1845.  
  1846. a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
  1847. a.MeshId = "319336109"
  1848. a.BodyPart = "LeftLeg"
  1849.  
  1850. a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
  1851. a.MeshId = "279174886"
  1852. a.BodyPart = "RightArm"
  1853.  
  1854. a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
  1855. a.MeshId = "319336155"
  1856. a.BodyPart = "RightLeg"
  1857.  
  1858. a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
  1859. a.MeshId = "376169183"
  1860. a.BodyPart = "Torso"
  1861.  
  1862. if q:IsA('Shirt') then
  1863. q.ShirtTemplate = "rbxassetid://704100781"
  1864. end
  1865.  
  1866. if q:IsA('Pants') then
  1867. q.PantsTemplate = "rbxassetid://704102680"
  1868. end
  1869.  
  1870. char["Left Arm"].BrickColor = BrickColor.new('Cyan')
  1871. char["Right Arm"].BrickColor = BrickColor.new('Cyan')
  1872.  
  1873. if q.Name ~= "HumanoidRootPart" and q:IsA('Part') then
  1874. q.Transparency = 1
  1875. end
  1876. end
  1877.  
  1878. char.Humanoid.HipHeight = 60
  1879. wait(.05)
  1880. char.Torso.Anchored = true
  1881.  
  1882. sph = Instance.new('Part', char)
  1883. sph.Anchored = true
  1884. sph.CFrame = char.Torso.CFrame
  1885. sph.CanCollide = false
  1886. sph.Anchored = true
  1887. sph.Transparency = 0
  1888. sph.Material = "Neon"
  1889. sph.Shape = "Ball"
  1890. sph.Size = Vector3.new(0.2,0.2,0.2)
  1891. sp = Instance.new('SpecialMesh', sph)
  1892. sp.MeshId = "http://www.roblox.com/Asset/?id=9982590"
  1893. sp.Scale = Vector3.new(0.2,0.2,0.2)
  1894. a = 0
  1895.  
  1896. for i = 1, 25 do
  1897. sph.Color = Color3.new(math.random(1,255),math.random(1,255),math.random(1,255))
  1898. sp.Scale = sp.Scale + Vector3.new(0.3,0.3,0.3)
  1899. sph.Rotation = Vector3.new( a, a, a)
  1900. wait()
  1901. a = a+3
  1902. end
  1903. for _,e in pairs(char:GetChildren()) do
  1904. if e:IsA('Accessory') then
  1905. e.Handle.Transparency = 0
  1906. end
  1907. if e.Name ~= "HumanoidRootPart" and e:IsA('Part') then
  1908. e.Transparency = 0
  1909. end
  1910. end
  1911. for i = 1, 115 do
  1912. sph.Color = Color3.new(math.random(1,255),math.random(1,255),math.random(1,255))
  1913. sph.Transparency = sph.Transparency + 0.01
  1914. sph.Rotation = Vector3.new( a, a, a)
  1915. wait()
  1916. a = a+15
  1917. end
  1918. char.Torso.Anchored = false
  1919. char.Humanoid.HipHeight = 0
  1920. end
  1921.  
  1922. function chat(chatt)
  1923. local text = Instance.new("BillboardGui", game.Players.LocalPlayer.Character)
  1924. text.Size = UDim2.new(0,100,0,40)
  1925. text.StudsOffset = Vector3.new(0,3,0)
  1926. text.Adornee = game.Players.LocalPlayer.Character.Head
  1927. text.Name = "1"
  1928. local text1 = Instance.new("TextLabel",text)
  1929. text1.BackgroundTransparency = 1
  1930. text1.TextStrokeTransparency = 1
  1931. text1.TextTransparency = 1
  1932. text1.BorderSizePixel = 0
  1933. text1.Text = chatt
  1934. text1.Font = "Fantasy"
  1935. text1.FontSize = "Size36"
  1936. text1.TextStrokeTransparency = 0
  1937. text1.TextColor3 = Color3.new(1,1,1)
  1938. text1.TextStrokeColor3 = Color3.new(0,0,0)
  1939. text1.Size = UDim2.new(1,0,0.5,0)
  1940. for i=1,15 do
  1941. wait()
  1942. text1.TextStrokeTransparency = text1.TextStrokeTransparency - 0.1
  1943. text1.TextTransparency = text1.TextTransparency - 0.1
  1944. end
  1945. wait(1)
  1946. for i=1,25 do
  1947. wait()
  1948. text1.TextStrokeTransparency = text1.TextStrokeTransparency + 0.1
  1949. text1.TextTransparency = text1.TextTransparency + 0.1
  1950. end
  1951. end
  1952.  
  1953. function explo()
  1954. sph = Instance.new('Part', char)
  1955. sph.Touched:connect(function(hit)
  1956. if hit.Parent:FindFirstChild('Humanoid') then
  1957. if hit.Parent.Name ~= plr.Name then
  1958. hit.Parent:Destroy()
  1959. else
  1960. end
  1961. end
  1962. end)
  1963. sph.Anchored = true
  1964. sph.CFrame = char.Torso.CFrame
  1965. sph.CanCollide = false
  1966. sph.Anchored = true
  1967. sph.Transparency = 0
  1968. sph.Material = "Neon"
  1969. sph.Shape = "Ball"
  1970. sph.Size = Vector3.new(0.2,0.2,0.2)
  1971. for i = 1,50 do
  1972. wait()
  1973. sph.Size = sph.Size + Vector3.new(4,4,4)
  1974. sph.Transparency = sph.Transparency + 0.03
  1975. sph.CFrame = char.Torso.CFrame
  1976. end
  1977. sph:Destroy()
  1978. end
  1979.  
  1980. --// Main script, don't touch if you don't know how to script or you might ruin the script.
  1981.  
  1982. entrance()
  1983.  
  1984. mouse.Button1Down:connect(function()
  1985. if cd1 then
  1986. if mouse.Target.Parent:FindFirstChild('Humanoid') then
  1987. cd1 = false
  1988. local target = mouse.Target.Parent
  1989. target:FindFirstChild('Torso').Anchored = true
  1990. for i=0,1,0.1 do
  1991. rshold.C0 = rshold.C0:lerp(CFrame.new(0.9,0.5,-0.1)*CFrame.Angles(rad(-90),rad(90),rad(-180)),i)
  1992. wait()
  1993. end
  1994. chat("Destroy!")
  1995. wait(.5)
  1996. particle = Instance.new('Part', workspace)
  1997. particle.Anchored = true
  1998. particle.CFrame = target:FindFirstChild('Torso').CFrame
  1999. particle.CanCollide = false
  2000. particle.Anchored = true
  2001. particle.Transparency = 1
  2002. particle.Size = Vector3.new(6.52, 10.36, 6.34)
  2003. local pe = Instance.new("ParticleEmitter")
  2004. pe.Acceleration = Vector3.new(7, 7, 7)
  2005. pe.Lifetime = NumberRange.new(1, 4)
  2006. pe.Rate = 500
  2007. pe.RotSpeed = NumberRange.new(7, 7)
  2008. pe.LightEmission = 0.700
  2009. pe.Rotation = NumberRange.new(0, 0)
  2010. pe.Size = NumberSequence.new({
  2011. NumberSequenceKeypoint.new(0, 1, 0),
  2012. NumberSequenceKeypoint.new(1, 10, 0),
  2013. NumberSequenceKeypoint.new(1, 10, 0)
  2014. })
  2015. pe.Texture = "http://www.roblox.com/asset/?id=242996110"
  2016. pe.Transparency = NumberSequence.new({
  2017. NumberSequenceKeypoint.new(0, 0, 0),
  2018. NumberSequenceKeypoint.new(0.4, 0.3, 0),
  2019. NumberSequenceKeypoint.new(1, 1, 1)
  2020. })
  2021. pe.ZOffset = 5
  2022. pe.VelocitySpread = 360
  2023. pe.Parent = particle
  2024. pe.Enabled = true
  2025. wait(1)
  2026. pe.Enabled = false
  2027. target:Destroy()
  2028. for i=0,1,0.1 do
  2029. rshold.C0 = rshold.C0:lerp(rsho,i)
  2030. wait()
  2031. end
  2032. wait(1)
  2033. cd1 = true
  2034. end
  2035. end
  2036. end)
  2037.  
  2038. mouse.KeyDown:connect(function(key)
  2039. if key == "t" then
  2040. if cd1 then
  2041. cd1 = false
  2042. particle = Instance.new('Part', workspace)
  2043. particle.Anchored = true
  2044. particle.CFrame = char:FindFirstChild('Torso').CFrame
  2045. particle.CanCollide = false
  2046. particle.Anchored = true
  2047. particle.Transparency = 1
  2048. particle.Size = Vector3.new(6.52, 10.36, 6.34)
  2049. local pe = Instance.new("ParticleEmitter")
  2050. pe.Acceleration = Vector3.new(7, 7, 7)
  2051. pe.Lifetime = NumberRange.new(1, 4)
  2052. pe.Rate = 500
  2053. pe.RotSpeed = NumberRange.new(7, 7)
  2054. pe.LightEmission = 0.700
  2055. pe.Rotation = NumberRange.new(0, 0)
  2056. pe.Size = NumberSequence.new({
  2057. NumberSequenceKeypoint.new(0, 1, 0),
  2058. NumberSequenceKeypoint.new(1, 10, 0),
  2059. NumberSequenceKeypoint.new(1, 10, 0)
  2060. })
  2061. pe.Texture = "http://www.roblox.com/asset/?id=242996110"
  2062. pe.Transparency = NumberSequence.new({
  2063. NumberSequenceKeypoint.new(0, 0, 0),
  2064. NumberSequenceKeypoint.new(0.4, 0.3, 0),
  2065. NumberSequenceKeypoint.new(1, 1, 1)
  2066. })
  2067. pe.ZOffset = 5
  2068. pe.VelocitySpread = 360
  2069. pe.Parent = particle
  2070. pe.Enabled = true
  2071. wait(.3)
  2072. char.Torso.CFrame = mouse.Hit
  2073. pe.Enabled = false
  2074. harmlessexplo()
  2075. wait(3)
  2076. cd1 = true
  2077. end
  2078. end
  2079.  
  2080. if key == "q" then
  2081. if cd2 then
  2082. cd2 = false
  2083. for i=0,1,0.1 do
  2084. lshold.C0 = lshold.C0:lerp(CFrame.new(-1.3,0.7,-0.1)*CFrame.Angles(rad(25),-rad(20),-rad(90)),i)
  2085. rshold.C0 = rshold.C0:lerp(CFrame.new(1.3,0.7,-0.1)*CFrame.Angles(rad(25),rad(20),rad(90)),i)
  2086. wait()
  2087. end
  2088.  
  2089. local pe = Instance.new("ParticleEmitter")
  2090. pe.Acceleration = Vector3.new(3, 3, 3)
  2091. pe.Lifetime = NumberRange.new(0.1, 0.5)
  2092. pe.Rate = 4000
  2093. pe.RotSpeed = NumberRange.new(0, 0)
  2094. pe.LightEmission = 0.700
  2095. pe.Rotation = NumberRange.new(0, 0)
  2096. pe.Size = NumberSequence.new({
  2097. NumberSequenceKeypoint.new(0, 1, 0),
  2098. NumberSequenceKeypoint.new(0.1, 1, 0),
  2099. NumberSequenceKeypoint.new(1, 1, 0)
  2100. })
  2101. pe.Texture = "http://www.roblox.com/asset/?id=242996110"
  2102. pe.Transparency = NumberSequence.new({
  2103. NumberSequenceKeypoint.new(0, 0, 0),
  2104. NumberSequenceKeypoint.new(0.4, 0.3, 0),
  2105. NumberSequenceKeypoint.new(1, 1, 1)
  2106. })
  2107. pe.ZOffset = 5
  2108. pe.VelocitySpread = 360
  2109. pe.Parent = char["Right Arm"]
  2110. pe1 = pe:Clone()
  2111. pe1.Parent = char["Left Arm"]
  2112. wait(.05)
  2113. pe.Enabled = true
  2114.  
  2115. wait(.05)
  2116.  
  2117. for i= 1, 100 do
  2118. char.Humanoid.HipHeight = char.Humanoid.HipHeight + 0.5
  2119. wait()
  2120. end
  2121.  
  2122. wait(.03)
  2123.  
  2124. chat("A world like this must disappear!")
  2125. wait(.07)
  2126. explo()
  2127. wait(.04)
  2128. for i=0,1,0.1 do
  2129. lshold.C0 = lshold.C0:lerp(lsho,i)
  2130. rshold.C0 = rshold.C0:lerp(rsho,i)
  2131. wait()
  2132. end
  2133. pe.Enabled = false
  2134. pe1.Enabled = fasle
  2135. char.Humanoid.HipHeight = 0
  2136. wait(5)
  2137. cd2 = true
  2138. end
  2139. end
  2140. end)
  2141.  
  2142. while wait() do
  2143. char.Humanoid.MaxHealth = 99999
  2144. char.Humanoid.Health = char.Humanoid.MaxHealth
  2145. end
  2146. end)
  2147.  
  2148. ff.MouseButton1Click:connect(function()
  2149. local p = Instance.new("ForceField", plr.Character)
  2150. print("Granted")
  2151. end)
  2152.  
  2153. openmenuex.MouseButton1Click:connect(function()
  2154. menuextend.Visible = true
  2155. end)
  2156.  
  2157. closemenuex.MouseButton1Click:connect(function()
  2158. menuextend.Visible = false
  2159. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement