Advertisement
Void_scripter0

sword green

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