Advertisement
zXzGamePROzXz

Cyber pirate

Jan 20th, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 94.20 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  5.  
  6. -- Extracted from nebula hub by DOGGΩ#0018
  7. Player=game:GetService("Players").LocalPlayer
  8.  
  9. Character=Player.Character
  10.  
  11. PlayerGui=Player.PlayerGui
  12.  
  13. Backpack=Player.Backpack
  14.  
  15. Torso=Character.Torso
  16.  
  17. Head=Character.Head
  18.  
  19. Humanoid=Character.Humanoid
  20.  
  21. m=Instance.new('Model',Character)
  22.  
  23. LeftArm=Character["Left Arm"]
  24.  
  25. LeftLeg=Character["Left Leg"]
  26.  
  27. RightArm=Character["Right Arm"]
  28.  
  29. RightLeg=Character["Right Leg"]
  30.  
  31. LS=Torso["Left Shoulder"]
  32.  
  33. LH=Torso["Left Hip"]
  34.  
  35. RS=Torso["Right Shoulder"]
  36.  
  37. RH=Torso["Right Hip"]
  38.  
  39. Face = Head.face
  40.  
  41. Neck=Torso.Neck
  42.  
  43. it=Instance.new
  44.  
  45. attacktype=1
  46.  
  47. vt=Vector3.new
  48.  
  49. cf=CFrame.new
  50.  
  51. euler=CFrame.fromEulerAnglesXYZ
  52.  
  53. angles=CFrame.Angles
  54.  
  55. cloaked=false
  56.  
  57. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  58.  
  59. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  60.  
  61. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  62.  
  63. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  64.  
  65. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  66.  
  67. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  68.  
  69. RootPart=Character.HumanoidRootPart
  70.  
  71. RootJoint=RootPart.RootJoint
  72.  
  73. RootCF=euler(-1.57,0,3.14)
  74.  
  75. attack = false
  76.  
  77. attackdebounce = false
  78.  
  79. deb=false
  80.  
  81. equipped=true
  82.  
  83. hand=false
  84.  
  85. MMouse=nil
  86.  
  87. combo=0
  88.  
  89. mana=0
  90.  
  91. trispeed=1
  92.  
  93. pathtrans=.7
  94.  
  95. attackmode='none'
  96.  
  97. local idle=0
  98.  
  99. local Anim="Idle"
  100.  
  101. local Effects={}
  102.  
  103. local gun=false
  104.  
  105. local shoot=false
  106.  
  107. player=nil
  108.  
  109. cloak=false
  110.  
  111. lightcolor='Bright blue'
  112.  
  113.  
  114.  
  115. mouse=Player:GetMouse()
  116.  
  117. --save shoulders
  118.  
  119. RSH, LSH=nil, nil
  120.  
  121. --welds
  122.  
  123. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  124.  
  125. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  126.  
  127. LH=Torso["Left Hip"]
  128.  
  129. RH=Torso["Right Hip"]
  130.  
  131. TorsoColor=Torso.BrickColor
  132.  
  133. function NoOutline(Part)
  134.  
  135. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  136.  
  137. end
  138.  
  139. player=Player
  140.  
  141. ch=Character
  142.  
  143. RSH=ch.Torso["Right Shoulder"]
  144.  
  145. LSH=ch.Torso["Left Shoulder"]
  146.  
  147. --
  148.  
  149. RSH.Parent=nil
  150.  
  151. LSH.Parent=nil
  152.  
  153. --
  154.  
  155. RW.Name="Right Shoulder"
  156.  
  157. RW.Part0=ch.Torso
  158.  
  159. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  160.  
  161. RW.C1=cf(0, 0.5, 0)
  162.  
  163. RW.Part1=ch["Right Arm"]
  164.  
  165. RW.Parent=ch.Torso
  166.  
  167. --
  168.  
  169. LW.Name="Left Shoulder"
  170.  
  171. LW.Part0=ch.Torso
  172.  
  173. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  174.  
  175. LW.C1=cf(0, 0.5, 0)
  176.  
  177. LW.Part1=ch["Left Arm"]
  178.  
  179. LW.Parent=ch.Torso
  180.  
  181.  
  182.  
  183. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  184.  
  185. local fp=it("Part")
  186.  
  187. fp.formFactor=formfactor
  188.  
  189. fp.Parent=parent
  190.  
  191. fp.Reflectance=reflectance
  192.  
  193. fp.Transparency=transparency
  194.  
  195. fp.CanCollide=false
  196.  
  197. fp.Locked=true
  198.  
  199. fp.BrickColor=brickcolor
  200.  
  201. fp.Name=name
  202.  
  203. fp.Size=size
  204.  
  205. fp.Position=Torso.Position
  206.  
  207. NoOutline(fp)
  208.  
  209. fp.Material="SmoothPlastic"
  210.  
  211. fp:BreakJoints()
  212.  
  213. return fp
  214.  
  215. end
  216.  
  217.  
  218.  
  219. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  220.  
  221. local mesh=it(Mesh)
  222.  
  223. mesh.Parent=part
  224.  
  225. if Mesh=="SpecialMesh" then
  226.  
  227. mesh.MeshType=meshtype
  228.  
  229. if meshid~="nil" then
  230.  
  231. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  232.  
  233. end
  234.  
  235. end
  236.  
  237. mesh.Offset=offset
  238.  
  239. mesh.Scale=scale
  240.  
  241. return mesh
  242.  
  243. end
  244.  
  245.  
  246.  
  247. function weld(parent,part0,part1,c0)
  248.  
  249. local weld=it("Weld")
  250.  
  251. weld.Parent=parent
  252.  
  253. weld.Part0=part0
  254.  
  255. weld.Part1=part1
  256.  
  257. weld.C0=c0
  258.  
  259. return weld
  260.  
  261. end
  262.  
  263.  
  264.  
  265. local Color1=Torso.BrickColor
  266.  
  267.  
  268.  
  269. local bodvel=Instance.new("BodyVelocity")
  270.  
  271. local bg=Instance.new("BodyGyro")
  272.  
  273.  
  274.  
  275. function swait(num)
  276.  
  277. if num==0 or num==nil then
  278.  
  279. game:service'RunService'.Stepped:wait(0)
  280.  
  281. else
  282.  
  283. for i=0,num do
  284.  
  285. game:service'RunService'.Stepped:wait(0)
  286.  
  287. end
  288.  
  289. end
  290.  
  291. end
  292.  
  293.  
  294.  
  295.  
  296.  
  297. so = function(id,par,vol,pit)
  298.  
  299. coroutine.resume(coroutine.create(function()
  300.  
  301. local sou = Instance.new("Sound",par or workspace)
  302.  
  303. sou.Volume=vol
  304.  
  305. sou.Pitch=pit or 1
  306.  
  307. sou.SoundId=id
  308.  
  309. swait()
  310.  
  311. sou:play()
  312.  
  313. game:GetService("Debris"):AddItem(sou,6)
  314.  
  315. end))
  316.  
  317. end
  318.  
  319.  
  320.  
  321. function clerp(a,b,t)
  322.  
  323. local qa = {QuaternionFromCFrame(a)}
  324.  
  325. local qb = {QuaternionFromCFrame(b)}
  326.  
  327. local ax, ay, az = a.x, a.y, a.z
  328.  
  329. local bx, by, bz = b.x, b.y, b.z
  330.  
  331. local _t = 1-t
  332.  
  333. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  334.  
  335. end
  336.  
  337.  
  338.  
  339. function QuaternionFromCFrame(cf)
  340.  
  341. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  342.  
  343. local trace = m00 + m11 + m22
  344.  
  345. if trace > 0 then
  346.  
  347. local s = math.sqrt(1 + trace)
  348.  
  349. local recip = 0.5/s
  350.  
  351. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  352.  
  353. else
  354.  
  355. local i = 0
  356.  
  357. if m11 > m00 then
  358.  
  359. i = 1
  360.  
  361. end
  362.  
  363. if m22 > (i == 0 and m00 or m11) then
  364.  
  365. i = 2
  366.  
  367. end
  368.  
  369. if i == 0 then
  370.  
  371. local s = math.sqrt(m00-m11-m22+1)
  372.  
  373. local recip = 0.5/s
  374.  
  375. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  376.  
  377. elseif i == 1 then
  378.  
  379. local s = math.sqrt(m11-m22-m00+1)
  380.  
  381. local recip = 0.5/s
  382.  
  383. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  384.  
  385. elseif i == 2 then
  386.  
  387. local s = math.sqrt(m22-m00-m11+1)
  388.  
  389. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  390.  
  391. end
  392.  
  393. end
  394.  
  395. end
  396.  
  397.  
  398.  
  399. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  400.  
  401. local xs, ys, zs = x + x, y + y, z + z
  402.  
  403. local wx, wy, wz = w*xs, w*ys, w*zs
  404.  
  405. local xx = x*xs
  406.  
  407. local xy = x*ys
  408.  
  409. local xz = x*zs
  410.  
  411. local yy = y*ys
  412.  
  413. local yz = y*zs
  414.  
  415. local zz = z*zs
  416.  
  417. 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))
  418.  
  419. end
  420.  
  421.  
  422.  
  423. function QuaternionSlerp(a, b, t)
  424.  
  425. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  426.  
  427. local startInterp, finishInterp;
  428.  
  429. if cosTheta >= 0.0001 then
  430.  
  431. if (1 - cosTheta) > 0.0001 then
  432.  
  433. local theta = math.acos(cosTheta)
  434.  
  435. local invSinTheta = 1/math.sin(theta)
  436.  
  437. startInterp = math.sin((1-t)*theta)*invSinTheta
  438.  
  439. finishInterp = math.sin(t*theta)*invSinTheta
  440.  
  441. else
  442.  
  443. startInterp = 1-t
  444.  
  445. finishInterp = t
  446.  
  447. end
  448.  
  449. else
  450.  
  451. if (1+cosTheta) > 0.0001 then
  452.  
  453. local theta = math.acos(-cosTheta)
  454.  
  455. local invSinTheta = 1/math.sin(theta)
  456.  
  457. startInterp = math.sin((t-1)*theta)*invSinTheta
  458.  
  459. finishInterp = math.sin(t*theta)*invSinTheta
  460.  
  461. else
  462.  
  463. startInterp = t-1
  464.  
  465. finishInterp = t
  466.  
  467. end
  468.  
  469. end
  470.  
  471. 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
  472.  
  473. end
  474.  
  475.  
  476.  
  477. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  478.  
  479. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  480.  
  481. end
  482.  
  483.  
  484.  
  485. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  486.  
  487. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  488.  
  489. prt.Anchored=true
  490.  
  491. prt.CFrame=cframe
  492.  
  493. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  494.  
  495. --http://www.roblox.com/asset/?id=4770560
  496.  
  497. game:GetService("Debris"):AddItem(prt,2)
  498.  
  499. CF=prt.CFrame
  500.  
  501. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  502.  
  503. for i=0,1,0.2 do
  504.  
  505. wait()
  506.  
  507. Part.CFrame=CF*cf(0,0,-0.4)
  508.  
  509. end
  510.  
  511. for i=0,1,delay do
  512.  
  513. wait()
  514.  
  515. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  516.  
  517. Mesh.Scale=Mesh.Scale
  518.  
  519. end
  520.  
  521. for i=0,1,0.1 do
  522.  
  523. wait()
  524.  
  525. Part.Transparency=i
  526.  
  527. end
  528.  
  529. Part.Parent=nil
  530.  
  531. end),prt,msh,CF)
  532.  
  533. end
  534.  
  535.  
  536.  
  537. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  538.  
  539. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  540.  
  541. prt.Anchored=true
  542.  
  543. prt.CFrame=cframe
  544.  
  545. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  546.  
  547. game:GetService("Debris"):AddItem(prt,5)
  548.  
  549. coroutine.resume(coroutine.create(function(Part,Mesh)
  550.  
  551. for i=0,1,delay do
  552.  
  553. wait()
  554.  
  555. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  556.  
  557. Part.Transparency=i
  558.  
  559. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  560.  
  561. end
  562.  
  563. Part.Parent=nil
  564.  
  565. end),prt,msh)
  566.  
  567. end
  568.  
  569.  
  570.  
  571. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  572.  
  573. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  574.  
  575. prt.Anchored=false
  576.  
  577. prt.CFrame=cframe
  578.  
  579. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  580.  
  581. local wld=weld(prt,prt,Parent,cframe)
  582.  
  583. game:GetService("Debris"):AddItem(prt,5)
  584.  
  585. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  586.  
  587. for i=0,1,delay do
  588.  
  589. wait()
  590.  
  591. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  592.  
  593. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  594.  
  595. Part.Transparency=i
  596.  
  597. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  598.  
  599. end
  600.  
  601. Part.Parent=nil
  602.  
  603. end),prt,msh,wld)
  604.  
  605. end
  606.  
  607.  
  608.  
  609. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  610.  
  611. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  612.  
  613. prt.Anchored=false
  614.  
  615. prt.CFrame=cframe
  616.  
  617. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  618.  
  619. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  620.  
  621. game:GetService("Debris"):AddItem(prt,5)
  622.  
  623. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  624.  
  625. for i=0,1,delay do
  626.  
  627. wait()
  628.  
  629. Weld.C0=euler(i*20,0,0)
  630.  
  631. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  632.  
  633. Part.Transparency=i
  634.  
  635. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  636.  
  637. end
  638.  
  639. Part.Parent=nil
  640.  
  641. end),prt,msh,wld)
  642.  
  643. end
  644.  
  645.  
  646.  
  647. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  648.  
  649. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  650.  
  651. prt.Anchored=true
  652.  
  653. prt.CFrame=cframe
  654.  
  655. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  656.  
  657. game:GetService("Debris"):AddItem(prt,2)
  658.  
  659. coroutine.resume(coroutine.create(function(Part,Mesh)
  660.  
  661. for i=0,1,delay do
  662.  
  663. wait()
  664.  
  665. Part.CFrame=Part.CFrame
  666.  
  667. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  668.  
  669. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  670.  
  671. prt2.Anchored=true
  672.  
  673. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  674.  
  675. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  676.  
  677. game:GetService("Debris"):AddItem(prt2,2)
  678.  
  679. coroutine.resume(coroutine.create(function(Part,Mesh)
  680.  
  681. for i=0,1,0.1 do
  682.  
  683. wait()
  684.  
  685. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  686.  
  687. end
  688.  
  689. Part.Parent=nil
  690.  
  691. end),prt2,msh2)
  692.  
  693. end
  694.  
  695. for i=0,1,delay*2 do
  696.  
  697. wait()
  698.  
  699. Part.CFrame=Part.CFrame
  700.  
  701. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  702.  
  703. end
  704.  
  705. Part.Parent=nil
  706.  
  707. end),prt,msh)
  708.  
  709. end
  710.  
  711.  
  712.  
  713. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  714.  
  715. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  716.  
  717. prt.Anchored=true
  718.  
  719. prt.CFrame=cframe
  720.  
  721. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  722.  
  723. game:GetService("Debris"):AddItem(prt,2)
  724.  
  725. coroutine.resume(coroutine.create(function(Part,Mesh)
  726.  
  727. for i=0,1,delay do
  728.  
  729. wait()
  730.  
  731. Part.CFrame=Part.CFrame
  732.  
  733. Part.Transparency=i
  734.  
  735. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  736.  
  737. end
  738.  
  739. Part.Parent=nil
  740.  
  741. end),prt,msh)
  742.  
  743. end
  744.  
  745.  
  746.  
  747. function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
  748.  
  749. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  750.  
  751. prt.Anchored=true
  752.  
  753. prt.CFrame=cframe*euler(x2,y2,z2)
  754.  
  755. --"http://www.roblox.com/asset/?id=168892465"
  756.  
  757. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  758.  
  759. game:GetService("Debris"):AddItem(prt,2)
  760.  
  761. coroutine.resume(coroutine.create(function(Part,Mesh)
  762.  
  763. for i=0,1,0.03 do
  764.  
  765. wait()
  766.  
  767. Part.CFrame=Part.CFrame
  768.  
  769. Part.Transparency=i
  770.  
  771. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  772.  
  773. end
  774.  
  775. Part.Parent=nil
  776.  
  777. end),prt,msh)
  778.  
  779. end
  780.  
  781.  
  782.  
  783. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  784.  
  785. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  786.  
  787. prt.Anchored=true
  788.  
  789. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  790.  
  791. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  792.  
  793. game:GetService("Debris"):AddItem(prt,2)
  794.  
  795. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  796.  
  797. CF=Part.CFrame
  798.  
  799. Numbb=0
  800.  
  801. randnumb=math.random()/10
  802.  
  803. rand1=math.random()/10
  804.  
  805. for i=0,1,rand1 do
  806.  
  807. wait()
  808.  
  809. CF=CF*cf(0,math.random()/2,0)
  810.  
  811. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  812.  
  813. Part.CFrame=CF*euler(Numbb,0,0)
  814.  
  815. Part.Transparency=i
  816.  
  817. Numbb=Numbb+randnumb
  818.  
  819. end
  820.  
  821. Part.Parent=nil
  822.  
  823. end),prt,CF,Numbb,randnumb)
  824.  
  825. end
  826.  
  827.  
  828.  
  829. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  830.  
  831. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  832.  
  833. prt.Anchored=true
  834.  
  835. prt.CFrame=cframe
  836.  
  837. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  838.  
  839. game:GetService("Debris"):AddItem(prt,5)
  840.  
  841. coroutine.resume(coroutine.create(function(Part,Mesh)
  842.  
  843. for i=0,1,delay do
  844.  
  845. wait()
  846.  
  847. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  848.  
  849. Part.Transparency=i
  850.  
  851. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  852.  
  853. end
  854.  
  855. Part.Parent=nil
  856.  
  857. end),prt,msh)
  858.  
  859. end
  860.  
  861.  
  862.  
  863. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  864.  
  865. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  866.  
  867. prt.Anchored=true
  868.  
  869. prt.CFrame=cframe
  870.  
  871. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  872.  
  873. game:GetService("Debris"):AddItem(prt,2)
  874.  
  875. coroutine.resume(coroutine.create(function(Part,Mesh)
  876.  
  877. for i=0,1,delay do
  878.  
  879. wait()
  880.  
  881. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  882.  
  883. Part.Transparency=i
  884.  
  885. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  886.  
  887. end
  888.  
  889. Part.Parent=nil
  890.  
  891. end),prt,msh)
  892.  
  893. end
  894.  
  895.  
  896.  
  897. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  898.  
  899. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  900.  
  901. prt.Anchored=true
  902.  
  903. prt.CFrame=cframe*cf(x,y,z)
  904.  
  905. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  906.  
  907. game:GetService("Debris"):AddItem(prt,5)
  908.  
  909. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  910.  
  911. local num=math.random()
  912.  
  913. local num2=math.random(-3,2)+math.random()
  914.  
  915. local numm=0
  916.  
  917. for i=0,1,delay*2 do
  918.  
  919. swait()
  920.  
  921. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  922.  
  923. Part.Transparency=i
  924.  
  925. numm=numm+0.01
  926.  
  927. end
  928.  
  929. Part.Parent=nil
  930.  
  931. Mesh.Parent=nil
  932.  
  933. end),prt,msh,x,y,z)
  934.  
  935. end
  936.  
  937.  
  938.  
  939. function dmgstart(dmg,what)
  940.  
  941. hitcon = what.Touched:connect(function(hit)
  942.  
  943. local hum = hit.Parent:FindFirstChild("Humanoid")
  944.  
  945. if hum and not hum:IsDescendantOf(Character) then
  946.  
  947. hum:TakeDamage(dmg)
  948.  
  949. end
  950.  
  951. end)
  952.  
  953. end
  954.  
  955.  
  956.  
  957. function dmgstop()
  958.  
  959. hitcon:disconnect()
  960.  
  961. end
  962.  
  963.  
  964.  
  965. user=game.Players.localPlayer
  966.  
  967. char=user.Character
  968.  
  969. mouse=user:GetMouse()
  970.  
  971. m=Instance.new('Model',char)
  972.  
  973.  
  974.  
  975. blocks = {}
  976.  
  977. function Part(Type, Parent, Name, Transparency, Reflectance, Size, CFrame, Material, BrickColor3)
  978.  
  979. prt = Instance.new(Type,Parent)
  980.  
  981. prt.Name = Name
  982.  
  983. prt.FormFactor = "Custom"
  984.  
  985. prt.Transparency = Transparency
  986.  
  987. prt.Reflectance = Reflectance
  988.  
  989. prt.Size = Size
  990.  
  991. prt.CFrame = CFrame
  992.  
  993. prt.Material = Material
  994.  
  995. prt.TopSurface = 'SmoothNoOutlines'
  996.  
  997. prt.BottomSurface = 'SmoothNoOutlines'
  998.  
  999. prt.LeftSurface = 'SmoothNoOutlines'
  1000.  
  1001. prt.RightSurface = 'SmoothNoOutlines'
  1002.  
  1003. prt.FrontSurface = 'SmoothNoOutlines'
  1004.  
  1005. prt.BackSurface = 'SmoothNoOutlines'
  1006.  
  1007. prt.BrickColor = BrickColor.new(tostring(BrickColor3))
  1008.  
  1009. prt.Anchored = false
  1010.  
  1011. prt.CanCollide = false
  1012.  
  1013. table.insert(blocks, prt)
  1014.  
  1015. return #blocks
  1016.  
  1017. end
  1018.  
  1019.  
  1020.  
  1021. function weldBetween(a, b)
  1022.  
  1023. weld = Instance.new("ManualWeld")
  1024.  
  1025. weld.Part0 = a
  1026.  
  1027. weld.Part1 = b
  1028.  
  1029. weld.C0 = CFrame.new()
  1030.  
  1031. weld.C1 = b.CFrame:inverse() * a.CFrame
  1032.  
  1033. weld.Parent = a
  1034.  
  1035. return weld;
  1036.  
  1037. end
  1038.  
  1039.  
  1040.  
  1041. local function CFrameFromTopBack(at, top, back)
  1042.  
  1043. local right = top:Cross(back)
  1044.  
  1045. return CFrame.new(at.x, at.y, at.z,
  1046.  
  1047. right.x, top.x, back.x,
  1048.  
  1049. right.y, top.y, back.y,
  1050.  
  1051. right.z, top.z, back.z)
  1052.  
  1053. end
  1054.  
  1055.  
  1056.  
  1057. function Triangle(a, b, c)
  1058.  
  1059. local edg1 = (c-a):Dot((b-a).unit)
  1060.  
  1061. local edg2 = (a-b):Dot((c-b).unit)
  1062.  
  1063. local edg3 = (b-c):Dot((a-c).unit)
  1064.  
  1065. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1066.  
  1067. a, b, c = a, b, c
  1068.  
  1069. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1070.  
  1071. a, b, c = b, c, a
  1072.  
  1073. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1074.  
  1075. a, b, c = c, a, b
  1076.  
  1077. else
  1078.  
  1079. assert(false, "unreachable")
  1080.  
  1081. end
  1082.  
  1083.  
  1084.  
  1085. local len1 = (c-a):Dot((b-a).unit)
  1086.  
  1087. local len2 = (b-a).magnitude - len1
  1088.  
  1089. local width = (a + (b-a).unit*len1 - c).magnitude
  1090.  
  1091.  
  1092.  
  1093. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1094.  
  1095.  
  1096.  
  1097. local list = {}
  1098.  
  1099.  
  1100.  
  1101. if len1 > 0.01 then
  1102.  
  1103. local w1 = Instance.new('WedgePart', m)
  1104.  
  1105. game:GetService("Debris"):AddItem(w1,5)
  1106.  
  1107. w1.Material = "SmoothPlastic"
  1108.  
  1109. w1.FormFactor = 'Custom'
  1110.  
  1111. w1.BrickColor = BrickColor.new("Really red")
  1112.  
  1113. w1.Transparency = 0
  1114.  
  1115. w1.Reflectance = 0
  1116.  
  1117. w1.Material = "SmoothPlastic"
  1118.  
  1119. w1.CanCollide = false
  1120.  
  1121. NoOutline(w1)
  1122.  
  1123. local sz = Vector3.new(0.2, width, len1)
  1124.  
  1125. w1.Size = sz
  1126.  
  1127. local sp = Instance.new("SpecialMesh",w1)
  1128.  
  1129. sp.MeshType = "Wedge"
  1130.  
  1131. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1132.  
  1133. w1:BreakJoints()
  1134.  
  1135. w1.Anchored = true
  1136.  
  1137. w1.Parent = workspace
  1138.  
  1139. w1.Transparency = 0.7
  1140.  
  1141. table.insert(Effects,{w1,"Disappear",.01})
  1142.  
  1143. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1144.  
  1145. table.insert(list,w1)
  1146.  
  1147. end
  1148.  
  1149.  
  1150.  
  1151. if len2 > 0.01 then
  1152.  
  1153. local w2 = Instance.new('WedgePart', m)
  1154.  
  1155. game:GetService("Debris"):AddItem(w2,5)
  1156.  
  1157. w2.Material = "SmoothPlastic"
  1158.  
  1159. w2.FormFactor = 'Custom'
  1160.  
  1161. w2.BrickColor = BrickColor.new("Really red")
  1162.  
  1163. w2.Transparency = 0
  1164.  
  1165. w2.Reflectance = 0
  1166.  
  1167. w2.Material = "SmoothPlastic"
  1168.  
  1169. w2.CanCollide = false
  1170.  
  1171. NoOutline(w2)
  1172.  
  1173. local sz = Vector3.new(0.2, width, len2)
  1174.  
  1175. w2.Size = sz
  1176.  
  1177. local sp = Instance.new("SpecialMesh",w2)
  1178.  
  1179. sp.MeshType = "Wedge"
  1180.  
  1181. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1182.  
  1183. w2:BreakJoints()
  1184.  
  1185. w2.Anchored = true
  1186.  
  1187. w2.Parent = workspace
  1188.  
  1189. w2.Transparency = 0.7
  1190.  
  1191. table.insert(Effects,{w2,"Disappear",.01})
  1192.  
  1193. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1194.  
  1195. table.insert(list,w2)
  1196.  
  1197. end
  1198.  
  1199. return unpack(list)
  1200.  
  1201. end
  1202.  
  1203.  
  1204.  
  1205. function NoOutline(Part)
  1206.  
  1207. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1208.  
  1209. end
  1210.  
  1211.  
  1212.  
  1213. local Handle = Instance.new("Part", m)
  1214.  
  1215. Handle:BreakJoints()
  1216.  
  1217. Handle.TopSurface = "Smooth"
  1218.  
  1219. Handle.Material = "SmoothPlastic"
  1220.  
  1221. Handle.Name = 'Handle'
  1222.  
  1223. Handle.Transparency = '0'
  1224.  
  1225. Handle.BottomSurface = "Smooth"
  1226.  
  1227. Handle.FormFactor = "Custom" Handle.CanCollide = false
  1228.  
  1229. Handle.BrickColor = BrickColor.new("Really black")
  1230.  
  1231. Handle.Size = Vector3.new(0.347999871, 0.696000099, 0.232000008)
  1232.  
  1233. local Handleweld = Instance.new("ManualWeld")
  1234.  
  1235. Handleweld.Part0 = Character["Right Arm"]
  1236.  
  1237. Handleweld.Part1 = Handle Handleweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1238.  
  1239. Handleweld.C1 = CFrame.new(0.987845421, -0.306541443, -0.0906600952, -1.08667452e-020, 0.999992371, -2.05761918e-011, 1.13746401e-010, -2.04624998e-011, -1, -0.99999249, -9.1779009e-021, -1.14058374e-010)
  1240.  
  1241. Handleweld.Parent = Character["Right Arm"]
  1242.  
  1243.  
  1244.  
  1245. local HandleMesh = Instance.new("CylinderMesh",Handle)
  1246.  
  1247. HandleMesh.Name = "Mesh"
  1248.  
  1249. HandleMesh.Offset = Vector3.new(0, 0, 0)
  1250.  
  1251. HandleMesh.Scale = Vector3.new(1, 1, 1)
  1252.  
  1253.  
  1254.  
  1255. local EnergyBlade = Instance.new("Part", m)
  1256.  
  1257. EnergyBlade:BreakJoints()
  1258.  
  1259. EnergyBlade.TopSurface = "Smooth"
  1260.  
  1261. EnergyBlade.Material = "SmoothPlastic"
  1262.  
  1263. EnergyBlade.Transparency = '0.30000001192093'
  1264.  
  1265. EnergyBlade.Name = 'EnergyBlade'
  1266.  
  1267. EnergyBlade.BottomSurface = "Smooth"
  1268.  
  1269. EnergyBlade.FormFactor = "Custom" EnergyBlade.CanCollide = false
  1270.  
  1271. EnergyBlade.BrickColor = BrickColor.new("Really red")
  1272.  
  1273. EnergyBlade.Size = Vector3.new(0.347999871, 2.204, 0.200000003)
  1274.  
  1275. local EnergyBladeweld = Instance.new("ManualWeld")
  1276.  
  1277. EnergyBladeweld.Part0 = Handle EnergyBladeweld.Part1 = EnergyBlade EnergyBladeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1278.  
  1279. EnergyBladeweld.C1 = CFrame.new(-0.115883589, -2.02999496, -0.0057220459, 0.999984741, -2.81582917e-012, -7.16509824e-021, 3.0434856e-012, 1, -1.32355987e-010, 1.59434039e-020, 1.32983319e-010, 0.99998498)
  1280.  
  1281. EnergyBladeweld.Parent = EnergyBlade
  1282.  
  1283. local EnergyBladeMesh = Instance.new("BlockMesh",EnergyBlade)
  1284.  
  1285. EnergyBladeMesh.Name = "Mesh"
  1286.  
  1287. EnergyBladeMesh.Offset = Vector3.new(0, 0, 0)
  1288.  
  1289. EnergyBladeMesh.Scale = Vector3.new(1, 1, 0.579999983)
  1290.  
  1291.  
  1292.  
  1293. local EnergyBlade = Instance.new("Part", m)
  1294.  
  1295. EnergyBlade:BreakJoints()
  1296.  
  1297. EnergyBlade.TopSurface = "Smooth"
  1298.  
  1299. EnergyBlade.Material = "SmoothPlastic"
  1300.  
  1301. EnergyBlade.Transparency = '0.5'
  1302.  
  1303. EnergyBlade.Name = 'EnergyBlade'
  1304.  
  1305. EnergyBlade.BottomSurface = "Smooth"
  1306.  
  1307. EnergyBlade.FormFactor = "Custom" EnergyBlade.CanCollide = false
  1308.  
  1309. EnergyBlade.BrickColor = BrickColor.new("Really red")
  1310.  
  1311. EnergyBlade.Size = Vector3.new(0.463999867, 0.232000053, 0.200000003)
  1312.  
  1313. local EnergyBladeweld = Instance.new("ManualWeld")
  1314.  
  1315. EnergyBladeweld.Part0 = Handle EnergyBladeweld.Part1 = EnergyBlade EnergyBladeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1316.  
  1317. EnergyBladeweld.C1 = CFrame.new(-0.637008905, -2.55199051, -0.00542831421, 0.999984741, -3.22502476e-011, 1.42107378e-014, 3.24776907e-011, 1, 4.27509764e-011, -7.10536002e-015, -4.21135973e-011, 0.99998498)
  1318.  
  1319. EnergyBladeweld.Parent = EnergyBlade
  1320.  
  1321. local EnergyBladeMesh = Instance.new("BlockMesh",EnergyBlade)
  1322.  
  1323. EnergyBladeMesh.Name = "Mesh"
  1324.  
  1325. EnergyBladeMesh.Offset = Vector3.new(0, 0, 0)
  1326.  
  1327. EnergyBladeMesh.Scale = Vector3.new(1, 1, 0.579999983)
  1328.  
  1329.  
  1330.  
  1331. local EnergyBlade = Instance.new("Part", m)
  1332.  
  1333. EnergyBlade:BreakJoints()
  1334.  
  1335. EnergyBlade.TopSurface = "Smooth"
  1336.  
  1337. EnergyBlade.Material = "SmoothPlastic"
  1338.  
  1339. EnergyBlade.Transparency = '0.5'
  1340.  
  1341. EnergyBlade.Name = 'EnergyBlade'
  1342.  
  1343. EnergyBlade.BottomSurface = "Smooth"
  1344.  
  1345. EnergyBlade.FormFactor = "Custom" EnergyBlade.CanCollide = false
  1346.  
  1347. EnergyBlade.BrickColor = BrickColor.new("Really red")
  1348.  
  1349. EnergyBlade.Size = Vector3.new(0.347999871, 2.204, 0.200000003)
  1350.  
  1351. local EnergyBladeweld = Instance.new("ManualWeld")
  1352.  
  1353. EnergyBladeweld.Part0 = Handle EnergyBladeweld.Part1 = EnergyBlade EnergyBladeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1354.  
  1355. EnergyBladeweld.C1 = CFrame.new(0.232154608, -2.02999496, -0.00569915771, 0.999984741, -3.41856231e-012, -7.23384551e-021, 3.6462118e-012, 1, -8.98658647e-011, 1.50691127e-020, 9.04928563e-011, 0.99998498)
  1356.  
  1357. EnergyBladeweld.Parent = EnergyBlade
  1358.  
  1359. local EnergyBladeMesh = Instance.new("BlockMesh",EnergyBlade)
  1360.  
  1361. EnergyBladeMesh.Name = "Mesh"
  1362.  
  1363. EnergyBladeMesh.Offset = Vector3.new(0, 0, 0)
  1364.  
  1365. EnergyBladeMesh.Scale = Vector3.new(1, 1, 0.579999983)
  1366.  
  1367.  
  1368.  
  1369. local EnergyBlade = Instance.new("Part", m)
  1370.  
  1371. EnergyBlade:BreakJoints()
  1372.  
  1373. EnergyBlade.TopSurface = "Smooth"
  1374.  
  1375. EnergyBlade.Material = "SmoothPlastic"
  1376.  
  1377. EnergyBlade.Transparency = '0.5'
  1378.  
  1379. EnergyBlade.Name = 'EnergyBlade'
  1380.  
  1381. EnergyBlade.BottomSurface = "Smooth"
  1382.  
  1383. EnergyBlade.FormFactor = "Custom" EnergyBlade.CanCollide = false
  1384.  
  1385. EnergyBlade.BrickColor = BrickColor.new("Really red")
  1386.  
  1387. EnergyBlade.Size = Vector3.new(0.231999859, 0.232000053, 0.200000003)
  1388.  
  1389. local EnergyBladeweld = Instance.new("ManualWeld")
  1390.  
  1391. EnergyBladeweld.Part0 = Handle EnergyBladeweld.Part1 = EnergyBlade EnergyBladeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1392.  
  1393. EnergyBladeweld.C1 = CFrame.new(-0.405785561, -3.01598358, -0.00569915771, 0.999984741, -6.75242154e-012, 4.26322389e-014, 6.98006149e-012, 1, -1.3368967e-010, -3.55268454e-014, 1.34328382e-010, 0.99998498)
  1394.  
  1395. EnergyBladeweld.Parent = EnergyBlade
  1396.  
  1397. local EnergyBladeMesh = Instance.new("BlockMesh",EnergyBlade)
  1398.  
  1399. EnergyBladeMesh.Name = "Mesh"
  1400.  
  1401. EnergyBladeMesh.Offset = Vector3.new(0, 0, 0)
  1402.  
  1403. EnergyBladeMesh.Scale = Vector3.new(1, 1, 0.579999983)
  1404.  
  1405.  
  1406.  
  1407. local EnergyBlade = Instance.new("Part", m)
  1408.  
  1409. EnergyBlade:BreakJoints()
  1410.  
  1411. EnergyBlade.TopSurface = "Smooth"
  1412.  
  1413. EnergyBlade.Material = "SmoothPlastic"
  1414.  
  1415. EnergyBlade.Transparency = '0.5'
  1416.  
  1417. EnergyBlade.Name = 'EnergyBlade'
  1418.  
  1419. EnergyBlade.BottomSurface = "Smooth"
  1420.  
  1421. EnergyBlade.FormFactor = "Custom" EnergyBlade.CanCollide = false
  1422.  
  1423. EnergyBlade.BrickColor = BrickColor.new("Really red")
  1424.  
  1425. EnergyBlade.Size = Vector3.new(0.231999859, 0.232000053, 0.200000003)
  1426.  
  1427. local EnergyBladeweld = Instance.new("ManualWeld")
  1428.  
  1429. EnergyBladeweld.Part0 = Handle EnergyBladeweld.Part1 = EnergyBlade EnergyBladeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1430.  
  1431. EnergyBladeweld.C1 = CFrame.new(-0.405785561, -2.08798981, -0.00569915771, 0.999984741, -5.92108654e-012, 4.26322389e-014, 6.14873343e-012, 1, -1.31955946e-010, -3.55268488e-014, 1.32594657e-010, 0.99998498)
  1432.  
  1433. EnergyBladeweld.Parent = EnergyBlade
  1434.  
  1435. local EnergyBladeMesh = Instance.new("BlockMesh",EnergyBlade)
  1436.  
  1437. EnergyBladeMesh.Name = "Mesh"
  1438.  
  1439. EnergyBladeMesh.Offset = Vector3.new(0, 0, 0)
  1440.  
  1441. EnergyBladeMesh.Scale = Vector3.new(1, 1, 0.579999983)
  1442.  
  1443.  
  1444.  
  1445. local EnergyBlade = Instance.new("Part", m)
  1446.  
  1447. EnergyBlade:BreakJoints()
  1448.  
  1449. EnergyBlade.TopSurface = "Smooth"
  1450.  
  1451. EnergyBlade.Material = "SmoothPlastic"
  1452.  
  1453. EnergyBlade.Transparency = '0.5'
  1454.  
  1455. EnergyBlade.Name = 'EnergyBlade'
  1456.  
  1457. EnergyBlade.BottomSurface = "Smooth"
  1458.  
  1459. EnergyBlade.FormFactor = "Custom" EnergyBlade.CanCollide = false
  1460.  
  1461. EnergyBlade.BrickColor = BrickColor.new("Really red")
  1462.  
  1463. EnergyBlade.Size = Vector3.new(0.463999867, 0.580000103, 0.200000003)
  1464.  
  1465. local EnergyBladeweld = Instance.new("ManualWeld")
  1466.  
  1467. EnergyBladeweld.Part0 = Handle EnergyBladeweld.Part1 = EnergyBlade EnergyBladeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1468.  
  1469. EnergyBladeweld.C1 = CFrame.new(-0.0576572418, -3.42163086, -0.00572967529, 0.999984741, -3.41856231e-012, -7.23384551e-021, 3.6462118e-012, 1, -8.98658647e-011, 1.50691127e-020, 9.04928563e-011, 0.99998498)
  1470.  
  1471. EnergyBladeweld.Parent = EnergyBlade
  1472.  
  1473. local EnergyBladeMesh = Instance.new("BlockMesh",EnergyBlade)
  1474.  
  1475. EnergyBladeMesh.Name = "Mesh"
  1476.  
  1477. EnergyBladeMesh.Offset = Vector3.new(0, 0, 0)
  1478.  
  1479. EnergyBladeMesh.Scale = Vector3.new(1, 1, 0.579999983)
  1480.  
  1481.  
  1482.  
  1483. local Hitbox = Instance.new("Part", m)
  1484.  
  1485. Hitbox:BreakJoints()
  1486.  
  1487. Hitbox.TopSurface = "Smooth"
  1488.  
  1489. Hitbox.Material = "SmoothPlastic"
  1490.  
  1491. Hitbox.Transparency = '1'
  1492.  
  1493. Hitbox.Name = 'Hitbox'
  1494.  
  1495. Hitbox.BottomSurface = "Smooth"
  1496.  
  1497. Hitbox.FormFactor = "Custom" Hitbox.CanCollide = false
  1498.  
  1499. Hitbox.BrickColor = BrickColor.new("Really red")
  1500.  
  1501. Hitbox.Size = Vector3.new(1.39199984, 2.78399992, 0.200000003)
  1502.  
  1503. local Hitboxweld = Instance.new("ManualWeld")
  1504.  
  1505. Hitboxweld.Part0 = Handle Hitboxweld.Part1 = Hitbox Hitboxweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1506.  
  1507. Hitboxweld.C1 = CFrame.new(-0.173881292, -2.78398895, -0.0057220459, 0.999984741, -2.81582917e-012, -7.16509824e-021, 3.0434856e-012, 1, -1.32355987e-010, 1.59434039e-020, 1.32983319e-010, 0.99998498)
  1508.  
  1509. Hitboxweld.Parent = Hitbox
  1510.  
  1511. local HitboxMesh = Instance.new("BlockMesh",Hitbox)
  1512.  
  1513. HitboxMesh.Name = "Mesh"
  1514.  
  1515. HitboxMesh.Offset = Vector3.new(0, 0, 0)
  1516.  
  1517. HitboxMesh.Scale = Vector3.new(1, 1, 0.579999983)
  1518.  
  1519.  
  1520.  
  1521. local Part = Instance.new("Part", m)
  1522.  
  1523. Part:BreakJoints()
  1524.  
  1525. Part.TopSurface = "Smooth"
  1526.  
  1527. Part.Material = "SmoothPlastic"
  1528.  
  1529. Part.Transparency = '0.5'
  1530.  
  1531. Part.Name = 'Part'
  1532.  
  1533. Part.BottomSurface = "Smooth"
  1534.  
  1535. Part.FormFactor = "Custom" Part.CanCollide = false
  1536.  
  1537. Part.BrickColor = BrickColor.new("Really red")
  1538.  
  1539. Part.Size = Vector3.new(0.347999871, 0.232000083, 0.463999987)
  1540.  
  1541. local Partweld = Instance.new("ManualWeld")
  1542.  
  1543. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1544.  
  1545. Partweld.C1 = CFrame.new(0.000555276871, 1.27599716, 0.000175476074, 0.999984741, -9.42173162e-012, 6.34746155e-020, 9.64937852e-012, 1, 7.94176322e-011, -5.70437063e-020, -7.87930068e-011, 0.99998498)
  1546.  
  1547. Partweld.Parent = Part
  1548.  
  1549. local PartMesh = Instance.new("CylinderMesh",Part)
  1550.  
  1551. PartMesh.Name = "Mesh"
  1552.  
  1553. PartMesh.Offset = Vector3.new(0, 0, 0)
  1554.  
  1555. PartMesh.Scale = Vector3.new(1, 1, 1)
  1556.  
  1557.  
  1558.  
  1559. local Part = Instance.new("Part", m)
  1560.  
  1561. Part:BreakJoints()
  1562.  
  1563. Part.TopSurface = "Smooth"
  1564.  
  1565. Part.Material = "SmoothPlastic"
  1566.  
  1567. Part.Transparency = '0'
  1568.  
  1569. Part.Name = 'Part'
  1570.  
  1571. Part.BottomSurface = "Smooth"
  1572.  
  1573. Part.FormFactor = "Custom" Part.CanCollide = false
  1574.  
  1575. Part.BrickColor = BrickColor.new("Really red")
  1576.  
  1577. Part.Size = Vector3.new(0.347999871, 0.348000079, 0.232000008)
  1578.  
  1579. local Partweld = Instance.new("ManualWeld")
  1580.  
  1581. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1582.  
  1583. Partweld.C1 = CFrame.new(0.000479221344, 0.521999359, 0.000118255615, 0.999984741, 1.34131739e-007, -2.7346955e-018, -1.34129465e-007, 1, 7.85025447e-011, 1.32724314e-017, -7.78780651e-011, 0.99998498)
  1584.  
  1585. Partweld.Parent = Part
  1586.  
  1587. local PartMesh = Instance.new("CylinderMesh",Part)
  1588.  
  1589. PartMesh.Name = "Mesh"
  1590.  
  1591. PartMesh.Offset = Vector3.new(0, 0, 0)
  1592.  
  1593. PartMesh.Scale = Vector3.new(1, 1, 1)
  1594.  
  1595.  
  1596.  
  1597. local Part = Instance.new("Part", m)
  1598.  
  1599. Part:BreakJoints()
  1600.  
  1601. Part.TopSurface = "Smooth"
  1602.  
  1603. Part.Material = "SmoothPlastic"
  1604.  
  1605. Part.Transparency = '0'
  1606.  
  1607. Part.Name = 'Part'
  1608.  
  1609. Part.BottomSurface = "Smooth"
  1610.  
  1611. Part.FormFactor = "Custom" Part.CanCollide = false
  1612.  
  1613. Part.BrickColor = BrickColor.new("Really black")
  1614.  
  1615. Part.Size = Vector3.new(0.200000003, 0.580000043, 0.232000008)
  1616.  
  1617. local Partweld = Instance.new("ManualWeld")
  1618.  
  1619. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1620.  
  1621. Partweld.C1 = CFrame.new(0.465114594, 0.048664093, -0.00578308105, 0.583923936, 0.811801791, 5.05349096e-011, -0.811789036, 0.583932638, 6.63551367e-011, 2.43582585e-011, -7.91467031e-011, 0.99998498)
  1622.  
  1623. Partweld.Parent = Part
  1624.  
  1625. local PartMesh = Instance.new("CylinderMesh",Part)
  1626.  
  1627. PartMesh.Name = "Mesh"
  1628.  
  1629. PartMesh.Offset = Vector3.new(0, 0, 0)
  1630.  
  1631. PartMesh.Scale = Vector3.new(0.579999983, 1, 1)
  1632.  
  1633.  
  1634.  
  1635. local Part = Instance.new("Part", m)
  1636.  
  1637. Part:BreakJoints()
  1638.  
  1639. Part.TopSurface = "Smooth"
  1640.  
  1641. Part.Material = "SmoothPlastic"
  1642.  
  1643. Part.Transparency = '0'
  1644.  
  1645. Part.Name = 'Part'
  1646.  
  1647. Part.BottomSurface = "Smooth"
  1648.  
  1649. Part.FormFactor = "Custom" Part.CanCollide = false
  1650.  
  1651. Part.BrickColor = BrickColor.new("Really black")
  1652.  
  1653. Part.Size = Vector3.new(0.347999871, 0.348000079, 0.232000008)
  1654.  
  1655. local Partweld = Instance.new("ManualWeld")
  1656.  
  1657. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1658.  
  1659. Partweld.C1 = CFrame.new(0.000507593155, 0.869998932, 0.00012588501, 0.999984503, 1.34133558e-007, -2.68759253e-018, -1.34131255e-007, 1, 8.30204516e-011, 1.38314673e-017, -8.23960414e-011, 0.99998498)
  1660.  
  1661. Partweld.Parent = Part
  1662.  
  1663. local PartMesh = Instance.new("CylinderMesh",Part)
  1664.  
  1665. PartMesh.Name = "Mesh"
  1666.  
  1667. PartMesh.Offset = Vector3.new(0, 0, 0)
  1668.  
  1669. PartMesh.Scale = Vector3.new(1, 1, 1)
  1670.  
  1671.  
  1672.  
  1673. local Part = Instance.new("Part", m)
  1674.  
  1675. Part:BreakJoints()
  1676.  
  1677. Part.TopSurface = "Smooth"
  1678.  
  1679. Part.Material = "SmoothPlastic"
  1680.  
  1681. Part.Transparency = '0'
  1682.  
  1683. Part.Name = 'Part'
  1684.  
  1685. Part.BottomSurface = "Smooth"
  1686.  
  1687. Part.FormFactor = "Custom" Part.CanCollide = false
  1688.  
  1689. Part.BrickColor = BrickColor.new("Really red")
  1690.  
  1691. Part.Size = Vector3.new(0.347999871, 0.348000079, 0.232000008)
  1692.  
  1693. local Partweld = Instance.new("ManualWeld")
  1694.  
  1695. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1696.  
  1697. Partweld.C1 = CFrame.new(-4.72068787e-005, -0.521999359, -1.52587891e-005, 0.999984741, 1.02261602e-012, -5.88345014e-021, -7.94905808e-013, 1, -1.77614451e-011, 1.39408044e-020, 1.8387368e-011, 0.99998498)
  1698.  
  1699. Partweld.Parent = Part
  1700.  
  1701. local PartMesh = Instance.new("CylinderMesh",Part)
  1702.  
  1703. PartMesh.Name = "Mesh"
  1704.  
  1705. PartMesh.Offset = Vector3.new(0, 0, 0)
  1706.  
  1707. PartMesh.Scale = Vector3.new(1, 1, 1)
  1708.  
  1709.  
  1710.  
  1711. local Part = Instance.new("Part", m)
  1712.  
  1713. Part:BreakJoints()
  1714.  
  1715. Part.TopSurface = "Smooth"
  1716.  
  1717. Part.Material = "SmoothPlastic"
  1718.  
  1719. Part.Transparency = '0'
  1720.  
  1721. Part.Name = 'Part'
  1722.  
  1723. Part.BottomSurface = "Smooth"
  1724.  
  1725. Part.FormFactor = "Custom" Part.CanCollide = false
  1726.  
  1727. Part.BrickColor = BrickColor.new("Really black")
  1728.  
  1729. Part.Size = Vector3.new(0.200000003, 0.811999977, 0.34799999)
  1730.  
  1731. local Partweld = Instance.new("ManualWeld")
  1732.  
  1733. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1734.  
  1735. Partweld.C1 = CFrame.new(0.464137435, -1.33398819, -0.00573730469, 0.999984741, 4.12598775e-012, -6.37332645e-021, -3.89826366e-012, 1, -1.18157345e-010, 7.10538797e-015, 1.18781679e-010, 0.99998498)
  1736.  
  1737. Partweld.Parent = Part
  1738.  
  1739. local PartMesh = Instance.new("BlockMesh",Part)
  1740.  
  1741. PartMesh.Name = "Mesh"
  1742.  
  1743. PartMesh.Offset = Vector3.new(0, 0, 0)
  1744.  
  1745. PartMesh.Scale = Vector3.new(0.579999983, 1, 1)
  1746.  
  1747.  
  1748.  
  1749. local Part = Instance.new("Part", m)
  1750.  
  1751. Part:BreakJoints()
  1752.  
  1753. Part.TopSurface = "Smooth"
  1754.  
  1755. Part.Material = "SmoothPlastic"
  1756.  
  1757. Part.Transparency = '0'
  1758.  
  1759. Part.Name = 'Part'
  1760.  
  1761. Part.BottomSurface = "Smooth"
  1762.  
  1763. Part.FormFactor = "Custom" Part.CanCollide = false
  1764.  
  1765. Part.BrickColor = BrickColor.new("Really black")
  1766.  
  1767. Part.Size = Vector3.new(0.34799999, 0.34799999, 0.34799999)
  1768.  
  1769. local Partweld = Instance.new("ManualWeld")
  1770.  
  1771. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1772.  
  1773. Partweld.C1 = CFrame.new(0.000649213791, 1.37459946, 0.000183105469, 0.999984741, -5.89520099e-012, -2.52691724e-018, 6.1229008e-012, 1, 8.39504716e-011, 2.53063356e-018, -8.33259087e-011, 0.99998498)
  1774.  
  1775. Partweld.Parent = Part
  1776.  
  1777. local PartMesh = Instance.new("SpecialMesh",Part)
  1778.  
  1779. PartMesh.MeshId = ""
  1780.  
  1781. PartMesh.MeshType = Enum.MeshType.Sphere PartMesh.Name = "Mesh"
  1782.  
  1783. PartMesh.Offset = Vector3.new(0, 0, 0)
  1784.  
  1785. PartMesh.Scale = Vector3.new(1, 1, 1)
  1786.  
  1787.  
  1788.  
  1789. local Part = Instance.new("Part", m)
  1790.  
  1791. Part:BreakJoints()
  1792.  
  1793. Part.TopSurface = "Smooth"
  1794.  
  1795. Part.Material = "SmoothPlastic"
  1796.  
  1797. Part.Transparency = '0'
  1798.  
  1799. Part.Name = 'Part'
  1800.  
  1801. Part.BottomSurface = "Smooth"
  1802.  
  1803. Part.FormFactor = "Custom" Part.CanCollide = false
  1804.  
  1805. Part.BrickColor = BrickColor.new("Really black")
  1806.  
  1807. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1808.  
  1809. local Partweld = Instance.new("ManualWeld")
  1810.  
  1811. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1812.  
  1813. Partweld.C1 = CFrame.new(0.464072108, 0.243598938, -0.00573730469, 0.999984741, -1.23941309e-011, -1.74296799e-018, 1.26217274e-011, 1, 9.18617266e-011, 1.74603993e-018, -9.12373926e-011, 0.99998498)
  1814.  
  1815. Partweld.Parent = Part
  1816.  
  1817. local PartMesh = Instance.new("SpecialMesh",Part)
  1818.  
  1819. PartMesh.MeshId = ""
  1820.  
  1821. PartMesh.MeshType = Enum.MeshType.Sphere PartMesh.Name = "Mesh"
  1822.  
  1823. PartMesh.Offset = Vector3.new(0, 0, 0)
  1824.  
  1825. PartMesh.Scale = Vector3.new(0.579999983, 0.579999983, 0.579999983)
  1826.  
  1827.  
  1828.  
  1829. local Part = Instance.new("Part", m)
  1830.  
  1831. Part:BreakJoints()
  1832.  
  1833. Part.TopSurface = "Smooth"
  1834.  
  1835. Part.Material = "SmoothPlastic"
  1836.  
  1837. Part.Transparency = '0'
  1838.  
  1839. Part.Name = 'Part'
  1840.  
  1841. Part.BottomSurface = "Smooth"
  1842.  
  1843. Part.FormFactor = "Custom" Part.CanCollide = false
  1844.  
  1845. Part.BrickColor = BrickColor.new("Really black")
  1846.  
  1847. Part.Size = Vector3.new(1.04399991, 0.200000003, 0.34799999)
  1848.  
  1849. local Partweld = Instance.new("ManualWeld")
  1850.  
  1851. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1852.  
  1853. Partweld.C1 = CFrame.new(7.74860382e-005, -0.869998932, -0.00573348999, 0.999984503, -1.97238059e-015, -2.50205131e-021, 2.29675653e-013, 1, -8.74495337e-011, 1.05936116e-020, 8.80765114e-011, 0.99998498)
  1854.  
  1855. Partweld.Parent = Part
  1856.  
  1857. local PartMesh = Instance.new("BlockMesh",Part)
  1858.  
  1859. PartMesh.Name = "Mesh"
  1860.  
  1861. PartMesh.Offset = Vector3.new(0, 0, 0)
  1862.  
  1863. PartMesh.Scale = Vector3.new(1, 0.580000103, 1)
  1864.  
  1865.  
  1866.  
  1867. local Part = Instance.new("Part", m)
  1868.  
  1869. Part:BreakJoints()
  1870.  
  1871. Part.TopSurface = "Smooth"
  1872.  
  1873. Part.Material = "SmoothPlastic"
  1874.  
  1875. Part.Transparency = '0'
  1876.  
  1877. Part.Name = 'Part'
  1878.  
  1879. Part.BottomSurface = "Smooth"
  1880.  
  1881. Part.FormFactor = "Custom" Part.CanCollide = false
  1882.  
  1883. Part.BrickColor = BrickColor.new("Really red")
  1884.  
  1885. Part.Size = Vector3.new(0.232000008, 0.232000083, 0.232000008)
  1886.  
  1887. local Partweld = Instance.new("ManualWeld")
  1888.  
  1889. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1890.  
  1891. Partweld.C1 = CFrame.new(-0.00512361526, 1.27599716, 0.000205993652, 0.999984741, -1.28453255e-011, -2.6103748e-018, 1.30729186e-011, 1, 9.06156192e-011, 2.61342048e-018, -8.99911604e-011, 0.99998498)
  1892.  
  1893. Partweld.Parent = Part
  1894.  
  1895. local PartMesh = Instance.new("SpecialMesh",Part)
  1896.  
  1897. PartMesh.MeshId = ""
  1898.  
  1899. PartMesh.MeshType = Enum.MeshType.Sphere PartMesh.Name = "Mesh"
  1900.  
  1901. PartMesh.Offset = Vector3.new(0, 0, 0)
  1902.  
  1903. PartMesh.Scale = Vector3.new(1, 1, 1)
  1904.  
  1905.  
  1906.  
  1907. local Part = Instance.new("Part", m)
  1908.  
  1909. Part:BreakJoints()
  1910.  
  1911. Part.TopSurface = "Smooth"
  1912.  
  1913. Part.Material = "SmoothPlastic"
  1914.  
  1915. Part.Transparency = '0'
  1916.  
  1917. Part.Name = 'Part'
  1918.  
  1919. Part.BottomSurface = "Smooth"
  1920.  
  1921. Part.FormFactor = "Custom" Part.CanCollide = false
  1922.  
  1923. Part.BrickColor = BrickColor.new("Really black")
  1924.  
  1925. Part.Size = Vector3.new(0.200000003, 1.04400003, 0.34799999)
  1926.  
  1927. local Partweld = Instance.new("ManualWeld")
  1928.  
  1929. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1930.  
  1931. Partweld.C1 = CFrame.new(0.463974833, -0.290000916, -0.00576782227, 0.999984503, 2.97894065e-008, -2.86348202e-011, -2.97887173e-008, 1, 1.01521291e-010, 2.86348098e-011, -1.00897159e-010, 0.99998498)
  1932.  
  1933. Partweld.Parent = Part
  1934.  
  1935. local PartMesh = Instance.new("CylinderMesh",Part)
  1936.  
  1937. PartMesh.Name = "Mesh"
  1938.  
  1939. PartMesh.Offset = Vector3.new(0, 0, 0)
  1940.  
  1941. PartMesh.Scale = Vector3.new(0.579999983, 1, 1)
  1942.  
  1943.  
  1944.  
  1945. local Part = Instance.new("Part", m)
  1946.  
  1947. Part:BreakJoints()
  1948.  
  1949. Part.TopSurface = "Smooth"
  1950.  
  1951. Part.Material = "SmoothPlastic"
  1952.  
  1953. Part.Transparency = '0'
  1954.  
  1955. Part.Name = 'Part'
  1956.  
  1957. Part.BottomSurface = "Smooth"
  1958.  
  1959. Part.FormFactor = "Custom" Part.CanCollide = false
  1960.  
  1961. Part.BrickColor = BrickColor.new("Really black")
  1962.  
  1963. Part.Size = Vector3.new(0.347999871, 0.200000003, 0.34799999)
  1964.  
  1965. local Partweld = Instance.new("ManualWeld")
  1966.  
  1967. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1968.  
  1969. Partweld.C1 = CFrame.new(-0.000164270401, -0.753997803, -3.81469727e-005, 0.999984503, 3.06888716e-012, -1.38834606e-017, -2.8411544e-012, 1, -1.97783734e-011, 1.38918019e-017, 2.04043379e-011, 0.99998498)
  1970.  
  1971. Partweld.Parent = Part
  1972.  
  1973. local PartMesh = Instance.new("CylinderMesh",Part)
  1974.  
  1975. PartMesh.Name = "Mesh"
  1976.  
  1977. PartMesh.Offset = Vector3.new(0, 0, 0)
  1978.  
  1979. PartMesh.Scale = Vector3.new(1, 0.579999983, 1)
  1980.  
  1981.  
  1982.  
  1983. local Part = Instance.new("Part", m)
  1984.  
  1985. Part:BreakJoints()
  1986.  
  1987. Part.TopSurface = "Smooth"
  1988.  
  1989. Part.Material = "SmoothPlastic"
  1990.  
  1991. Part.Transparency = '0'
  1992.  
  1993. Part.Name = 'Part'
  1994.  
  1995. Part.BottomSurface = "Smooth"
  1996.  
  1997. Part.FormFactor = "Custom" Part.CanCollide = false
  1998.  
  1999. Part.BrickColor = BrickColor.new("Really black")
  2000.  
  2001. Part.Size = Vector3.new(0.811999977, 0.463999987, 0.34799999)
  2002.  
  2003. local Partweld = Instance.new("ManualWeld")
  2004.  
  2005. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2006.  
  2007. Partweld.C1 = CFrame.new(0.116131306, -1.15999222, -0.00574874878, 0.999984741, 3.94835206e-012, -6.39358713e-021, -3.72062797e-012, 1, -1.16199814e-010, 7.10538797e-015, 1.16820581e-010, 0.99998498)
  2008.  
  2009. Partweld.Parent = Part
  2010.  
  2011. local Part = Instance.new("Part", m)
  2012.  
  2013. Part:BreakJoints()
  2014.  
  2015. Part.TopSurface = "Smooth"
  2016.  
  2017. Part.Material = "SmoothPlastic"
  2018.  
  2019. Part.Transparency = '0'
  2020.  
  2021. Part.Name = 'Part'
  2022.  
  2023. Part.BottomSurface = "Smooth"
  2024.  
  2025. Part.FormFactor = "Custom" Part.CanCollide = false
  2026.  
  2027. Part.BrickColor = BrickColor.new("Really black")
  2028.  
  2029. Part.Size = Vector3.new(0.34799999, 0.34799999, 0.34799999)
  2030.  
  2031. local Partweld = Instance.new("ManualWeld")
  2032.  
  2033. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2034.  
  2035. Partweld.C1 = CFrame.new(0.000649213791, 1.14260101, 0.000183105469, 0.999984741, -5.89520099e-012, -2.52691724e-018, 6.1229008e-012, 1, 8.39504716e-011, 2.53063356e-018, -8.33259087e-011, 0.99998498)
  2036.  
  2037. Partweld.Parent = Part
  2038.  
  2039. local PartMesh = Instance.new("SpecialMesh",Part)
  2040.  
  2041. PartMesh.MeshId = ""
  2042.  
  2043. PartMesh.MeshType = Enum.MeshType.Sphere PartMesh.Name = "Mesh"
  2044.  
  2045. PartMesh.Offset = Vector3.new(0, 0, 0)
  2046.  
  2047. PartMesh.Scale = Vector3.new(1, 1, 1)
  2048.  
  2049.  
  2050.  
  2051. local EnergyBlade = Instance.new("WedgePart", m)
  2052.  
  2053. EnergyBlade:BreakJoints()
  2054.  
  2055. EnergyBlade.TopSurface = "Smooth"
  2056.  
  2057. EnergyBlade.Material = "SmoothPlastic"
  2058.  
  2059. EnergyBlade.Transparency = '0.5'
  2060.  
  2061. EnergyBlade.Name = 'EnergyBlade'
  2062.  
  2063. EnergyBlade.BottomSurface = "Smooth"
  2064.  
  2065. EnergyBlade.FormFactor = "Custom" EnergyBlade.CanCollide = false
  2066.  
  2067. EnergyBlade.BrickColor = BrickColor.new("Really red")
  2068.  
  2069. EnergyBlade.Size = Vector3.new(0.200000003, 0.232000098, 0.232000053)
  2070.  
  2071. local EnergyBladeweld = Instance.new("ManualWeld")
  2072.  
  2073. EnergyBladeweld.Part0 = Handle EnergyBladeweld.Part1 = EnergyBlade EnergyBladeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2074.  
  2075. EnergyBladeweld.C1 = CFrame.new(-0.00545501709, -2.78398895, 0.752885342, 1.0430734e-007, 9.23484151e-008, 0.99998498, -4.76255479e-008, 1, -9.2346383e-008, -0.999984741, -4.7626493e-008, 1.04307368e-007)
  2076.  
  2077. EnergyBladeweld.Parent = EnergyBlade
  2078.  
  2079. local EnergyBladeMesh = Instance.new("SpecialMesh",EnergyBlade)
  2080.  
  2081. EnergyBladeMesh.MeshId = ""
  2082.  
  2083. EnergyBladeMesh.MeshType = Enum.MeshType.Wedge EnergyBladeMesh.Name = "Mesh"
  2084.  
  2085. EnergyBladeMesh.Offset = Vector3.new(0, 0, 0)
  2086.  
  2087. EnergyBladeMesh.Scale = Vector3.new(0.579999983, 1, 1)
  2088.  
  2089.  
  2090.  
  2091. local EnergyBlade = Instance.new("WedgePart", m)
  2092.  
  2093. EnergyBlade:BreakJoints()
  2094.  
  2095. EnergyBlade.TopSurface = "Smooth"
  2096.  
  2097. EnergyBlade.Material = "SmoothPlastic"
  2098.  
  2099. EnergyBlade.Transparency = '0.5'
  2100.  
  2101. EnergyBlade.Name = 'EnergyBlade'
  2102.  
  2103. EnergyBlade.BottomSurface = "Smooth"
  2104.  
  2105. EnergyBlade.FormFactor = "Custom" EnergyBlade.CanCollide = false
  2106.  
  2107. EnergyBlade.BrickColor = BrickColor.new("Really red")
  2108.  
  2109. EnergyBlade.Size = Vector3.new(0.200000003, 0.580000043, 0.34800005)
  2110.  
  2111. local EnergyBladeweld = Instance.new("ManualWeld")
  2112.  
  2113. EnergyBladeweld.Part0 = Handle EnergyBladeweld.Part1 = EnergyBlade EnergyBladeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2114.  
  2115. EnergyBladeweld.C1 = CFrame.new(0.00572967529, -3.42163086, 0.348280907, 3.85203647e-010, -3.42899966e-007, -0.99998498, -5.29177049e-012, 1, -3.42894168e-007, 0.999984741, 5.5196854e-012, 3.85203758e-010)
  2116.  
  2117. EnergyBladeweld.Parent = EnergyBlade
  2118.  
  2119. local EnergyBladeMesh = Instance.new("SpecialMesh",EnergyBlade)
  2120.  
  2121. EnergyBladeMesh.MeshId = ""
  2122.  
  2123. EnergyBladeMesh.MeshType = Enum.MeshType.Wedge EnergyBladeMesh.Name = "Mesh"
  2124.  
  2125. EnergyBladeMesh.Offset = Vector3.new(0, 0, 0)
  2126.  
  2127. EnergyBladeMesh.Scale = Vector3.new(0.579999983, 1, 1)
  2128.  
  2129.  
  2130.  
  2131. local EnergyBlade = Instance.new("WedgePart", m)
  2132.  
  2133. EnergyBlade:BreakJoints()
  2134.  
  2135. EnergyBlade.TopSurface = "Smooth"
  2136.  
  2137. EnergyBlade.Material = "SmoothPlastic"
  2138.  
  2139. EnergyBlade.Transparency = '0.5'
  2140.  
  2141. EnergyBlade.Name = 'EnergyBlade'
  2142.  
  2143. EnergyBlade.BottomSurface = "Smooth"
  2144.  
  2145. EnergyBlade.FormFactor = "Custom" EnergyBlade.CanCollide = false
  2146.  
  2147. EnergyBlade.BrickColor = BrickColor.new("Really red")
  2148.  
  2149. EnergyBlade.Size = Vector3.new(0.200000003, 0.464000076, 0.464000016)
  2150.  
  2151. local EnergyBladeweld = Instance.new("ManualWeld")
  2152.  
  2153. EnergyBladeweld.Part0 = Handle EnergyBladeweld.Part1 = EnergyBlade EnergyBladeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2154.  
  2155. EnergyBladeweld.C1 = CFrame.new(0.00566864014, -3.94353485, -0.0578434467, 3.85203536e-010, -3.42944759e-007, -0.99998498, 1.11812989e-012, 1, -3.42938961e-007, 0.999984741, -8.90444023e-013, 3.85210752e-010)
  2156.  
  2157. EnergyBladeweld.Parent = EnergyBlade
  2158.  
  2159. local EnergyBladeMesh = Instance.new("SpecialMesh",EnergyBlade)
  2160.  
  2161. EnergyBladeMesh.MeshId = ""
  2162.  
  2163. EnergyBladeMesh.MeshType = Enum.MeshType.Wedge EnergyBladeMesh.Name = "Mesh"
  2164.  
  2165. EnergyBladeMesh.Offset = Vector3.new(0, 0, 0)
  2166.  
  2167. EnergyBladeMesh.Scale = Vector3.new(0.579999983, 1, 1)
  2168.  
  2169.  
  2170.  
  2171. local EnergyBlade = Instance.new("WedgePart", m)
  2172.  
  2173. EnergyBlade:BreakJoints()
  2174.  
  2175. EnergyBlade.TopSurface = "Smooth"
  2176.  
  2177. EnergyBlade.Material = "SmoothPlastic"
  2178.  
  2179. EnergyBlade.Transparency = '0.5'
  2180.  
  2181. EnergyBlade.Name = 'EnergyBlade'
  2182.  
  2183. EnergyBlade.BottomSurface = "Smooth"
  2184.  
  2185. EnergyBlade.FormFactor = "Custom" EnergyBlade.CanCollide = false
  2186.  
  2187. EnergyBlade.BrickColor = BrickColor.new("Really red")
  2188.  
  2189. EnergyBlade.Size = Vector3.new(0.200000003, 2.204, 0.200000003)
  2190.  
  2191. local EnergyBladeweld = Instance.new("ManualWeld")
  2192.  
  2193. EnergyBladeweld.Part0 = Handle EnergyBladeweld.Part1 = EnergyBlade EnergyBladeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2194.  
  2195. EnergyBladeweld.C1 = CFrame.new(-0.0057144165, 2.02999496, 0.464220524, 1.38043432e-009, 3.13060639e-007, 0.99998498, -3.24347216e-010, -1, 3.13055295e-007, 0.999984741, -3.24124921e-010, -1.38043454e-009)
  2196.  
  2197. EnergyBladeweld.Parent = EnergyBlade
  2198.  
  2199. local EnergyBladeMesh = Instance.new("SpecialMesh",EnergyBlade)
  2200.  
  2201. EnergyBladeMesh.MeshId = ""
  2202.  
  2203. EnergyBladeMesh.MeshType = Enum.MeshType.Wedge EnergyBladeMesh.Name = "Mesh"
  2204.  
  2205. EnergyBladeMesh.Offset = Vector3.new(0, 0, 0)
  2206.  
  2207. EnergyBladeMesh.Scale = Vector3.new(0.579999983, 1, 0.579999983)
  2208.  
  2209.  
  2210.  
  2211. local EnergyBlade = Instance.new("WedgePart", m)
  2212.  
  2213. EnergyBlade:BreakJoints()
  2214.  
  2215. EnergyBlade.TopSurface = "Smooth"
  2216.  
  2217. EnergyBlade.Material = "SmoothPlastic"
  2218.  
  2219. EnergyBlade.Transparency = '0.5'
  2220.  
  2221. EnergyBlade.Name = 'EnergyBlade'
  2222.  
  2223. EnergyBlade.BottomSurface = "Smooth"
  2224.  
  2225. EnergyBlade.FormFactor = "Custom" EnergyBlade.CanCollide = false
  2226.  
  2227. EnergyBlade.BrickColor = BrickColor.new("Really red")
  2228.  
  2229. EnergyBlade.Size = Vector3.new(0.200000003, 0.232000098, 0.232000053)
  2230.  
  2231. local EnergyBladeweld = Instance.new("ManualWeld")
  2232.  
  2233. EnergyBladeweld.Part0 = Handle EnergyBladeweld.Part1 = EnergyBlade EnergyBladeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2234.  
  2235. EnergyBladeweld.C1 = CFrame.new(-0.00545501709, 2.31999969, -0.520918846, 3.8519643e-010, 2.97935088e-007, 0.99998498, -3.43321933e-011, -1, 2.97929887e-007, 0.999984741, -3.41047642e-011, -3.85189436e-010)
  2236.  
  2237. EnergyBladeweld.Parent = EnergyBlade
  2238.  
  2239. local EnergyBladeMesh = Instance.new("SpecialMesh",EnergyBlade)
  2240.  
  2241. EnergyBladeMesh.MeshId = ""
  2242.  
  2243. EnergyBladeMesh.MeshType = Enum.MeshType.Wedge EnergyBladeMesh.Name = "Mesh"
  2244.  
  2245. EnergyBladeMesh.Offset = Vector3.new(0, 0, 0)
  2246.  
  2247. EnergyBladeMesh.Scale = Vector3.new(0.579999983, 1, 1)
  2248.  
  2249.  
  2250.  
  2251. local EnergyBlade = Instance.new("WedgePart", m)
  2252.  
  2253. EnergyBlade:BreakJoints()
  2254.  
  2255. EnergyBlade.TopSurface = "Smooth"
  2256.  
  2257. EnergyBlade.Material = "SmoothPlastic"
  2258.  
  2259. EnergyBlade.Transparency = '0.5'
  2260.  
  2261. EnergyBlade.Name = 'EnergyBlade'
  2262.  
  2263. EnergyBlade.BottomSurface = "Smooth"
  2264.  
  2265. EnergyBlade.FormFactor = "Custom" EnergyBlade.CanCollide = false
  2266.  
  2267. EnergyBlade.BrickColor = BrickColor.new("Really red")
  2268.  
  2269. EnergyBlade.Size = Vector3.new(0.200000003, 0.232000098, 0.232000053)
  2270.  
  2271. local EnergyBladeweld = Instance.new("ManualWeld")
  2272.  
  2273. EnergyBladeweld.Part0 = Handle EnergyBladeweld.Part1 = EnergyBlade EnergyBladeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2274.  
  2275. EnergyBladeweld.C1 = CFrame.new(0.00545501709, 2.31999969, 0.752884865, 1.04307404e-007, -1.48921103e-007, -0.99998498, -4.7686104e-008, -1, 1.48918247e-007, -0.999984741, 4.76865942e-008, -1.04307446e-007)
  2276.  
  2277. EnergyBladeweld.Parent = EnergyBlade
  2278.  
  2279. local EnergyBladeMesh = Instance.new("SpecialMesh",EnergyBlade)
  2280.  
  2281. EnergyBladeMesh.MeshId = ""
  2282.  
  2283. EnergyBladeMesh.MeshType = Enum.MeshType.Wedge EnergyBladeMesh.Name = "Mesh"
  2284.  
  2285. EnergyBladeMesh.Offset = Vector3.new(0, 0, 0)
  2286.  
  2287. EnergyBladeMesh.Scale = Vector3.new(0.579999983, 1, 1)
  2288.  
  2289.  
  2290.  
  2291. local EnergyBlade = Instance.new("WedgePart", m)
  2292.  
  2293. EnergyBlade:BreakJoints()
  2294.  
  2295. EnergyBlade.TopSurface = "Smooth"
  2296.  
  2297. EnergyBlade.Material = "SmoothPlastic"
  2298.  
  2299. EnergyBlade.Transparency = '0.5'
  2300.  
  2301. EnergyBlade.Name = 'EnergyBlade'
  2302.  
  2303. EnergyBlade.BottomSurface = "Smooth"
  2304.  
  2305. EnergyBlade.FormFactor = "Custom" EnergyBlade.CanCollide = false
  2306.  
  2307. EnergyBlade.BrickColor = BrickColor.new("Really red")
  2308.  
  2309. EnergyBlade.Size = Vector3.new(0.200000003, 0.232000098, 0.232000053)
  2310.  
  2311. local EnergyBladeweld = Instance.new("ManualWeld")
  2312.  
  2313. EnergyBladeweld.Part0 = Handle EnergyBladeweld.Part1 = EnergyBlade EnergyBladeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2314.  
  2315. EnergyBladeweld.C1 = CFrame.new(0.00545501709, -2.78398895, -0.52090168, 3.85210641e-010, -3.42831441e-007, -0.99998498, 2.68004976e-011, 1, -3.42825587e-007, 0.999984741, -2.65730112e-011, 3.85189436e-010)
  2316.  
  2317. EnergyBladeweld.Parent = EnergyBlade
  2318.  
  2319. local EnergyBladeMesh = Instance.new("SpecialMesh",EnergyBlade)
  2320.  
  2321. EnergyBladeMesh.MeshId = ""
  2322.  
  2323. EnergyBladeMesh.MeshType = Enum.MeshType.Wedge EnergyBladeMesh.Name = "Mesh"
  2324.  
  2325. EnergyBladeMesh.Offset = Vector3.new(0, 0, 0)
  2326.  
  2327. EnergyBladeMesh.Scale = Vector3.new(0.579999983, 1, 1)
  2328.  
  2329.  
  2330.  
  2331. local EnergyBlade = Instance.new("WedgePart", m)
  2332.  
  2333. EnergyBlade:BreakJoints()
  2334.  
  2335. EnergyBlade.TopSurface = "Smooth"
  2336.  
  2337. EnergyBlade.Material = "SmoothPlastic"
  2338.  
  2339. EnergyBlade.Transparency = '0.5'
  2340.  
  2341. EnergyBlade.Name = 'EnergyBlade'
  2342.  
  2343. EnergyBlade.BottomSurface = "Smooth"
  2344.  
  2345. EnergyBlade.FormFactor = "Custom" EnergyBlade.CanCollide = false
  2346.  
  2347. EnergyBlade.BrickColor = BrickColor.new("Really red")
  2348.  
  2349. EnergyBlade.Size = Vector3.new(0.200000003, 0.232000098, 0.232000053)
  2350.  
  2351. local EnergyBladeweld = Instance.new("ManualWeld")
  2352.  
  2353. EnergyBladeweld.Part0 = Handle EnergyBladeweld.Part1 = EnergyBlade EnergyBladeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2354.  
  2355. EnergyBladeweld.C1 = CFrame.new(0.00572967529, 2.78398895, 0.405653715, 1.04307418e-007, -1.49098511e-007, -0.99998498, -4.76609436e-008, -1, 1.49095641e-007, -0.999984741, 4.76614339e-008, -1.0430746e-007)
  2356.  
  2357. EnergyBladeweld.Parent = EnergyBlade
  2358.  
  2359. local EnergyBladeMesh = Instance.new("SpecialMesh",EnergyBlade)
  2360.  
  2361. EnergyBladeMesh.MeshId = ""
  2362.  
  2363. EnergyBladeMesh.MeshType = Enum.MeshType.Wedge EnergyBladeMesh.Name = "Mesh"
  2364.  
  2365. EnergyBladeMesh.Offset = Vector3.new(0, 0, 0)
  2366.  
  2367. EnergyBladeMesh.Scale = Vector3.new(0.579999983, 1, 1)
  2368.  
  2369.  
  2370.  
  2371. local EnergyBlade = Instance.new("WedgePart", m)
  2372.  
  2373. EnergyBlade:BreakJoints()
  2374.  
  2375. EnergyBlade.TopSurface = "Smooth"
  2376.  
  2377. EnergyBlade.Material = "SmoothPlastic"
  2378.  
  2379. EnergyBlade.Transparency = '0.5'
  2380.  
  2381. EnergyBlade.Name = 'EnergyBlade'
  2382.  
  2383. EnergyBlade.BottomSurface = "Smooth"
  2384.  
  2385. EnergyBlade.FormFactor = "Custom" EnergyBlade.CanCollide = false
  2386.  
  2387. EnergyBlade.BrickColor = BrickColor.new("Really red")
  2388.  
  2389. EnergyBlade.Size = Vector3.new(0.200000003, 0.232000098, 0.232000053)
  2390.  
  2391. local EnergyBladeweld = Instance.new("ManualWeld")
  2392.  
  2393. EnergyBladeweld.Part0 = Handle EnergyBladeweld.Part1 = EnergyBlade EnergyBladeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2394.  
  2395. EnergyBladeweld.C1 = CFrame.new(-0.00572967529, -2.31999969, 0.405654192, 1.04307325e-007, 9.2525454e-008, 0.99998498, -4.76508113e-008, 1, -9.25234218e-008, -0.999984741, -4.76517563e-008, 1.04307354e-007)
  2396.  
  2397. EnergyBladeweld.Parent = EnergyBlade
  2398.  
  2399. local EnergyBladeMesh = Instance.new("SpecialMesh",EnergyBlade)
  2400.  
  2401. EnergyBladeMesh.MeshId = ""
  2402.  
  2403. EnergyBladeMesh.MeshType = Enum.MeshType.Wedge EnergyBladeMesh.Name = "Mesh"
  2404.  
  2405. EnergyBladeMesh.Offset = Vector3.new(0, 0, 0)
  2406.  
  2407. EnergyBladeMesh.Scale = Vector3.new(0.579999983, 1, 1)
  2408.  
  2409.  
  2410.  
  2411. local EnergyBlade = Instance.new("WedgePart", m)
  2412.  
  2413. EnergyBlade:BreakJoints()
  2414.  
  2415. EnergyBlade.TopSurface = "Smooth"
  2416.  
  2417. EnergyBlade.Material = "SmoothPlastic"
  2418.  
  2419. EnergyBlade.Transparency = '0.5'
  2420.  
  2421. EnergyBlade.Name = 'EnergyBlade'
  2422.  
  2423. EnergyBlade.BottomSurface = "Smooth"
  2424.  
  2425. EnergyBlade.FormFactor = "Custom" EnergyBlade.CanCollide = false
  2426.  
  2427. EnergyBlade.BrickColor = BrickColor.new("Really red")
  2428.  
  2429. EnergyBlade.Size = Vector3.new(0.200000003, 0.232000098, 0.232000053)
  2430.  
  2431. local EnergyBladeweld = Instance.new("ManualWeld")
  2432.  
  2433. EnergyBladeweld.Part0 = Handle EnergyBladeweld.Part1 = EnergyBlade EnergyBladeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2434.  
  2435. EnergyBladeweld.C1 = CFrame.new(-0.00572967529, -3.24771881, 0.405654192, 1.04307325e-007, 9.25271877e-008, 0.99998498, -4.764998e-008, 1, -9.25251555e-008, -0.999984741, -4.7650925e-008, 1.04307354e-007)
  2436.  
  2437. EnergyBladeweld.Parent = EnergyBlade
  2438.  
  2439. local EnergyBladeMesh = Instance.new("SpecialMesh",EnergyBlade)
  2440.  
  2441. EnergyBladeMesh.MeshId = ""
  2442.  
  2443. EnergyBladeMesh.MeshType = Enum.MeshType.Wedge EnergyBladeMesh.Name = "Mesh"
  2444.  
  2445. EnergyBladeMesh.Offset = Vector3.new(0, 0, 0)
  2446.  
  2447. EnergyBladeMesh.Scale = Vector3.new(0.579999983, 1, 1)
  2448.  
  2449.  
  2450.  
  2451. local Wedge = Instance.new("WedgePart", m)
  2452.  
  2453. Wedge:BreakJoints()
  2454.  
  2455. Wedge.TopSurface = "Smooth"
  2456.  
  2457. Wedge.Material = "SmoothPlastic"
  2458.  
  2459. Wedge.Transparency = '0'
  2460.  
  2461. Wedge.Name = 'Wedge'
  2462.  
  2463. Wedge.BottomSurface = "Smooth"
  2464.  
  2465. Wedge.FormFactor = "Custom" Wedge.CanCollide = false
  2466.  
  2467. Wedge.BrickColor = BrickColor.new("Really black")
  2468.  
  2469. Wedge.Size = Vector3.new(0.347999871, 0.463999987, 0.232000008)
  2470.  
  2471. local Wedgeweld = Instance.new("ManualWeld")
  2472.  
  2473. Wedgeweld.Part0 = Handle Wedgeweld.Part1 = Wedge Wedgeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2474.  
  2475. Wedgeweld.C1 = CFrame.new(-0.00574874878, -1.15999222, 0.4057827, 5.96037637e-008, 4.00195148e-008, 0.99998498, 3.54902951e-008, 1, -4.00182927e-008, -0.999984741, 3.54906078e-008, 5.96037779e-008)
  2476.  
  2477. Wedgeweld.Parent = Wedge
  2478.  
  2479. local Wedge = Instance.new("WedgePart", m)
  2480.  
  2481. Wedge:BreakJoints()
  2482.  
  2483. Wedge.TopSurface = "Smooth"
  2484.  
  2485. Wedge.Material = "SmoothPlastic"
  2486.  
  2487. Wedge.Transparency = '0'
  2488.  
  2489. Wedge.Name = 'Wedge'
  2490.  
  2491. Wedge.BottomSurface = "Smooth"
  2492.  
  2493. Wedge.FormFactor = "Custom" Wedge.CanCollide = false
  2494.  
  2495. Wedge.BrickColor = BrickColor.new("Really black")
  2496.  
  2497. Wedge.Size = Vector3.new(0.347999871, 0.812000036, 0.580000043)
  2498.  
  2499. local Wedgeweld = Instance.new("ManualWeld")
  2500.  
  2501. Wedgeweld.Part0 = Handle Wedgeweld.Part1 = Wedge Wedgeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2502.  
  2503. Wedgeweld.C1 = CFrame.new(-0.00572967529, -1.33398819, -0.116147518, 5.96037637e-008, 4.00212343e-008, 0.99998498, 3.54923806e-008, 1, -4.00200122e-008, -0.999984741, 3.54926932e-008, 5.96037779e-008)
  2504.  
  2505. Wedgeweld.Parent = Wedge
  2506.  
  2507. local Wedge = Instance.new("WedgePart", m)
  2508.  
  2509. Wedge:BreakJoints()
  2510.  
  2511. Wedge.TopSurface = "Smooth"
  2512.  
  2513. Wedge.Material = "SmoothPlastic"
  2514.  
  2515. Wedge.Transparency = '0.5'
  2516.  
  2517. Wedge.Name = 'Wedge'
  2518.  
  2519. Wedge.BottomSurface = "Smooth"
  2520.  
  2521. Wedge.FormFactor = "Custom" Wedge.CanCollide = false
  2522.  
  2523. Wedge.BrickColor = BrickColor.new("Really red")
  2524.  
  2525. Wedge.Size = Vector3.new(0.200000003, 0.232000098, 0.232000053)
  2526.  
  2527. local Wedgeweld = Instance.new("ManualWeld")
  2528.  
  2529. Wedgeweld.Part0 = Handle Wedgeweld.Part1 = Wedge Wedgeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2530.  
  2531. Wedgeweld.C1 = CFrame.new(0.00572967529, 1.85600281, 0.405664921, 1.04307418e-007, -1.49096778e-007, -0.99998498, -4.76601052e-008, -1, 1.49093907e-007, -0.999984741, 4.76605955e-008, -1.0430746e-007)
  2532.  
  2533. Wedgeweld.Parent = Wedge
  2534.  
  2535. local WedgeMesh = Instance.new("SpecialMesh",Wedge)
  2536.  
  2537. WedgeMesh.MeshId = ""
  2538.  
  2539. WedgeMesh.MeshType = Enum.MeshType.Wedge WedgeMesh.Name = "Mesh"
  2540.  
  2541. WedgeMesh.Offset = Vector3.new(0, 0, 0)
  2542.  
  2543. WedgeMesh.Scale = Vector3.new(0.579999983, 1, 1)
  2544.  
  2545.  
  2546.  
  2547. function Cloak()
  2548.  
  2549. Face.Parent=nil
  2550.  
  2551. cloaked=true
  2552.  
  2553. for _,v in pairs(Torso.Parent:children()) do
  2554.  
  2555. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2556.  
  2557. coroutine.resume(coroutine.create(function()
  2558.  
  2559. for i=0,1,0.2 do
  2560.  
  2561. wait()
  2562.  
  2563. v.Transparency=i
  2564.  
  2565. end
  2566.  
  2567. v.Transparency=1
  2568.  
  2569. end))
  2570.  
  2571. end
  2572.  
  2573. if v.className=="Hat" then
  2574.  
  2575. hatp=v.Handle
  2576.  
  2577. coroutine.resume(coroutine.create(function(derp)
  2578.  
  2579. for i=0,1,0.2 do
  2580.  
  2581. wait()
  2582.  
  2583. derp.Transparency=i
  2584.  
  2585. end
  2586.  
  2587. derp.Transparency=1
  2588.  
  2589. end),hatp)
  2590.  
  2591. end
  2592.  
  2593. end
  2594.  
  2595. for _,v in pairs(blocks) do
  2596.  
  2597. if v.className=="Part" then
  2598.  
  2599. coroutine.resume(coroutine.create(function()
  2600.  
  2601. for i=0,1,0.2 do
  2602.  
  2603. wait()
  2604.  
  2605. v.Transparency=i
  2606.  
  2607. end
  2608.  
  2609. v.Transparency=1
  2610.  
  2611. end))
  2612.  
  2613. end
  2614.  
  2615. end
  2616.  
  2617. end
  2618.  
  2619.  
  2620.  
  2621. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  2622.  
  2623. if hit.Parent==nil then
  2624.  
  2625. return
  2626.  
  2627. end
  2628.  
  2629. h=hit.Parent:FindFirstChild("Humanoid")
  2630.  
  2631. for _,v in pairs(hit.Parent:children()) do
  2632.  
  2633. if v:IsA("Humanoid") then
  2634.  
  2635. h=v
  2636.  
  2637. end
  2638.  
  2639. end
  2640.  
  2641. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  2642.  
  2643. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  2644.  
  2645. end
  2646.  
  2647. if hit.Parent.className=="Hat" then
  2648.  
  2649. hit=hit.Parent.Parent:findFirstChild("Head")
  2650.  
  2651. end
  2652.  
  2653. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  2654.  
  2655. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  2656.  
  2657. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  2658.  
  2659. return
  2660.  
  2661. end]]
  2662.  
  2663. -- hs(hit,1.2)
  2664.  
  2665. c=Instance.new("ObjectValue")
  2666.  
  2667. c.Name="creator"
  2668.  
  2669. c.Value=game:service("Players").LocalPlayer
  2670.  
  2671. c.Parent=h
  2672.  
  2673. game:GetService("Debris"):AddItem(c,.5)
  2674.  
  2675. Damage=math.random(minim,maxim)
  2676.  
  2677. -- h:TakeDamage(Damage)
  2678.  
  2679. blocked=false
  2680.  
  2681. block=hit.Parent:findFirstChild("Block")
  2682.  
  2683. if block~=nil then
  2684.  
  2685. print(block.className)
  2686.  
  2687. if block.className=="NumberValue" then
  2688.  
  2689. if block.Value>0 then
  2690.  
  2691. blocked=true
  2692.  
  2693. if decreaseblock==nil then
  2694.  
  2695. block.Value=block.Value-1
  2696.  
  2697. end
  2698.  
  2699. end
  2700.  
  2701. end
  2702.  
  2703. if block.className=="IntValue" then
  2704.  
  2705. if block.Value>0 then
  2706.  
  2707. blocked=true
  2708.  
  2709. if decreaseblock~=nil then
  2710.  
  2711. block.Value=block.Value-1
  2712.  
  2713. end
  2714.  
  2715. end
  2716.  
  2717. end
  2718.  
  2719. end
  2720.  
  2721. if blocked==false then
  2722.  
  2723. -- h:TakeDamage(Damage)
  2724.  
  2725. h.Health=h.Health-Damage
  2726.  
  2727. showDamage(hit.Parent,Damage,.5,BrickColor.new("Navy blue"))
  2728.  
  2729. else
  2730.  
  2731. h.Health=h.Health-(Damage/2)
  2732.  
  2733. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  2734.  
  2735. end
  2736.  
  2737. if Type=="Knockdown" then
  2738.  
  2739. hum=hit.Parent.Humanoid
  2740.  
  2741. hum.PlatformStand=true
  2742.  
  2743. coroutine.resume(coroutine.create(function(HHumanoid)
  2744.  
  2745. swait(1)
  2746.  
  2747. HHumanoid.PlatformStand=false
  2748.  
  2749. end),hum)
  2750.  
  2751. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  2752.  
  2753. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  2754.  
  2755. local bodvol=Instance.new("BodyVelocity")
  2756.  
  2757. bodvol.velocity=angle*knockback
  2758.  
  2759. bodvol.P=5000
  2760.  
  2761. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  2762.  
  2763. bodvol.Parent=hit
  2764.  
  2765. rl=Instance.new("BodyAngularVelocity")
  2766.  
  2767. rl.P=3000
  2768.  
  2769. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  2770.  
  2771. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2772.  
  2773. rl.Parent=hit
  2774.  
  2775. game:GetService("Debris"):AddItem(bodvol,.5)
  2776.  
  2777. game:GetService("Debris"):AddItem(rl,.5)
  2778.  
  2779. elseif Type=="Normal" then
  2780.  
  2781. vp=Instance.new("BodyVelocity")
  2782.  
  2783. vp.P=500
  2784.  
  2785. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  2786.  
  2787. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  2788.  
  2789. if KnockbackType==1 then
  2790.  
  2791. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  2792.  
  2793. elseif KnockbackType==2 then
  2794.  
  2795. vp.velocity=Property.CFrame.lookVector*knockback
  2796.  
  2797. end
  2798.  
  2799. if knockback>0 then
  2800.  
  2801. vp.Parent=hit.Parent.Torso
  2802.  
  2803. end
  2804.  
  2805. game:GetService("Debris"):AddItem(vp,.5)
  2806.  
  2807. elseif Type=="Up" then
  2808.  
  2809. local bodyVelocity=Instance.new("BodyVelocity")
  2810.  
  2811. bodyVelocity.velocity=vt(0,60,0)
  2812.  
  2813. bodyVelocity.P=5000
  2814.  
  2815. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  2816.  
  2817. bodyVelocity.Parent=hit
  2818.  
  2819. game:GetService("Debris"):AddItem(bodyVelocity,1)
  2820.  
  2821. rl=Instance.new("BodyAngularVelocity")
  2822.  
  2823. rl.P=3000
  2824.  
  2825. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  2826.  
  2827. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  2828.  
  2829. rl.Parent=hit
  2830.  
  2831. game:GetService("Debris"):AddItem(rl,.5)
  2832.  
  2833. elseif Type=="Snare" then
  2834.  
  2835. bp=Instance.new("BodyPosition")
  2836.  
  2837. bp.P=2000
  2838.  
  2839. bp.D=100
  2840.  
  2841. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2842.  
  2843. bp.position=hit.Parent.Torso.Position
  2844.  
  2845. bp.Parent=hit.Parent.Torso
  2846.  
  2847. game:GetService("Debris"):AddItem(bp,1)
  2848.  
  2849. elseif Type=="Target" then
  2850.  
  2851. if Targetting==false then
  2852.  
  2853. ZTarget=hit.Parent.Torso
  2854.  
  2855. coroutine.resume(coroutine.create(function(Part)
  2856.  
  2857. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  2858.  
  2859. swait(5)
  2860.  
  2861. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  2862.  
  2863. end),ZTarget)
  2864.  
  2865. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  2866.  
  2867. targetgui=Instance.new("BillboardGui")
  2868.  
  2869. targetgui.Parent=ZTarget
  2870.  
  2871. targetgui.Size=UDim2.new(10,100,10,100)
  2872.  
  2873. targ=Instance.new("ImageLabel")
  2874.  
  2875. targ.Parent=targetgui
  2876.  
  2877. targ.BackgroundTransparency=1
  2878.  
  2879. targ.Image="rbxassetid://4834067"
  2880.  
  2881. targ.Size=UDim2.new(1,0,1,0)
  2882.  
  2883. cam.CameraType="Scriptable"
  2884.  
  2885. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  2886.  
  2887. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  2888.  
  2889. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  2890.  
  2891. Targetting=true
  2892.  
  2893. RocketTarget=ZTarget
  2894.  
  2895. for i=1,Property do
  2896.  
  2897. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  2898.  
  2899. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  2900.  
  2901. swait()
  2902.  
  2903. end
  2904.  
  2905. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  2906.  
  2907. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  2908.  
  2909. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  2910.  
  2911. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  2912.  
  2913. end
  2914.  
  2915. Targetting=false
  2916.  
  2917. RocketTarget=nil
  2918.  
  2919. targetgui.Parent=nil
  2920.  
  2921. cam.CameraType="Custom"
  2922.  
  2923. end
  2924.  
  2925. end
  2926.  
  2927. debounce=Instance.new("BoolValue")
  2928.  
  2929. debounce.Name="DebounceHit"
  2930.  
  2931. debounce.Parent=hit.Parent
  2932.  
  2933. debounce.Value=true
  2934.  
  2935. game:GetService("Debris"):AddItem(debounce,Delay)
  2936.  
  2937. c=Instance.new("ObjectValue")
  2938.  
  2939. c.Name="creator"
  2940.  
  2941. c.Value=Player
  2942.  
  2943. c.Parent=h
  2944.  
  2945. game:GetService("Debris"):AddItem(c,.5)
  2946.  
  2947. CRIT=false
  2948.  
  2949. hitDeb=true
  2950.  
  2951. AttackPos=6
  2952.  
  2953. end
  2954.  
  2955. end
  2956.  
  2957.  
  2958.  
  2959. showDamage=function(Char,Dealt,du,Color)
  2960.  
  2961. m=Instance.new("Model")
  2962.  
  2963. m.Name=tostring(Dealt)
  2964.  
  2965. h=Instance.new("Humanoid")
  2966.  
  2967. h.Health=0
  2968.  
  2969. h.MaxHealth=0
  2970.  
  2971. h.Parent=m
  2972.  
  2973. c=Instance.new("Part")
  2974.  
  2975. c.Transparency=0
  2976.  
  2977. c.BrickColor=Color
  2978.  
  2979. c.Name="Head"
  2980.  
  2981. c.TopSurface=0
  2982.  
  2983. c.BottomSurface=0
  2984.  
  2985. c.formFactor="Plate"
  2986.  
  2987. c.Size=Vector3.new(1,.4,1)
  2988.  
  2989. ms=Instance.new("CylinderMesh")
  2990.  
  2991. ms.Scale=Vector3.new(.8,.8,.8)
  2992.  
  2993. if CRIT==true then
  2994.  
  2995. ms.Scale=Vector3.new(1,1.25,1)
  2996.  
  2997. end
  2998.  
  2999. ms.Parent=c
  3000.  
  3001. c.Reflectance=0
  3002.  
  3003. Instance.new("BodyGyro").Parent=c
  3004.  
  3005. c.Parent=m
  3006.  
  3007. if Char:findFirstChild("Head")~=nil then
  3008.  
  3009. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  3010.  
  3011. elseif Char.Parent:findFirstChild("Head")~=nil then
  3012.  
  3013. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  3014.  
  3015. end
  3016.  
  3017. f=Instance.new("BodyPosition")
  3018.  
  3019. f.P=2000
  3020.  
  3021. f.D=100
  3022.  
  3023. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  3024.  
  3025. f.position=c.Position+Vector3.new(0,3,0)
  3026.  
  3027. f.Parent=c
  3028.  
  3029. game:GetService("Debris"):AddItem(m,.5+du)
  3030.  
  3031. c.CanCollide=false
  3032.  
  3033. m.Parent=workspace
  3034.  
  3035. c.CanCollide=false
  3036.  
  3037. end
  3038.  
  3039.  
  3040.  
  3041. function UnCloak()
  3042.  
  3043. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  3044.  
  3045. Face.Parent=Head
  3046.  
  3047. cloaked=false
  3048.  
  3049. for _,v in pairs(Torso.Parent:children()) do
  3050.  
  3051. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  3052.  
  3053. coroutine.resume(coroutine.create(function()
  3054.  
  3055. for i=0,1,0.1 do
  3056.  
  3057. wait()
  3058.  
  3059. v.Transparency=v.Transparency-0.1
  3060.  
  3061. end
  3062.  
  3063. v.Transparency=0
  3064.  
  3065. end))
  3066.  
  3067. end
  3068.  
  3069. if v.className=="Hat" then
  3070.  
  3071. hatp=v.Handle
  3072.  
  3073. coroutine.resume(coroutine.create(function(derp)
  3074.  
  3075. for i=0,1,0.1 do
  3076.  
  3077. wait()
  3078.  
  3079. derp.Transparency=derp.Transparency-0.1
  3080.  
  3081. end
  3082.  
  3083. derp.Transparency=0
  3084.  
  3085. end),hatp)
  3086.  
  3087. end
  3088.  
  3089. end
  3090.  
  3091. for _,v in pairs(blocks) do
  3092.  
  3093. if v.className=="Part" and v.Name~="Hitbox" and v.Name~='tip' then
  3094.  
  3095. coroutine.resume(coroutine.create(function()
  3096.  
  3097. for i=0,1,0.1 do
  3098.  
  3099. wait()
  3100.  
  3101. v.Transparency=v.Transparency-0.1
  3102.  
  3103. end
  3104.  
  3105. v.Transparency=0
  3106.  
  3107. end))
  3108.  
  3109. v.Transparency=0
  3110.  
  3111. end
  3112.  
  3113. end
  3114.  
  3115. end
  3116.  
  3117. meshids = {["penguin"] = 15853464, ["ring"] = 3270017,
  3118.  
  3119. ["spike"] = 1033714,["cone"] = 1082802,["crown"] = 20329976,["crossbow"] = 15886761,
  3120.  
  3121. ["cloud"] = 1095708,["mjolnir"] = 1279013,["diamond"] = 9756362, ["hand"] = 37241605,
  3122.  
  3123. ["fist"] = 65322375,["skull"] = 36869983,["totem"] = 35624068,["spikeb"] = 9982590,["dragon"] = 58430372,["fish"] = 31221717, ["coffee"] = 15929962,["spiral"] = 1051557,
  3124.  
  3125. ["ramen"] = 19380188,["lightning"] = 72583597,["bullet"]=2697549}---some meshids
  3126.  
  3127. textureids = {["cone"] = 1082804,["rainbow"] = 28488599,["fish"] = 31221733, ["coffee"] = 24181455,["monster"] = 33366441,["ramen"] = 19380153}
  3128.  
  3129. soundids = {["bell"] = 20005706,["flintlock"] = 13510352,["falcon"] = 1387390,['sensa'] = 4700455,
  3130.  
  3131. ['midas'] = 17385513;
  3132.  
  3133. ['spark'] = 10756118;
  3134.  
  3135. ['boom'] = 10730819;
  3136.  
  3137. ['plank'] = 10548112;
  3138.  
  3139. ['harmonica1'] = 33069371;
  3140.  
  3141. ['harmonica2'] = 33069412;
  3142.  
  3143. ['thump'] = 10730819;
  3144.  
  3145. }
  3146.  
  3147.  
  3148.  
  3149. cfn,ang,v3n,ud2n,V2 = CFrame.new,CFrame.Angles,Vector3.new,UDim2.new,Vector2.new
  3150.  
  3151.  
  3152.  
  3153. M = {["R"] = function(a,b) return math.random(a,b) end,
  3154.  
  3155. ["Cos"] = function(a) return math.cos(a) end,
  3156.  
  3157. ["Sin"] = function(a) return math.sin(a) end,
  3158.  
  3159. ["D"] = function(a) return math.rad(a) end
  3160.  
  3161. }
  3162.  
  3163.  
  3164.  
  3165. T = {["P"] = function(x,y,z,color,transparency,cancollide,anchored,parent,typee)
  3166.  
  3167. if typee == 'wedge' then
  3168.  
  3169. c = Instance.new("WedgePart",m)
  3170.  
  3171. elseif typee == 'seat' then
  3172.  
  3173. c = Instance.new("Seat",m)
  3174.  
  3175. elseif typee == 'vseat' then
  3176.  
  3177. c = Instance.new("VehicleSeat",m)
  3178.  
  3179. else
  3180.  
  3181. c = Instance.new("Part",m)
  3182.  
  3183. end
  3184.  
  3185. c.TopSurface,c.BottomSurface = 0,0
  3186.  
  3187. c.Locked = true
  3188.  
  3189. c.formFactor = "Custom"
  3190.  
  3191. c.Size = Vector3.new(x,y,z)
  3192.  
  3193. if color ~= "random" then
  3194.  
  3195. c.BrickColor = BrickColor.new(color)
  3196.  
  3197. else c.BrickColor = BrickColor:random()
  3198.  
  3199. end
  3200.  
  3201. c.Transparency = transparency
  3202.  
  3203. c.CanCollide = cancollide
  3204.  
  3205. if anchored ~= nil then c.Anchored = anchored end
  3206.  
  3207. if parent ~= nil then c.Parent = parent end
  3208.  
  3209. return c
  3210.  
  3211. end
  3212.  
  3213. ,
  3214.  
  3215. ["C"] = function(func) coroutine.resume(coroutine.create(func)) end
  3216.  
  3217. ,
  3218.  
  3219. ["W"] = function(part0,part1,x,y,z,rx,ry,rz,parent)
  3220.  
  3221. w = Instance.new("Motor",m)
  3222.  
  3223. if parent ~= nil then w.Parent = parent end
  3224.  
  3225. w.Part0,w.Part1 = part0,part1
  3226.  
  3227. w.C1 = CFrame.new(x,y,z) * CFrame.Angles(rx,ry,rz)
  3228.  
  3229. return w
  3230.  
  3231. end
  3232.  
  3233. ,
  3234.  
  3235. ["BG"] = function(parent)
  3236.  
  3237. local c = Instance.new("BodyGyro",parent)
  3238.  
  3239. c.P = 20e+003
  3240.  
  3241. c.cframe = parent.CFrame
  3242.  
  3243. c.maxTorque = Vector3.new(c.P,c.P,c.P)
  3244.  
  3245. return c
  3246.  
  3247. end
  3248.  
  3249. ,
  3250.  
  3251. ["BP"] = function(parent,position)
  3252.  
  3253. local bp = Instance.new("BodyPosition",parent)
  3254.  
  3255. bp.maxForce = Vector3.new()*math.huge
  3256.  
  3257. bp.position = position
  3258.  
  3259. return bp
  3260.  
  3261. end
  3262.  
  3263. ,
  3264.  
  3265. ["F"] = function(parent,size,heat,color,secondcolor,enabled)
  3266.  
  3267. f = Instance.new("Fire",parent)
  3268.  
  3269. f.Size = size
  3270.  
  3271. f.Heat = heat
  3272.  
  3273. if enabled ~= nil then f.Enabled = enabled end
  3274.  
  3275. if color ~= nil then f.Color = BrickColor.new(color).Color end
  3276.  
  3277. if secondcolor ~= nil then f.SecondaryColor = BrickColor.new(secondcolor).Color end
  3278.  
  3279. return f
  3280.  
  3281. end
  3282.  
  3283. ,
  3284.  
  3285. ["FM"] = function(parent,meshid,x,y,z,meshtexture)
  3286.  
  3287. if meshid == "cylinder" then
  3288.  
  3289. mesh = Instance.new("CylinderMesh",parent)
  3290.  
  3291. mesh.Scale = Vector3.new(x,y,z)
  3292.  
  3293. return mesh
  3294.  
  3295. elseif meshid == 'block' then
  3296.  
  3297. mesh = Instance.new("BlockMesh",parent)
  3298.  
  3299. mesh.Scale = Vector3.new(x,y,z)
  3300.  
  3301. return mesh
  3302.  
  3303. end
  3304.  
  3305. mesh = Instance.new("SpecialMesh",parent)
  3306.  
  3307. if meshid == 'wedge' then
  3308.  
  3309. mesh.MeshType = 'Wedge'
  3310.  
  3311. elseif meshid == 'sphere' then
  3312.  
  3313. mesh.MeshType = 3
  3314.  
  3315. elseif type(meshid) == "number" then
  3316.  
  3317. mesh.MeshId = "rbxassetid://"..meshid
  3318.  
  3319. else
  3320.  
  3321. mesh.MeshId = "rbxassetid://"..meshids[meshid]
  3322.  
  3323. end
  3324.  
  3325. mesh.Scale = Vector3.new(x,y,z)
  3326.  
  3327. if meshtexture then
  3328.  
  3329. if type(meshtexture) == "number" then mesh.TextureId = "rbxassetid://"..meshtexture else
  3330.  
  3331. mesh.TextureId = "rbxassetid://"..textureids[meshtexture] end
  3332.  
  3333. end
  3334.  
  3335. return mesh
  3336.  
  3337. end,
  3338.  
  3339. ["Dec"] = function(parent,face,id,transparency)
  3340.  
  3341. c = Instance.new("Decal",parent)
  3342.  
  3343. c.Face = face
  3344.  
  3345. c.Texture = id
  3346.  
  3347. if transparency then c.Transparency = transparency end
  3348.  
  3349. return c
  3350.  
  3351. end,
  3352.  
  3353. ["S"] = function(id,pitch,volume,parent)
  3354.  
  3355. cur = nil
  3356.  
  3357. found = false
  3358.  
  3359. if type(id) == 'string' then
  3360.  
  3361. for i,v in pairs(char.Head:children()) do
  3362.  
  3363. if v:IsA("Sound") and v.Name == id and not found then
  3364.  
  3365. cur = v
  3366.  
  3367. if parent then cur = v:Clone() cur.Parent = parent end
  3368.  
  3369. cur.Pitch = pitch
  3370.  
  3371. if volume then cur.Volume = volume end
  3372.  
  3373. cur:Play()
  3374.  
  3375. found = true
  3376.  
  3377. return cur
  3378.  
  3379. end
  3380.  
  3381. end
  3382.  
  3383. elseif type(id) == 'number' then
  3384.  
  3385. local a = char.Head:FindFirstChild('exteo')
  3386.  
  3387. a.SoundId = 'rbxassetid://'..id
  3388.  
  3389. a.Pitch = pitch
  3390.  
  3391. if volume then a.Volume = volume end
  3392.  
  3393. a:Play()
  3394.  
  3395. return a
  3396.  
  3397. end
  3398.  
  3399. end
  3400.  
  3401. }
  3402.  
  3403.  
  3404.  
  3405. function damage(hit,amount,delay)
  3406.  
  3407. for i,v in pairs(hit:children()) do
  3408.  
  3409. if v:IsA("Humanoid") and v.Parent ~= char then
  3410.  
  3411. if delay then
  3412.  
  3413. local found = v:FindFirstChild('tag')
  3414.  
  3415. if not found then
  3416.  
  3417. local a = Instance.new("StringValue",v)
  3418.  
  3419. a.Name = 'tag ur it'
  3420.  
  3421. game:service'Debris':AddItem(a,delay)
  3422.  
  3423. v.Health = v.Health - amount
  3424.  
  3425. end
  3426.  
  3427. else v.Health = v.Health - amount
  3428.  
  3429. end
  3430.  
  3431. end
  3432.  
  3433. end
  3434.  
  3435. end
  3436.  
  3437.  
  3438.  
  3439. function lightning(startpos,endpos,times,offse,livetime,col,dmg)
  3440.  
  3441. local curpos = startpos
  3442.  
  3443. for i = 1,times do
  3444.  
  3445. local mag = (startpos-endpos).magnitude
  3446.  
  3447. local offs = {-offse,offse}
  3448.  
  3449. local offset = v3n(offs[M.R(1,2)],offs[M.R(1,2)],offs[M.R(1,2)])
  3450.  
  3451. laz = T.P(.1,.1,mag/times,col,0,false,true,m)
  3452.  
  3453. laz.Parent=m
  3454.  
  3455. laz.Transparency=.5
  3456.  
  3457. if dmg then laz.Touched:connect(function(hit) dmgstart(laz,5) end) end
  3458.  
  3459. local apos = (cfn(curpos,endpos)*cfn(0,0,-mag/times)).p+offset
  3460.  
  3461. if times == i then
  3462.  
  3463. local mag2 = (curpos-endpos).magnitude
  3464.  
  3465. laz.Size = v3n(.1,.1,mag2)
  3466.  
  3467. laz.CFrame = cfn(curpos,endpos)*cfn(0,0,-mag2/2)
  3468.  
  3469. else
  3470.  
  3471. laz.CFrame = cfn(curpos,apos)*cfn(0,0,-mag/times/2)
  3472.  
  3473. end
  3474.  
  3475. curpos = laz.CFrame*cfn(0,0,-mag/times/2).p game:service'Debris':AddItem(laz,livetime)
  3476.  
  3477. pcall(function()
  3478.  
  3479. dmgstop()
  3480.  
  3481. end)
  3482.  
  3483. end
  3484.  
  3485. end
  3486.  
  3487.  
  3488.  
  3489. mouse.Button1Down:connect(function()
  3490.  
  3491. if attack==false then
  3492.  
  3493. if attacktype==1 then
  3494.  
  3495. attack=true
  3496.  
  3497. attacktype=2
  3498.  
  3499. attackone()
  3500.  
  3501. elseif attacktype==2 then
  3502.  
  3503. attack=true
  3504.  
  3505. attacktype=3
  3506.  
  3507. attacktwo()
  3508.  
  3509. elseif attacktype==3 then
  3510.  
  3511. attack=true
  3512.  
  3513. attacktype=1
  3514.  
  3515. attackthree()
  3516.  
  3517. end
  3518.  
  3519. end
  3520.  
  3521. end)
  3522.  
  3523.  
  3524.  
  3525. mouse.KeyDown:connect(function(k)
  3526.  
  3527. k=k:lower()
  3528.  
  3529. if k=='q' then
  3530.  
  3531. if attack==false then
  3532.  
  3533. Bash()
  3534.  
  3535. end
  3536.  
  3537. elseif k=='e' then
  3538.  
  3539. if attack==false then
  3540.  
  3541. Impulse()
  3542.  
  3543. end
  3544.  
  3545. end
  3546.  
  3547. end)
  3548.  
  3549. function Impulse()
  3550.  
  3551. attack=true
  3552.  
  3553. Humanoid.Jump=true
  3554.  
  3555. for i=0,1,0.2 do
  3556.  
  3557. swait()
  3558.  
  3559. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.45)
  3560.  
  3561. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0.5,0),.45)
  3562.  
  3563. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.5,-1.5,0)*euler(.5,0,0),.45)
  3564.  
  3565. LW.C0=clerp(LW.C0,cf(0,0.5,-0.7)*euler(1.5,-1.5,0)*euler(.7,0,0),.45)
  3566.  
  3567. RH.C0=clerp(RH.C0,RHC0*euler(-.2,0,0),.45)
  3568.  
  3569. LH.C0=clerp(LH.C0,LHC0*euler(-.2,0,0),.45)
  3570.  
  3571. end
  3572.  
  3573. blcf=nil
  3574.  
  3575. scfr=nil
  3576.  
  3577. so("http://roblox.com/asset/?id=231917801",Hitbox,1,1)
  3578.  
  3579. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  3580.  
  3581. for i=1,2 do
  3582.  
  3583. for i=0,1,0.1 do
  3584.  
  3585. swait()
  3586.  
  3587. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  3588.  
  3589. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  3590.  
  3591. local h = 5
  3592.  
  3593. 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)
  3594.  
  3595. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3596.  
  3597. 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)
  3598.  
  3599. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3600.  
  3601. scfr = blcf
  3602.  
  3603. elseif not scfr then
  3604.  
  3605. scfr = blcf
  3606.  
  3607. end
  3608.  
  3609. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.5,-1.5,0)*euler(-.5,0,0),.3)
  3610.  
  3611. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*euler(1.5,-1.5,0)*euler(.5,0,0),.3)
  3612.  
  3613. RootJoint.C0=RootCF*euler(0,0.5,6.6*i)
  3614.  
  3615. end
  3616.  
  3617. end
  3618.  
  3619. attack = false
  3620.  
  3621. con1:disconnect()
  3622.  
  3623. end
  3624.  
  3625.  
  3626.  
  3627. function Bash()
  3628.  
  3629. attack=true
  3630.  
  3631. for i=0,1,0.1 do
  3632.  
  3633. swait()
  3634.  
  3635. --wld1.C0=clerp(wld1.C0,euler(1.1,0,0)*cf(0,1,-0.4),.3)
  3636.  
  3637. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,1)*euler(0.5,0,0),.3)
  3638.  
  3639. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-1.4),.3)
  3640.  
  3641. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.4,-1.4,0)*euler(-.6,0,0),.3)
  3642.  
  3643. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(1,-1,0)*euler(.5,0,0),.3)
  3644.  
  3645. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,2.5,0),.3)
  3646.  
  3647. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1,0),.3)
  3648.  
  3649. end
  3650.  
  3651. Torso.Velocity=RootPart.CFrame.lookVector*200
  3652.  
  3653. so("http://roblox.com/asset/?id=200632211",Torso,1,.8)
  3654.  
  3655. hit=nil
  3656.  
  3657. for i=1,20 do
  3658.  
  3659. if hit==nil then
  3660.  
  3661. swait()
  3662.  
  3663. end
  3664.  
  3665. end
  3666.  
  3667. Torso.Velocity=RootPart.CFrame.lookVector*0
  3668.  
  3669. Humanoid.WalkSpeed=0
  3670.  
  3671. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  3672.  
  3673. for i=0,1,0.1 do
  3674.  
  3675. swait()
  3676.  
  3677. --wld1.C0=clerp(wld1.C0,euler(1.1,0,0)*cf(0,1,-0.4),.3)
  3678.  
  3679. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,1.4)*euler(-0.2,0,0),.3)
  3680.  
  3681. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-1.4),.3)
  3682.  
  3683. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(3,-1.4,0)*euler(-.6,0,0),.3)
  3684.  
  3685. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(2.3,-1.4,0)*euler(.5,0,0),.3)
  3686.  
  3687. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0),.3)
  3688.  
  3689. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0),.3)
  3690.  
  3691. end
  3692.  
  3693. so("http://roblox.com/asset/?id=200632136",Hitbox,1,0.9)
  3694.  
  3695. blcf=nil
  3696.  
  3697. scfr=nil
  3698.  
  3699. for i=0,1,0.2 do
  3700.  
  3701. swait()
  3702.  
  3703. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  3704.  
  3705. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  3706.  
  3707. local h = 5
  3708.  
  3709. 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)
  3710.  
  3711. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3712.  
  3713. 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)
  3714.  
  3715. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3716.  
  3717. scfr = blcf
  3718.  
  3719. elseif not scfr then
  3720.  
  3721. scfr = blcf
  3722.  
  3723. end
  3724.  
  3725. --wld1.C0=clerp(wld1.C0,euler(2.2,0,0)*cf(0,.8,-0.3),.45)
  3726.  
  3727. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,1.4)*euler(0.4,0,0),.45)
  3728.  
  3729. --RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.3)*euler(0,0,-1.4),.45)
  3730.  
  3731. RW.C0=clerp(RW.C0,cf(.5,0.2,-0.5)*euler(3,-1.4,0)*euler(-2.7,0,0),.45)
  3732.  
  3733. LW.C0=clerp(LW.C0,cf(-1.2,0.1,-0.3)*euler(0,-1.4,0)*euler(.5,0,0),.45)
  3734.  
  3735. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0),.3)
  3736.  
  3737. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0),.3)
  3738.  
  3739. end
  3740.  
  3741. swait(50)
  3742.  
  3743. Humanoid.WalkSpeed=16
  3744.  
  3745. con1:disconnect()
  3746.  
  3747. attack=false
  3748.  
  3749. end
  3750.  
  3751.  
  3752.  
  3753.  
  3754.  
  3755. function attackone()
  3756.  
  3757. attack=true
  3758.  
  3759. for i=0,1,0.2 do
  3760.  
  3761. swait()
  3762.  
  3763. Neck.C0=clerp(Neck.C0,necko*euler(.2,0,.5),.4)
  3764.  
  3765. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-.5),.4)
  3766.  
  3767. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(2,0,1),.4)
  3768.  
  3769. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3770.  
  3771. LW.C0=clerp(LW.C0,cf(-1.3,0.5,-.3)*euler(.4,0,.2)*euler(0,-.2,0),.4)
  3772.  
  3773. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3774.  
  3775. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.5,0),.4)
  3776.  
  3777. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.5,0),.4)
  3778.  
  3779. end
  3780.  
  3781. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(10,20),"Normal",RootPart,.2,1) end)
  3782.  
  3783. for i=0,1,0.3 do
  3784.  
  3785. swait()
  3786.  
  3787. local blcf = Hitbox.CFrame
  3788.  
  3789. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  3790.  
  3791. local h = 5
  3792.  
  3793. 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)
  3794.  
  3795. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  3796.  
  3797. 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)
  3798.  
  3799. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  3800.  
  3801. scfr = blcf
  3802.  
  3803. elseif not scfr then
  3804.  
  3805. scfr = blcf
  3806.  
  3807. end
  3808.  
  3809. Neck.C0=clerp(Neck.C0,necko*euler(0,0,-.5)*euler(.2,0,0),.4)
  3810.  
  3811. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.5),.4)
  3812.  
  3813. RW.C0=clerp(RW.C0,cf(1.2,0.5,-.3)*euler(.2,0,-.2)*euler(0,-.5,0),.4)
  3814.  
  3815. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3816.  
  3817. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.4,0,-.2),.4)
  3818.  
  3819. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3820.  
  3821. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.5,0),.4)
  3822.  
  3823. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.5,0),.4)
  3824.  
  3825. end
  3826.  
  3827. so("http://roblox.com/asset/?id=233856140",Hitbox,1,1)
  3828.  
  3829. for i=0,1,0.2 do
  3830.  
  3831. swait()
  3832.  
  3833. local blcf = Hitbox.CFrame
  3834.  
  3835. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  3836.  
  3837. local h = 5
  3838.  
  3839. 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)
  3840.  
  3841. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  3842.  
  3843. 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)
  3844.  
  3845. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  3846.  
  3847. scfr = blcf
  3848.  
  3849. elseif not scfr then
  3850.  
  3851. scfr = blcf
  3852.  
  3853. end
  3854.  
  3855. Neck.C0=clerp(Neck.C0,necko*euler(0,0,-.5)*euler(.2,0,0),.4)
  3856.  
  3857. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.5),.4)
  3858.  
  3859. RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*euler(.6,0,-1)*euler(0,-.7,0),.4)
  3860.  
  3861. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3862.  
  3863. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.4,0,-.2),.4)
  3864.  
  3865. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3866.  
  3867. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.5,0),.4)
  3868.  
  3869. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.5,0),.4)
  3870.  
  3871. end
  3872.  
  3873. attack=false
  3874.  
  3875. con1:disconnect()
  3876.  
  3877. end
  3878.  
  3879.  
  3880.  
  3881. function attacktwo()
  3882.  
  3883. attack=true
  3884.  
  3885. for i=0,1,0.1 do
  3886.  
  3887. swait()
  3888.  
  3889. local blcf = Hitbox.CFrame
  3890.  
  3891. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  3892.  
  3893. local h = 5
  3894.  
  3895. 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)
  3896.  
  3897. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  3898.  
  3899. 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)
  3900.  
  3901. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  3902.  
  3903. scfr = blcf
  3904.  
  3905. elseif not scfr then
  3906.  
  3907. scfr = blcf
  3908.  
  3909. end
  3910.  
  3911. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,-1.2),.3)
  3912.  
  3913. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,1.2),.3)
  3914.  
  3915. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
  3916.  
  3917. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*euler(1.5,-0.5,.8),.3)
  3918.  
  3919. RH.C0=clerp(RH.C0,RHC0*euler(-.2,0,0),.3)
  3920.  
  3921. LH.C0=clerp(LH.C0,LHC0*euler(-.2,0,0),.3)
  3922.  
  3923. end
  3924.  
  3925. so("http://roblox.com/asset/?id=233856146",Hitbox,1,1)
  3926.  
  3927. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(10,20),"Normal",RootPart,.2,1) end)
  3928.  
  3929. for i=0,1,0.1 do
  3930.  
  3931. swait()
  3932.  
  3933. local blcf = Hitbox.CFrame
  3934.  
  3935. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  3936.  
  3937. local h = 5
  3938.  
  3939. 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)
  3940.  
  3941. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  3942.  
  3943. 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)
  3944.  
  3945. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  3946.  
  3947. scfr = blcf
  3948.  
  3949. elseif not scfr then
  3950.  
  3951. scfr = blcf
  3952.  
  3953. end
  3954.  
  3955. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,1),.3)
  3956.  
  3957. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-1),.3)
  3958.  
  3959. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1.2,1.2,0)*euler(-1.5,0,0),.3)
  3960.  
  3961. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(.2,-.2,-1.4),.3)
  3962.  
  3963. end
  3964.  
  3965. attack=false
  3966.  
  3967. con1:disconnect()
  3968.  
  3969. end
  3970.  
  3971.  
  3972.  
  3973. function attackthree()
  3974.  
  3975. attack=true
  3976.  
  3977. for i=0,1,0.2 do
  3978.  
  3979. swait()
  3980.  
  3981. Neck.C0=clerp(Neck.C0,necko*euler(0,0,.2),.4)
  3982.  
  3983. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-.3),.4)
  3984.  
  3985. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1,0,1.2)*euler(0,-2,0),.4)
  3986.  
  3987. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3988.  
  3989. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-.2)*euler(.7,0,.1)*euler(0,-.4,0),.4)
  3990.  
  3991. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3992.  
  3993. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.3,0),.4)
  3994.  
  3995. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.3,0),.4)
  3996.  
  3997. end
  3998.  
  3999. so("http://roblox.com/asset/?id=233856140",Hitbox,1,0.9)
  4000.  
  4001. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(10,20),"Normal",RootPart,.2,1) end)
  4002.  
  4003. for i=0,1,0.1 do
  4004.  
  4005. swait()
  4006.  
  4007. local blcf = Hitbox.CFrame
  4008.  
  4009. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  4010.  
  4011. local h = 5
  4012.  
  4013. 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)
  4014.  
  4015. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  4016.  
  4017. 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)
  4018.  
  4019. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  4020.  
  4021. scfr = blcf
  4022.  
  4023. elseif not scfr then
  4024.  
  4025. scfr = blcf
  4026.  
  4027. end
  4028.  
  4029. Neck.C0=clerp(Neck.C0,necko*euler(.2,0,-.6),.35)
  4030.  
  4031. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.6),.35)
  4032.  
  4033. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.2,0,-1.2)*euler(0,-1.2,0),.35)
  4034.  
  4035. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.35)
  4036.  
  4037. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-.2)*euler(-.4,0,-.7)*euler(0,0,0),.35)
  4038.  
  4039. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.35)
  4040.  
  4041. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.6,0),.35)
  4042.  
  4043. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.6,0),.35)
  4044.  
  4045. end
  4046.  
  4047. attack=false
  4048.  
  4049. con1:disconnect()
  4050.  
  4051. end
  4052.  
  4053.  
  4054.  
  4055. local sine = 0
  4056.  
  4057. local change = 1
  4058.  
  4059. local val = 0
  4060.  
  4061.  
  4062.  
  4063. while true do
  4064.  
  4065. swait()
  4066.  
  4067. sine = sine + change
  4068.  
  4069. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  4070.  
  4071. local velderp=RootPart.Velocity.y
  4072.  
  4073. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  4074.  
  4075. if equipped==true or equipped==false then
  4076.  
  4077. if attack==false then
  4078.  
  4079. idle=idle+1
  4080.  
  4081. else
  4082.  
  4083. idle=0
  4084.  
  4085. end
  4086.  
  4087. if idle>=500 then
  4088.  
  4089. if attack==false then
  4090.  
  4091. --Sheath()
  4092.  
  4093. end
  4094.  
  4095. end
  4096.  
  4097. if RootPart.Velocity.y > 1 and hitfloor==nil then
  4098.  
  4099. Anim="Jump"
  4100.  
  4101. if attack==false then
  4102.  
  4103. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  4104.  
  4105. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  4106.  
  4107. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  4108.  
  4109. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.5,0,0.5),.3)
  4110.  
  4111. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  4112.  
  4113. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3)
  4114.  
  4115. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  4116.  
  4117. RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.2)
  4118.  
  4119. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.2)
  4120.  
  4121. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4122.  
  4123. end
  4124.  
  4125. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  4126.  
  4127. Anim="Fall"
  4128.  
  4129. if attack==false then
  4130.  
  4131. Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3)
  4132.  
  4133. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  4134.  
  4135. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  4136.  
  4137. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.3,0,0.2),.3)
  4138.  
  4139. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  4140.  
  4141. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3)
  4142.  
  4143. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  4144.  
  4145. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.2)
  4146.  
  4147. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.2)
  4148.  
  4149. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4150.  
  4151. end
  4152.  
  4153. elseif torvel<1 and hitfloor~=nil then
  4154.  
  4155. Anim="Idle"
  4156.  
  4157. if attack==false then
  4158.  
  4159. RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(0),math.rad(0),math.rad(-45)),.3)
  4160.  
  4161. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.3)
  4162.  
  4163. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  4164.  
  4165. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-5)),.3)
  4166.  
  4167. 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)
  4168.  
  4169. 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)
  4170.  
  4171. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  4172.  
  4173. end
  4174.  
  4175. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  4176.  
  4177. local idleanim=0
  4178.  
  4179. Anim="Walk"
  4180.  
  4181. if attack==false then
  4182.  
  4183. change=3
  4184.  
  4185. --[[RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(35),math.rad(0),math.rad(15*math.cos(sine/10))),.3)
  4186.  
  4187. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  4188.  
  4189. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3)
  4190.  
  4191. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3)
  4192.  
  4193. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  4194.  
  4195. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  4196.  
  4197. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)]]--
  4198.  
  4199. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  4200.  
  4201. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
  4202.  
  4203. --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2)
  4204.  
  4205. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
  4206.  
  4207. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*euler(1.57,-(idleanim/2),1.3-(idleanim/2)),.2)
  4208.  
  4209. RH.C0=clerp(RH.C0,RHC0,.3)
  4210.  
  4211. LH.C0=clerp(LH.C0,LHC0,.3)
  4212.  
  4213. end
  4214.  
  4215. elseif torvel>=22 and hitfloor~=nil then
  4216.  
  4217. Anim="Run"
  4218.  
  4219. if attack==false then
  4220.  
  4221. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.3)
  4222.  
  4223. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-40),math.rad(0),math.rad(0)),.3)
  4224.  
  4225. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-60),math.rad(0),math.rad(0)),.3)
  4226.  
  4227. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-60),math.rad(0),math.rad(0)),.3)
  4228.  
  4229. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  4230.  
  4231. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  4232.  
  4233. Handleweld.C0=clerp(Handleweld.C0,cf(0,-.5,-.7)*angles(math.rad(-75),math.rad(0),math.rad(0)),.3)
  4234.  
  4235. end
  4236.  
  4237. end
  4238.  
  4239. end
  4240.  
  4241. end
  4242.  
  4243. --156434034
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement