Advertisement
kqdragon

off god

Apr 27th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 97.00 KB | None | 0 0
  1. --[[Modified by Sol/Citrus for less tangling]]--
  2.  
  3. local verlet = {}
  4. verlet.step_time = 1 / 50
  5. verlet.gravity = Vector3.new(0, -150, 0) --//
  6.  
  7. local char = game.Players.LocalPlayer.Character
  8. local torso = char:WaitForChild("Torso")
  9. local parts = {}
  10. local render = game:GetService("RunService").RenderStepped
  11.  
  12. wait(2)
  13.  
  14. local point = {}
  15. local link = {}
  16. local rope = {}
  17.  
  18. local function ccw(A,B,C)
  19. return (C.y-A.y) * (B.x-A.x) > (B.y-A.y) * (C.x-A.x)
  20. end
  21.  
  22. local function intersect(A,B,C,D)
  23. return ccw(A,C,D) ~= ccw(B,C,D) and ccw(A,B,C) ~= ccw(A,B,D)
  24. end
  25.  
  26. local function vec2(v)
  27. return Vector2.new(v.x, v.z)
  28. end
  29.  
  30. function point:step()
  31. if not self.fixed then
  32. local derivative = (self.position - self.last_position) * 0.95
  33. self.last_position = self.position
  34. self.position = self.position + derivative + ((verlet.gravity + (torso.CFrame.lookVector * -90)) * verlet.step_time ^ 2) --//
  35. --[[local torsoP = torso.CFrame * CFrame.new(-1, 0, 0.5)
  36. local torsoE = torso.CFrame * CFrame.new(1, 0, 0.5)
  37. local pointE = self.position + torso.CFrame.lookVector * 100
  38. local doIntersect = intersect(vec2(torsoP.p), vec2(torsoE.p), vec2(self.position), vec2(pointE))
  39. if not doIntersect then
  40. self.postition = self.position - torso.CFrame.lookVector * 10
  41. end]]
  42. end
  43. end
  44.  
  45. function link:step()
  46. for i = 1, 1 do
  47. local distance = self.point1.position - self.point2.position
  48. local magnitude = distance.magnitude
  49. local differance = (self.length - magnitude) / magnitude
  50. local translation = ((self.point1.fixed or self.point2.fixed) and 1 or 0.6) * distance * differance
  51. if not self.point1.fixed then
  52. self.point1.position = self.point1.position + translation
  53. end
  54. if not self.point2.fixed then
  55. self.point2.position = self.point2.position - translation
  56. end
  57. end
  58. end
  59.  
  60. function verlet.new(class, a, b, c)
  61. if class == "Point" then
  62. local new = {}
  63. setmetatable(new, {__index = point})
  64. new.class = class
  65. new.position = a or Vector3.new()
  66. new.last_position = new.position
  67. new.velocity = verlet.gravity
  68. new.fixed = false
  69. return new
  70. elseif class == "Link" then
  71. local new = {}
  72. setmetatable(new, {__index = link})
  73. new.class = class
  74. new.point1 = a
  75. new.point2 = b
  76. new.length = c or (a.position - b.position).magnitude
  77. return new
  78. elseif class == "Rope" then
  79. local new = {}
  80. setmetatable(new, {__index = link})
  81. new.class = class
  82. new.start_point = a
  83. new.finish_point = b
  84. new.points = {}
  85. new.links = {}
  86. local inc = (b - a) / 10
  87. for i = 0, 10 do
  88. table.insert(new.points, verlet.new("Point", a + (i * inc)))
  89. end
  90. for i = 2, #new.points do
  91. table.insert(new.links, verlet.new("Link", new.points[i - 1], new.points[i]))
  92. end
  93. return new
  94. end
  95. end
  96.  
  97. local tris = {}
  98. local triParts = {}
  99.  
  100. local function GetDiscoColor(hue)
  101. local section = hue % 1 * 3
  102. local secondary = 0.5 * math.pi * (section % 1)
  103. if section < 1 then
  104. return Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  105. elseif section < 2 then
  106. return Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  107. else
  108. return Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  109. end
  110. end
  111.  
  112. local function setupPart(part)
  113. part.Anchored = true
  114. part.FormFactor = 3
  115. part.CanCollide = false
  116. part.TopSurface = 10
  117. part.BottomSurface = 10
  118. part.LeftSurface = 10
  119. part.RightSurface = 10
  120. part.FrontSurface = 10
  121. part.BackSurface = 10
  122. part.Material = "Neon"
  123. local m = Instance.new("SpecialMesh", part)
  124. m.MeshType = "Wedge"
  125. m.Scale = Vector3.new(0.2, 1, 1)
  126. return part
  127. end
  128.  
  129. local function CFrameFromTopBack(at, top, back)
  130. local right = top:Cross(back)
  131. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  132. end
  133.  
  134. local function drawTri(parent, a, b, c)
  135. local this = {}
  136. local mPart1 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  137. local mPart2 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  138. function this:Set(a, b, c)
  139. local ab, bc, ca = b-a, c-b, a-c
  140. local abm, bcm, cam = ab.magnitude, bc.magnitude, ca.magnitude
  141. local edg1 = math.abs(0.5 + ca:Dot(ab)/(abm*abm))
  142. local edg2 = math.abs(0.5 + ab:Dot(bc)/(bcm*bcm))
  143. local edg3 = math.abs(0.5 + bc:Dot(ca)/(cam*cam))
  144. if edg1 < edg2 then
  145. if edg1 >= edg3 then
  146. a, b, c = c, a, b
  147. ab, bc, ca = ca, ab, bc
  148. abm = cam
  149. end
  150. else
  151. if edg2 < edg3 then
  152. a, b, c = b, c, a
  153. ab, bc, ca = bc, ca, ab
  154. abm = bcm
  155. else
  156. a, b, c = c, a, b
  157. ab, bc, ca = ca, ab, bc
  158. abm = cam
  159. end
  160. end
  161.  
  162. local len1 = -ca:Dot(ab)/abm
  163. local len2 = abm - len1
  164. local width = (ca + ab.unit*len1).magnitude
  165.  
  166. local maincf = CFrameFromTopBack(a, ab:Cross(bc).unit, -ab.unit)
  167.  
  168. if len1 > 0.2 then
  169. mPart1.Parent = parent
  170. mPart1.Size = Vector3.new(0.2, width, len1)
  171. mPart1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  172. else
  173. mPart1.Parent = nil
  174. end
  175.  
  176. if len2 > 0.2 then
  177. mPart2.Parent = parent
  178. mPart2.Size = Vector3.new(0.2, width, len2)
  179. mPart2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  180. else
  181. mPart2.Parent = nil
  182. end
  183. end
  184. function this:SetProperty(prop, value)
  185. mPart1[prop] = value
  186. mPart2[prop] = value
  187. end
  188. this:Set(a, b, c)
  189. function this:Destroy()
  190. mPart1:Destroy()
  191. mPart2:Destroy()
  192. end
  193. this.p1 = mPart1
  194. this.p2 = mPart2
  195. this.p1.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p1.CFrame.Y * 0.5 + time())))
  196. this.p2.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p2.CFrame.Y * 0.5 + time())))
  197. return this
  198. end
  199.  
  200. function verlet.draw(object, id)
  201. if object.class == "Point" then
  202. local part = parts[id]
  203. part.BrickColor = BrickColor.new(1, 1, 1)
  204. part.Transparency = 0
  205. part.formFactor = 3
  206. part.Anchored = true
  207. part.CanCollide = false
  208. part.TopSurface = 0
  209. part.BottomSurface = 0
  210. part.Size = Vector3.new(0.35, 0.35, 0.35)
  211. part.Material = "Neon"
  212. part.CFrame = CFrame.new(object.position)
  213. part.Parent = torso
  214. return part
  215. elseif object.class == "Link" then
  216. local part = parts[id]
  217. local dist = (object.point1.position - object.point2.position).magnitude
  218. part.Size = Vector3.new(0.2, 0.2, dist)
  219. part.CFrame = CFrame.new(object.point1.position, object.point2.position) * CFrame.new(0, 0, dist * -0.5)
  220. part.Parent = torso
  221. return part
  222. end
  223. end
  224.  
  225. function verlet.clear()
  226. for _, v in pairs(workspace:GetChildren()) do
  227. if v.Name == "Part" then
  228. v:Destroy()
  229. end
  230. end
  231. end
  232.  
  233. local points = {}
  234. local links = {}
  235.  
  236. for x = 0, 2 do
  237. points[x] = {}
  238. for y = 0, 3 do
  239. points[x][y] = verlet.new("Point", torso.Position + Vector3.new(x * 0.8 - 2, 2 - y * 0.8, 5 + y * 0.4))
  240. points[x][y].fixed = y == 0
  241. end
  242. end
  243.  
  244. for x = 1, 2 do
  245. for y = 0, 3 do
  246. links[#links + 1] = verlet.new("Link", points[x][y], points[x - 1][y], 1 + y * 0.08)
  247. end
  248. end
  249.  
  250. for x = 0, 2 do
  251. for y = 1, 3 do
  252. links[#links + 1] = verlet.new("Link", points[x][y], points[x][y - 1], 1.2 + y * 0.03)
  253. end
  254. end
  255.  
  256. render:connect(function()
  257. for x = 0, 2 do
  258. for y = 0, 3 do
  259. if y == 0 then
  260. points[x][y].position = (torso.CFrame * CFrame.new(x * 1 - 1, 1, 0.5)).p
  261. else
  262. points[x][y]:step()
  263. end
  264. end
  265. end
  266. for i = 1, #links do
  267. links[i]:step()
  268. end
  269. for i = 1, #tris do
  270. triParts[#triParts + 1] = tris[i].p1
  271. triParts[#triParts + 1] = tris[i].p2
  272. end
  273. tris = {}
  274. for x = 1, 2 do
  275. for y = 1, 3 do
  276. tris[#tris + 1] = drawTri(torso, points[x - 1][y - 1].position, points[x - 1][y].position, points[x][y - 1].position)
  277. tris[#tris + 1] = drawTri(torso, points[x][y].position, points[x - 1][y].position, points[x][y - 1].position)
  278. end
  279. end
  280. end)
  281.  
  282. Player=game:GetService("Players").LocalPlayer
  283. Character=Player.Character
  284. PlayerGui=Player.PlayerGui
  285. Backpack=Player.Backpack
  286. Torso=Character.Torso
  287. Head=Character.Head
  288. Humanoid=Character.Humanoid
  289. m=Instance.new('Model',Character)
  290. LeftArm=Character["Left Arm"]
  291. LeftLeg=Character["Left Leg"]
  292. RightArm=Character["Right Arm"]
  293. RightLeg=Character["Right Leg"]
  294. LS=Torso["Left Shoulder"]
  295. LH=Torso["Left Hip"]
  296. RS=Torso["Right Shoulder"]
  297. RH=Torso["Right Hip"]
  298. Face = Head.face
  299. Neck=Torso.Neck
  300. it=Instance.new
  301. attacktype=1
  302. vt=Vector3.new
  303. cf=CFrame.new
  304. euler=CFrame.fromEulerAnglesXYZ
  305. angles=CFrame.Angles
  306. cloaked=false
  307. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  308. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  309. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  310. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  311. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  312. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  313. RootPart=Character.HumanoidRootPart
  314. RootJoint=RootPart.RootJoint
  315. RootCF=euler(-1.57,0,3.14)
  316. attack = false
  317. attackdebounce = false
  318. deb=false
  319. equipped=true
  320. hand=false
  321. MMouse=nil
  322. combo=0
  323. mana=0
  324. trispeed=.2
  325. attackmode='none'
  326. local idle=0
  327. local Anim="Idle"
  328. local Effects={}
  329. local gun=false
  330. local shoot=false
  331. player=nil
  332. mana=0
  333. local CurrentMode = "Unsheathed"
  334.  
  335. mouse=Player:GetMouse()
  336. --save shoulders
  337. RSH, LSH=nil, nil
  338. --welds
  339. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  340. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  341. LH=Torso["Left Hip"]
  342. RH=Torso["Right Hip"]
  343. TorsoColor=Torso.BrickColor
  344. function NoOutline(Part)
  345. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  346. end
  347. player=Player
  348. ch=Character
  349. RSH=ch.Torso["Right Shoulder"]
  350. LSH=ch.Torso["Left Shoulder"]
  351. --
  352. RSH.Parent=nil
  353. LSH.Parent=nil
  354. --
  355. RW.Name="Right Shoulder"
  356. RW.Part0=ch.Torso
  357. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  358. RW.C1=cf(0, 0.5, 0)
  359. RW.Part1=ch["Right Arm"]
  360. RW.Parent=ch.Torso
  361. --
  362. LW.Name="Left Shoulder"
  363. LW.Part0=ch.Torso
  364. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  365. LW.C1=cf(0, 0.5, 0)
  366. LW.Part1=ch["Left Arm"]
  367. LW.Parent=ch.Torso
  368.  
  369. local function weldBetween(a, b)
  370. local weldd = Instance.new("ManualWeld")
  371. weldd.Part0 = a
  372. weldd.Part1 = b
  373. weldd.C0 = CFrame.new()
  374. weldd.C1 = b.CFrame:inverse() * a.CFrame
  375. weldd.Parent = a
  376. return weldd
  377. end
  378.  
  379. function nooutline(part)
  380. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  381. end
  382.  
  383. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  384. local fp=it("Part")
  385. fp.formFactor=formfactor
  386. fp.Parent=parent
  387. fp.Reflectance=reflectance
  388. fp.Transparency=transparency
  389. fp.CanCollide=false
  390. fp.Locked=true
  391. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  392. fp.Name=name
  393. fp.Size=size
  394. fp.Position=Character.Torso.Position
  395. nooutline(fp)
  396. fp.Material=material
  397. fp:BreakJoints()
  398. return fp
  399. end
  400.  
  401. function swait(num)
  402. if num==0 or num==nil then
  403. game:service'RunService'.Heartbeat:wait(0)
  404. else
  405. for i=0,num do
  406. game:service'RunService'.Heartbeat:wait(0)
  407. end
  408. end
  409. end
  410.  
  411. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  412. local mesh=it(Mesh)
  413. mesh.Parent=part
  414. if Mesh=="SpecialMesh" then
  415. mesh.MeshType=meshtype
  416. mesh.MeshId=meshid
  417. end
  418. mesh.Offset=offset
  419. mesh.Scale=scale
  420. return mesh
  421. end
  422.  
  423. function weld(parent,part0,part1,c0,c1)
  424. local weld=it("Weld")
  425. weld.Parent=parent
  426. weld.Part0=part0
  427. weld.Part1=part1
  428. weld.C0=c0
  429. weld.C1=c1
  430. return weld
  431. end
  432.  
  433.  
  434. local function CFrameFromTopBack(at, top, back)
  435. local right = top:Cross(back)
  436. return CFrame.new(at.x, at.y, at.z,
  437. right.x, top.x, back.x,
  438. right.y, top.y, back.y,
  439. right.z, top.z, back.z)
  440. end
  441.  
  442. function Triangle(a, b, c)
  443. local edg1 = (c-a):Dot((b-a).unit)
  444. local edg2 = (a-b):Dot((c-b).unit)
  445. local edg3 = (b-c):Dot((a-c).unit)
  446. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  447. a, b, c = a, b, c
  448. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  449. a, b, c = b, c, a
  450. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  451. a, b, c = c, a, b
  452. else
  453. assert(false, "unreachable")
  454. end
  455.  
  456. local len1 = (c-a):Dot((b-a).unit)
  457. local len2 = (b-a).magnitude - len1
  458. local width = (a + (b-a).unit*len1 - c).magnitude
  459.  
  460. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  461.  
  462. local list = {}
  463.  
  464. if len1 > 0.01 then
  465. local w1 = Instance.new('WedgePart', m)
  466. game:GetService("Debris"):AddItem(w1,5)
  467. w1.Material = "SmoothPlastic"
  468. w1.FormFactor = 'Custom'
  469. w1.BrickColor = BrickColor.new("Cyan")
  470. w1.Transparency = 0
  471. w1.Reflectance = 0
  472. w1.Material = "Neon"
  473. w1.CanCollide = false
  474. NoOutline(w1)
  475. local sz = Vector3.new(0.2, width, len1)
  476. w1.Size = sz
  477. local sp = Instance.new("SpecialMesh",w1)
  478. sp.MeshType = "Wedge"
  479. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  480. w1:BreakJoints()
  481. w1.Anchored = true
  482. w1.Parent = workspace
  483. w1.Transparency = 0.3
  484. table.insert(Effects,{w1,"Disappear",.03})
  485. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  486. table.insert(list,w1)
  487. end
  488. if len2 > 0.01 then
  489. local w2 = Instance.new('WedgePart', m)
  490. game:GetService("Debris"):AddItem(w2,5)
  491. w2.Material = "SmoothPlastic"
  492. w2.FormFactor = 'Custom'
  493. w2.BrickColor = BrickColor.new("Cyan")
  494. w2.Transparency = 0
  495. w2.Reflectance = 0
  496. w2.Material = "Neon"
  497. w2.CanCollide = false
  498. NoOutline(w2)
  499. local sz = Vector3.new(0.2, width, len2)
  500. w2.Size = sz
  501. local sp = Instance.new("SpecialMesh",w2)
  502. sp.MeshType = "Wedge"
  503. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  504. w2:BreakJoints()
  505. w2.Anchored = true
  506. w2.Parent = workspace
  507. w2.Transparency = 0.3
  508. table.insert(Effects,{w2,"Disappear",.03})
  509. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  510. table.insert(list,w2)
  511. end
  512. return unpack(list)
  513. end
  514.  
  515.  
  516. so = function(id,par,vol,pit)
  517. coroutine.resume(coroutine.create(function()
  518. local sou = Instance.new("Sound",par or workspace)
  519. sou.Volume=vol
  520. sou.Pitch=pit or 1
  521. sou.SoundId=id
  522. swait()
  523. sou:play()
  524. game:GetService("Debris"):AddItem(sou,6)
  525. end))
  526. end
  527.  
  528. function clerp(a,b,t)
  529. local qa = {QuaternionFromCFrame(a)}
  530. local qb = {QuaternionFromCFrame(b)}
  531. local ax, ay, az = a.x, a.y, a.z
  532. local bx, by, bz = b.x, b.y, b.z
  533. local _t = 1-t
  534. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  535. end
  536.  
  537. function QuaternionFromCFrame(cf)
  538. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  539. local trace = m00 + m11 + m22
  540. if trace > 0 then
  541. local s = math.sqrt(1 + trace)
  542. local recip = 0.5/s
  543. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  544. else
  545. local i = 0
  546. if m11 > m00 then
  547. i = 1
  548. end
  549. if m22 > (i == 0 and m00 or m11) then
  550. i = 2
  551. end
  552. if i == 0 then
  553. local s = math.sqrt(m00-m11-m22+1)
  554. local recip = 0.5/s
  555. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  556. elseif i == 1 then
  557. local s = math.sqrt(m11-m22-m00+1)
  558. local recip = 0.5/s
  559. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  560. elseif i == 2 then
  561. local s = math.sqrt(m22-m00-m11+1)
  562. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  563. end
  564. end
  565. end
  566.  
  567. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  568. local xs, ys, zs = x + x, y + y, z + z
  569. local wx, wy, wz = w*xs, w*ys, w*zs
  570. local xx = x*xs
  571. local xy = x*ys
  572. local xz = x*zs
  573. local yy = y*ys
  574. local yz = y*zs
  575. local zz = z*zs
  576. 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))
  577. end
  578.  
  579. function QuaternionSlerp(a, b, t)
  580. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  581. local startInterp, finishInterp;
  582. if cosTheta >= 0.0001 then
  583. if (1 - cosTheta) > 0.0001 then
  584. local theta = math.acos(cosTheta)
  585. local invSinTheta = 1/math.sin(theta)
  586. startInterp = math.sin((1-t)*theta)*invSinTheta
  587. finishInterp = math.sin(t*theta)*invSinTheta
  588. else
  589. startInterp = 1-t
  590. finishInterp = t
  591. end
  592. else
  593. if (1+cosTheta) > 0.0001 then
  594. local theta = math.acos(-cosTheta)
  595. local invSinTheta = 1/math.sin(theta)
  596. startInterp = math.sin((t-1)*theta)*invSinTheta
  597. finishInterp = math.sin(t*theta)*invSinTheta
  598. else
  599. startInterp = t-1
  600. finishInterp = t
  601. end
  602. end
  603. 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
  604. end
  605.  
  606. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  607. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  608. end
  609.  
  610. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  611. if hit.Parent==nil then
  612. return
  613. end
  614. local h=hit.Parent:FindFirstChild("Humanoid")
  615. for _,v in pairs(hit.Parent:children()) do
  616. if v:IsA("Humanoid") then
  617. h=v
  618. end
  619. end
  620. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  621. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  622. end
  623. if hit.Parent.className=="Hat" then
  624. hit=hit.Parent.Parent:findFirstChild("Head")
  625. end
  626. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  627. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  628. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  629. return
  630. end]]
  631. -- hs(hit,1.2)
  632. local c=Instance.new("ObjectValue")
  633. c.Name="creator"
  634. c.Value=game:service("Players").LocalPlayer
  635. c.Parent=h
  636. game:GetService("Debris"):AddItem(c,.5)
  637. local Damage=math.huge
  638. -- h:TakeDamage(Damage)
  639. local blocked=false
  640. local block=hit.Parent:findFirstChild("Block")
  641. if block~=nil then
  642. print(block.className)
  643. if block.className=="NumberValue" then
  644. if block.Value>0 then
  645. blocked=true
  646. if decreaseblock==nil then
  647. block.Value=block.Value-1
  648. end
  649. end
  650. end
  651. if block.className=="IntValue" then
  652. if block.Value>0 then
  653. blocked=true
  654. if decreaseblock~=nil then
  655. block.Value=block.Value-1
  656. end
  657. end
  658. end
  659. end
  660. if blocked==false then
  661. -- h:TakeDamage(Damage)
  662. h.Health=h.Health-Damage
  663. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  664. else
  665. h.Health=h.Health-(Damage/2)
  666. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Royal purple").Color)
  667. end
  668. if Type=="Knockdown" then
  669. local hum=hit.Parent.Humanoid
  670. hum.PlatformStand=true
  671. coroutine.resume(coroutine.create(function(HHumanoid)
  672. swait(1)
  673. HHumanoid.PlatformStand=false
  674. end),hum)
  675. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  676. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  677. local bodvol=Instance.new("BodyVelocity")
  678. bodvol.velocity=angle*knockback
  679. bodvol.P=5000
  680. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  681. bodvol.Parent=hit
  682. local rl=Instance.new("BodyAngularVelocity")
  683. rl.P=3000
  684. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  685. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  686. rl.Parent=hit
  687. game:GetService("Debris"):AddItem(bodvol,.5)
  688. game:GetService("Debris"):AddItem(rl,.5)
  689. elseif Type=="Normal" then
  690. local vp=Instance.new("BodyVelocity")
  691. vp.P=500
  692. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  693. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  694. if KnockbackType==1 then
  695. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  696. elseif KnockbackType==2 then
  697. vp.velocity=Property.CFrame.lookVector*knockback
  698. end
  699. if knockback>0 then
  700. vp.Parent=hit.Parent.Torso
  701. end
  702. game:GetService("Debris"):AddItem(vp,.5)
  703. elseif Type=="Up" then
  704. local bodyVelocity=Instance.new("BodyVelocity")
  705. bodyVelocity.velocity=vt(0,60,0)
  706. bodyVelocity.P=5000
  707. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  708. bodyVelocity.Parent=hit
  709. game:GetService("Debris"):AddItem(bodyVelocity,1)
  710. local rl=Instance.new("BodyAngularVelocity")
  711. rl.P=3000
  712. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  713. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  714. rl.Parent=hit
  715. game:GetService("Debris"):AddItem(rl,.5)
  716. elseif Type=="Snare" then
  717. local bp=Instance.new("BodyPosition")
  718. bp.P=2000
  719. bp.D=100
  720. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  721. bp.position=hit.Parent.Torso.Position
  722. bp.Parent=hit.Parent.Torso
  723. game:GetService("Debris"):AddItem(bp,1)
  724. elseif Type=="Target" then
  725. local Targetting = false
  726. if Targetting==false then
  727. ZTarget=hit.Parent.Torso
  728. coroutine.resume(coroutine.create(function(Part)
  729. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  730. swait(5)
  731. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  732. end),ZTarget)
  733. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  734. local targetgui=Instance.new("BillboardGui")
  735. targetgui.Parent=ZTarget
  736. targetgui.Size=UDim2.new(10,100,10,100)
  737. local targ=Instance.new("ImageLabel")
  738. targ.Parent=targetgui
  739. targ.BackgroundTransparency=1
  740. targ.Image="rbxassetid://4834067"
  741. targ.Size=UDim2.new(1,0,1,0)
  742. cam.CameraType="Scriptable"
  743. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  744. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  745. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  746. Targetting=true
  747. RocketTarget=ZTarget
  748. for i=1,Property do
  749. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  750. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  751. swait()
  752. end
  753. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  754. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  755. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  756. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  757. end
  758. Targetting=false
  759. RocketTarget=nil
  760. targetgui.Parent=nil
  761. cam.CameraType="Custom"
  762. end
  763. end
  764. local debounce=Instance.new("BoolValue")
  765. debounce.Name="DebounceHit"
  766. debounce.Parent=hit.Parent
  767. debounce.Value=true
  768. game:GetService("Debris"):AddItem(debounce,Delay)
  769. c=Instance.new("ObjectValue")
  770. c.Name="creator"
  771. c.Value=Player
  772. c.Parent=h
  773. game:GetService("Debris"):AddItem(c,.5)
  774. end
  775. end
  776.  
  777.  
  778. function ShowDamage(Pos, Text, Time, Color)
  779. local Rate = (1 / 30)
  780. local Pos = (Pos or Vector3.new(0, 0, 0))
  781. local Text = (Text or "")
  782. local Time = (Time or 2)
  783. local Color = (Color or Color3.new(1, 0, 0))
  784. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  785. EffectPart.Anchored = true
  786. local BillboardGui = Instance.new("BillboardGui")
  787. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  788. BillboardGui.Adornee = EffectPart
  789. local TextLabel = Instance.new("TextLabel")
  790. TextLabel.BackgroundTransparency = 1
  791. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  792. TextLabel.Text = Text
  793. TextLabel.TextColor3 = Color
  794. TextLabel.TextScaled = true
  795. TextLabel.Font = Enum.Font.ArialBold
  796. TextLabel.Parent = BillboardGui
  797. BillboardGui.Parent = EffectPart
  798. game.Debris:AddItem(EffectPart, (Time + 0.1))
  799. EffectPart.Parent = game:GetService("Workspace")
  800. Delay(0, function()
  801. local Frames = (Time / Rate)
  802. for Frame = 1, Frames do
  803. wait(Rate)
  804. local Percent = (Frame / Frames)
  805. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  806. TextLabel.TextTransparency = Percent
  807. end
  808. if EffectPart and EffectPart.Parent then
  809. EffectPart:Destroy()
  810. end
  811. end)
  812. end
  813.  
  814. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Handle",Vector3.new(0.34799999, 2.78399992, 0.34799999))
  815. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00324273, 0.013961792, -0.00828075409, -1.38366803e-013, -0.999999881, 4.25688995e-009, 2.4656245e-007, -4.25688951e-009, -1, 1, -1.373172e-013, 2.4656245e-007))
  816. mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  817. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"Cyan","Hitbox",Vector3.new(1.04400003, 6.35600042, 0.600000024))
  818. Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000308990479, -5.48094559, -2.00271606e-005, 1, 6.10120843e-011, -1.08637464e-014, -6.10120843e-011, 1, 7.57154339e-011, 1.08637574e-014, -7.57154339e-011, 1))
  819. mesh("BlockMesh",Hitbox,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
  820. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  821. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -0.00242900848, 2.16260338, 1.38366803e-013, -2.4656245e-007, -1, -0.999999702, -4.25688862e-009, -1.37317173e-013, -4.25688862e-009, 0.999999702, -2.46562365e-007))
  822. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  823. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  824. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007))
  825. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
  826. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.812000036))
  827. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000484466553, -0.232157588, -1.08489037, -1.6391111e-007, -2.91180186e-007, -0.999989986, -0.999989986, 2.34624395e-007, 1.63911025e-007, 2.34622007e-007, 1, -2.91177315e-007))
  828. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1))
  829. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  830. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.1207962, -1.77352905, -1.94793994e-008, -1.96046472e-007, -1, 0.707106471, 0.707106292, -1.52399679e-007, 0.707106292, -0.707106471, 1.24851695e-007))
  831. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  832. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.812000036, 0.591600001))
  833. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000144004822, -7.46494102, -8.79764557e-005, 4.47029542e-008, 2.42425131e-007, 0.999980867, -2.50834205e-007, 1, -2.42420526e-007, -0.999980867, -2.5083898e-007, 4.47030146e-008))
  834. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1))
  835. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  836. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  837. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 0.723839939))
  838. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  839. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007))
  840. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
  841. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  842. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.232713461, -1.89698601, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  843. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  844. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999))
  845. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.174778461, -1.66498375, 9.53674316e-006, 1, -2.34479103e-012, -1.42102626e-014, 2.34479103e-012, 1, -2.89901436e-012, 2.04982668e-014, 2.89901436e-012, 1))
  846. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1))
  847. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(1.04400003, 4.75600052, 0.200000003))
  848. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000287055969, -4.68094635, -3.14712524e-005, 0.999985695, 6.10369533e-011, -1.79689095e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689129e-014, -7.57438556e-011, 0.999985695))
  849. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
  850. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  851. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007))
  852. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.230839998, 0.200680032, 2.79675961))
  853. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.579999983, 0.812000036, 0.200000003))
  854. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642))
  855. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.798079908, 0.843320072, 0.58927989))
  856. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  857. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007))
  858. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
  859. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  860. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11735535, -1.77697182, 5.58765407e-008, -2.23627353e-007, -1, 0.707106352, -0.707106411, 1.97639011e-007, -0.707106411, -0.707106352, 1.18617642e-007))
  861. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  862. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  863. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007))
  864. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
  865. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  866. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007))
  867. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
  868. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  869. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00553905964, -0.620464325, 0.00238800049, 0.999994755, 4.21545732e-009, 1.69303116e-013, -4.2154511e-009, 1, -2.46550314e-007, -1.77448632e-013, 2.46551593e-007, 0.999994755))
  870. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  871. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  872. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.12079048, -0.461172104, -1.20904753e-008, -2.04617493e-007, -1, 0.70710665, 0.70710659, -1.53235618e-007, 0.70710659, -0.70710665, 1.36137132e-007))
  873. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  874. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.812000036, 0.200000003, 0.579999983))
  875. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58329773, -0.00251197815, 0.00270497799, 4.25687707e-009, -1, 2.46565747e-007, 1.65165096e-013, -2.46565747e-007, -1, 1, 4.25687707e-009, 1.64115493e-013))
  876. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.526639998, 1))
  877. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.200000003, 0.812000036, 0.34799999))
  878. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.294445038, 1.4429245, 0.00253105164, 0.965925753, -0.258819014, 6.3815186e-008, 0.258819014, 0.965925753, -2.38160979e-007, -1.38366803e-013, 2.4656245e-007, 1))
  879. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  880. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  881. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.12079048, -0.461172104, -1.20904753e-008, -2.04617493e-007, -1, 0.70710665, 0.70710659, -1.53235618e-007, 0.70710659, -0.70710665, 1.36137132e-007))
  882. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  883. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  884. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  885. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.229680017, 0.249400035, 0.650759876))
  886. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  887. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007))
  888. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
  889. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  890. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28609848, -1.26961899, 0.00253105164, 0.707106709, -0.707106769, 1.74346084e-007, 0.707106769, 0.707106709, -1.74345857e-007, -1.38366803e-013, 2.4656245e-007, 1))
  891. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  892. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007))
  893. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
  894. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  895. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007))
  896. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
  897. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  898. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  899. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
  900. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  901. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  902. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
  903. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  904. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11734962, -0.464616776, 4.62869565e-008, -2.3199955e-007, -1, 0.707106471, -0.70710659, 1.96778231e-007, -0.70710659, -0.707106471, 1.31318558e-007))
  905. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  906. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.579999983, 0.200000003, 0.34799999))
  907. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000606894493, -1.54850197, -4.76837158e-006, 1, -2.34479103e-012, -1.42102626e-014, 2.34479103e-012, 1, -2.89901436e-012, 2.04982668e-014, 2.89901436e-012, 1))
  908. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  909. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  910. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  911. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
  912. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  913. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.23126626, -1.89697075, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  914. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000222, 1, 1))
  915. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  916. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.859739304, -1.87621498, 0.00253105164, 0.70710659, 0.70710659, -1.74345828e-007, -0.70710659, 0.70710659, -1.74346027e-007, -1.38366803e-013, 2.4656245e-007, 1))
  917. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  918. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58202362, 0.00305497646, 0.00253105164, 1.91577065e-008, -1, 2.46562593e-007, 0.999994159, 1.91577474e-008, -8.742213e-008, 4.37109904e-008, 2.46561086e-007, 0.999994159))
  919. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  920. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  921. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, -0.577546716, 1.38366803e-013, -2.4656245e-007, -1, -3.40592123e-008, 0.999999821, -2.46562394e-007, 0.999999821, 3.40592123e-008, 1.29969047e-013))
  922. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  923. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.44659999, 0.69599998, 0.371199995))
  924. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00555098057, -1.02645874, 0.00238800049, 0.999994278, 4.2154551e-009, 1.69303035e-013, -4.21544888e-009, 0.999999523, -2.46550201e-007, -1.77448632e-013, 2.46551593e-007, 0.999994755))
  925. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  926. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  927. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -0.0024292469, 2.16260338, 1.38366803e-013, -2.4656245e-007, -1, -0.999999702, -6.38615347e-008, -1.22620908e-013, -6.38615347e-008, 0.999999702, -2.46562365e-007))
  928. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  929. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.200000003, 0.463999987, 0.34799999))
  930. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000650644302, -1.8385067, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  931. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  932. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.200000003, 4.75600052, 0.200000003))
  933. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000156164169, -4.68094444, -0.000274658203, 0.999971211, 5.13775689e-011, -1.44165397e-014, -5.13864507e-011, 1, 6.64499566e-011, 8.34828473e-015, -6.64783784e-011, 0.999971211))
  934. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000401, 1, 0.69599992))
  935. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  936. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007))
  937. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
  938. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  939. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007))
  940. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.230839998, 0.200680032, 2.79675961))
  941. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  942. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  943. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
  944. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  945. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  946. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
  947. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.200000003, 0.231999993, 0.200000003))
  948. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000268936157, -7.1749382, -0.000166773796, -2.98020346e-008, 2.42384317e-007, 0.999980867, -2.50883971e-007, 1, -2.42379713e-007, -0.999980867, -2.50888746e-007, -2.98019742e-008))
  949. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.698320508, 1.00999999, 0.590207934))
  950. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.44659999, 1.15999997, 0.371199995))
  951. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00572288036, 0.249307632, 0.00253105164, 0.999997973, 4.25688151e-009, 1.37316929e-013, -4.25688196e-009, 0.999998093, -2.46561967e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881))
  952. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  953. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  954. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00575697422, 1.22929001, 0.00253105164, 1, 4.25689928e-009, 1.49599246e-013, -4.25689928e-009, 1, -2.46565691e-007, -1.50648848e-013, 2.46565691e-007, 1))
  955. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  956. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  957. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11734962, -0.464616776, 4.62869565e-008, -2.3199955e-007, -1, 0.707106471, -0.70710659, 1.96778231e-007, -0.70710659, -0.707106471, 1.31318558e-007))
  958. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  959. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.579999983, 0.34799999))
  960. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.347447634, -1.78050041, 0.000102043152, 0.999989986, 6.10373974e-011, -1.79689739e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999989986))
  961. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  962. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  963. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007))
  964. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
  965. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  966. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  967. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.229680017, 0.249400035, 0.650759876))
  968. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.696000099, 0.231999993, 0.34799999))
  969. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.872640967, -2.18717003, 0.00248718262, 1, 4.25688995e-009, 1.37317214e-013, -4.25688995e-009, 1, -2.4656245e-007, -1.38366803e-013, 2.4656245e-007, 1))
  970. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  971. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007))
  972. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
  973. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  974. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  975. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
  976. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 1.50800002, 1.04400003))
  977. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.53131104e-005, -7.8129406, 0.00018453598, 4.47029258e-008, 2.42408902e-007, 0.999980867, -2.50858221e-007, 1, -2.42404298e-007, -0.999980867, -2.50863025e-007, 4.47029933e-008))
  978. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.581159949, 1, 1))
  979. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  980. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000666975975, -2.18694496, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  981. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  982. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11735535, -1.77697182, 5.58765407e-008, -2.23627353e-007, -1, 0.707106352, -0.707106411, 1.97639011e-007, -0.707106411, -0.707106352, 1.18617642e-007))
  983. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  984. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999))
  985. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.173270226, -1.66498375, 0.0001039505, 0.999997854, 6.10373974e-011, -1.7969128e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79691145e-014, -7.57154339e-011, 0.999997854))
  986. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1))
  987. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  988. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, 0.582428694, -3.71006301e-008, -2.2971102e-007, -1, 2.55454324e-008, 0.999999821, -2.29710963e-007, 0.999999821, -2.55454431e-008, -3.71006159e-008))
  989. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  990. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  991. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.863862991, -1.87209129, 0.00253105164, 0.70710659, -0.70710659, 1.74346027e-007, 0.70710659, 0.70710659, -1.74345828e-007, -1.38366803e-013, 2.4656245e-007, 1))
  992. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  993. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, -0.577546716, 1.38366803e-013, -2.4656245e-007, -1, -3.40592123e-008, 0.999999821, -2.46562394e-007, 0.999999821, 3.40592123e-008, 1.29969047e-013))
  994. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  995. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  996. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007))
  997. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
  998. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.580000043, 4.75600052, 0.200000003))
  999. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0001963377, -4.68094635, -9.53674316e-005, 0.999990404, 6.10373974e-011, -1.79689874e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57154339e-011, 0.999990404))
  1000. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.638000011))
  1001. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  1002. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.28197098, -1.27374649, 0.00253105164, 0.707106709, 0.707106769, -1.74345885e-007, -0.707106769, 0.707106709, -1.74346056e-007, -1.38366803e-013, 2.4656245e-007, 1))
  1003. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  1004. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.116648793, -1.89650726, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  1005. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  1006. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  1007. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, 0.582428694, -3.71006301e-008, -2.2971102e-007, -1, 2.55454324e-008, 0.999999821, -2.29710963e-007, 0.999999821, -2.55454431e-008, -3.71006159e-008))
  1008. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  1009. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  1010. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00563848019, -0.388711929, 0.00253295898, 0.99999404, 4.25686464e-009, 1.37316401e-013, -4.25686508e-009, 0.999994159, -2.46561001e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881))
  1011. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  1012. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799999, 0.34799999, 0.200000003))
  1013. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642))
  1014. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.595080018, 0.683239937))
  1015. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  1016. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007))
  1017. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 2.79675961))
  1018. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.231999993, 0.34799999))
  1019. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.347726822, -1.60689163, -9.05990601e-005, 0.99999994, 6.59379218e-011, -1.80878482e-014, -6.59667876e-011, 1, -5.95150595e-011, 2.41627922e-014, 5.94866378e-011, 0.99999994))
  1020. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000103, 1, 1))
  1021. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  1022. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.1207962, -1.77352905, -1.94793994e-008, -1.96046472e-007, -1, 0.707106471, 0.707106292, -1.52399679e-007, 0.707106292, -0.707106471, 1.24851695e-007))
  1023. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  1024. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.696000099, 0.231999993, 0.34799999))
  1025. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.870689273, -2.18681908, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  1026. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.812000036))
  1027. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000425338745, -0.231835961, -1.08489037, -4.08055101e-009, 2.02203083e-007, 0.99999994, 0.99999994, 2.42933169e-007, 4.08050749e-009, -2.42933169e-007, 1, -2.02203097e-007))
  1028. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1))
  1029. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.812000036, 0.200000003, 0.812000036))
  1030. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58329773, -0.00251197815, 0.00270497799, 4.25687707e-009, -1, 2.46565747e-007, 1.65165096e-013, -2.46565747e-007, -1, 1, 4.25687707e-009, 1.64115493e-013))
  1031. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.444280028, 1))
  1032. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  1033. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  1034. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 0.723839939))
  1035. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  1036. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00563395023, 0.887273788, 0.00253295898, 0.999990106, 4.25684776e-009, 1.37315859e-013, -4.25684821e-009, 0.999990225, -2.46560035e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881))
  1037. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  1038. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  1039. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.348541379, -1.89650154, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  1040. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  1041. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.579999983, 0.812000036, 0.200000003))
  1042. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642))
  1043. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.835199952, 0.808520079, 0.58927989))
  1044. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  1045. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00555217266, -1.43245697, 0.00238800049, 0.999993682, 4.21545243e-009, 1.69302926e-013, -4.21544666e-009, 0.999998927, -2.46550059e-007, -1.77448618e-013, 2.46551593e-007, 0.999994755))
  1046. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  1047. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  1048. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.115347862, -1.89650726, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  1049. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  1050. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  1051. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007))
  1052. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 2.79675961))
  1053. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.200000003, 0.812000036, 0.34799999))
  1054. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300365448, 1.44133759, 0.00253105164, 0.965925753, 0.258819014, -6.3814916e-008, -0.258819014, 0.965925753, -2.38161064e-007, -1.38366803e-013, 2.4656245e-007, 1))
  1055. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  1056.  
  1057. local Lite = it("PointLight",Torso)
  1058. Lite.Color = Color3.new(255, 255, 0)
  1059. Lite.Range = 8
  1060. Lite.Brightness = 10
  1061. Lite.Shadows = true
  1062.  
  1063. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  1064. local prt=part("Custom",workspace,"Neon",0,0,"Cyan","Effect",vt(0.5,0.5,0.5))
  1065. prt.Anchored=true
  1066. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1067. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1068. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  1069. CF=Part.CFrame
  1070. Numbb=0
  1071. randnumb=math.random()-math.random()
  1072. for i=0,1,0.05 do
  1073. wait()
  1074. CF=CF*cf(0,1,0)
  1075. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  1076. Part.CFrame=CF*euler(Numbb,0,0)
  1077. Part.Transparency=i
  1078. Numbb=Numbb+randnumb
  1079. end
  1080. Part.Parent=nil
  1081. end),prt)
  1082. end
  1083. --BreakEffect(BrickColor.new("Cyan"),Hitbox.CFrame,0.5,math.random(5,20),0.5)
  1084.  
  1085. function attackone()
  1086. attack=true
  1087. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  1088. for i=0,1,0.1 do
  1089. swait()
  1090. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3)
  1091. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  1092. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1093. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1094. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3)
  1095. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1096. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  1097. end
  1098. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1)
  1099. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
  1100. hitconasdf = Hitbox.Touched:connect(function(hit)
  1101. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1102. if hum12 and not hum12:IsDescendantOf(Character) then
  1103. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  1104. for i = 1,10 do
  1105. BreakEffect(BrickColor.new("Cyan"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1106. end
  1107. hitconasdf:disconnect()
  1108. end
  1109. end)
  1110. for i=0,1,0.1 do
  1111. swait()
  1112. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1113. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1114. local h = 5
  1115. 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)
  1116. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1117. 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)
  1118. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1119. scfr = blcf
  1120. elseif not scfr then
  1121. scfr = blcf
  1122. end
  1123. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3)
  1124. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  1125. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1126. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1127. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3)
  1128. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1129. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  1130. end
  1131. attack=false
  1132. con:disconnect()
  1133. scfr = nil
  1134. pcall(function()
  1135. hitconasdf:disconnect()
  1136. end)
  1137. end
  1138.  
  1139. function attacktwo()
  1140. attack=true
  1141. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  1142. for i=0,1,0.1 do
  1143. swait()
  1144. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
  1145. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  1146. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1147. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1148. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3)
  1149. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  1150. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  1151. end
  1152. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
  1153. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
  1154. hitconasdf = Hitbox.Touched:connect(function(hit)
  1155. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1156. if hum12 and not hum12:IsDescendantOf(Character) then
  1157. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  1158. for i = 1,10 do
  1159. BreakEffect(BrickColor.new("Cyan"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1160. end
  1161. hitconasdf:disconnect()
  1162. end
  1163. end)
  1164. for i=0,1,0.1 do
  1165. swait()
  1166. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1167. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1168. local h = 5
  1169. 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)
  1170. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1171. 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)
  1172. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1173. scfr = blcf
  1174. elseif not scfr then
  1175. scfr = blcf
  1176. end
  1177. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3)
  1178. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  1179. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1180. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1181. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3)
  1182. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1183. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  1184. end
  1185. attack=false
  1186. con:disconnect()
  1187. scfr = nil
  1188. pcall(function()
  1189. hitconasdf:disconnect()
  1190. end)
  1191. end
  1192.  
  1193. function Stab()
  1194. attack=true
  1195. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  1196. for i=0,1,0.1 do
  1197. swait()
  1198. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1199. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(60)),.3)
  1200. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(20),math.rad(90)),.3)
  1201. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-90)),.3)
  1202. LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1203. RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1204. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1205. end
  1206. hitconasdf = Hitbox.Touched:connect(function(hit)
  1207. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1208. if hum12 and not hum12:IsDescendantOf(Character) then
  1209. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  1210. for i = 1,10 do
  1211. BreakEffect(BrickColor.new("Cyan"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1212. end
  1213. hitconasdf:disconnect()
  1214. end
  1215. end)
  1216. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
  1217. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
  1218. for i=0,1,0.1 do
  1219. swait()
  1220. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1221. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1222. local h = 5
  1223. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1224. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1225. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1226. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1227. scfr = blcf
  1228. elseif not scfr then
  1229. scfr = blcf
  1230. end
  1231. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  1232. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-80)),.4)
  1233. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  1234. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.4)
  1235. LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
  1236. RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(0),math.rad(60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
  1237. handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.4)
  1238. end
  1239. con:disconnect()
  1240. attack=false
  1241. scfr = nil
  1242. pcall(function()
  1243. hitconasdf:disconnect()
  1244. end)
  1245. end
  1246.  
  1247. function Spin()
  1248. attack=true
  1249. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  1250. hitconasdf = Hitbox.Touched:connect(function(hit)
  1251. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1252. if hum12 and not hum12:IsDescendantOf(Character) then
  1253. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  1254. for i = 1,10 do
  1255. BreakEffect(BrickColor.new("Cyan"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1256. end
  1257. hitconasdf:disconnect()
  1258. end
  1259. end)
  1260. for i=0,1,1 do
  1261. so("http://roblox.com/asset/?id=154965962",Hitbox,1,1)
  1262. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
  1263. swait()
  1264. for i=0,1,0.1 do
  1265. swait()
  1266. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1267. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1268. local h = 5
  1269. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1270. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1271. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1272. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1273. scfr = blcf
  1274. elseif not scfr then
  1275. scfr = blcf
  1276. end
  1277. RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(-50)),.3)
  1278. LW.C0=clerp(LW.C0,cf(-1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(50)),.3)
  1279. LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0)),.3)
  1280. RH.C0=clerp(RH.C0,cf(1,-.5,-1)*angles(math.rad(-20),math.rad(90),math.rad(0)),.3)
  1281. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5)*euler(6*i,0,0),.5)
  1282. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(30)),1)
  1283. end
  1284. end
  1285. attack=false
  1286. con:disconnect()
  1287. scfr = nil
  1288. pcall(function()
  1289. hitconasdf:disconnect()
  1290. end)
  1291. end
  1292.  
  1293. function ContAttack()
  1294. attack=true
  1295. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  1296. hitconasdf = Hitbox.Touched:connect(function(hit)
  1297. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1298. if hum12 and not hum12:IsDescendantOf(Character) then
  1299. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  1300. for i = 1,10 do
  1301. BreakEffect(BrickColor.new("Cyan"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1302. end
  1303. hitconasdf:disconnect()
  1304. end
  1305. end)
  1306. for i=1,4 do
  1307. swait()
  1308. for i=0,1,0.2 do
  1309. swait()
  1310. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3)
  1311. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  1312. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1313. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1314. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3)
  1315. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1316. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  1317. end
  1318. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1)
  1319. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
  1320. for i=0,1,0.2 do
  1321. swait()
  1322. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1323. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1324. local h = 5
  1325. 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)
  1326. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1327. 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)
  1328. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1329. scfr = blcf
  1330. elseif not scfr then
  1331. scfr = blcf
  1332. end
  1333. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3)
  1334. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  1335. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1336. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1337. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3)
  1338. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1339. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  1340. end
  1341. for i=0,1,0.2 do
  1342. swait()
  1343. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
  1344. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  1345. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1346. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1347. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3)
  1348. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  1349. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  1350. end
  1351. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
  1352. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
  1353. for i=0,1,0.2 do
  1354. swait()
  1355. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1356. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1357. local h = 5
  1358. 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)
  1359. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1360. 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)
  1361. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1362. scfr = blcf
  1363. elseif not scfr then
  1364. scfr = blcf
  1365. end
  1366. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3)
  1367. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  1368. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1369. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1370. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3)
  1371. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1372. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  1373. end
  1374. end
  1375. attack=false
  1376. con:disconnect()
  1377. scfr = nil
  1378. pcall(function()
  1379. hitconasdf:disconnect()
  1380. end)
  1381. end
  1382.  
  1383.  
  1384. function Sheathe()
  1385. attack = true
  1386. so("http://www.roblox.com/asset/?id=273797222",Hitbox,1,.9)
  1387. CurrentMode = "Sheathed"
  1388. for i = 0,1,0.1 do
  1389. swait()
  1390. handleweld.Part0 = Torso
  1391. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1392. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.3)
  1393. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(190),math.rad(0),math.rad(0)),.3)
  1394. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3)
  1395. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1396. 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)
  1397. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1398. end
  1399. attack = false
  1400. end
  1401.  
  1402. function Unsheathe()
  1403. attack = true
  1404. CurrentMode = "Unsheathed"
  1405. so("http://www.roblox.com/asset/?id=239169404",Hitbox,1,.9)
  1406. for i = 0,1,0.1 do
  1407. swait()
  1408. handleweld.Part0 = RightArm
  1409. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1410. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  1411. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(200),math.rad(0),math.rad(0)),.3)
  1412. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(-30),math.rad(-30)),.3)
  1413. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1414. 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)
  1415. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
  1416. end
  1417. scfr = nil
  1418. attack = false
  1419. end
  1420.  
  1421. local Sit = false
  1422.  
  1423. mouse.Button1Down:connect(function()
  1424. if attack==false then
  1425. if attacktype==1 and CurrentMode == "Unsheathed" then
  1426. attack=true
  1427. attacktype=2
  1428. attackone()
  1429. elseif attacktype==2 and CurrentMode == "Unsheathed" then
  1430. attack=true
  1431. attacktype=1
  1432. attacktwo()
  1433. end
  1434. end
  1435. end)
  1436.  
  1437.  
  1438. mouse.KeyDown:connect(function(k)
  1439. k=k:lower()
  1440. if k=='q' then
  1441. if attack==false and CurrentMode == "Unsheathed" then
  1442. Stab()
  1443. end
  1444. elseif k=='e' then
  1445. if attack==false and CurrentMode == "Unsheathed" then
  1446. Spin()
  1447. end
  1448. elseif k=='r' then
  1449. if attack==false and CurrentMode == "Unsheathed" then
  1450. ContAttack()
  1451. end
  1452. elseif k=='f' then
  1453. if attack==false and CurrentMode == "Unsheathed" then
  1454. Sheathe()
  1455. elseif k=='f' then
  1456. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1457. Unsheathe()
  1458. end
  1459. end
  1460. elseif k=='t' then
  1461. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1462. Sit = true
  1463. Humanoid.WalkSpeed = 0
  1464. elseif k=='t' then
  1465. if attack==false and Sit == true and CurrentMode == "Sheathed" then
  1466. Sit = false
  1467. Humanoid.WalkSpeed = 16
  1468. end
  1469. end
  1470.  
  1471. end
  1472. end)
  1473.  
  1474.  
  1475. local sine = 0
  1476. local change = 1
  1477. local val = 0
  1478.  
  1479. while true do
  1480. swait()
  1481. sine = sine + change
  1482. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1483. local velderp=RootPart.Velocity.y
  1484. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1485. if equipped==true or equipped==false then
  1486. if attack==false then
  1487. idle=idle+1
  1488. else
  1489. idle=0
  1490. end
  1491. if idle>=500 then
  1492. if attack==false then
  1493. end
  1494. end
  1495. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1496. Anim="Jump"
  1497. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  1498. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1499. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1500. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(50),math.rad(0),math.rad(30)),.3)
  1501. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-40),math.rad(5),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1502. LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1503. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
  1504. end
  1505. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1506. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1507. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1508. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(30)),.3)
  1509. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-30)),.3)
  1510. LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1511. RH.C0=clerp(RH.C0,cf(1,-1,-.2)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1512. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1513. end
  1514. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1515. Anim="Fall"
  1516. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  1517. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1518. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1519. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3)
  1520. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-40),math.rad(5),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1521. LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1522. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
  1523. end
  1524. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1525. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1526. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1527. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(50)),.3)
  1528. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1529. LH.C0=clerp(LH.C0,cf(-1,-.5,-.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1530. RH.C0=clerp(RH.C0,cf(1,-1,-.5)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1531. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1532. end
  1533. elseif torvel<1 and hitfloor~=nil then
  1534. Anim="Idle"
  1535. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  1536. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  1537. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(40)),.3)
  1538. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(40),math.rad(0),math.rad(20)),.3)
  1539. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3)
  1540. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1541. 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)
  1542. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
  1543. end
  1544. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1545. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1546. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(0)),.3)
  1547. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(5)),.3)
  1548. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-5)),.3)
  1549. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1550. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1551. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1552. end
  1553. if attack==false and Sit == true and CurrentMode == "Sheathed" then
  1554. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-2)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1555. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1556. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-10),math.rad(0),math.rad(5)),.3)
  1557. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*euler(math.rad(90),math.rad(0),math.rad(30)),.3)
  1558. LH.C0=clerp(LH.C0,cf(-1,.7,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1559. RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(0),math.rad(90),math.rad(70))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1560. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1561. end
  1562. elseif torvel>2 and hitfloor~=nil then
  1563. Anim="Walk"
  1564. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  1565. change=3
  1566. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1567. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1568. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3)
  1569. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-30),math.rad(5),math.rad(-10)),.3)
  1570. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1571. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1572. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(15),math.rad(-10),math.rad(0)),.3)
  1573. end
  1574. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1575. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1576. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1577. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(30*math.cos(sine/10)),math.rad(0),math.rad(5)),.3)
  1578. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-30*math.cos(sine/10)),math.rad(0),math.rad(-5)),.3)
  1579. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  1580. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  1581. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1582. end
  1583. end
  1584. end
  1585. if #Effects>0 then
  1586. for e=1,#Effects do
  1587. if Effects[e]~=nil then
  1588. local Thing=Effects[e]
  1589. if Thing~=nil then
  1590. local Part=Thing[1]
  1591. local Mode=Thing[2]
  1592. local Delay=Thing[3]
  1593. local IncX=Thing[4]
  1594. local IncY=Thing[5]
  1595. local IncZ=Thing[6]
  1596. if Thing[1].Transparency<=1 then
  1597. if Thing[2]=="Block1" then
  1598. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1599. Mesh=Thing[1].Mesh
  1600. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1601. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1602. elseif Thing[2]=="Cylinder" then
  1603. Mesh=Thing[1].Mesh
  1604. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1605. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1606. elseif Thing[2]=="Blood" then
  1607. Mesh=Thing[7]
  1608. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1609. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1610. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1611. elseif Thing[2]=="Elec" then
  1612. Mesh=Thing[1].Mesh
  1613. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1614. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1615. elseif Thing[2]=="Disappear" then
  1616. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1617. end
  1618. else
  1619. Part.Parent=nil
  1620. table.remove(Effects,e)
  1621. end
  1622. end
  1623. end
  1624. end
  1625. end
  1626. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement