Advertisement
Zach_script_stealer2

FE reddish sword

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