Advertisement
aiden50_70

Untitled

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