zEE1222

1222

Aug 18th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 58.53 KB | None | 0 0
  1. Player=game:GetService("Players").LocalPlayer
  2. Character=Player.Character
  3. PlayerGui=Player.PlayerGui
  4. Backpack=Player.Backpack
  5. Torso=Character.Torso
  6. Head=Character.Head
  7. Humanoid=Character.Humanoid
  8. m=Instance.new('Model',Character)
  9. LeftArm=Character["Left Arm"]
  10. LeftLeg=Character["Left Leg"]
  11. RightArm=Character["Right Arm"]
  12. RightLeg=Character["Right Leg"]
  13. LS=Torso["Left Shoulder"]
  14. LH=Torso["Left Hip"]
  15. RS=Torso["Right Shoulder"]
  16. RH=Torso["Right Hip"]
  17. Face = Head.face
  18. Neck=Torso.Neck
  19. it=Instance.new
  20. attacktype=1
  21. vt=Vector3.new
  22. cf=CFrame.new
  23. euler=CFrame.fromEulerAnglesXYZ
  24. angles=CFrame.Angles
  25. cloaked=false
  26. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  27. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  28. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  29. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  30. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  31. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  32. RootPart=Character.HumanoidRootPart
  33. RootJoint=RootPart.RootJoint
  34. RootCF=euler(-1.57,0,3.14)
  35. attack = false
  36. attackdebounce = false
  37. deb=false
  38. equipped=true
  39. hand=false
  40. MMouse=nil
  41. combo=0
  42. mana=0
  43. trispeed=.2
  44. attackmode='none'
  45. local idle=0
  46. local Anim="Idle"
  47. local Effects={}
  48. local gun=false
  49. local shoot=false
  50. player=nil
  51. mana=0
  52. cam = workspace.CurrentCamera
  53. ZTarget = nil
  54. RocketTarget = nil
  55.  
  56. mouse=Player:GetMouse()
  57. --save shoulders
  58. RSH, LSH=nil, nil
  59. --welds
  60. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  61. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  62. LH=Torso["Left Hip"]
  63. RH=Torso["Right Hip"]
  64. TorsoColor=Torso.BrickColor
  65. function NoOutline(Part)
  66. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  67. end
  68. player=Player
  69. ch=Character
  70. RSH=ch.Torso["Right Shoulder"]
  71. LSH=ch.Torso["Left Shoulder"]
  72. --
  73. RSH.Parent=nil
  74. LSH.Parent=nil
  75. --
  76. RW.Name="Right Shoulder"
  77. RW.Part0=ch.Torso
  78. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  79. RW.C1=cf(0, 0.5, 0)
  80. RW.Part1=ch["Right Arm"]
  81. RW.Parent=ch.Torso
  82. --
  83. LW.Name="Left Shoulder"
  84. LW.Part0=ch.Torso
  85. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  86. LW.C1=cf(0, 0.5, 0)
  87. LW.Part1=ch["Left Arm"]
  88. LW.Parent=ch.Torso
  89.  
  90. function swait(num)
  91. if num==0 or num==nil then
  92. game:service'RunService'.Heartbeat:wait(0)
  93. else
  94. for i=0,num do
  95. game:service'RunService'.Heartbeat:wait(0)
  96. end
  97. end
  98. end
  99.  
  100. function nooutline(part)
  101. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  102. end
  103.  
  104. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  105. local fp=it("Part")
  106. fp.formFactor=formfactor
  107. fp.Parent=parent
  108. fp.Reflectance=reflectance
  109. fp.Transparency=transparency
  110. fp.CanCollide=false
  111. fp.Locked=true
  112. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  113. fp.Name=name
  114. fp.Size=size
  115. fp.Position=Character.Torso.Position
  116. nooutline(fp)
  117. fp.Material=material
  118. fp:BreakJoints()
  119. return fp
  120. end
  121.  
  122. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  123. local mesh=it(Mesh)
  124. mesh.Parent=part
  125. if Mesh=="SpecialMesh" then
  126. mesh.MeshType=meshtype
  127. mesh.MeshId=meshid
  128. end
  129. mesh.Offset=offset
  130. mesh.Scale=scale
  131. return mesh
  132. end
  133.  
  134. function weld(parent,part0,part1,c0,c1)
  135. local weld=it("Weld")
  136. weld.Parent=parent
  137. weld.Part0=part0
  138. weld.Part1=part1
  139. weld.C0=c0
  140. weld.C1=c1
  141. return weld
  142. end
  143.  
  144.  
  145. local function CFrameFromTopBack(at, top, back)
  146. local right = top:Cross(back)
  147. return CFrame.new(at.x, at.y, at.z,
  148. right.x, top.x, back.x,
  149. right.y, top.y, back.y,
  150. right.z, top.z, back.z)
  151. end
  152.  
  153. function Triangle(a, b, c)
  154. local edg1 = (c-a):Dot((b-a).unit)
  155. local edg2 = (a-b):Dot((c-b).unit)
  156. local edg3 = (b-c):Dot((a-c).unit)
  157. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  158. a, b, c = a, b, c
  159. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  160. a, b, c = b, c, a
  161. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  162. a, b, c = c, a, b
  163. else
  164. assert(false, "unreachable")
  165. end
  166.  
  167. local len1 = (c-a):Dot((b-a).unit)
  168. local len2 = (b-a).magnitude - len1
  169. local width = (a + (b-a).unit*len1 - c).magnitude
  170.  
  171. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  172.  
  173. local list = {}
  174.  
  175. local TrailColor = ("Dark grey")
  176.  
  177. if len1 > 0.01 then
  178. local w1 = Instance.new('WedgePart', m)
  179. game:GetService("Debris"):AddItem(w1,5)
  180. w1.Material = "SmoothPlastic"
  181. w1.FormFactor = 'Custom'
  182. w1.BrickColor = BrickColor.new(TrailColor)
  183. w1.Transparency = 0
  184. w1.Reflectance = 0
  185. w1.Material = "SmoothPlastic"
  186. w1.CanCollide = false
  187. NoOutline(w1)
  188. local sz = Vector3.new(0.2, width, len1)
  189. w1.Size = sz
  190. local sp = Instance.new("SpecialMesh",w1)
  191. sp.MeshType = "Wedge"
  192. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  193. w1:BreakJoints()
  194. w1.Anchored = true
  195. w1.Parent = workspace
  196. w1.Transparency = 0.7
  197. table.insert(Effects,{w1,"Disappear",.01})
  198. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  199. table.insert(list,w1)
  200. end
  201.  
  202. if len2 > 0.01 then
  203. local w2 = Instance.new('WedgePart', m)
  204. game:GetService("Debris"):AddItem(w2,5)
  205. w2.Material = "SmoothPlastic"
  206. w2.FormFactor = 'Custom'
  207. w2.BrickColor = BrickColor.new(TrailColor)
  208. w2.Transparency = 0
  209. w2.Reflectance = 0
  210. w2.Material = "SmoothPlastic"
  211. w2.CanCollide = false
  212. NoOutline(w2)
  213. local sz = Vector3.new(0.2, width, len2)
  214. w2.Size = sz
  215. local sp = Instance.new("SpecialMesh",w2)
  216. sp.MeshType = "Wedge"
  217. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  218. w2:BreakJoints()
  219. w2.Anchored = true
  220. w2.Parent = workspace
  221. w2.Transparency = 0.7
  222. table.insert(Effects,{w2,"Disappear",.01})
  223. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  224. table.insert(list,w2)
  225. end
  226. return unpack(list)
  227. end
  228.  
  229.  
  230. so = function(id,par,vol,pit)
  231. coroutine.resume(coroutine.create(function()
  232. local sou = Instance.new("Sound",par or workspace)
  233. sou.Volume=vol
  234. sou.Pitch=pit or 1
  235. sou.SoundId=id
  236. swait()
  237. sou:play()
  238. game:GetService("Debris"):AddItem(sou,6)
  239. end))
  240. end
  241.  
  242. function clerp(a,b,t)
  243. local qa = {QuaternionFromCFrame(a)}
  244. local qb = {QuaternionFromCFrame(b)}
  245. local ax, ay, az = a.x, a.y, a.z
  246. local bx, by, bz = b.x, b.y, b.z
  247. local _t = 1-t
  248. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  249. end
  250.  
  251. function QuaternionFromCFrame(cf)
  252. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  253. local trace = m00 + m11 + m22
  254. if trace > 0 then
  255. local s = math.sqrt(1 + trace)
  256. local recip = 0.5/s
  257. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  258. else
  259. local i = 0
  260. if m11 > m00 then
  261. i = 1
  262. end
  263. if m22 > (i == 0 and m00 or m11) then
  264. i = 2
  265. end
  266. if i == 0 then
  267. local s = math.sqrt(m00-m11-m22+1)
  268. local recip = 0.5/s
  269. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  270. elseif i == 1 then
  271. local s = math.sqrt(m11-m22-m00+1)
  272. local recip = 0.5/s
  273. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  274. elseif i == 2 then
  275. local s = math.sqrt(m22-m00-m11+1)
  276. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  277. end
  278. end
  279. end
  280.  
  281. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  282. local xs, ys, zs = x + x, y + y, z + z
  283. local wx, wy, wz = w*xs, w*ys, w*zs
  284. local xx = x*xs
  285. local xy = x*ys
  286. local xz = x*zs
  287. local yy = y*ys
  288. local yz = y*zs
  289. local zz = z*zs
  290. 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))
  291. end
  292.  
  293. function QuaternionSlerp(a, b, t)
  294. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  295. local startInterp, finishInterp;
  296. if cosTheta >= 0.0001 then
  297. if (1 - cosTheta) > 0.0001 then
  298. local theta = math.acos(cosTheta)
  299. local invSinTheta = 1/math.sin(theta)
  300. startInterp = math.sin((1-t)*theta)*invSinTheta
  301. finishInterp = math.sin(t*theta)*invSinTheta
  302. else
  303. startInterp = 1-t
  304. finishInterp = t
  305. end
  306. else
  307. if (1+cosTheta) > 0.0001 then
  308. local theta = math.acos(-cosTheta)
  309. local invSinTheta = 1/math.sin(theta)
  310. startInterp = math.sin((t-1)*theta)*invSinTheta
  311. finishInterp = math.sin(t*theta)*invSinTheta
  312. else
  313. startInterp = t-1
  314. finishInterp = t
  315. end
  316. end
  317. 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
  318. end
  319.  
  320. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  321. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  322. end
  323.  
  324. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  325. if hit.Parent==nil then
  326. return
  327. end
  328. local h=hit.Parent:FindFirstChild("Humanoid")
  329. for _,v in pairs(hit.Parent:children()) do
  330. if v:IsA("Humanoid") then
  331. h=v
  332. end
  333. end
  334. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  335. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  336. end
  337. if hit.Parent.className=="Hat" then
  338. hit=hit.Parent.Parent:findFirstChild("Head")
  339. end
  340. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  341. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  342. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  343. return
  344. end]]
  345. -- hs(hit,1.2)
  346. local c=Instance.new("ObjectValue")
  347. c.Name="creator"
  348. c.Value=game:service("Players").LocalPlayer
  349. c.Parent=h
  350. game:GetService("Debris"):AddItem(c,.5)
  351. local Damage=math.random(minim,maxim)
  352. -- h:TakeDamage(Damage)
  353. local blocked=false
  354. local block=hit.Parent:findFirstChild("Block")
  355. if block~=nil then
  356. print(block.className)
  357. if block.className=="NumberValue" then
  358. if block.Value>0 then
  359. blocked=true
  360. if decreaseblock==nil then
  361. block.Value=block.Value-1
  362. end
  363. end
  364. end
  365. if block.className=="IntValue" then
  366. if block.Value>0 then
  367. blocked=true
  368. if decreaseblock~=nil then
  369. block.Value=block.Value-1
  370. end
  371. end
  372. end
  373. end
  374. if blocked==false then
  375. -- h:TakeDamage(Damage)
  376. h.Health=h.Health-Damage
  377. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  378. else
  379. h.Health=h.Health-(Damage/2)
  380. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
  381. end
  382. if Type=="Knockdown" then
  383. local hum=hit.Parent.Humanoid
  384. hum.PlatformStand=true
  385. coroutine.resume(coroutine.create(function(HHumanoid)
  386. swait(1)
  387. HHumanoid.PlatformStand=false
  388. end),hum)
  389. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  390. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  391. local bodvol=Instance.new("BodyVelocity")
  392. bodvol.velocity=angle*knockback
  393. bodvol.P=5000
  394. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  395. bodvol.Parent=hit
  396. local rl=Instance.new("BodyAngularVelocity")
  397. rl.P=3000
  398. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  399. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  400. rl.Parent=hit
  401. game:GetService("Debris"):AddItem(bodvol,.5)
  402. game:GetService("Debris"):AddItem(rl,.5)
  403. elseif Type=="Normal" then
  404. local vp=Instance.new("BodyVelocity")
  405. vp.P=500
  406. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  407. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  408. if KnockbackType==1 then
  409. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  410. elseif KnockbackType==2 then
  411. vp.velocity=Property.CFrame.lookVector*knockback
  412. end
  413. if knockback>0 then
  414. vp.Parent=hit.Parent.Torso
  415. end
  416. game:GetService("Debris"):AddItem(vp,.5)
  417. elseif Type=="Up" then
  418. local bodyVelocity=Instance.new("BodyVelocity")
  419. bodyVelocity.velocity=vt(0,60,0)
  420. bodyVelocity.P=5000
  421. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  422. bodyVelocity.Parent=hit
  423. game:GetService("Debris"):AddItem(bodyVelocity,1)
  424. local rl=Instance.new("BodyAngularVelocity")
  425. rl.P=3000
  426. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  427. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  428. rl.Parent=hit
  429. game:GetService("Debris"):AddItem(rl,.5)
  430. elseif Type=="Snare" then
  431. local bp=Instance.new("BodyPosition")
  432. bp.P=2000
  433. bp.D=100
  434. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  435. bp.position=hit.Parent.Torso.Position
  436. bp.Parent=hit.Parent.Torso
  437. game:GetService("Debris"):AddItem(bp,1)
  438. elseif Type=="Target" then
  439. local Targetting = false
  440. if Targetting==false then
  441. ZTarget=hit.Parent.Torso
  442. coroutine.resume(coroutine.create(function(Part)
  443. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  444. swait(5)
  445. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  446. end),ZTarget)
  447. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  448. local targetgui=Instance.new("BillboardGui")
  449. targetgui.Parent=ZTarget
  450. targetgui.Size=UDim2.new(10,100,10,100)
  451. local targ=Instance.new("ImageLabel")
  452. targ.Parent=targetgui
  453. targ.BackgroundTransparency=1
  454. targ.Image="rbxassetid://4834067"
  455. targ.Size=UDim2.new(1,0,1,0)
  456. cam.CameraType="Scriptable"
  457. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  458. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  459. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  460. Targetting=true
  461. RocketTarget=ZTarget
  462. for i=1,Property do
  463. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  464. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  465. swait()
  466. end
  467. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  468. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  469. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  470. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  471. end
  472. Targetting=false
  473. RocketTarget=nil
  474. targetgui.Parent=nil
  475. cam.CameraType="Custom"
  476. end
  477. end
  478. local debounce=Instance.new("BoolValue")
  479. debounce.Name="DebounceHit"
  480. debounce.Parent=hit.Parent
  481. debounce.Value=true
  482. game:GetService("Debris"):AddItem(debounce,Delay)
  483. c=Instance.new("ObjectValue")
  484. c.Name="creator"
  485. c.Value=Player
  486. c.Parent=h
  487. game:GetService("Debris"):AddItem(c,.5)
  488. end
  489. end
  490.  
  491.  
  492. function ShowDamage(Pos, Text, Time, Color)
  493. local Rate = (1 / 30)
  494. local Pos = (Pos or Vector3.new(0, 0, 0))
  495. local Text = (Text or "")
  496. local Time = (Time or 2)
  497. local Color = (Color or Color3.new(1, 0, 0))
  498. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  499. EffectPart.Anchored = true
  500. local BillboardGui = Instance.new("BillboardGui")
  501. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  502. BillboardGui.Adornee = EffectPart
  503. local TextLabel = Instance.new("TextLabel")
  504. TextLabel.BackgroundTransparency = 1
  505. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  506. TextLabel.Text = Text
  507. TextLabel.TextColor3 = Color
  508. TextLabel.TextScaled = true
  509. TextLabel.Font = Enum.Font.ArialBold
  510. TextLabel.Parent = BillboardGui
  511. BillboardGui.Parent = EffectPart
  512. game.Debris:AddItem(EffectPart, (Time + 0.1))
  513. EffectPart.Parent = game:GetService("Workspace")
  514. Delay(0, function()
  515. local Frames = (Time / Rate)
  516. for Frame = 1, Frames do
  517. wait(Rate)
  518. local Percent = (Frame / Frames)
  519. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  520. TextLabel.TextTransparency = Percent
  521. end
  522. if EffectPart and EffectPart.Parent then
  523. EffectPart:Destroy()
  524. end
  525. end)
  526. end
  527.  
  528. --example: local con = HitboxB.Touched:connect(function(hit) Damagefunc(Hitbox,hit,Dmg,Dmg,math.random(Knockback,Knockback),"Normal",RootPart,.2,1) end)
  529.  
  530. HandleA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","HandleA",Vector3.new(0.400000006, 0.600000024, 1))
  531. HandleAweld=weld(m,Character["Right Arm"],HandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.876270771, -0.000350952148, -0.0871963501, 3.02468436e-007, -0.999996781, -4.86355759e-007, 1.93715664e-007, -4.86354111e-007, 1, -1, -3.02467555e-007, 1.93715522e-007))
  532. mesh("CylinderMesh",HandleA,"","",Vector3.new(0, 0, 0),Vector3.new(0.75999999, 1, 1))
  533. HitboxA=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Toothpaste","HitboxA",Vector3.new(1.00000012, 3.80000019, 0.400000036))
  534. HitboxAweld=weld(m,HandleA,HitboxA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.09956372, -1.52587891e-005, 7.62939453e-006, 0.999993563, -3.18323146e-012, -1.94162568e-012, -3.12638804e-012, 1, 0, -1.97004739e-012, 0, 1))
  535. mesh("BlockMesh",HitboxA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.150000066))
  536. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
  537. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.05311584e-006, -0.599895477, 7.62939453e-006, 0.999993563, -3.18323146e-012, -1.94162568e-012, -3.12638804e-012, 1, 0, -1.97004739e-012, 0, 1))
  538. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.400000036, 1.39999998, 0.400000036))
  539. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399844766, -3.05175781e-005, 7.62939453e-006, 0.999993563, -3.18323146e-012, -1.94162568e-012, -3.12638804e-012, 1, 0, -1.97004739e-012, 0, 1))
  540. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  541. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.499806166, 0.799808502, 7.62939453e-006, 0.999993563, -3.18323146e-012, -1.94162568e-012, -3.12638804e-012, 1, 0, -1.97004739e-012, 0, 1))
  542. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.420000017, 0.400000006))
  543. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399841189, 2.28881836e-005, 0.499961853, 0.999987125, 3.11936617e-007, -1.54066669e-007, 1.39158743e-007, -3.12922936e-007, 0.999996305, 3.11942586e-007, -0.999996305, -4.17230723e-007))
  544. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  545. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.400000006, 0.439999998, 0.200000003))
  546. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399842381, 2.28881836e-005, -0.68977356, 0.999987125, 3.11936617e-007, -1.54066669e-007, 1.39158743e-007, -3.12922936e-007, 0.999996305, 3.11942586e-007, -0.999996305, -4.17230723e-007))
  547. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.300000012))
  548. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.420000017, 1.20000005))
  549. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399840355, 2.28881836e-005, -0.0999221802, 0.999987125, 3.11936617e-007, -1.54066669e-007, 1.39158743e-007, -3.12922936e-007, 0.999996305, 3.11942586e-007, -0.999996305, -4.17230723e-007))
  550. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  551. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.499804497, -0.799888611, 7.62939453e-006, 0.999993563, -3.18323146e-012, -1.94162568e-012, -3.12638804e-012, 1, 0, -1.97004739e-012, 0, 1))
  552. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.400000006, 0.439999998, 0.200000003))
  553. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399841309, 2.28881836e-005, 0.399986267, 0.999987125, 3.11936617e-007, -1.54066669e-007, 1.39158743e-007, -3.12922936e-007, 0.999996305, 3.11942586e-007, -0.999996305, -4.17230723e-007))
  554. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.300000012))
  555. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  556. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, -0.799911499, -0.299885631, 1.70607336e-006, 2.68221839e-007, -1, -2.26939449e-007, 1, 2.6822147e-007, 0.999993563, 2.26934105e-007, 1.70608041e-006))
  557. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  558. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.420000017, 0.400000006))
  559. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399842381, 2.28881836e-005, -0.699806213, 0.999987125, 3.11936617e-007, -1.54066669e-007, 1.39158743e-007, -3.12922936e-007, 0.999996305, 3.11942586e-007, -0.999996305, -4.17230723e-007))
  560. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  561. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(1.00000012, 0.200000018, 0.400000036))
  562. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.09956372, -1.52587891e-005, 7.62939453e-006, 0.999993563, -3.18323146e-012, -1.94162568e-012, -3.12638804e-012, 1, 0, -1.97004739e-012, 0, 1))
  563. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.150000066))
  564. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
  565. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.7220459e-006, 0.599834442, 7.62939453e-006, 0.999993563, -3.18323146e-012, -1.94162568e-012, -3.12638804e-012, 1, 0, -1.97004739e-012, 0, 1))
  566. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  567. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -0.799816132, -0.299886942, -8.19355193e-007, -2.68222067e-007, 1, 5.3691457e-007, -1, -2.68221612e-007, 0.999993563, 5.369115e-007, 8.19356728e-007))
  568. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  569. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.400000006, 0.200000003, 1))
  570. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.48362732e-006, 0.399921417, 0, 0.999993563, -3.18323146e-012, -1.94162568e-012, -3.12638804e-012, 1, 0, -1.97004739e-012, 0, 1))
  571. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.75999999, 1, 1))
  572. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(0.400000006, 0.600000024, 0.200000003))
  573. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -1.37712097, 0.686037064, -3.19909276e-007, -4.26937277e-008, 1, 0.624627113, 0.780920088, 2.33164513e-007, -0.780915022, 0.624631047, -2.23154302e-007))
  574. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  575. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(0.400000006, 1.20000005, 0.200000003))
  576. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -1.67708588, 0.0862731934, -3.19909276e-007, -4.26937277e-008, 1, 0.624627113, 0.780920088, 2.33164513e-007, -0.780915022, 0.624631047, -2.23154302e-007))
  577. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  578. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(0.400000006, 0.400000036, 0.200000003))
  579. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -1.27713776, 0.885951996, -3.19909276e-007, -4.26937277e-008, 1, 0.624627113, 0.780920088, 2.33164513e-007, -0.780915022, 0.624631047, -2.23154302e-007))
  580. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  581. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(0.400000006, 0.800000012, 0.200000003))
  582. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -1.47715378, 0.486082077, -3.19909276e-007, -4.26937277e-008, 1, 0.624627113, 0.780920088, 2.33164513e-007, -0.780915022, 0.624631047, -2.23154302e-007))
  583. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  584. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(0.400000006, 1, 0.200000003))
  585. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -1.5770607, 0.286224365, -3.19909276e-007, -4.26937277e-008, 1, 0.624627113, 0.780920088, 2.33164513e-007, -0.780915022, 0.624631047, -2.23154302e-007))
  586. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  587. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(0.400000006, 0.400000036, 0.200000003))
  588. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, -1.27767563, 0.885528564, 7.32046772e-007, 1.04308597e-007, -1, 0.624627948, -0.780919373, 3.75803722e-007, -0.780914307, -0.624631882, -6.36824609e-007))
  589. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  590. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  591. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.28881836e-005, -1.17765045, 1.08547592, 7.32046772e-007, 1.04308597e-007, -1, 0.624627948, -0.780919373, 3.75803722e-007, -0.780914307, -0.624631882, -6.36824609e-007))
  592. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  593. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(0.400000006, 0.600000024, 0.200000003))
  594. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.28881836e-005, -1.37765884, 0.685609818, 7.32046772e-007, 1.04308597e-007, -1, 0.624627948, -0.780919373, 3.75803722e-007, -0.780914307, -0.624631882, -6.36824609e-007))
  595. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  596. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  597. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -1.17710876, 1.0859108, -3.19909276e-007, -4.26937277e-008, 1, 0.624627113, 0.780920088, 2.33164513e-007, -0.780915022, 0.624631047, -2.23154302e-007))
  598. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  599. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.400000006, 0.439999998, 0.200000003))
  600. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399842143, 2.28881836e-005, 0.599914551, 0.999987125, 3.11936617e-007, -1.54066669e-007, 1.39158743e-007, -3.12922936e-007, 0.999996305, 3.11942586e-007, -0.999996305, -4.17230723e-007))
  601. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.300000012))
  602. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(0.400000006, 1, 0.200000003))
  603. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, -1.57758713, 0.285804749, 7.32046772e-007, 1.04308597e-007, -1, 0.624627948, -0.780919373, 3.75803722e-007, -0.780914307, -0.624631882, -6.36824609e-007))
  604. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  605. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(0.400000006, 1.20000005, 0.200000003))
  606. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, -1.67761993, 0.0858478546, 7.32046772e-007, 1.04308597e-007, -1, 0.624627948, -0.780919373, 3.75803722e-007, -0.780914307, -0.624631882, -6.36824609e-007))
  607. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  608. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  609. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.34057617e-005, -0.599933624, 0.299871683, 1.70607336e-006, 2.68221839e-007, -1, -2.26939449e-007, 1, 2.6822147e-007, 0.999993563, 2.26934105e-007, 1.70608041e-006))
  610. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  611. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(0.400000006, 0.800000012, 0.200000003))
  612. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.52587891e-005, -1.47767639, 0.485664368, 7.32046772e-007, 1.04308597e-007, -1, 0.624627948, -0.780919373, 3.75803722e-007, -0.780914307, -0.624631882, -6.36824609e-007))
  613. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  614. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  615. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-005, -0.599796295, 0.299871922, -2.76205924e-006, -2.38419574e-007, 1, 1.06996549e-006, -1, -2.38416632e-007, 0.999993563, 1.06996549e-006, 2.76207334e-006))
  616. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  617. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.400000006, 0.200000003, 1))
  618. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.29153442e-006, -0.399951935, 0, 0.999993563, -3.18323146e-012, -1.94162568e-012, -3.12638804e-012, 1, 0, -1.97004739e-012, 0, 1))
  619. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.75999999, 1, 1))
  620. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Wedge",Vector3.new(0.400000006, 1, 0.800000072))
  621. Wedgeweld=weld(m,HandleA,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -1.09956384, 0.500591278, -5.34829326e-007, -1.34110962e-007, 1, 0.999993563, 5.60880665e-007, 5.34828928e-007, -5.6088345e-007, 1, 1.3411065e-007))
  622. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  623. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Wedge",Vector3.new(0.400000006, 1, 0.800000072))
  624. Wedgeweld=weld(m,HandleA,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, -1.09956241, 0.499965668, 5.17126352e-007, 5.96053695e-008, -1, 0.999993563, -6.50743459e-008, 5.17125784e-007, -6.50676384e-008, -1, -5.96054264e-008))
  625. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  626.  
  627. HandleB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","HandleB",Vector3.new(0.400000006, 0.600000024, 1))
  628. HandleBweld=weld(m,Character["Left Arm"],HandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.876271009, -0.000350952148, 0.112800598, 3.02468436e-007, -0.999996781, -4.86355759e-007, 1.93715664e-007, -4.86354111e-007, 1, -1, -3.02467555e-007, 1.93715522e-007))
  629. mesh("CylinderMesh",HandleB,"","",Vector3.new(0, 0, 0),Vector3.new(0.75999999, 1, 1))
  630. HitboxB=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Toothpaste","HitboxB",Vector3.new(1.00000012, 3.80000019, 0.400000036))
  631. HitboxBweld=weld(m,HandleB,HitboxB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.0995636, -1.52587891e-005, 7.62939453e-006, 0.999993563, -3.18323146e-012, -1.94162568e-012, -3.12638804e-012, 1, 0, -1.97004739e-012, 0, 1))
  632. mesh("BlockMesh",HitboxB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.150000066))
  633. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
  634. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.05311584e-006, -0.599895477, 7.62939453e-006, 0.999993563, -3.18323146e-012, -1.94162568e-012, -3.12638804e-012, 1, 0, -1.97004739e-012, 0, 1))
  635. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.400000036, 1.39999998, 0.400000036))
  636. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399844646, -3.05175781e-005, 7.62939453e-006, 0.999993563, -3.18323146e-012, -1.94162568e-012, -3.12638804e-012, 1, 0, -1.97004739e-012, 0, 1))
  637. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  638. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.499806046, 0.799808502, 7.62939453e-006, 0.999993563, -3.18323146e-012, -1.94162568e-012, -3.12638804e-012, 1, 0, -1.97004739e-012, 0, 1))
  639. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.420000017, 0.400000006))
  640. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399841428, 2.28881836e-005, 0.499961853, 0.999987125, 3.11936617e-007, -1.54066669e-007, 1.39158743e-007, -3.12922936e-007, 0.999996305, 3.11942586e-007, -0.999996305, -4.17230723e-007))
  641. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  642. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.400000006, 0.439999998, 0.200000003))
  643. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.39984262, 2.28881836e-005, -0.68977356, 0.999987125, 3.11936617e-007, -1.54066669e-007, 1.39158743e-007, -3.12922936e-007, 0.999996305, 3.11942586e-007, -0.999996305, -4.17230723e-007))
  644. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.300000012))
  645. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.420000017, 1.20000005))
  646. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399840593, 2.28881836e-005, -0.0999221802, 0.999987125, 3.11936617e-007, -1.54066669e-007, 1.39158743e-007, -3.12922936e-007, 0.999996305, 3.11942586e-007, -0.999996305, -4.17230723e-007))
  647. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  648. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.499804378, -0.799888611, 7.62939453e-006, 0.999993563, -3.18323146e-012, -1.94162568e-012, -3.12638804e-012, 1, 0, -1.97004739e-012, 0, 1))
  649. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.400000006, 0.439999998, 0.200000003))
  650. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399841547, 2.28881836e-005, 0.399986267, 0.999987125, 3.11936617e-007, -1.54066669e-007, 1.39158743e-007, -3.12922936e-007, 0.999996305, 3.11942586e-007, -0.999996305, -4.17230723e-007))
  651. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.300000012))
  652. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  653. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, -0.799911499, -0.299885511, 1.70607336e-006, 2.68221839e-007, -1, -2.26939449e-007, 1, 2.6822147e-007, 0.999993563, 2.26934105e-007, 1.70608041e-006))
  654. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  655. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.420000017, 0.400000006))
  656. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.39984262, 2.28881836e-005, -0.699806213, 0.999987125, 3.11936617e-007, -1.54066669e-007, 1.39158743e-007, -3.12922936e-007, 0.999996305, 3.11942586e-007, -0.999996305, -4.17230723e-007))
  657. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  658. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(1.00000012, 0.200000018, 0.400000036))
  659. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.0995636, -1.52587891e-005, 7.62939453e-006, 0.999993563, -3.18323146e-012, -1.94162568e-012, -3.12638804e-012, 1, 0, -1.97004739e-012, 0, 1))
  660. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.150000066))
  661. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
  662. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.7220459e-006, 0.599834442, 7.62939453e-006, 0.999993563, -3.18323146e-012, -1.94162568e-012, -3.12638804e-012, 1, 0, -1.97004739e-012, 0, 1))
  663. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  664. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -0.799816132, -0.299886703, -8.19355193e-007, -2.68222067e-007, 1, 5.3691457e-007, -1, -2.68221612e-007, 0.999993563, 5.369115e-007, 8.19356728e-007))
  665. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  666. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.400000006, 0.200000003, 1))
  667. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.48362732e-006, 0.399921417, 0, 0.999993563, -3.18323146e-012, -1.94162568e-012, -3.12638804e-012, 1, 0, -1.97004739e-012, 0, 1))
  668. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.75999999, 1, 1))
  669. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(0.400000006, 0.600000024, 0.200000003))
  670. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -1.37712097, 0.686037064, -3.19909276e-007, -4.26937277e-008, 1, 0.624627113, 0.780920088, 2.33164513e-007, -0.780915022, 0.624631047, -2.23154302e-007))
  671. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  672. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(0.400000006, 1.20000005, 0.200000003))
  673. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -1.67708588, 0.0862731934, -3.19909276e-007, -4.26937277e-008, 1, 0.624627113, 0.780920088, 2.33164513e-007, -0.780915022, 0.624631047, -2.23154302e-007))
  674. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  675. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(0.400000006, 0.400000036, 0.200000003))
  676. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -1.27713776, 0.885951996, -3.19909276e-007, -4.26937277e-008, 1, 0.624627113, 0.780920088, 2.33164513e-007, -0.780915022, 0.624631047, -2.23154302e-007))
  677. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  678. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(0.400000006, 0.800000012, 0.200000003))
  679. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -1.47715378, 0.486082077, -3.19909276e-007, -4.26937277e-008, 1, 0.624627113, 0.780920088, 2.33164513e-007, -0.780915022, 0.624631047, -2.23154302e-007))
  680. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  681. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(0.400000006, 1, 0.200000003))
  682. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -1.57705688, 0.286226273, -3.19909276e-007, -4.26937277e-008, 1, 0.624627113, 0.780920088, 2.33164513e-007, -0.780915022, 0.624631047, -2.23154302e-007))
  683. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  684. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(0.400000006, 0.400000036, 0.200000003))
  685. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, -1.27767181, 0.885528564, 7.32046772e-007, 1.04308597e-007, -1, 0.624627948, -0.780919373, 3.75803722e-007, -0.780914307, -0.624631882, -6.36824609e-007))
  686. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  687. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  688. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.28881836e-005, -1.17764664, 1.08547783, 7.32046772e-007, 1.04308597e-007, -1, 0.624627948, -0.780919373, 3.75803722e-007, -0.780914307, -0.624631882, -6.36824609e-007))
  689. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  690. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(0.400000006, 0.600000024, 0.200000003))
  691. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.28881836e-005, -1.37765884, 0.685609818, 7.32046772e-007, 1.04308597e-007, -1, 0.624627948, -0.780919373, 3.75803722e-007, -0.780914307, -0.624631882, -6.36824609e-007))
  692. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  693. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  694. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -1.17710876, 1.0859108, -3.19909276e-007, -4.26937277e-008, 1, 0.624627113, 0.780920088, 2.33164513e-007, -0.780915022, 0.624631047, -2.23154302e-007))
  695. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  696. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.400000006, 0.439999998, 0.200000003))
  697. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399842381, 2.28881836e-005, 0.599914551, 0.999987125, 3.11936617e-007, -1.54066669e-007, 1.39158743e-007, -3.12922936e-007, 0.999996305, 3.11942586e-007, -0.999996305, -4.17230723e-007))
  698. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.300000012))
  699. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(0.400000006, 1, 0.200000003))
  700. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, -1.57758331, 0.285804749, 7.32046772e-007, 1.04308597e-007, -1, 0.624627948, -0.780919373, 3.75803722e-007, -0.780914307, -0.624631882, -6.36824609e-007))
  701. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  702. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(0.400000006, 1.20000005, 0.200000003))
  703. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, -1.67761993, 0.085849762, 7.32046772e-007, 1.04308597e-007, -1, 0.624627948, -0.780919373, 3.75803722e-007, -0.780914307, -0.624631882, -6.36824609e-007))
  704. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  705. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  706. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.34057617e-005, -0.599933624, 0.299871683, 1.70607336e-006, 2.68221839e-007, -1, -2.26939449e-007, 1, 2.6822147e-007, 0.999993563, 2.26934105e-007, 1.70608041e-006))
  707. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  708. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(0.400000006, 0.800000012, 0.200000003))
  709. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.52587891e-005, -1.47767258, 0.485664368, 7.32046772e-007, 1.04308597e-007, -1, 0.624627948, -0.780919373, 3.75803722e-007, -0.780914307, -0.624631882, -6.36824609e-007))
  710. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  711. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  712. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-005, -0.599796295, 0.299871922, -2.76205924e-006, -2.38419574e-007, 1, 1.06996549e-006, -1, -2.38416632e-007, 0.999993563, 1.06996549e-006, 2.76207334e-006))
  713. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  714. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.400000006, 0.200000003, 1))
  715. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.29153442e-006, -0.399951935, 0, 0.999993563, -3.18323146e-012, -1.94162568e-012, -3.12638804e-012, 1, 0, -1.97004739e-012, 0, 1))
  716. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.75999999, 1, 1))
  717. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Wedge",Vector3.new(0.400000006, 1, 0.800000072))
  718. Wedgeweld=weld(m,HandleB,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -1.09956384, 0.500591278, -5.34829326e-007, -1.34110962e-007, 1, 0.999993563, 5.60880665e-007, 5.34828928e-007, -5.6088345e-007, 1, 1.3411065e-007))
  719. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  720. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Wedge",Vector3.new(0.400000006, 1, 0.800000072))
  721. Wedgeweld=weld(m,HandleB,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, -1.09956253, 0.499965668, 5.17126352e-007, 5.96053695e-008, -1, 0.999993563, -6.50743459e-008, 5.17125784e-007, -6.50676384e-008, -1, -5.96054264e-008))
  722. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.160000026, 1, 1))
  723.  
  724. function attackone()
  725. attack = true
  726. local con1 = HitboxA.Touched:connect(function(hit) Damagefunc(HitboxA,hit,15,20,math.random(1,5),"Normal",RootPart,.2,1) end)
  727. local con2 = HitboxB.Touched:connect(function(hit) Damagefunc(HitboxB,hit,15,20,math.random(1,5),"Normal",RootPart,.2,1) end)
  728. for i = 0,1,0.1 do
  729. swait()
  730. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-.4)* angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  731. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  732. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(30)), 0.3)
  733. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.3)
  734. RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(0),math.rad(90),math.rad(-30)),.3)
  735. LH.C0=clerp(LH.C0,cf(-1,-.5,0)*angles(math.rad(0),math.rad(-60),math.rad(-10)),.3)
  736. end
  737. so("http://roblox.com/asset/?id=199145095",HitboxA,1,1)
  738. for i = 0,1,0.1 do
  739. swait()
  740. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-.4)* angles(math.rad(10),math.rad(0),math.rad(120)),.3)
  741. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-100)),.3)
  742. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.3)
  743. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(-90)), 0.3)
  744. RH.C0=clerp(RH.C0,cf(1,-.5,0)*angles(math.rad(0),math.rad(60),math.rad(10)),.3)
  745. LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-90),math.rad(30)),.3)
  746. end
  747. attack = false
  748. con1:disconnect()
  749. con2:disconnect()
  750. end
  751.  
  752. function attacktwo()
  753. attack = true
  754. local con1 = HitboxA.Touched:connect(function(hit) Damagefunc(HitboxA,hit,15,20,math.random(1,5),"Normal",RootPart,.2,1) end)
  755. local con2 = HitboxB.Touched:connect(function(hit) Damagefunc(HitboxB,hit,15,20,math.random(1,5),"Normal",RootPart,.2,1) end)
  756. for i = 0,1,0.1 do
  757. swait()
  758. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-.4)* angles(math.rad(10),math.rad(0),math.rad(40)),.3)
  759. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  760. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(0), math.rad(140), math.rad(80)), 0.3)
  761. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(-90)), 0.3)
  762. RH.C0=clerp(RH.C0,cf(1,-.5,0)*angles(math.rad(0),math.rad(60),math.rad(10)),.3)
  763. LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-90),math.rad(30)),.3)
  764. end
  765. so("http://roblox.com/asset/?id=199145146",HitboxB,1,1)
  766. for i = 0,1,0.1 do
  767. swait()
  768. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-.4)* angles(math.rad(10),math.rad(0),math.rad(-120)),.3)
  769. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(110)),.3)
  770. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(80)), 0.3)
  771. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(0), math.rad(-140), math.rad(-90)), 0.3)
  772. RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(0),math.rad(90),math.rad(-30)),.3)
  773. LH.C0=clerp(LH.C0,cf(-1,-.5,0)*angles(math.rad(0),math.rad(-60),math.rad(-10)),.3)
  774. end
  775. attack = false
  776. con1:disconnect()
  777. con2:disconnect()
  778. end
  779.  
  780. function attackthree()
  781. attack = true
  782. local con1 = HitboxA.Touched:connect(function(hit) Damagefunc(HitboxA,hit,15,20,math.random(1,5),"Normal",RootPart,.2,1) end)
  783. local con2 = HitboxB.Touched:connect(function(hit) Damagefunc(HitboxB,hit,15,20,math.random(1,5),"Normal",RootPart,.2,1) end)
  784. for i = 0,1,0.1 do
  785. swait()
  786. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-.4)* angles(math.rad(10),math.rad(0),math.rad(120)),.3)
  787. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-100)),.3)
  788. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.3)
  789. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(0), math.rad(-20), math.rad(-90)), 0.3)
  790. RH.C0=clerp(RH.C0,cf(1,-.5,0)*angles(math.rad(0),math.rad(60),math.rad(10)),.3)
  791. LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-90),math.rad(30)),.3)
  792. end
  793. for i = 0,1,0.5 do
  794. swait()
  795. so("http://roblox.com/asset/?id=199145327",Torso,1,1)
  796. for i = 0,1,0.1 do
  797. swait()
  798. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-.4)* angles(math.rad(0),math.rad(0),-6*i),.3)
  799. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-100)),.3)
  800. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.3)
  801. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(0), math.rad(-20), math.rad(-90)), 0.3)
  802. RH.C0=clerp(RH.C0,cf(1,-.5,0)*angles(math.rad(0),math.rad(60),math.rad(10)),.3)
  803. LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-90),math.rad(30)),.3)
  804. end
  805. end
  806. attack = false
  807. con1:disconnect()
  808. con2:disconnect()
  809. end
  810.  
  811. mouse.Button1Down:connect(function()
  812. if attack == false and attacktype == 1 then
  813. attacktype = 2
  814. attackone()
  815. elseif attack == false and attacktype == 2 then
  816. attacktype = 3
  817. attacktwo()
  818. elseif attack == false and attacktype == 3 then
  819. attacktype = 1
  820. attackthree()
  821. end
  822. end)
  823.  
  824. mouse.KeyDown:connect(function(k)
  825. k=k:lower()
  826. if attack == false and k == '' then
  827.  
  828. end
  829. end)
  830.  
  831.  
  832. local sine = 0
  833. local change = 1
  834. local val = 0
  835.  
  836. while true do
  837. swait()
  838. sine = sine + change
  839. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  840. local velderp=RootPart.Velocity.y
  841. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  842. if equipped==true or equipped==false then
  843. if attack==false then
  844. idle=idle+1
  845. else
  846. idle=0
  847. end
  848. if idle>=500 then
  849. if attack==false then
  850. end
  851. end
  852. if RootPart.Velocity.y > 1 and hitfloor==nil then
  853. Anim="Jump"
  854. if attack==false then
  855. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(0,math.rad(0),math.rad(0)),.3)
  856. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  857. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(30)), 0.3)
  858. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-30)), 0.3)
  859. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  860. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  861. end
  862. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  863. Anim="Fall"
  864. if attack==false then
  865. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  866. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  867. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(70)), 0.3)
  868. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-70)), 0.3)
  869. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  870. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  871. end
  872. elseif torvel<1 and hitfloor~=nil then
  873. Anim="Idle"
  874. if attack==false then
  875. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-.4)* angles(math.rad(10),math.rad(0),math.rad(40)),.3)
  876. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-40)),.3)
  877. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(30)), 0.3)
  878. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-30)), 0.3)
  879. RH.C0=clerp(RH.C0,cf(1,-.5,0)*angles(math.rad(0),math.rad(60),math.rad(10)),.3)
  880. LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-90),math.rad(30)),.3)
  881. end
  882. elseif torvel>2 and hitfloor~=nil then
  883. Anim="Walk"
  884. if attack==false then
  885. change=3
  886. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(30),math.rad(0),math.rad(0)),.3)
  887. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  888. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3)
  889. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-20)), 0.3)
  890. 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)
  891. 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)
  892. end
  893. end
  894. end
  895. if #Effects>0 then
  896. for e=1,#Effects do
  897. if Effects[e]~=nil then
  898. local Thing=Effects[e]
  899. if Thing~=nil then
  900. local Part=Thing[1]
  901. local Mode=Thing[2]
  902. local Delay=Thing[3]
  903. local IncX=Thing[4]
  904. local IncY=Thing[5]
  905. local IncZ=Thing[6]
  906. if Thing[1].Transparency<=1 then
  907. if Thing[2]=="Block1" then
  908. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  909. Mesh=Thing[1].Mesh
  910. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  911. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  912. elseif Thing[2]=="Cylinder" then
  913. Mesh=Thing[1].Mesh
  914. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  915. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  916. elseif Thing[2]=="Blood" then
  917. Mesh=Thing[7]
  918. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  919. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  920. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  921. elseif Thing[2]=="Elec" then
  922. Mesh=Thing[1].Mesh
  923. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  924. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  925. elseif Thing[2]=="Disappear" then
  926. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  927. end
  928. else
  929. Part.Parent=nil
  930. table.remove(Effects,e)
  931. end
  932. end
  933. end
  934. end
  935. end
  936. end
Add Comment
Please, Sign In to add comment