SHARE
TWEET

lustris inverted

HenloMyDude Sep 20th, 2019 (edited) 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- READ THIS PART
  2. -- TO GET THIS TO WORK JUST PASTE IT AT THE TOP OF YOUR SCRIPT AND SAVE IT
  3. -- NOW DELETE THESE LINES IF YOU WANT
  4.  
  5.  
  6. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  7. local Player,game,owner = owner,game
  8. local RealPlayer = Player
  9. do
  10.     print("FE Compatibility code by Mokiros, Edited by StarzoZero")
  11.     local rp = RealPlayer
  12.     script.Parent = rp.Character
  13.    
  14.     --RemoteEvent for communicating
  15.     local Event = Instance.new("RemoteEvent")
  16.     Event.Name = "UserInput_Event"
  17.  
  18.     --Fake event to make stuff like Mouse.KeyDown work
  19.     local function fakeEvent()
  20.         local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  21.         t.connect = t.Connect
  22.         return t
  23.     end
  24.  
  25.     --Creating fake input objects with fake variables
  26.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  27.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  28.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  29.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  30.     end}
  31.     --Merged 2 functions into one by checking amount of arguments
  32.     CAS.UnbindAction = CAS.BindAction
  33.  
  34.     --This function will trigger the events that have been :Connect()'ed
  35.     local function te(self,ev,...)
  36.         local t = m[ev]
  37.         if t and t._fakeEvent then
  38.             for _,f in pairs(t.Functions) do
  39.                 f(...)
  40.             end
  41.         end
  42.     end
  43.     m.TrigEvent = te
  44.     UIS.TrigEvent = te
  45.  
  46.     Event.OnServerEvent:Connect(function(plr,io)
  47.         if plr~=rp then return end
  48.         m.Target = io.Target
  49.         m.Hit = io.Hit
  50.         if not io.isMouse then
  51.             local b = io.UserInputState == Enum.UserInputState.Begin
  52.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  53.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  54.             end
  55.             if io.UserInputType == Enum.UserInputType.MouseButton2 then
  56.                 return m:TrigEvent(b and "Button2Down" or "Button2Up")
  57.             end
  58.             for _,t in pairs(CAS.Actions) do
  59.                 for _,k in pairs(t.Keys) do
  60.                     if k==io.KeyCode then
  61.                         t.Function(t.Name,io.UserInputState,io)
  62.                     end
  63.                 end
  64.             end
  65.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  66.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  67.         end
  68.     end)
  69.     Event.Parent = NLS([==[
  70.     local Player = game:GetService("Players").LocalPlayer
  71.     local Event = script:WaitForChild("UserInput_Event")
  72.     local Mouse = Player:GetMouse()
  73.     local UIS = game:GetService("UserInputService")
  74.     local input = function(io,a)
  75.         if a then return end
  76.         --Since InputObject is a client-side instance, we create and pass table instead
  77.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  78.     end
  79.     UIS.InputBegan:Connect(input)
  80.     UIS.InputEnded:Connect(input)
  81.     local h,t
  82.     --Give the server mouse data 30 times every second, but only if the values changed
  83.     --If player is not moving their mouse, client won't fire events
  84.     while wait(1/30) do
  85.         if h~=Mouse.Hit or t~=Mouse.Target then
  86.             h,t=Mouse.Hit,Mouse.Target
  87.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  88.         end
  89.     end]==],Player.Character)
  90.  
  91.     ----Sandboxed game object that allows the usage of client-side methods and services
  92.     --Real game object
  93.     local _rg = game
  94.  
  95.     --Metatable for fake service
  96.     local fsmt = {
  97.         __index = function(self,k)
  98.             local s = rawget(self,"_RealService")
  99.             if s then
  100.                 return typeof(s[k])=="function"
  101.                 and function(_,...)return s[k](s,...)end or s[k]
  102.             end
  103.         end,
  104.         __newindex = function(self,k,v)
  105.             local s = rawget(self,"_RealService")
  106.             if s then s[k]=v end
  107.         end
  108.     }
  109.     local function FakeService(t,RealService)
  110.         t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  111.         return setmetatable(t,fsmt)
  112.     end
  113.  
  114.     --Fake game object
  115.     local g = {
  116.         GetService = function(self,s)
  117.             return rawget(self,s) or _rg:GetService(s)
  118.         end,
  119.         Players = FakeService({
  120.             LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  121.         },"Players"),
  122.         UserInputService = FakeService(UIS,"UserInputService"),
  123.         ContextActionService = FakeService(CAS,"ContextActionService"),
  124.         RunService = FakeService({
  125.             _btrs = {},
  126.             RenderStepped = _rg:GetService("RunService").Heartbeat,
  127.             BindToRenderStep = function(self,name,_,fun)
  128.                 self._btrs[name] = self.Heartbeat:Connect(fun)
  129.             end,
  130.             UnbindFromRenderStep = function(self,name)
  131.                 self._btrs[name]:Disconnect()
  132.             end,
  133.         },"RunService")
  134.     }
  135.     rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  136.     g.service = g.GetService
  137.     FakeService(g,game)
  138.     --Changing owner to fake player object to support owner:GetMouse()
  139.     game,owner = g,g.Players.LocalPlayer
  140. end
  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 = ("Really black")
  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 Damage=math.random(minim,maxim)
  530. --                h:TakeDamage(Damage)
  531.                 local  blocked=false
  532.                 local  block=hit.Parent:findFirstChild("Block")
  533.                 if block~=nil then
  534.                 print(block.className)
  535.                 if block.className=="NumberValue" then
  536.                 if block.Value>0 then
  537.                 blocked=true
  538.                 if decreaseblock==nil then
  539.                 block.Value=block.Value-1
  540.                 end
  541.                 end
  542.                 end
  543.                 if block.className=="IntValue" then
  544.                 if block.Value>0 then
  545.                 blocked=true
  546.                 if decreaseblock~=nil then
  547.                 block.Value=block.Value-1
  548.                 end
  549.                 end
  550.                 end
  551.                 end
  552.                 if blocked==false then
  553. --                h:TakeDamage(Damage)
  554.                 h.Health=h.Health-Damage
  555.                 ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  556.                 else
  557.                 h.Health=h.Health-(Damage/2)
  558.                 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)
  559.                 end
  560.                 if Type=="Knockdown" then
  561.                 local hum=hit.Parent.Humanoid
  562. hum.PlatformStand=true
  563. coroutine.resume(coroutine.create(function(HHumanoid)
  564. swait(1)
  565. HHumanoid.PlatformStand=false
  566. end),hum)
  567.                 local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  568. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  569. local bodvol=Instance.new("BodyVelocity")
  570. bodvol.velocity=angle*knockback
  571. bodvol.P=5000
  572. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  573. bodvol.Parent=hit
  574. local rl=Instance.new("BodyAngularVelocity")
  575. rl.P=3000
  576. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  577. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  578. rl.Parent=hit
  579. game:GetService("Debris"):AddItem(bodvol,.5)
  580. game:GetService("Debris"):AddItem(rl,.5)
  581.                 elseif Type=="Normal" then
  582.                 local vp=Instance.new("BodyVelocity")
  583.                 vp.P=500
  584.                 vp.maxForce=Vector3.new(math.huge,0,math.huge)
  585. --                vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  586.                 if KnockbackType==1 then
  587.                 vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  588.                 elseif KnockbackType==2 then
  589.                 vp.velocity=Property.CFrame.lookVector*knockback
  590.                 end
  591.                 if knockback>0 then
  592.                         vp.Parent=hit.Parent.Torso
  593.                 end
  594.                 game:GetService("Debris"):AddItem(vp,.5)
  595.                 elseif Type=="Up" then
  596.                 local bodyVelocity=Instance.new("BodyVelocity")
  597.                 bodyVelocity.velocity=vt(0,60,0)
  598.                 bodyVelocity.P=5000
  599.                 bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  600.                 bodyVelocity.Parent=hit
  601.                 game:GetService("Debris"):AddItem(bodyVelocity,1)
  602.                 local rl=Instance.new("BodyAngularVelocity")
  603.                 rl.P=3000
  604.                 rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  605.                 rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  606.                 rl.Parent=hit
  607.                 game:GetService("Debris"):AddItem(rl,.5)
  608.                 elseif Type=="Snare" then
  609.                 local bp=Instance.new("BodyPosition")
  610.                 bp.P=2000
  611.                 bp.D=100
  612.                 bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  613.                 bp.position=hit.Parent.Torso.Position
  614.                 bp.Parent=hit.Parent.Torso
  615.                 game:GetService("Debris"):AddItem(bp,1)
  616.                 elseif Type=="Target" then
  617.                 local Targetting = false
  618.                 if Targetting==false then
  619.                 ZTarget=hit.Parent.Torso
  620.                 coroutine.resume(coroutine.create(function(Part)
  621.                 so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  622.                 swait(5)
  623.                 so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  624.                 end),ZTarget)
  625.                 local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  626.                 local  targetgui=Instance.new("BillboardGui")
  627.                 targetgui.Parent=ZTarget
  628.                 targetgui.Size=UDim2.new(10,100,10,100)
  629.                 local targ=Instance.new("ImageLabel")
  630.                 targ.Parent=targetgui
  631.                 targ.BackgroundTransparency=1
  632.                 targ.Image="rbxassetid://4834067"
  633.                 targ.Size=UDim2.new(1,0,1,0)
  634.                 cam.CameraType="Scriptable"
  635.                 cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  636.                 local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  637.                 workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  638.                 Targetting=true
  639.                 RocketTarget=ZTarget
  640.                 for i=1,Property do
  641.                 --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  642.                 if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  643.                 swait()
  644.                 end
  645.                 --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  646.                 cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  647.                 dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  648.                 cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  649.                 end
  650.                 Targetting=false
  651.                 RocketTarget=nil
  652.                 targetgui.Parent=nil
  653.                 cam.CameraType="Custom"
  654.                 end
  655.                 end
  656.                         local debounce=Instance.new("BoolValue")
  657.                         debounce.Name="DebounceHit"
  658.                         debounce.Parent=hit.Parent
  659.                         debounce.Value=true
  660.                         game:GetService("Debris"):AddItem(debounce,Delay)
  661.         end
  662. end
  663.  
  664.  
  665. function ShowDamage(Pos, Text, Time, Color)
  666.     local Rate = (1 / 30)
  667.     local Pos = (Pos or Vector3.new(0, 0, 0))
  668.     local Text = (Text or "")
  669.     local Time = (Time or 2)
  670.     local Color = (Color or Color3.new(1, 0, 0))
  671.     local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  672.     EffectPart.Anchored = true
  673.     local BillboardGui = Instance.new("BillboardGui")
  674.     BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  675.     BillboardGui.Adornee = EffectPart
  676.     local TextLabel = Instance.new("TextBox")
  677.     TextLabel.BackgroundTransparency = 1
  678.     TextLabel.Size = UDim2.new(1, 0, 1, 0)
  679.     TextLabel.Text = Text
  680.     TextLabel.TextColor3 = Color
  681.     TextLabel.TextScaled = true
  682.     TextLabel.Font = Enum.Font.ArialBold
  683.     TextLabel.Parent = BillboardGui
  684.     BillboardGui.Parent = EffectPart
  685.     game.Debris:AddItem(EffectPart, (Time + 0.1))
  686.     EffectPart.Parent = game:GetService("Workspace")
  687.     Delay(0, function()
  688.         local Frames = (Time / Rate)
  689.         for Frame = 1, Frames do
  690.             wait(Rate)
  691.             local Percent = (Frame / Frames)
  692.             EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  693.             TextLabel.TextTransparency = Percent
  694.         end
  695.         if EffectPart and EffectPart.Parent then
  696.             EffectPart:Destroy()
  697.         end
  698.     end)
  699. end
  700.  
  701. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Toothpaste","Handle",Vector3.new(0.200000003, 1.61857152, 0.200000003))
  702. 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))
  703. mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 1, 0.857142746))
  704. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Toothpaste","SwordPart",Vector3.new(0.200000003, 0.257142872, 0.911428571))
  705. 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))
  706. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  707. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.571428657))
  708. 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))
  709. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  710. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Toothpaste","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.514285743))
  711. 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))
  712. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  713. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Toothpaste","SwordPart",Vector3.new(0.200000003, 0.914285779, 0.254285723))
  714. 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))
  715. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  716. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(0.200000003, 0.942857206, 0.28285715))
  717. 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))
  718. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  719. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(0.200000003, 0.285714328, 0.940000057))
  720. 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))
  721. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  722. Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Toothpaste","SwordPart",Vector3.new(1, 1.20000005, 1))
  723. 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))
  724. mesh("SpecialMesh",Part,Enum.MeshType.Head,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 0.142857134, 0.285714298))
  725. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
  726. 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))
  727. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
  728. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Toothpaste","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
  729. 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))
  730. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.857145786, 1))
  731. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
  732. 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))
  733. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.571431458, 1.10000002))
  734. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(0.483492851, 0.539954185, 0.539909601))
  735. 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))
  736. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
  737. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
  738. 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))
  739. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
  740. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(0.493492872, 0.539954185, 0.539909601))
  741. 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))
  742. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
  743. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
  744. 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))
  745. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  746. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
  747. 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))
  748. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  749. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
  750. 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))
  751. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  752. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(0.662679553, 0.200000003, 0.200000003))
  753. 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))
  754. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  755. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(1.46267951, 0.200000003, 0.200000003))
  756. 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))
  757. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  758. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
  759. 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))
  760. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  761. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(0.372464359, 0.762464345, 0.762464285))
  762. 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))
  763. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542364))
  764. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(0.382464379, 0.762464345, 0.762464285))
  765. 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))
  766. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.913885474, 0.128561974, 0.128542408))
  767. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
  768. 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))
  769. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542408))
  770. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
  771. 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))
  772. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366669, 0.128561974, 0.128542364))
  773. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
  774. 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))
  775. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.385687381, 0.642712057))
  776. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
  777. 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))
  778. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.257125348, 0.706983268))
  779. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Toothpaste","SwordPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  780. 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))
  781. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 0.857145548, 0.857142746))
  782. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Toothpaste","Hitbox",Vector3.new(0.650000036, 4.19999981, 0.200000003))
  783. 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))
  784. EffectPart=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","EffectPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  785. 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))
  786. mesh("BlockMesh",EffectPart,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  787. EffectPart2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Toothpaste","EffectPart2",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  788. 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))
  789.  
  790. DarkRiftF=function(par)
  791. while lol == true do
  792. wait()
  793. local PWN={}
  794. for _,v in pairs(game.Workspace:children()) do
  795. if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
  796. if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
  797. table.insert(PWN,v.Torso)
  798. end
  799. end
  800. end
  801. for _,t in pairs(PWN) do
  802. local targ=par.Position-t.Position
  803. local Mag=targ.magnitude
  804. if not t:IsDescendantOf(Character) and t~=nil and Mag<=50 then
  805. if Mag<=30 then
  806. t.Parent.Humanoid:TakeDamage(.5)
  807. local rl=Instance.new("BodyAngularVelocity")
  808. rl.P=3000
  809. rl.maxTorque=Vector3.new(500000,500000,500000)*5000
  810. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))/10
  811. rl.Parent=t
  812. game:GetService("Debris"):AddItem(rl,.1)
  813. end
  814. if Mag<=20 then
  815. t.Parent.Humanoid:TakeDamage(.1)
  816. else
  817. local vl=Instance.new("BodyVelocity")
  818. vl.P=3000
  819. vl.maxForce=Vector3.new(50000000000,50000000000,50000000000)
  820. vl.velocity=(t.Position-par.Position).unit*-(70/(Mag))
  821. vl.Parent=t
  822. game:GetService("Debris"):AddItem(vl,.1)
  823. end
  824. end
  825. end
  826. wait(.08)
  827. end
  828. end
  829.  
  830. function DerpMagic(part,x1,y1,z1,x2,y2,z2,color)
  831.     local msh1 = Instance.new("BlockMesh")
  832.     msh1.Scale = Vector3.new(0.5,0.5,0.5)
  833.     local S=Instance.new("Part")
  834.     S.Name="Effect"
  835.     S.Material="Neon"
  836.     S.formFactor=0
  837.     S.Size=Vector3.new(x1,y1,z1)
  838.     S.BrickColor=color
  839.     S.Reflectance = 0
  840.     S.TopSurface=0
  841.     S.BottomSurface=0
  842.     S.Transparency=0
  843.     S.Anchored=false
  844.     S.CanCollide=false
  845.     S.CFrame=part.CFrame
  846.     S.Parent=game.Workspace
  847.     msh1.Parent = S
  848.     local W=Instance.new("Weld")
  849.     W.Parent=S
  850.     W.Part0=S
  851.     W.Part1=part
  852.     W.C0=CFrame.new(x2,y2,z2) * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  853.     W.Parent=nil
  854.     S.Anchored=true
  855.     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)
  856. end
  857.  
  858. local function BlackHole(parent,cframe)
  859. local effectsmsh = Instance.new("SpecialMesh")
  860. effectsmsh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  861. --effectsmsh.Scale = Vector3.new(1,1,2.5)
  862. effectsmsh.Scale = Vector3.new(3,3,3)
  863. local effectsg = Instance.new("Part")
  864. effectsg.formFactor = 3
  865. effectsg.CanCollide = false
  866. effectsg.Name = "Effect"
  867. effectsg.Locked = true
  868. effectsg.Transparency = 1
  869. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  870. effectsg.Parent = parent
  871. effectsg.BrickColor = BrickColor.new("Really black")
  872. effectsg.Material="Neon"
  873. coroutine.resume(coroutine.create(function(Part,Mesh)
  874.     local Mesh = Instance.new("SpecialMesh")
  875.     Mesh.Scale = Vector3.new(0.5,0.5,0.5)
  876.     Mesh.MeshType = "Sphere"
  877. --  Mesh.TextureId="http://www.roblox.com/asset/?id=1529460"
  878.     Part=Instance.new("Part")
  879.     Part.Name="Effect"
  880.     Part.formFactor=0
  881.     Part.Size=Vector3.new(1,1,1)
  882.     Part.BrickColor=BrickColor.new("Really black")
  883.     Part.Material="Neon"
  884.     Part.Reflectance = 0
  885.     Part.TopSurface=0
  886.     Part.BottomSurface=0
  887.     Part.Transparency=0
  888.     Part.Anchored=true
  889. NoOutline(Part)
  890.     Part.CanCollide=false
  891.     Part.CFrame=cframe
  892.     Part.Parent=parent
  893.     Mesh.Parent = Part
  894.     lol=true
  895. coroutine.resume(coroutine.create(function()
  896.     DarkRiftF(Part)
  897. end))
  898.     for i=0,200 do
  899.     wait()
  900.     DerpMagic(Part,1,i/3,1,0,i/3,0,BrickColor.new("Really black"))
  901.     Mesh.Scale=Mesh.Scale-Vector3.new(0.2,0.2,0.2)
  902.     Part.CFrame=cframe*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  903.     end
  904.     local fff=200
  905.     for i=0,100 do
  906.     wait()
  907.     DerpMagic(Part,1,fff/3,1,0,fff/3,0,BrickColor.new("Really black"))
  908.     Part.CFrame=cframe*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  909.     end
  910.     for i=0,1,0.05 do
  911.     wait()
  912.     Part.Transparency=Part.Transparency+0.05
  913.     Mesh.Scale=Mesh.Scale+Vector3.new(1.5,1.5,1.5)
  914.     end
  915.     lol=false
  916.     Part.Parent=nil
  917. end),nil,nil)
  918. end
  919.  
  920. function makeShockwave(height,color,speed,range,pulse)
  921. local range = range or 2000
  922. local p = Instance.new("Part")
  923. p.Anchored = true
  924. p.CanCollide = false
  925. p.FormFactor = "Custom"
  926. p.BrickColor = color
  927. p.Parent = workspace
  928. local m = Instance.new("SpecialMesh",p)
  929. m.MeshId = "rbxassetid://3270017"
  930. local estimateSurvival = math.floor(range/speed) * 0.03
  931. game:GetService("Debris"):AddItem(p,estimateSurvival)
  932. Spawn(function ()
  933. for i = 1,range,speed do
  934. p.Transparency = 1-math.min(0.5,3-(i/500))
  935. m.Scale = Vector3.new(i,i,i*height)
  936. p.CFrame = CFrame.new(Torso.Position) * CFrame.Angles(math.rad(90),0,0)
  937. wait()
  938. end
  939. p:Destroy()
  940. end)
  941. end
  942.  
  943. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  944. local prt=ppart(3,game.Workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  945. prt.Anchored=true
  946. prt.CFrame=cframe
  947. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(.1,.1,.1))
  948. game:GetService("Debris"):AddItem(prt,2)
  949. coroutine.resume(coroutine.create(function(Part,Mesh)
  950. for i=0,2,delay do
  951. wait()
  952. Part.CFrame=Part.CFrame
  953. Part.Transparency=i
  954. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  955. end
  956. Part.Parent=nil
  957. end),prt,msh)
  958. end
  959.  
  960. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  961. local prt=ppart(3,game.Workspace,0,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  962. prt.Anchored=true
  963. prt.CFrame=cframe
  964. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  965. game:GetService("Debris"):AddItem(prt,5)
  966. coroutine.resume(coroutine.create(function(Part,Mesh)
  967. for i=0,1,delay do
  968. wait()
  969. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  970. Part.Transparency=i
  971. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  972. end
  973. Part.Parent=nil
  974. end),prt,msh)
  975. end
  976.  
  977. local function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,Type,parent)
  978. local prt=ppart(3,game.Workspace,0,1,brickcolor,"Effect",vt())
  979. if Type~=2 then
  980. prt.Anchored=true
  981. end
  982. prt.CFrame=cframe
  983. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  984. game:GetService("Debris"):AddItem(prt,5)
  985. coroutine.resume(coroutine.create(function(Part,Mesh,dur)
  986. local wld=nil
  987. if dur==2 then
  988. wld=weld(Part,Part,parent,euler(0,0,0)*cf(0,0,0))
  989. end
  990. for i=0,1,delay do
  991. swait()
  992. if dur==1 then
  993. Part.CFrame=Part.CFrame
  994. elseif dur==2 then
  995. wld.C0=cframe
  996. end
  997. Part.Transparency=i
  998. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  999. end
  1000. Part.Parent=nil
  1001. end),prt,msh,Type)
  1002. end
  1003.  
  1004. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1005. local prt=ppart(3,game.Workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1006. prt.Anchored=true
  1007. prt.CFrame=cframe
  1008. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1009. game:GetService("Debris"):AddItem(prt,5)
  1010. coroutine.resume(coroutine.create(function(Part,Mesh)
  1011. for i=0,1,delay do
  1012. swait()
  1013. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  1014. Part.Transparency=i
  1015. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1016. end
  1017. Part.Parent=nil
  1018. end),prt,msh)
  1019. end
  1020.  
  1021. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1022. local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  1023. prt.Anchored=true
  1024. prt.CFrame=cframe
  1025. local msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  1026. game:GetService("Debris"):AddItem(prt,5)
  1027. coroutine.resume(coroutine.create(function(Part,Mesh)
  1028. for i=0,1,delay do
  1029. wait()
  1030. Part.CFrame=Part.CFrame
  1031. Part.Transparency=i
  1032. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1033. end
  1034. Part.Parent=nil
  1035. end),prt,msh)
  1036. end
  1037.  
  1038. function MagicWave(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1039. local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt())
  1040. prt.Anchored=true
  1041. prt.CFrame=cframe
  1042. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  1043. game:GetService("Debris"):AddItem(prt,5)
  1044. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3})
  1045. end
  1046.  
  1047. function Blast(parent)
  1048. MagicBlock(BrickColor.new("Toothpaste"),parent.CFrame,4,4,4,0.2,0.2,0.2,0.01)
  1049. MagicWaveThing(BrickColor.new("Toothpaste"),parent.CFrame,4,4,4,0.2,0.2,0.2,0.01)
  1050. end
  1051.  
  1052. function ChargeBall(parent,t)
  1053. local counter=0
  1054. local size=1
  1055. for i=0,t,1 do
  1056. swait()
  1057. counter=counter+1
  1058. if counter%10==0 then
  1059. if size==3 then
  1060. MagicRing(BrickColor.new("Toothpaste"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1061. elseif size==2 then
  1062. MagicRing(BrickColor.new("Toothpaste"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1063. end
  1064. end
  1065. if counter%5==0 then
  1066. if size==1 then
  1067. MagicBlock(BrickColor.new("Toothpaste"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1068. elseif size==2 then
  1069. MagicBlock(BrickColor.new("Toothpaste"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1070. elseif size==3 then
  1071. MagicBlock(BrickColor.new("Toothpaste"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1072. end
  1073. end
  1074. end
  1075. end
  1076.  
  1077. function ChargeBall2(parent,t)
  1078. local counter=0
  1079. local size=1
  1080. for i=0,t,1 do
  1081. swait()
  1082. counter=counter+1
  1083. if counter%10==0 then
  1084. if size==3 then
  1085. MagicRing(BrickColor.new("Toothpaste"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1086. elseif size==2 then
  1087. MagicRing(BrickColor.new("Toothpaste"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1088. end
  1089. end
  1090. if counter%5==0 then
  1091. if size==1 then
  1092. MagicBlock(BrickColor.new("Toothpaste"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1093. 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)
  1094. elseif size==2 then
  1095. MagicBlock(BrickColor.new("Toothpaste"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1096. 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)
  1097. elseif size==3 then
  1098. MagicBlock(BrickColor.new("Toothpaste"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1099. 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)
  1100. end
  1101. end
  1102. end
  1103. end
  1104.  
  1105. function MagniDamage(Part,dis,mind,maxd,force,knock)
  1106. for _,c in pairs(workspace:children()) do
  1107. local hum=c:findFirstChild("Humanoid")
  1108. if hum~=nil then
  1109. local head=c:findFirstChild("Torso")
  1110. if head~=nil then
  1111. local targ=head.Position-Part.Position
  1112. local mag=targ.magnitude
  1113. if mag<=dis and c.Name~=Character.Name then
  1114. Damagefunc(Part,hum.Parent.Torso,mind,maxd,force,knock,RootPart,.2,1)
  1115. end
  1116. end
  1117. end
  1118. end
  1119. end
  1120.  
  1121. function computeDirection(vec)
  1122. local lenSquared = vec.magnitude * vec.magnitude
  1123. local invSqrt = 1 / math.sqrt(lenSquared)
  1124. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  1125. end
  1126.  
  1127. function attackone()
  1128. attack = true
  1129. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1130. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,4222,112222,math.random(5,5),"Normal",RootPart,.2,1) end)
  1131. local fx=Hitbox.Touched:connect(function(part)
  1132.     local human=part.Parent:findFirstChild("Humanoid")
  1133.     if human~=nil and bounce==false then
  1134.         bounce=true
  1135.         local rndm=math.random(1,#hitsounds)
  1136.         local r=rndm
  1137.         so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  1138.     end
  1139. end)
  1140. for i = 0,1,0.1 do
  1141. swait()
  1142. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
  1143. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1144. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),0.4)
  1145. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),0.4)
  1146. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),0.4)
  1147. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  1148. end
  1149. so("http://www.roblox.com/asset/?id=199145841",handle,1,.9)
  1150. for i = 0,1,0.1 do
  1151. swait()
  1152. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1153. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1154. local h = 5
  1155. 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)
  1156. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1157. 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)
  1158. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1159. scfr = blcf
  1160. elseif not scfr then
  1161. scfr = blcf
  1162. end
  1163. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.4)
  1164. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.4)
  1165. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1166. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1167. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.4)
  1168. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.4)
  1169. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1170. end
  1171. attack = false
  1172. bounce=false
  1173. scfr=nil
  1174. fx:disconnect()
  1175. con:disconnect()
  1176. end
  1177.  
  1178. function attacktwo()
  1179. attack=true
  1180. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1181. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,4222,112222,math.random(5,5),"Normal",RootPart,.2,1) end)
  1182. local fx=Hitbox.Touched:connect(function(part)
  1183.     local human=part.Parent:findFirstChild("Humanoid")
  1184.     if human~=nil and bounce==false then
  1185.         bounce=true
  1186.         local rndm=math.random(1,#hitsounds)
  1187.         local r=rndm
  1188.         so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  1189.     end
  1190. end)
  1191. for i=0,1,.1 do
  1192. swait()
  1193. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
  1194. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
  1195. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1196. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1197. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  1198. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
  1199. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1200. end
  1201. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  1202. for i = 0,1,0.1 do
  1203. swait()
  1204. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1205. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1206. local h = 5
  1207. 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)
  1208. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1209. 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)
  1210. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1211. scfr = blcf
  1212. elseif not scfr then
  1213. scfr = blcf
  1214. end
  1215. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
  1216. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
  1217. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
  1218. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
  1219. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
  1220. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
  1221. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1222. end
  1223. scfr=nil
  1224. attack=false
  1225. bounce=false
  1226. con:disconnect()
  1227. fx:disconnect()
  1228. end
  1229.  
  1230. function attackthree()
  1231. attack=true
  1232. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1233. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,6222,152222,math.random(5,5),"Normal",RootPart,.2,1) end)
  1234. local fx=Hitbox.Touched:connect(function(part)
  1235.     local human=part.Parent:findFirstChild("Humanoid")
  1236.     if human~=nil and bounce==false then
  1237.         bounce=true
  1238.         local rndm=math.random(1,#hitsounds)
  1239.         local r=rndm
  1240.         so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  1241.     end
  1242. end)
  1243. for i=0,1,.1 do
  1244. swait()
  1245. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),0.4)
  1246. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1247. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.4)
  1248. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.4)
  1249. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(105),math.rad(0)),0.4)
  1250. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),0.4)
  1251. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1252. end
  1253. so("http://www.roblox.com/asset/?id=199145913",handle,1,.9)
  1254. for i = 0,1,0.1 do
  1255. swait()
  1256. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1257. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1258. local h = 5
  1259. 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)
  1260. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1261. 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)
  1262. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1263. scfr = blcf
  1264. elseif not scfr then
  1265. scfr = blcf
  1266. end
  1267. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1268. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  1269. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)),0.4)
  1270. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.4)
  1271. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.4)
  1272. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.4)
  1273. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.4)
  1274. end
  1275. attack=false
  1276. bounce=false
  1277. scfr=nil
  1278. con:disconnect()
  1279. fx:disconnect()
  1280. end
  1281.  
  1282. function attackfour()
  1283. attack = true
  1284. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1285. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,9222,18222,math.random(20,30),"Normal",RootPart,.2,1) end)
  1286. local fx=Hitbox.Touched:connect(function(part)
  1287.     local human=part.Parent:findFirstChild("Humanoid")
  1288.     if human~=nil and bounce==false then
  1289.         bounce=true
  1290.         local rndm=math.random(1,#hitsounds)
  1291.         local r=rndm
  1292.         so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  1293.     end
  1294. end)
  1295. for i = 0,1,0.1 do
  1296. swait()
  1297. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(-5),math.rad(-60)),.3)
  1298. Torso.Neck.C0=clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.3)
  1299. RW.C0=clerp(RW.C0,cf(1.5, 0.8, 0.2) * angles(math.rad(5), math.rad(-15), math.rad(112)), 0.3)
  1300. LW.C0=clerp(LW.C0,cf(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-20)), 0.3)
  1301. RH.C0=clerp(RH.C0,cf(1.1,-1,0)*angles(math.rad(-5),math.rad(120),math.rad(-8)),.3)
  1302. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-60),math.rad(0)),.3)
  1303. handleweld.C0=clerp(handleweld.C0,cf(0,-.2,.5)*angles(math.rad(50),math.rad(-15),math.rad(0)),.3)
  1304. end
  1305. so("http://www.roblox.com/asset/?id=199145433",Hitbox,1,1.1)
  1306. local v=it("BodyVelocity",Torso)
  1307. v.maxForce=Vector3.new(4e+005,4e+005,4e+005)*1
  1308. v.velocity=RootPart.CFrame.lookVector*50
  1309. for i = 0,1,0.1 do
  1310. swait()
  1311. local blcf = Hitbox.CFrame*cf(0,0,0)
  1312. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1313. local h = 5
  1314. 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)
  1315. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1316. 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)
  1317. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1318. scfr = blcf
  1319. elseif not scfr then
  1320. scfr = blcf
  1321. end
  1322. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(60)),.3)
  1323. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1324. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(60), math.rad(100)), 0.3)
  1325. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-15)), 0.3)
  1326. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  1327. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  1328. handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-100),math.rad(0),math.rad(0)),.3)
  1329. end
  1330. v.Parent=nil
  1331. scfr=nil
  1332. attack = false
  1333. bounce=false
  1334. con:disconnect()
  1335. fx:disconnect()
  1336. end
  1337.  
  1338. function LustrisFulgo()
  1339. attack=true
  1340. Humanoid.WalkSpeed=0
  1341. for i=0,1,0.1 do
  1342. swait()
  1343. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-15),math.rad(0),math.rad(10)),.3)
  1344. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(-10)),.3)
  1345. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(145), math.rad(0), math.rad(7)), 0.3)
  1346. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(4), math.rad(-15)), 0.3)
  1347. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-15),math.rad(90),math.rad(0)),.3)
  1348. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-25),math.rad(-90),math.rad(0)),.3)
  1349. handleweld.C0=clerp(handleweld.C0,cf(0,0,-.5)*angles(math.rad(-60),math.rad(0),math.rad(0)),.3)
  1350. end
  1351. local function boom()
  1352. local pprt=ppart(3,game.Workspace,0,1,BrickColor.new("Toothpaste"),"Effect",vt(1,1,1))
  1353. pprt.Anchored=true
  1354. pprt.CFrame=EffectPart.CFrame
  1355. game:GetService("Debris"):AddItem(pprt,2)
  1356. MagicCircle(BrickColor.new("Toothpaste"),EffectPart.CFrame,20,20,20,-0.01,-0.01,-0.01,0.01)
  1357. so("http://roblox.com/asset/?id=228343412",EffectPart,1,0.6)
  1358. so("http://roblox.com/asset/?id=228343408",EffectPart,1,1.4)
  1359. local wave=part(3,game.Workspace,"Neon",0,.7,BrickColor.new("Toothpaste"),"Effect",vt(1,1,1))
  1360. 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))
  1361. local wavemesh=mesh("SpecialMesh",wave,"Sphere","",vt(0,0,0),vt(1,1,1))
  1362. MagniDamage(wave,20,15222,25222,math.random(20,30),"Knockdown",RootPart)
  1363. for i=0,80 do
  1364. swait()
  1365. MagicBlock(BrickColor.new("Toothpaste"),EffectPart.CFrame,7,7,7,-0.5,-0.5,-0.5,0.05)
  1366. MagicCircle(BrickColor.new("Toothpaste"),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)
  1367. wave.Size=vt(1+i,1+i,1+i)
  1368. wavemesh.Scale=vt(1+i,1+i,1+i)
  1369. wave.CFrame=EffectPart.CFrame
  1370. Humanoid.Health=Humanoid.Health+.15
  1371. end
  1372. wave:Destroy()
  1373. end
  1374. boom()
  1375. attack=false
  1376. Humanoid.WalkSpeed=16
  1377. end
  1378.  
  1379. function LeviterGlomus()
  1380. attack=true
  1381. for i=0,1,.1 do
  1382. swait()
  1383. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  1384. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1385. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(18), math.rad(-15), math.rad(15)), 0.3)
  1386. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-75), math.rad(0), math.rad(-50)), 0.3)
  1387. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-3),math.rad(65),math.rad(0)),.3)
  1388. 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)
  1389. handleweld.C0=clerp(handleweld.C0,cf(0,.2,-.3)*angles(math.rad(-35),math.rad(-15),math.rad(0)),.3)
  1390. end
  1391. so("http://www.roblox.com/asset/?id=199145659",EffectPart2,1,1)
  1392. efprt=part(Enum.FormFactor.Custom,game.Workspace,Enum.Material.Neon,0,0,"Toothpaste","BallEffect",Vector3.new(2, 2, 2))
  1393. 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))
  1394. mesh("SpecialMesh",efprt,"Sphere","",vt(0,0,0),vt(1,1,1))
  1395. ChargeBall(EffectPart2,35)
  1396. for i=0,1,.1 do
  1397. swait()
  1398. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1399. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  1400. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-18), math.rad(15), math.rad(15)), 0.3)
  1401. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-65)), 0.3)
  1402. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
  1403. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  1404. handleweld.C0=clerp(handleweld.C0,cf(0,.2,-.3)*angles(math.rad(0),math.rad(-15),math.rad(0)),.3)
  1405. end
  1406. so("http://www.roblox.com/asset/?id=199145534",EffectPart2,1,1.2)
  1407. efprt:BreakJoints()
  1408. local Target=mouse.Hit.p
  1409. local direction = Target - handle.Position
  1410. direction = computeDirection(direction)
  1411. local pos = handle.Position + (direction * 10.0)       
  1412. efprt.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles(math.pi/2, 0, 0)
  1413. local floatForce = Instance.new("BodyForce")
  1414. floatForce.force = Vector3.new(0, efprt:GetMass() * 196.1, 0.0)
  1415. floatForce.Parent = efprt
  1416. efprt.Velocity = direction * 160
  1417. efprt.Touched:connect(function(hit)
  1418. if not hit:IsDescendantOf(Character) then
  1419. if hit.Name~="Effect" then
  1420. MagniDamage(efprt,15,12225,22225,math.random(20,30),"Knockdown",RootPart)
  1421. floatForce.Parent=nil
  1422. efprt.Anchored=true
  1423. so("http://www.roblox.com/asset/?id=228343330",hit,1,.8)
  1424. Blast(efprt)
  1425. efprt:Destroy()
  1426. end
  1427. end
  1428. end)
  1429. game:GetService("Debris"):AddItem(efprt,6)
  1430. attack=false
  1431. end
  1432.  
  1433. function PortalStorm()
  1434. Humanoid.WalkSpeed=0
  1435. attack=true
  1436. for i=0,1,.1 do
  1437. swait()
  1438. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1439. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1440. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-40)), 0.3)
  1441. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(40)), 0.3)
  1442. 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)
  1443. 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)
  1444. handleweld.C0=clerp(handleweld.C0,cf(-1,-2.3,-.4)*angles(math.rad(-165),math.rad(-15),math.rad(50)),.3)
  1445. end
  1446. so("http://www.roblox.com/asset/?id=199145446",handle,1,1)
  1447. ChargeBall2(handle,100)
  1448. makeShockwave(0.5,BrickColor.new("Really black"),30,1000,0)
  1449. 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)
  1450. so("http://www.roblox.com/asset/?id=280247455",game.Workspace,1,1)
  1451. wait(2)
  1452. so("http://www.roblox.com/asset/?id=110284742",game.Workspace,1,0)
  1453. delay(0.5,function ()
  1454. MagniDamage(Torso,2000,32225,52220,math.random(50,70),"Knockdown",RootPart)
  1455. end)
  1456. Humanoid.Health=Humanoid.Health-0
  1457. makeShockwave(4,BrickColor.new("Toothpaste"),10,2000,1)
  1458. attack=false
  1459. Humanoid.WalkSpeed=9
  1460. wait(4)
  1461. Humanoid.WalkSpeed=16
  1462. end
  1463.  
  1464. function SolSiderea()
  1465.     Humanoid.WalkSpeed=0
  1466.     attack=true
  1467.     so("http://www.roblox.com/asset/?id=280758833",Workspace,1,1.3)
  1468.     for i=0,1,.1 do
  1469.     swait()
  1470.     RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1471.     Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1472.     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(95), math.rad(-10), math.rad(-17)), 0.3)
  1473.     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(95), math.rad(10), math.rad(17)), 0.3)
  1474.     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)
  1475.     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)
  1476.     handleweld.C0=clerp(handleweld.C0,cf(0,-2,-.5)*angles(math.rad(0),math.rad(7.5),math.rad(-75)),.3)
  1477.     end
  1478.     for i=0,1,.1 do
  1479.     swait()
  1480.     RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1481.     Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  1482.     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(-5), math.rad(8)), 0.3)
  1483.     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(5), math.rad(-8)), 0.3)
  1484.     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)
  1485.     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)
  1486.     handleweld.C0=clerp(handleweld.C0,cf(-1.1,-4,-2)*angles(math.rad(-72),math.rad(8.5),math.rad(-92)),.3)
  1487.     end
  1488.     coroutine.resume(coroutine.create(function() ChargeBall(EffectPart,120) end))
  1489.     local n=2
  1490.     local orb=ppart(3,Character,0,1,BrickColor.new("Really black"),"Orb",vt())
  1491.     local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(15,15,15))
  1492.     local owld=wweld(orb,orb,Torso,cf(-10,-150,0))
  1493.     for i=1,0.3,-0.01 do
  1494.     wait()
  1495.     orb.Transparency=i
  1496.     omsh.Scale=omsh.Scale+vt(0.5,0.5,0.5)
  1497.     MagicBlock(BrickColor.new("Really black"),orb.CFrame,15,15,15,2,2,2,0.1)
  1498.     local ef=ppart(3,workspace,0,0,BrickColor.new("Really black"),"Effect",vt())
  1499.     ef.Anchored=true
  1500.     local emsh=mesh("SpecialMesh",ef,"Sphere","",vt(0,0,0),vt(2,math.random(1000,1500)/100,2))
  1501.     local ceef=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,math.random(10,20),0)
  1502.     ef.CFrame=orb.CFrame*ceef
  1503.     game:GetService("Debris"):AddItem(ef,2)
  1504.     coroutine.resume(coroutine.create(function(Part,Mesh)
  1505.     for i=0,1,0.1 do
  1506.     wait()
  1507.     Part.Transparency=i
  1508.     Part.CFrame=Part.CFrame*cf(0,-1,0)
  1509.     end
  1510.     Part.Parent=nil
  1511.     end),ef,emsh)
  1512.     end
  1513.     local Pos=cf(orb.Position,Player:GetMouse().Hit.p).lookVector
  1514.     wait(.5)
  1515.     orb.Parent=nil
  1516.     wait(1)
  1517.     local hit,pos = rayCast(orb.Position,Pos,1000,Character)
  1518.     local mag=(orb.Position-pos).magnitude
  1519.     BlackHole(game.Workspace,cf(pos))
  1520.     coroutine.resume(coroutine.create(function()
  1521.         local wave=part(3,game.Workspace,"Neon",0,.7,BrickColor.new("Toothpaste"),"Effect",vt(1,1,1))
  1522.         wweld(game.Workspace,wave,orb,Torso.CFrame)
  1523.         local wavemesh=mesh("SpecialMesh",wave,"Sphere","",vt(0,0,0),vt(1,1,1))
  1524.         for i=1,100 do
  1525.         swait()
  1526.         wave.Size=vt(1+i,1+i,1+i)
  1527.         wavemesh.Scale=vt(1+i,1+i,1+i)
  1528.         wave.CFrame=cf(pos)
  1529.         end
  1530.     end))
  1531.     coroutine.resume(coroutine.create(function()
  1532.         for i=0,20 do
  1533.             swait(15)
  1534.             local range = 1500
  1535.             local p = Instance.new("Part")
  1536.             p.Anchored = true
  1537.             p.CanCollide = false
  1538.             p.FormFactor = "Custom"
  1539.             p.BrickColor = BrickColor.new("Really black")
  1540.             p.Parent = workspace
  1541.             p.Name="Effect"
  1542.             p.CFrame=cf(pos)
  1543.             local m = Instance.new("SpecialMesh",p)
  1544.             m.MeshId = "rbxassetid://3270017"
  1545.             local estimateSurvival = math.floor(range/30) * 0.03
  1546.             game:GetService("Debris"):AddItem(p,estimateSurvival)
  1547.             Spawn(function ()
  1548.             for i = 1,range,30 do
  1549.             p.Transparency = 1-math.min(0.5,3-(i/500))
  1550.             m.Scale = Vector3.new(i,i,i*0.5)
  1551.             p.CFrame = cf(pos) * CFrame.Angles(math.rad(90),0,0)
  1552.             wait()
  1553.             end
  1554.             p:Destroy()
  1555.             end)
  1556.         end
  1557.     end))
  1558.     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)
  1559.     for i=1,2 do
  1560.     end
  1561.     for i=1,5 do
  1562.     tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(mag/5)*(i/2),0)
  1563.     end
  1564.     for i=0,5 do
  1565.     tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(-mag/5)*(i/2),0)
  1566.     end
  1567.     local ref=ppart(3,workspace,0,1,BrickColor.new("Really black"),"Effect",vt())
  1568.     ref.CFrame=cf(pos)
  1569.     coroutine.resume(coroutine.create(function(Part)
  1570.     wait(1)
  1571.     Part.Parent=nil
  1572.     end),ref)
  1573.     MagniDamage(ref,25,22220,32220,40,"Knockdown",ref)
  1574.     if hit~=nil then
  1575.     Damagefunc(ref,hit,5022,70222,60,"Knockdown",RootPart,0)
  1576.     end
  1577.     local n=2
  1578.     MagicWave(BrickColor.new("Really black"),cf(pos)*euler(0,math.random(-50,50),0),2,2,2,.5,.3,.5,0.01)
  1579.     swait(75)
  1580.     Humanoid.WalkSpeed=16
  1581.     attack=false
  1582. end
  1583.  
  1584. attacktype=1
  1585. mouse.Button1Down:connect(function()
  1586. if attacktype==1 and attack==false then
  1587. attacktype=2
  1588. attackone()
  1589. elseif attacktype==2 and attack==false then
  1590. attacktype=3
  1591. attacktwo()
  1592. elseif attacktype==3 and attack==false then
  1593. attacktype=4
  1594. attackthree()
  1595. elseif attacktype==4 and attack==false then
  1596. attacktype=1
  1597. attackfour()
  1598. end
  1599. end)
  1600.  
  1601. mouse.KeyDown:connect(function(k)
  1602. k=k:lower()
  1603. if attack == false and k == 'e' then
  1604. LeviterGlomus()
  1605. ChargeBall(efprt,100)
  1606. end
  1607. if attack == false and k == 'q' then
  1608. LustrisFulgo()
  1609. end
  1610. if attack == false and k == 'f' and deeznuts==false then
  1611. deeznuts=true
  1612. SolSiderea()
  1613. deeznuts=false
  1614. end
  1615. if attack == false and k == 'r' and cooldown==false then
  1616. cooldown=true
  1617. PortalStorm()
  1618. cooldown=false
  1619. end
  1620. end)
  1621.  
  1622.  
  1623. local sine = 0
  1624. local change = 1
  1625. local val = 0
  1626.  
  1627. while true do
  1628. swait()
  1629. sine = sine + change
  1630. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1631. local velderp=RootPart.Velocity.y
  1632. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1633. if equipped==true or equipped==false then
  1634. if attack==false then
  1635. idle=idle+1
  1636. else
  1637. idle=0
  1638. end
  1639. if idle>=500 then
  1640. if attack==false then
  1641. end
  1642. end
  1643. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1644. Anim="Jump"
  1645. if attack==false then
  1646. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1647. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1648. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(15)), 0.3)
  1649. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-15)), 0.3)
  1650. 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)
  1651. 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)
  1652. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1653. end
  1654. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1655. Anim="Fall"
  1656. if attack==false then
  1657. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1658. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(13),math.rad(0),math.rad(0)),.3)
  1659. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3)
  1660. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  1661. 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)
  1662. 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)
  1663. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  1664. end
  1665. elseif torvel<1 and hitfloor~=nil then
  1666. Anim="Idle"
  1667. if attack==false then
  1668. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-2),math.rad(0),math.rad(15)),.3)
  1669. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2),math.rad(0),math.rad(-15)),.3)
  1670. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(0)), 0.3)
  1671. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1672. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-2),math.rad(85),math.rad(0)),.3)
  1673. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-4),math.rad(-95),math.rad(0)),.3)
  1674. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-10),math.rad(-2),math.rad(0)),.2)
  1675. end
  1676. elseif torvel>2 and hitfloor~=nil then
  1677. Anim="Walk"
  1678. if attack==false then
  1679. change=3
  1680. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
  1681. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(-5),math.rad(25)),.3)
  1682. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(-25), math.rad(5)), 0.3)
  1683. 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)
  1684. RH.C0=clerp(RH.C0,cf(1.1,-.9,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
  1685. LH.C0=clerp(LH.C0,cf(-1.1,-.9,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  1686. handleweld.C0=clerp(handleweld.C0,cf(0,0,.3)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1687. end
  1688. end
  1689. end
  1690. if #Effects>0 then
  1691. for e=1,#Effects do
  1692. if Effects[e]~=nil then
  1693. local Thing=Effects[e]
  1694. if Thing~=nil then
  1695. local Part=Thing[1]
  1696. local Mode=Thing[2]
  1697. local Delay=Thing[3]
  1698. local IncX=Thing[4]
  1699. local IncY=Thing[5]
  1700. local IncZ=Thing[6]
  1701. if Thing[1].Transparency<=1 then
  1702. if Thing[2]=="Block1" then
  1703. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1704. Mesh=Thing[1].Mesh
  1705. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1706. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1707. elseif Thing[2]=="Cylinder" then
  1708. Mesh=Thing[1].Mesh
  1709. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1710. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1711. elseif Thing[2]=="Blood" then
  1712. Mesh=Thing[7]
  1713. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1714. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1715. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1716. elseif Thing[2]=="Elec" then
  1717. Mesh=Thing[1].Mesh
  1718. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1719. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1720. elseif Thing[2]=="Disappear" then
  1721. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1722. end
  1723. else
  1724. Part.Parent=nil
  1725. table.remove(Effects,e)
  1726. end
  1727. end
  1728. end
  1729. end
  1730. end
  1731. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top