SHARE
TWEET

Blue Sword fe ver

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