Advertisement
aiden50_70

Untitled

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