daaa

Untitled

Jul 1st, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 111.47 KB | None | 0 0
  1. --[[ Iris Soldier by Cit]]--
  2. --[[ HexaGOD Edit by DMS]]--
  3.  
  4. --[[
  5. Q = Spin
  6. E = Jump slice
  7. F = Blast Force
  8. R = HexBlast
  9. ]]
  10.  
  11. FirePower = game.Players.LocalPlayer.Character
  12. FirePower.Head.face.Texture = "http://www.roblox.com/asset/?id=537496483"
  13. for i,v in pairs(FirePower:children()) do
  14. if v:IsA("Hat") then
  15. v:Destroy()
  16. end
  17. if v:IsA("Shirt") then
  18. v:Destroy()
  19. end
  20. if v:IsA("Pants") then
  21. v:Destroy()
  22. end
  23. if v:IsA("ShirtGraphic") then
  24. v:Destroy()
  25. end
  26. end
  27. FirePower.Torso.BrickColor = BrickColor.new("Institutional white")
  28. FirePower.Head.BrickColor = BrickColor.new("Institutional white")
  29. FirePower["Left Leg"].BrickColor = BrickColor.new("Institutional white")
  30. FirePower["Left Arm"].BrickColor = BrickColor.new("Institutional white")
  31. FirePower["Right Leg"].BrickColor = BrickColor.new("Institutional white")
  32. FirePower["Right Arm"].BrickColor = BrickColor.new("Institutional white")
  33. FirePower.Humanoid.MaxHealth = 9e+100
  34. FirePower.Humanoid.Health = 9e+100
  35.  
  36. myears = Instance.new('Sound')
  37. myears.Parent = FirePower
  38. myears.Looped = true
  39. myears.Name = "Sound"
  40. myears.Playing = true
  41. myears.SoundId = "rbxassetid://144941972"
  42. myears.Volume = 2
  43. myears.PlaybackSpeed = .95
  44. myears.TimePosition = 0
  45.  
  46.  
  47. Player=game:GetService("Players").LocalPlayer
  48. Character=Player.Character
  49. Character.Humanoid.MaxHealth = 9e+1000
  50. Character.Humanoid.Health = 9e+1000
  51. PlayerGui=Player.PlayerGui
  52. Backpack=Player.Backpack
  53. Torso=Character.Torso
  54. Head=Character.Head
  55. Humanoid=Character.Humanoid
  56. cam=game.Workspace.CurrentCamera
  57. m=Instance.new('Model',Character)
  58. LeftArm=Character["Left Arm"]
  59. LeftLeg=Character["Left Leg"]
  60. RightArm=Character["Right Arm"]
  61. RightLeg=Character["Right Leg"]
  62. LS=Torso["Left Shoulder"]
  63. LH=Torso["Left Hip"]
  64. RS=Torso["Right Shoulder"]
  65. RH=Torso["Right Hip"]
  66. Neck=Torso.Neck
  67. it=Instance.new
  68. attacktype=1
  69. vt=Vector3.new
  70. cf=CFrame.new
  71. euler=CFrame.fromEulerAnglesXYZ
  72. angles=CFrame.Angles
  73. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  74. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  75. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  76. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  77. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  78. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  79. RootPart=Character.HumanoidRootPart
  80. RootJoint=RootPart.RootJoint
  81. RootCF=euler(-1.57,0,3.14)
  82. attack = false
  83. attackdebounce = false
  84. deb=false
  85. equipped=true
  86. hand=false
  87. MMouse=nil
  88. combo=0
  89. mana=0
  90. trispeed=.2
  91. attackmode='none'
  92. local idle=0
  93. local Anim="Idle"
  94. local Effects={}
  95. local gun=false
  96. local shoot=false
  97. player=nil
  98. local colorscheme = {"Institutional White"}
  99. local hitsounds = {"199149137","199149186","199149221","199149235","199149269","199149297"}
  100. local render = game:GetService("RunService").RenderStepped
  101. local bltb = {}
  102.  
  103. ---------------Cape Section--------------
  104. --[[ Modified by Sol/Citrus ]]--
  105.  
  106. local verlet = {}
  107. verlet.step_time = 1 / 50
  108. verlet.gravity = Vector3.new(0, -150, 0) --//
  109.  
  110. local char = game.Players.LocalPlayer.Character
  111. local torso = char:WaitForChild("Torso")
  112. local parts = {}
  113. local render = game:GetService("RunService").RenderStepped
  114.  
  115. wait(2)
  116.  
  117. local point = {}
  118. local link = {}
  119. local rope = {}
  120.  
  121. local function ccw(A,B,C)
  122. return (C.y-A.y) * (B.x-A.x) > (B.y-A.y) * (C.x-A.x)
  123. end
  124.  
  125. local function intersect(A,B,C,D)
  126. return ccw(A,C,D) ~= ccw(B,C,D) and ccw(A,B,C) ~= ccw(A,B,D)
  127. end
  128.  
  129. local function vec2(v)
  130. return Vector2.new(v.x, v.z)
  131. end
  132.  
  133. function point:step()
  134. if not self.fixed then
  135. local derivative = (self.position - self.last_position) * 0.95
  136. self.last_position = self.position
  137. self.position = self.position + derivative + ((verlet.gravity + (torso.CFrame.lookVector * -90)) * verlet.step_time ^ 2) --//
  138. --[[local torsoP = torso.CFrame * CFrame.new(-1, 0, 0.5)
  139. local torsoE = torso.CFrame * CFrame.new(1, 0, 0.5)
  140. local pointE = self.position + torso.CFrame.lookVector * 100
  141. local doIntersect = intersect(vec2(torsoP.p), vec2(torsoE.p), vec2(self.position), vec2(pointE))
  142. if not doIntersect then
  143. self.postition = self.position - torso.CFrame.lookVector * 10
  144. end]]
  145. end
  146. end
  147.  
  148. function link:step()
  149. for i = 1, 1 do
  150. local distance = self.point1.position - self.point2.position
  151. local magnitude = distance.magnitude
  152. local differance = (self.length - magnitude) / magnitude
  153. local translation = ((self.point1.fixed or self.point2.fixed) and 1 or 0.6) * distance * differance
  154. if not self.point1.fixed then
  155. self.point1.position = self.point1.position + translation
  156. end
  157. if not self.point2.fixed then
  158. self.point2.position = self.point2.position - translation
  159. end
  160. end
  161. end
  162.  
  163. function verlet.new(class, a, b, c)
  164. if class == "Point" then
  165. local new = {}
  166. setmetatable(new, {__index = point})
  167. new.class = class
  168. new.position = a or Vector3.new()
  169. new.last_position = new.position
  170. new.velocity = verlet.gravity
  171. new.fixed = false
  172. return new
  173. elseif class == "Link" then
  174. local new = {}
  175. setmetatable(new, {__index = link})
  176. new.class = class
  177. new.point1 = a
  178. new.point2 = b
  179. new.length = c or (a.position - b.position).magnitude
  180. return new
  181. elseif class == "Rope" then
  182. local new = {}
  183. setmetatable(new, {__index = link})
  184. new.class = class
  185. new.start_point = a
  186. new.finish_point = b
  187. new.points = {}
  188. new.links = {}
  189. local inc = (b - a) / 10
  190. for i = 0, 10 do
  191. table.insert(new.points, verlet.new("Point", a + (i * inc)))
  192. end
  193. for i = 2, #new.points do
  194. table.insert(new.links, verlet.new("Link", new.points[i - 1], new.points[i]))
  195. end
  196. return new
  197. end
  198. end
  199.  
  200. local tris = {}
  201. local triParts = {}
  202.  
  203.  
  204. local function setupPart(part)
  205. part.Anchored = true
  206. part.FormFactor = 3
  207. part.CanCollide = false
  208. part.TopSurface = 10
  209. part.BottomSurface = 10
  210. part.LeftSurface = 10
  211. part.RightSurface = 10
  212. part.FrontSurface = 10
  213. part.BackSurface = 10
  214. part.Material = "Neon"
  215. local m = Instance.new("SpecialMesh", part)
  216. m.MeshType = "Wedge"
  217. m.Scale = Vector3.new(0.2, 1, 1)
  218. return part
  219. end
  220.  
  221. local function CFrameFromTopBack(at, top, back)
  222. local right = top:Cross(back)
  223. 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)
  224. end
  225.  
  226. local function drawTri(parent, a, b, c)
  227. local this = {}
  228. local mPart1 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  229. local mPart2 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  230. function this:Set(a, b, c)
  231. local ab, bc, ca = b-a, c-b, a-c
  232. local abm, bcm, cam = ab.magnitude, bc.magnitude, ca.magnitude
  233. local edg1 = math.abs(0.5 + ca:Dot(ab)/(abm*abm))
  234. local edg2 = math.abs(0.5 + ab:Dot(bc)/(bcm*bcm))
  235. local edg3 = math.abs(0.5 + bc:Dot(ca)/(cam*cam))
  236. if edg1 < edg2 then
  237. if edg1 >= edg3 then
  238. a, b, c = c, a, b
  239. ab, bc, ca = ca, ab, bc
  240. abm = cam
  241. end
  242. else
  243. if edg2 < edg3 then
  244. a, b, c = b, c, a
  245. ab, bc, ca = bc, ca, ab
  246. abm = bcm
  247. else
  248. a, b, c = c, a, b
  249. ab, bc, ca = ca, ab, bc
  250. abm = cam
  251. end
  252. end
  253.  
  254. local len1 = -ca:Dot(ab)/abm
  255. local len2 = abm - len1
  256. local width = (ca + ab.unit*len1).magnitude
  257.  
  258. local maincf = CFrameFromTopBack(a, ab:Cross(bc).unit, -ab.unit)
  259.  
  260. if len1 > 0.2 then
  261. mPart1.Parent = parent
  262. mPart1.Size = Vector3.new(0.2, width, len1)
  263. mPart1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  264. else
  265. mPart1.Parent = nil
  266. end
  267.  
  268. if len2 > 0.2 then
  269. mPart2.Parent = parent
  270. mPart2.Size = Vector3.new(0.2, width, len2)
  271. mPart2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  272. else
  273. mPart2.Parent = nil
  274. end
  275. end
  276. function this:SetProperty(prop, value)
  277. mPart1[prop] = value
  278. mPart2[prop] = value
  279. end
  280. this:Set(a, b, c)
  281. function this:Destroy()
  282. mPart1:Destroy()
  283. mPart2:Destroy()
  284. end
  285. this.p1 = mPart1
  286. this.p2 = mPart2
  287. this.p1.BrickColor = BrickColor.new("Institutional white")
  288. this.p2.BrickColor = BrickColor.new("Institutional white")
  289. return this
  290. end
  291.  
  292. function verlet.draw(object, id)
  293. if object.class == "Point" then
  294. local part = parts[id]
  295. part.BrickColor = BrickColor.new(1, 1, 1)
  296. part.Transparency = 0
  297. part.formFactor = 3
  298. part.Anchored = true
  299. part.CanCollide = false
  300. part.TopSurface = 0
  301. part.BottomSurface = 0
  302. part.Size = Vector3.new(0.35, 0.35, 0.35)
  303. part.Material = "Neon"
  304. part.CFrame = CFrame.new(object.position)
  305. part.Parent = torso
  306. return part
  307. elseif object.class == "Link" then
  308. local part = parts[id]
  309. local dist = (object.point1.position - object.point2.position).magnitude
  310. part.Size = Vector3.new(0.2, 0.2, dist)
  311. part.CFrame = CFrame.new(object.point1.position, object.point2.position) * CFrame.new(0, 0, dist * -0.5)
  312. part.Parent = torso
  313. return part
  314. end
  315. end
  316.  
  317. function verlet.clear()
  318. for _, v in pairs(workspace:GetChildren()) do
  319. if v.Name == "Part" then
  320. v:Destroy()
  321. end
  322. end
  323. end
  324.  
  325. local points = {}
  326. local links = {}
  327.  
  328. for x = 0, 2 do
  329. points[x] = {}
  330. for y = 0, 3 do
  331. points[x][y] = verlet.new("Point", torso.Position + Vector3.new(x * 0.8 - 2, 2 - y * 0.8, 5 + y * 0.4))
  332. points[x][y].fixed = y == 0
  333. end
  334. end
  335.  
  336. for x = 1, 2 do
  337. for y = 0, 3 do
  338. links[#links + 1] = verlet.new("Link", points[x][y], points[x - 1][y], 1 + y * 0.08)
  339. end
  340. end
  341.  
  342. for x = 0, 2 do
  343. for y = 1, 3 do
  344. links[#links + 1] = verlet.new("Link", points[x][y], points[x][y - 1], 1.2 + y * 0.03)
  345. end
  346. end
  347.  
  348. render:connect(function()
  349. for x = 0, 2 do
  350. for y = 0, 3 do
  351. if y == 0 then
  352. points[x][y].position = (torso.CFrame * CFrame.new(x * 1 - 1, 1, 0.5)).p
  353. else
  354. points[x][y]:step()
  355. end
  356. end
  357. end
  358. for i = 1, #links do
  359. links[i]:step()
  360. end
  361. for i = 1, #tris do
  362. triParts[#triParts + 1] = tris[i].p1
  363. triParts[#triParts + 1] = tris[i].p2
  364. end
  365. tris = {}
  366. for x = 1, 2 do
  367. for y = 1, 3 do
  368. tris[#tris + 1] = drawTri(torso, points[x - 1][y - 1].position, points[x - 1][y].position, points[x][y - 1].position)
  369. tris[#tris + 1] = drawTri(torso, points[x][y].position, points[x - 1][y].position, points[x][y - 1].position)
  370. end
  371. end
  372. end)
  373.  
  374. --<<-------------End Cape Section------------>>--
  375.  
  376. mouse=Player:GetMouse()
  377. --save shoulders
  378. RSH, LSH=nil, nil
  379. --welds
  380. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  381. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  382. LH=Torso["Left Hip"]
  383. RH=Torso["Right Hip"]
  384. TorsoColor=Torso.BrickColor
  385. function NoOutline(Part)
  386. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  387. end
  388. player=Player
  389. ch=Character
  390. RSH=ch.Torso["Right Shoulder"]
  391. LSH=ch.Torso["Left Shoulder"]
  392. --
  393. RSH.Parent=nil
  394. LSH.Parent=nil
  395. --
  396. RW.Name="Right Shoulder"
  397. RW.Part0=ch.Torso
  398. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  399. RW.C1=cf(0, 0.5, 0)
  400. RW.Part1=ch["Right Arm"]
  401. RW.Parent=ch.Torso
  402. --
  403. LW.Name="Left Shoulder"
  404. LW.Part0=ch.Torso
  405. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  406. LW.C1=cf(0, 0.5, 0)
  407. LW.Part1=ch["Left Arm"]
  408. LW.Parent=ch.Torso
  409.  
  410. local Stats=Instance.new("BoolValue")
  411. Stats.Name="Stats"
  412. Stats.Parent=Character
  413. local Atk=Instance.new("NumberValue")
  414. Atk.Name="Damage"
  415. Atk.Parent=Stats
  416. Atk.Value=1
  417. local Def=Instance.new("NumberValue")
  418. Def.Name="Defense"
  419. Def.Parent=Stats
  420. Def.Value=1
  421. local Speed=Instance.new("NumberValue")
  422. Speed.Name="Speed"
  423. Speed.Parent=Stats
  424. Speed.Value=1
  425. local Mvmt=Instance.new("NumberValue")
  426. Mvmt.Name="Movement"
  427. Mvmt.Parent=Stats
  428. Mvmt.Value=1
  429.  
  430. local donum=0
  431.  
  432. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  433. local fp=it("Part")
  434. fp.Parent=parent
  435. fp.Reflectance=reflectance
  436. fp.Transparency=transparency
  437. fp.CanCollide=false
  438. fp.Locked=true
  439. fp.BrickColor=brickcolor
  440. fp.Size=Vector3.new(3,3,3)
  441. fp.Position=Torso.Position
  442. NoOutline(fp)
  443. fp.Material="SmoothPlastic"
  444. fp:BreakJoints()
  445. return fp
  446. end
  447.  
  448. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  449. local mesh=it(Mesh)
  450. mesh.Parent=part
  451. if Mesh=="SpecialMesh" then
  452. mesh.MeshType=meshtype
  453. if meshid~="nil" then
  454. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  455. end
  456. end
  457. mesh.Offset=offset
  458. mesh.Scale=scale
  459. return mesh
  460. end
  461.  
  462. function weld(parent,part0,part1,c0)
  463. local weld=it("Weld")
  464. weld.Parent=parent
  465. weld.Part0=part0
  466. weld.Part1=part1
  467. weld.C0=c0
  468. return weld
  469. end
  470.  
  471.  
  472.  
  473.  
  474. function UpdatePart(pt)
  475. pt.BrickColor = BrickColor.new("Institutional white")
  476. end
  477.  
  478. local Color1=Torso.BrickColor
  479.  
  480. local bodvel=Instance.new("BodyVelocity")
  481. local bg=Instance.new("BodyGyro")
  482.  
  483. function swait(num)
  484. if num==0 or num==nil then
  485. game:service'RunService'.Stepped:wait(0)
  486. else
  487. for i=0,num do
  488. game:service'RunService'.Stepped:wait(0)
  489. end
  490. end
  491. end
  492.  
  493.  
  494. so = function(id,par,vol,pit)
  495. coroutine.resume(coroutine.create(function()
  496. local sou = Instance.new("Sound",par or workspace)
  497. sou.Volume=vol
  498. sou.Pitch=pit or 1
  499. sou.SoundId=id
  500. swait()
  501. sou:play()
  502. game:GetService("Debris"):AddItem(sou,6)
  503. end))
  504. end
  505.  
  506. function clerp(a,b,t)
  507. local qa = {QuaternionFromCFrame(a)}
  508. local qb = {QuaternionFromCFrame(b)}
  509. local ax, ay, az = a.x, a.y, a.z
  510. local bx, by, bz = b.x, b.y, b.z
  511. local _t = 1-t
  512. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  513. end
  514.  
  515. function QuaternionFromCFrame(cf)
  516. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  517. local trace = m00 + m11 + m22
  518. if trace > 0 then
  519. local s = math.sqrt(1 + trace)
  520. local recip = 0.5/s
  521. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  522. else
  523. local i = 0
  524. if m11 > m00 then
  525. i = 1
  526. end
  527. if m22 > (i == 0 and m00 or m11) then
  528. i = 2
  529. end
  530. if i == 0 then
  531. local s = math.sqrt(m00-m11-m22+1)
  532. local recip = 0.5/s
  533. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  534. elseif i == 1 then
  535. local s = math.sqrt(m11-m22-m00+1)
  536. local recip = 0.5/s
  537. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  538. elseif i == 2 then
  539. local s = math.sqrt(m22-m00-m11+1)
  540. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  541. end
  542. end
  543. end
  544.  
  545. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  546. local xs, ys, zs = x + x, y + y, z + z
  547. local wx, wy, wz = w*xs, w*ys, w*zs
  548. local xx = x*xs
  549. local xy = x*ys
  550. local xz = x*zs
  551. local yy = y*ys
  552. local yz = y*zs
  553. local zz = z*zs
  554. 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))
  555. end
  556.  
  557. function QuaternionSlerp(a, b, t)
  558. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  559. local startInterp, finishInterp;
  560. if cosTheta >= 0.0001 then
  561. if (1 - cosTheta) > 0.0001 then
  562. local theta = math.acos(cosTheta)
  563. local invSinTheta = 1/math.sin(theta)
  564. startInterp = math.sin((1-t)*theta)*invSinTheta
  565. finishInterp = math.sin(t*theta)*invSinTheta
  566. else
  567. startInterp = 1-t
  568. finishInterp = t
  569. end
  570. else
  571. if (1+cosTheta) > 0.0001 then
  572. local theta = math.acos(-cosTheta)
  573. local invSinTheta = 1/math.sin(theta)
  574. startInterp = math.sin((t-1)*theta)*invSinTheta
  575. finishInterp = math.sin(t*theta)*invSinTheta
  576. else
  577. startInterp = t-1
  578. finishInterp = t
  579. end
  580. end
  581. 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
  582. end
  583.  
  584. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  585. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  586. end
  587.  
  588. ppart = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  589. local fp = it("Part")
  590. fp.formFactor = formfactor
  591. fp.Parent = parent
  592. fp.Reflectance = reflectance
  593. fp.Transparency = transparency
  594. fp.CanCollide = false
  595. fp.Locked = true
  596. fp.BrickColor = brickcolor
  597. fp.Name = name
  598. fp.Size = size
  599. fp.Position = EffectPart.Position
  600. NoOutline(fp)
  601. fp.Material = "Neon"
  602. fp:BreakJoints()
  603. return fp
  604. end
  605.  
  606. nooutline = function(part)
  607. part.TopSurface = 10
  608. end
  609.  
  610.  
  611. part2 = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  612. local fp = it("Part")
  613. fp.formFactor = formfactor
  614. fp.Parent = parent
  615. fp.Reflectance = reflectance
  616. fp.Transparency = transparency
  617. fp.CanCollide = false
  618. fp.Locked = true
  619. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  620. fp.Name = name
  621. fp.Size = size
  622. fp.Position = Character.Torso.Position
  623. nooutline(fp)
  624. fp.Material = material
  625. fp:BreakJoints()
  626. return fp
  627. end
  628.  
  629. local MagicRing = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, parent)
  630. local prt = ppart(3, game.Workspace, 0, 1, brickcolor, "Effect", vt())
  631. if Type ~= 2 then
  632. prt.Anchored = true
  633. end
  634. prt.CFrame = cframe
  635. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  636. game:GetService("Debris"):AddItem(prt, 5)
  637. coroutine.resume(coroutine.create(function(Part, Mesh, dur)
  638. local wld = nil
  639. if dur == 2 then
  640. wld = weld(Part, Part, parent, euler(0, 0, 0) * cf(0, 0, 0))
  641. end
  642. for i = 0, 1, delay do
  643. swait()
  644. if dur == 1 then
  645. Part.CFrame = Part.CFrame
  646. else
  647. if dur == 2 then
  648. wld.C0 = cframe
  649. end
  650. end
  651. Part.Transparency = i
  652. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  653. end
  654. Part.Parent = nil
  655. end
  656. ), prt, msh, Type)
  657. end
  658.  
  659. ChargeBall = function(parent, t)
  660. local counter = 0
  661. local size = 1
  662. for i = 0, t do
  663. swait()
  664. counter = counter + 1
  665. if (counter) % 10 == 0 then
  666. if size == 3 then
  667. MagicRing(BrickColor.new("Institutional white"))
  668. else
  669. if size == 2 then
  670. MagicRing(BrickColor.new("Institutional white"))
  671. end
  672. end
  673. end
  674. if (counter) % 5 == 0 then
  675. if size == 1 then
  676. MagicBlock(BrickColor.new(("Institutional white")))
  677. else
  678. if size == 2 then
  679. MagicBlock(BrickColor.new(("Institutional white")))
  680. else
  681. if size == 3 then
  682. MagicBlock(BrickColor.new(("Institutional white")))
  683. end
  684. end
  685. end
  686. end
  687. end
  688. end
  689.  
  690.  
  691. MagicWave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  692. local prt = ppart(3, workspace, 0, 0, brickcolor, "Effect", vt())
  693. prt.Anchored = true
  694. prt.CFrame = cframe
  695. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  696. game:GetService("Debris"):AddItem(prt, 5)
  697. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3})
  698. end
  699.  
  700. MagicWaveThing = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  701. local prt = ppart(3, game.Workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  702. prt.Size = Vector3.new(3,3,3)
  703. prt.Anchored = true
  704. prt.CFrame = LeftArm.CFrame
  705. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1051557", vt(0, 0, 0), vt(x1, y1, z1))
  706. game:GetService("Debris"):AddItem(prt, 5)
  707. coroutine.resume(coroutine.create(function(Part, Mesh)
  708. for i = 0, 1, delay do
  709. swait()
  710. Part.CFrame = Part.CFrame * euler(0, 0.7, 0)
  711. Part.Transparency = i
  712. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  713. end
  714. Part.Parent = nil
  715. end
  716. ), prt, msh)
  717. end
  718.  
  719. MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  720. local prt = ppart(3, game.Workspace, 0, 1, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  721. prt.Anchored = true
  722. prt.CFrame = Torso.CFrame
  723. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  724. game:GetService("Debris"):AddItem(prt, 5)
  725. coroutine.resume(coroutine.create(function(Part, Mesh)
  726. for i = 0, 1, delay do
  727. wait()
  728. Part.CFrame = Part.CFrame * euler(math.rad(-50, 50), math.rad(-50, 50), math.rad(-50, 50))
  729. Part.Transparency = i
  730. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  731. end
  732. Part.Parent = nil
  733. end
  734. ), prt, msh)
  735. end
  736.  
  737. MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  738. local prt = ppart(3, game.Workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  739. prt.Anchored = true
  740. prt.CFrame = Torso.CFrame
  741. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(0.1, 0.1, 0.1))
  742. game:GetService("Debris"):AddItem(prt, 2)
  743. coroutine.resume(coroutine.create(function(Part, Mesh)
  744. for i = 0, 2, delay do
  745. wait()
  746. Part.CFrame = Part.CFrame
  747. Part.Transparency = i
  748. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  749. end
  750. Part.Parent = nil
  751. end
  752. ), prt, msh)
  753. end
  754.  
  755. MagicCylinder = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  756. local prt = ppart(3, workspace, 0, 0, brickcolor, "Effect", vt(0.2, 0.2, 0.2))
  757. prt.Anchored = true
  758. prt.CFrame = Torso.CFrame
  759. local msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1))
  760. game:GetService("Debris"):AddItem(prt, 5)
  761. coroutine.resume(coroutine.create(function(Part, Mesh)
  762. for i = 0, 1, delay do
  763. wait()
  764. Part.CFrame = Part.CFrame
  765. Part.Transparency = i
  766. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  767. end
  768. Part.Parent = nil
  769. end
  770. ), prt, msh)
  771. end
  772.  
  773. Blast = function(parent)
  774. MagicBlock(BrickColor.new("Institutional white"))
  775. MagicWaveThing(BrickColor.new("Institutional white"))
  776. end
  777.  
  778. computeDirection = function(vec)
  779. local lenSquared = vec.magnitude * vec.magnitude
  780. local invSqrt = 1 / math.sqrt(lenSquared)
  781. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  782. end
  783.  
  784. MagniDamage = function(Part, dis, mind, maxd, force, knock)
  785. for _,c in pairs(workspace:children()) do
  786. local hum = c:findFirstChild("Humanoid")
  787. if hum ~= nil then
  788. local head = c:findFirstChild("Torso")
  789. if head ~= nil then
  790. local targ = head.Position - Part.Position
  791. local mag = targ.magnitude
  792. if mag <= dis and c.Name ~= Character.Name then
  793. Damagefunc2(Part, hum.Parent.Torso, mind, maxd, force, knock, RootPart, 0.2, 1)
  794. end
  795. end
  796. end
  797. end
  798. end
  799.  
  800.  
  801.  
  802. function ShowDamage2(Pos, Text, Time, Color)
  803. local Rate = (1 / 30)
  804. local Pos = (Pos or Vector3.new(0, 0, 0))
  805. local Text = (Text or "")
  806. local Time = (Time or 2)
  807. local Color = (Color or Color3.new(1, 0, 0))
  808. local EffectPart = part2("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  809. EffectPart.Anchored = true
  810. local BillboardGui = Instance.new("BillboardGui")
  811. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  812. BillboardGui.Adornee = EffectPart
  813. local TextLabel = Instance.new("TextLabel")
  814. TextLabel.BackgroundTransparency = 1
  815. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  816. TextLabel.Text = Text
  817. TextLabel.TextColor3 = Color
  818. TextLabel.TextScaled = true
  819. TextLabel.Font = Enum.Font.ArialBold
  820. TextLabel.Parent = BillboardGui
  821. BillboardGui.Parent = EffectPart
  822. game.Debris:AddItem(EffectPart, (Time + 0.1))
  823. EffectPart.Parent = game:GetService("Workspace")
  824. Delay(0, function()
  825. local Frames = (Time / Rate)
  826. for Frame = 1, Frames do
  827. wait(Rate)
  828. local Percent = (Frame / Frames)
  829. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  830. TextLabel.TextTransparency = Percent
  831. end
  832. if EffectPart and EffectPart.Parent then
  833. EffectPart:Destroy()
  834. end
  835. end)
  836. end
  837.  
  838. Damagefunc2=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  839. if hit.Parent==nil then
  840. return
  841. end
  842. local h=hit.Parent:FindFirstChild("Humanoid")
  843. for _,v in pairs(hit.Parent:children()) do
  844. if v:IsA("Humanoid") then
  845. h=v
  846. end
  847. end
  848. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  849. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  850. end
  851. if hit.Parent.className=="Hat" then
  852. hit=hit.Parent.Parent:findFirstChild("Head")
  853. end
  854. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  855. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  856. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  857. return
  858. end]]
  859. -- hs(hit,1.2)
  860. local c=Instance.new("ObjectValue")
  861. c.Name="creator"
  862. c.Value=game:service("Players").LocalPlayer
  863. c.Parent=h
  864. game:GetService("Debris"):AddItem(c,.5)
  865. local Damage=math.random(minim,maxim)
  866. -- h:TakeDamage(Damage)
  867. local blocked=false
  868. local block=hit.Parent:findFirstChild("Block")
  869. if block~=nil then
  870. print(block.className)
  871. if block.className=="NumberValue" then
  872. if block.Value>0 then
  873. blocked=true
  874. if decreaseblock==nil then
  875. block.Value=block.Value-1
  876. end
  877. end
  878. end
  879. if block.className=="IntValue" then
  880. if block.Value>0 then
  881. blocked=true
  882. if decreaseblock~=nil then
  883. block.Value=block.Value-1
  884. end
  885. end
  886. end
  887. end
  888. if blocked==false then
  889. -- h:TakeDamage(Damage)
  890. h.Health=h.Health-Damage
  891. ShowDamage2((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  892. else
  893. h.Health=h.Health-(Damage/2)
  894. ShowDamage2((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
  895. end
  896. if Type=="Knockdown" then
  897. local hum=hit.Parent.Humanoid
  898. hum.PlatformStand=true
  899. coroutine.resume(coroutine.create(function(HHumanoid)
  900. swait(1)
  901. HHumanoid.PlatformStand=false
  902. end),hum)
  903. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  904. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  905. local bodvol=Instance.new("BodyVelocity")
  906. bodvol.velocity=angle*knockback
  907. bodvol.P=5000
  908. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  909. bodvol.Parent=hit
  910. local rl=Instance.new("BodyAngularVelocity")
  911. rl.P=3000
  912. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  913. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  914. rl.Parent=hit
  915. game:GetService("Debris"):AddItem(bodvol,.5)
  916. game:GetService("Debris"):AddItem(rl,.5)
  917. elseif Type=="Normal" then
  918. local vp=Instance.new("BodyVelocity")
  919. vp.P=500
  920. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  921. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  922. if KnockbackType==1 then
  923. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  924. elseif KnockbackType==2 then
  925. vp.velocity=Property.CFrame.lookVector*knockback
  926. end
  927. if knockback>0 then
  928. vp.Parent=hit.Parent.Torso
  929. end
  930. game:GetService("Debris"):AddItem(vp,.5)
  931. elseif Type=="Up" then
  932. local bodyVelocity=Instance.new("BodyVelocity")
  933. bodyVelocity.velocity=vt(0,60,0)
  934. bodyVelocity.P=5000
  935. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  936. bodyVelocity.Parent=hit
  937. game:GetService("Debris"):AddItem(bodyVelocity,1)
  938. local rl=Instance.new("BodyAngularVelocity")
  939. rl.P=3000
  940. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  941. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  942. rl.Parent=hit
  943. game:GetService("Debris"):AddItem(rl,.5)
  944. elseif Type=="Snare" then
  945. local bp=Instance.new("BodyPosition")
  946. bp.P=2000
  947. bp.D=100
  948. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  949. bp.position=hit.Parent.Torso.Position
  950. bp.Parent=hit.Parent.Torso
  951. game:GetService("Debris"):AddItem(bp,1)
  952. elseif Type=="Target" then
  953. local Targetting = false
  954. if Targetting==false then
  955. ZTarget=hit.Parent.Torso
  956. coroutine.resume(coroutine.create(function(Part)
  957. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  958. swait(5)
  959. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  960. end),ZTarget)
  961. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  962. local targetgui=Instance.new("BillboardGui")
  963. targetgui.Parent=ZTarget
  964. targetgui.Size=UDim2.new(10,100,10,100)
  965. local targ=Instance.new("ImageLabel")
  966. targ.Parent=targetgui
  967. targ.BackgroundTransparency=1
  968. targ.Image="rbxassetid://4834067"
  969. targ.Size=UDim2.new(1,0,1,0)
  970. cam.CameraType="Scriptable"
  971. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  972. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  973. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  974. Targetting=true
  975. RocketTarget=ZTarget
  976. for i=1,Property do
  977. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  978. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  979. swait()
  980. end
  981. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  982. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  983. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  984. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  985. end
  986. Targetting=false
  987. RocketTarget=nil
  988. targetgui.Parent=nil
  989. cam.CameraType="Custom"
  990. end
  991. end
  992. local debounce=Instance.new("BoolValue")
  993. debounce.Name="DebounceHit"
  994. debounce.Parent=hit.Parent
  995. debounce.Value=true
  996. game:GetService("Debris"):AddItem(debounce,Delay)
  997. c=Instance.new("ObjectValue")
  998. c.Name="creator"
  999. c.Value=Player
  1000. c.Parent=h
  1001. game:GetService("Debris"):AddItem(c,.5)
  1002. end
  1003. end
  1004. --<----------------------------------S w o r d C r e a t i o n---------------------------------->--
  1005.  
  1006. user=game:service'Players'.localPlayer
  1007. char=user.Character
  1008. mouse=user:GetMouse()
  1009. m=Instance.new('Model',char)
  1010. iris = m
  1011. game:service'Lighting'.Outlines=false
  1012.  
  1013.  
  1014. local Handle = Instance.new("Part", m)
  1015. Handle:BreakJoints()
  1016. Handle.TopSurface = "Smooth"
  1017. Handle.Transparency = 0 Handle.Material = "SmoothPlastic"
  1018. Handle.Name = 'Handle'
  1019. Handle.BottomSurface = "Smooth"
  1020. Handle.FormFactor = "Custom" Handle.CanCollide = false
  1021. Handle.BrickColor = BrickColor.new("Really black")
  1022. Handle.Size = Vector3.new(0.337107092, 1.12369001, 0.337107033)
  1023. local Handleweld = Instance.new("ManualWeld")
  1024. Handleweld.Part0 = Character["Right Arm"]
  1025. Handleweld.Part1 = Handle Handleweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1026. Handleweld.C1 = CFrame.new(-0.000732421875, -0.0344696045, -0.945665836, -0.999993205, 0, 0, 0, 0, -1, 0, -0.999993086, 0)
  1027. Handleweld.Parent = Character["Right Arm"]
  1028.  
  1029. local HandleMesh = Instance.new("CylinderMesh",Handle)
  1030. HandleMesh.Name = "Mesh"
  1031. HandleMesh.Offset = Vector3.new(0, 0, 0)
  1032. HandleMesh.Scale = Vector3.new(1, 1, 1)
  1033.  
  1034. local Part = Instance.new("Part", m)
  1035. Part:BreakJoints()
  1036. Part.TopSurface = "Smooth"
  1037. Part.Material = "SmoothPlastic"
  1038. Part.Transparency = 0 Part.Name = 'Part'
  1039. Part.BottomSurface = "Smooth"
  1040. Part.FormFactor = "Custom" Part.CanCollide = false
  1041. Part.BrickColor = BrickColor.new("Really black")
  1042. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1043. local Partweld = Instance.new("ManualWeld")
  1044. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1045. Partweld.C1 = CFrame.new(0, -0.842823029, -0.393207669, 0.99998641, 0, 1.77634477e-015, -1.32347999e-023, 1, 0, -1.77634477e-015, 0, 0.99998641)
  1046. Partweld.Parent = Part
  1047. local PartMesh = Instance.new("BlockMesh",Part)
  1048. PartMesh.Name = "Mesh"
  1049. PartMesh.Offset = Vector3.new(0, 0, 0)
  1050. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1051.  
  1052. local Part = Instance.new("Part", m)
  1053. Part:BreakJoints()
  1054. Part.TopSurface = "Smooth"
  1055. Part.Material = "Neon"
  1056. Part.Transparency = 0 Part.Name = 'Part1'
  1057. Part.BottomSurface = "Smooth"
  1058. Part.FormFactor = "Custom" Part.CanCollide = false
  1059. Part.BrickColor = BrickColor.new("Cyan")
  1060. Part.Size = Vector3.new(0.337107092, 0.224738032, 0.337107033)
  1061. local Partweld = Instance.new("ManualWeld")
  1062. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1063. Partweld.C1 = CFrame.new(-4.00543213e-005, 0.674224854, -1.33514404e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1064. Partweld.Parent = Part
  1065. local PartMesh = Instance.new("SpecialMesh",Part)
  1066. PartMesh.MeshId = ""
  1067. PartMesh.MeshType = Enum.MeshType.Sphere PartMesh.Name = "Mesh"
  1068. PartMesh.Offset = Vector3.new(0, 0, 0)
  1069. PartMesh.Scale = Vector3.new(1, 1, 1)
  1070.  
  1071. table.insert(bltb, Part)
  1072.  
  1073. local Part = Instance.new("Part", m)
  1074. Part:BreakJoints()
  1075. Part.TopSurface = "Smooth"
  1076. Part.Material = "SmoothPlastic"
  1077. Part.Transparency = 0 Part.Name = 'Part'
  1078. Part.BottomSurface = "Smooth"
  1079. Part.FormFactor = "Custom" Part.CanCollide = false
  1080. Part.BrickColor = BrickColor.new("Really black")
  1081. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  1082. local Partweld = Instance.new("ManualWeld")
  1083. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1084. Partweld.C1 = CFrame.new(0, -0.730434418, 7.62939453e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1085. Partweld.Parent = Part
  1086. local PartMesh = Instance.new("CylinderMesh",Part)
  1087. PartMesh.Name = "Mesh"
  1088. PartMesh.Offset = Vector3.new(0, 0, 0)
  1089. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  1090.  
  1091.  
  1092.  
  1093. local Part = Instance.new("Part", m)
  1094. Part:BreakJoints()
  1095. Part.TopSurface = "Smooth"
  1096. Part.Material = "SmoothPlastic"
  1097. Part.Transparency = 0 Part.Name = 'Part'
  1098. Part.BottomSurface = "Smooth"
  1099. Part.FormFactor = "Custom" Part.CanCollide = false
  1100. Part.BrickColor = BrickColor.new("Really black")
  1101. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  1102. local Partweld = Instance.new("ManualWeld")
  1103. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1104. Partweld.C1 = CFrame.new(0, -0.730434418, 7.62939453e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1105. Partweld.Parent = Part
  1106. local PartMesh = Instance.new("CylinderMesh",Part)
  1107. PartMesh.Name = "Mesh"
  1108. PartMesh.Offset = Vector3.new(0, 0, 0)
  1109. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  1110.  
  1111. local Part = Instance.new("Part", m)
  1112. Part:BreakJoints()
  1113. Part.TopSurface = "Smooth"
  1114. Part.Material = "Neon"
  1115. Part.Transparency = 0 Part.Name = 'Part2'
  1116. Part.BottomSurface = "Smooth"
  1117. Part.FormFactor = "Custom" Part.CanCollide = false
  1118. Part.BrickColor = BrickColor.new("Cyan")
  1119. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1120. local Partweld = Instance.new("ManualWeld")
  1121. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1122. Partweld.C1 = CFrame.new(0, -0.955184937, -0.179762959, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1123. Partweld.Parent = Part
  1124. local PartMesh = Instance.new("CylinderMesh",Part)
  1125. PartMesh.Name = "Mesh"
  1126. PartMesh.Offset = Vector3.new(0, 0, 0)
  1127. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  1128.  
  1129. table.insert(bltb, Part)
  1130.  
  1131. local Part = Instance.new("Part", m)
  1132. Part:BreakJoints()
  1133. Part.TopSurface = "Smooth"
  1134. Part.Material = "SmoothPlastic"
  1135. Part.Transparency = 0 Part.Name = 'Part'
  1136. Part.BottomSurface = "Smooth"
  1137. Part.FormFactor = "Custom" Part.CanCollide = false
  1138. Part.BrickColor = BrickColor.new("Really black")
  1139. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1140. local Partweld = Instance.new("ManualWeld")
  1141. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1142. Partweld.C1 = CFrame.new(0, -0.842823029, -0.393225789, 0.99998641, 0, 1.77634477e-015, -1.32347999e-023, 1, 0, -1.77634477e-015, 0, 0.99998641)
  1143. Partweld.Parent = Part
  1144. local PartMesh = Instance.new("BlockMesh",Part)
  1145. PartMesh.Name = "Mesh"
  1146. PartMesh.Offset = Vector3.new(0, 0, 0)
  1147. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1148.  
  1149. local Part = Instance.new("Part", m)
  1150. Part:BreakJoints()
  1151. Part.TopSurface = "Smooth"
  1152. Part.Material = "SmoothPlastic"
  1153. Part.Transparency = 0 Part.Name = 'Part'
  1154. Part.BottomSurface = "Smooth"
  1155. Part.FormFactor = "Custom" Part.CanCollide = false
  1156. Part.BrickColor = BrickColor.new("Really black")
  1157. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1158. local Partweld = Instance.new("ManualWeld")
  1159. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1160. Partweld.C1 = CFrame.new(0.597281575, -0.842823029, -0.00578403473, -0.258815438, 0, 0.965912819, 0, 1, 0, -0.965912819, 0, -0.258815438)
  1161. Partweld.Parent = Part
  1162. local PartMesh = Instance.new("BlockMesh",Part)
  1163. PartMesh.Name = "Mesh"
  1164. PartMesh.Offset = Vector3.new(0, 0, 0)
  1165. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1166.  
  1167. local Part = Instance.new("Part", m)
  1168. Part:BreakJoints()
  1169. Part.TopSurface = "Smooth"
  1170. Part.Material = "Neon"
  1171. Part.Transparency = 0.5 Part.Name = 'Part3'
  1172. Part.BottomSurface = "Smooth"
  1173. Part.FormFactor = "Custom" Part.CanCollide = false
  1174. Part.BrickColor = BrickColor.new("Cyan")
  1175. Part.Size = Vector3.new(0.200000003, 4.62046242, 0.449476063)
  1176. local Partweld = Instance.new("ManualWeld")
  1177. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1178. Partweld.C1 = CFrame.new(3.24249268e-005, -3.32155609, -4.76837158e-007, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1179. Partweld.Parent = Part
  1180. local PartMesh = Instance.new("BlockMesh",Part)
  1181. PartMesh.Name = "Mesh"
  1182. PartMesh.Offset = Vector3.new(0, 0, 0)
  1183. PartMesh.Scale = Vector3.new(0.230356485, 1, 1)
  1184.  
  1185. table.insert(bltb, Part)
  1186.  
  1187. local Part = Instance.new("Part", m)
  1188. Part:BreakJoints()
  1189. Part.TopSurface = "Smooth"
  1190. Part.Material = "SmoothPlastic"
  1191. Part.Transparency = 0 Part.Name = 'Part'
  1192. Part.BottomSurface = "Smooth"
  1193. Part.FormFactor = "Custom" Part.CanCollide = false
  1194. Part.BrickColor = BrickColor.new("Really black")
  1195. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1196. local Partweld = Instance.new("ManualWeld")
  1197. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1198. Partweld.C1 = CFrame.new(0.597218513, -0.842823029, 0.00602054596, 0.258815646, 0, 0.9659127, 0, 1, 0, -0.9659127, 0, 0.258815646)
  1199. Partweld.Parent = Part
  1200. local PartMesh = Instance.new("BlockMesh",Part)
  1201. PartMesh.Name = "Mesh"
  1202. PartMesh.Offset = Vector3.new(0, 0, 0)
  1203. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1204.  
  1205. local Part = Instance.new("Part", m)
  1206. Part:BreakJoints()
  1207. Part.TopSurface = "Smooth"
  1208. Part.Material = "Neon"
  1209. Part.Transparency = 0 Part.Name = 'Part4'
  1210. Part.BottomSurface = "Smooth"
  1211. Part.FormFactor = "Custom" Part.CanCollide = false
  1212. Part.BrickColor = BrickColor.new("Cyan")
  1213. Part.Size = Vector3.new(0.337107092, 1.12369001, 0.200000003)
  1214. local Partweld = Instance.new("ManualWeld")
  1215. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1216. Partweld.C1 = CFrame.new(0, 0, -0.123583317, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1217. Partweld.Parent = Part
  1218. local PartMesh = Instance.new("CylinderMesh",Part)
  1219. PartMesh.Name = "Mesh"
  1220. PartMesh.Offset = Vector3.new(0, 0, 0)
  1221. PartMesh.Scale = Vector3.new(1, 1, 0.561845064)
  1222.  
  1223. table.insert(bltb, Part)
  1224.  
  1225. local Part = Instance.new("Part", m)
  1226. Part:BreakJoints()
  1227. Part.TopSurface = "Smooth"
  1228. Part.Material = "SmoothPlastic"
  1229. Part.Transparency = 0 Part.Name = 'Part'
  1230. Part.BottomSurface = "Smooth"
  1231. Part.FormFactor = "Custom" Part.CanCollide = false
  1232. Part.BrickColor = BrickColor.new("Really black")
  1233. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1234. local Partweld = Instance.new("ManualWeld")
  1235. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1236. Partweld.C1 = CFrame.new(0, -0.842823029, 0.393286943, 0.99998641, 1.07852229e-016, -0, -1.14204248e-016, 1, -2.3803019e-013, -0, 2.38031816e-013, 0.99998641)
  1237. Partweld.Parent = Part
  1238. local PartMesh = Instance.new("BlockMesh",Part)
  1239. PartMesh.Name = "Mesh"
  1240. PartMesh.Offset = Vector3.new(0, 0, 0)
  1241. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1242.  
  1243. local Part = Instance.new("Part", m)
  1244. Part:BreakJoints()
  1245. Part.TopSurface = "Smooth"
  1246. Part.Material = "Neon"
  1247. Part.Transparency = 0 Part.Name = 'Part5'
  1248. Part.BottomSurface = "Smooth"
  1249. Part.FormFactor = "Custom" Part.CanCollide = false
  1250. Part.BrickColor = BrickColor.new("Cyan")
  1251. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1252. local Partweld = Instance.new("ManualWeld")
  1253. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1254. Partweld.C1 = CFrame.new(0, -0.842823029, -0.230328798, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1255. Partweld.Parent = Part
  1256. local PartMesh = Instance.new("CylinderMesh",Part)
  1257. PartMesh.Name = "Mesh"
  1258. PartMesh.Offset = Vector3.new(0, 0, 0)
  1259. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  1260.  
  1261. table.insert(bltb, Part)
  1262.  
  1263. local Part = Instance.new("Part", m)
  1264. Part:BreakJoints()
  1265. Part.TopSurface = "Smooth"
  1266. Part.Material = "Neon"
  1267. Part.Transparency = 0 Part.Name = 'Part6'
  1268. Part.BottomSurface = "Smooth"
  1269. Part.FormFactor = "Custom" Part.CanCollide = false
  1270. Part.BrickColor = BrickColor.new("Cyan")
  1271. Part.Size = Vector3.new(0.337107092, 0.200000003, 0.337107033)
  1272. local Partweld = Instance.new("ManualWeld")
  1273. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1274. Partweld.C1 = CFrame.new(0, -0.618034363, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1275. Partweld.Parent = Part
  1276. local PartMesh = Instance.new("CylinderMesh",Part)
  1277. PartMesh.Name = "Mesh"
  1278. PartMesh.Offset = Vector3.new(0, 0, 0)
  1279. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  1280.  
  1281. table.insert(bltb, Part)
  1282.  
  1283. local Part = Instance.new("Part", m)
  1284. Part:BreakJoints()
  1285. Part.TopSurface = "Smooth"
  1286. Part.Material = "SmoothPlastic"
  1287. Part.Transparency = 0 Part.Name = 'Part'
  1288. Part.BottomSurface = "Smooth"
  1289. Part.FormFactor = "Custom" Part.CanCollide = false
  1290. Part.BrickColor = BrickColor.new("Really black")
  1291. Part.Size = Vector3.new(0.200000003, 4.60922527, 0.224738017)
  1292. local Partweld = Instance.new("ManualWeld")
  1293. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1294. Partweld.C1 = CFrame.new(0, -3.3159256, -1.14440918e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1295. Partweld.Parent = Part
  1296. local PartMesh = Instance.new("BlockMesh",Part)
  1297. PartMesh.Name = "Mesh"
  1298. PartMesh.Offset = Vector3.new(0, 0, 0)
  1299. PartMesh.Scale = Vector3.new(0.561845124, 1, 1)
  1300.  
  1301. local Part = Instance.new("Part", m)
  1302. Part:BreakJoints()
  1303. Part.TopSurface = "Smooth"
  1304. Part.Material = "Neon"
  1305. Part.Transparency = 0 Part.Name = 'Part7'
  1306. Part.BottomSurface = "Smooth"
  1307. Part.FormFactor = "Custom" Part.CanCollide = false
  1308. Part.BrickColor = BrickColor.new("Cyan")
  1309. Part.Size = Vector3.new(0.337107092, 0.200000003, 0.337107033)
  1310. local Partweld = Instance.new("ManualWeld")
  1311. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1312. Partweld.C1 = CFrame.new(0, 0.618049622, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1313. Partweld.Parent = Part
  1314. local PartMesh = Instance.new("CylinderMesh",Part)
  1315. PartMesh.Name = "Mesh"
  1316. PartMesh.Offset = Vector3.new(0, 0, 0)
  1317. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  1318.  
  1319. table.insert(bltb, Part)
  1320.  
  1321. local Part = Instance.new("Part", m)
  1322. Part:BreakJoints()
  1323. Part.TopSurface = "Smooth"
  1324. Part.Material = "Neon"
  1325. Part.Transparency = 0 Part.Name = 'Part8'
  1326. Part.BottomSurface = "Smooth"
  1327. Part.FormFactor = "Custom" Part.CanCollide = false
  1328. Part.BrickColor = BrickColor.new("Cyan")
  1329. Part.Size = Vector3.new(0.337107092, 1.12369001, 0.200000003)
  1330. local Partweld = Instance.new("ManualWeld")
  1331. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1332. Partweld.C1 = CFrame.new(0, 0, 0.117978811, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1333. Partweld.Parent = Part
  1334. local PartMesh = Instance.new("CylinderMesh",Part)
  1335. PartMesh.Name = "Mesh"
  1336. PartMesh.Offset = Vector3.new(0, 0, 0)
  1337. PartMesh.Scale = Vector3.new(1, 1, 0.561845064)
  1338.  
  1339. table.insert(bltb, Part)
  1340.  
  1341. local Part = Instance.new("Part", m)
  1342. Part:BreakJoints()
  1343. Part.TopSurface = "Smooth"
  1344. Part.Material = "SmoothPlastic"
  1345. Part.Transparency = 0 Part.Name = 'Part'
  1346. Part.BottomSurface = "Smooth"
  1347. Part.FormFactor = "Custom" Part.CanCollide = false
  1348. Part.BrickColor = BrickColor.new("Really black")
  1349. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.561845005)
  1350. local Partweld = Instance.new("ManualWeld")
  1351. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1352. Partweld.C1 = CFrame.new(0, -0.842823029, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1353. Partweld.Parent = Part
  1354. local PartMesh = Instance.new("CylinderMesh",Part)
  1355. PartMesh.Name = "Mesh"
  1356. PartMesh.Offset = Vector3.new(0, 0, 0)
  1357. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  1358.  
  1359. local Part = Instance.new("Part", m)
  1360. Part:BreakJoints()
  1361. Part.TopSurface = "Smooth"
  1362. Part.Material = "Neon"
  1363. Part.Transparency = 0 Part.Name = 'Part9'
  1364. Part.BottomSurface = "Smooth"
  1365. Part.FormFactor = "Custom" Part.CanCollide = false
  1366. Part.BrickColor = BrickColor.new("Cyan")
  1367. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  1368. local Partweld = Instance.new("ManualWeld")
  1369. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1370. Partweld.C1 = CFrame.new(0.53044498, -0.842823029, 0.0229825974, 0.258815438, -1.97460321e-017, -0.965912819, 3.30120669e-017, 1, -1.15873321e-017, 0.965912819, -2.88872116e-017, 0.258815438)
  1371. Partweld.Parent = Part
  1372. local PartMesh = Instance.new("BlockMesh",Part)
  1373. PartMesh.Name = "Mesh"
  1374. PartMesh.Offset = Vector3.new(0, 0, 0)
  1375. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  1376.  
  1377. table.insert(bltb, Part)
  1378.  
  1379. local Part = Instance.new("Part", m)
  1380. Part:BreakJoints()
  1381. Part.TopSurface = "Smooth"
  1382. Part.Material = "SmoothPlastic"
  1383. Part.Transparency = 0 Part.Name = 'Part'
  1384. Part.BottomSurface = "Smooth"
  1385. Part.FormFactor = "Custom" Part.CanCollide = false
  1386. Part.BrickColor = BrickColor.new("Really black")
  1387. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1388. local Partweld = Instance.new("ManualWeld")
  1389. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1390. Partweld.C1 = CFrame.new(0.529430389, -0.842823029, 0.0128250122, 0.258815438, 1.35525272e-020, -0.965912819, -3.50722156e-021, 1, 1.35524351e-020, 0.965912819, 0, 0.258815438)
  1391. Partweld.Parent = Part
  1392. local PartMesh = Instance.new("BlockMesh",Part)
  1393. PartMesh.Name = "Mesh"
  1394. PartMesh.Offset = Vector3.new(0, 0, 0)
  1395. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1396.  
  1397. local Part = Instance.new("Part", m)
  1398. Part:BreakJoints()
  1399. Part.TopSurface = "Smooth"
  1400. Part.Material = "SmoothPlastic"
  1401. Part.Transparency = 0 Part.Name = 'Part'
  1402. Part.BottomSurface = "Smooth"
  1403. Part.FormFactor = "Custom" Part.CanCollide = false
  1404. Part.BrickColor = BrickColor.new("Really black")
  1405. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1406. local Partweld = Instance.new("ManualWeld")
  1407. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1408. Partweld.C1 = CFrame.new(0.529132843, -0.842823029, -0.0117540359, -0.258815706, -3.25260652e-018, -0.965912759, 3.89845789e-017, 1, -1.38099317e-017, 0.965912759, -4.1236952e-017, -0.258815706)
  1409. Partweld.Parent = Part
  1410. local PartMesh = Instance.new("BlockMesh",Part)
  1411. PartMesh.Name = "Mesh"
  1412. PartMesh.Offset = Vector3.new(0, 0, 0)
  1413. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1414.  
  1415. local Part = Instance.new("Part", m)
  1416. Part:BreakJoints()
  1417. Part.TopSurface = "Smooth"
  1418. Part.Material = "SmoothPlastic"
  1419. Part.Transparency = 0 Part.Name = 'Part'
  1420. Part.BottomSurface = "Smooth"
  1421. Part.FormFactor = "Custom" Part.CanCollide = false
  1422. Part.BrickColor = BrickColor.new("Really black")
  1423. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1424. local Partweld = Instance.new("ManualWeld")
  1425. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1426. Partweld.C1 = CFrame.new(0, -0.842823029, -0.393235803, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1427. Partweld.Parent = Part
  1428. local PartMesh = Instance.new("BlockMesh",Part)
  1429. PartMesh.Name = "Mesh"
  1430. PartMesh.Offset = Vector3.new(0, 0, 0)
  1431. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1432.  
  1433. local Part = Instance.new("Part", m)
  1434. Part:BreakJoints()
  1435. Part.TopSurface = "Smooth"
  1436. Part.Material = "Neon"
  1437. Part.Transparency = 0 Part.Name = 'Part10'
  1438. Part.BottomSurface = "Smooth"
  1439. Part.FormFactor = "Custom" Part.CanCollide = false
  1440. Part.BrickColor = BrickColor.new("Cyan")
  1441. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  1442. local Partweld = Instance.new("ManualWeld")
  1443. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1444. Partweld.C1 = CFrame.new(-0.525370121, -0.842823029, 0.0256881714, 0.258815676, -6.64073831e-019, 0.9659127, 1.05359266e-018, 1, 4.06573049e-019, -0.9659127, 9.14795583e-019, 0.258815676)
  1445. Partweld.Parent = Part
  1446. local PartMesh = Instance.new("BlockMesh",Part)
  1447. PartMesh.Name = "Mesh"
  1448. PartMesh.Offset = Vector3.new(0, 0, 0)
  1449. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  1450.  
  1451. table.insert(bltb, Part)
  1452.  
  1453. local Part = Instance.new("Part", m)
  1454. Part:BreakJoints()
  1455. Part.TopSurface = "Smooth"
  1456. Part.Material = "Neon"
  1457. Part.Transparency = 0 Part.Name = 'Part11'
  1458. Part.BottomSurface = "Smooth"
  1459. Part.FormFactor = "Custom" Part.CanCollide = false
  1460. Part.BrickColor = BrickColor.new("Cyan")
  1461. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1462. local Partweld = Instance.new("ManualWeld")
  1463. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1464. Partweld.C1 = CFrame.new(0, -0.730434418, 0.174170732, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1465. Partweld.Parent = Part
  1466. local PartMesh = Instance.new("CylinderMesh",Part)
  1467. PartMesh.Name = "Mesh"
  1468. PartMesh.Offset = Vector3.new(0, 0, 0)
  1469. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  1470.  
  1471. table.insert(bltb, Part)
  1472.  
  1473. local Part = Instance.new("Part", m)
  1474. Part:BreakJoints()
  1475. Part.TopSurface = "Smooth"
  1476. Part.Material = "Neon"
  1477. Part.Transparency = 0 Part.Name = 'Part12'
  1478. Part.BottomSurface = "Smooth"
  1479. Part.FormFactor = "Custom" Part.CanCollide = false
  1480. Part.BrickColor = BrickColor.new("Cyan")
  1481. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  1482. local Partweld = Instance.new("ManualWeld")
  1483. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1484. Partweld.C1 = CFrame.new(-0.59340477, -0.842823029, 0.00790405273, -0.258815557, 0, -0.9659127, 0, 1, 0, 0.9659127, 0, -0.258815557)
  1485. Partweld.Parent = Part
  1486. local PartMesh = Instance.new("BlockMesh",Part)
  1487. PartMesh.Name = "Mesh"
  1488. PartMesh.Offset = Vector3.new(0, 0, 0)
  1489. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  1490.  
  1491. table.insert(bltb, Part)
  1492.  
  1493. local Part = Instance.new("Part", m)
  1494. Part:BreakJoints()
  1495. Part.TopSurface = "Smooth"
  1496. Part.Material = "Neon"
  1497. Part.Transparency = 0 Part.Name = 'Part13'
  1498. Part.BottomSurface = "Smooth"
  1499. Part.FormFactor = "Custom" Part.CanCollide = false
  1500. Part.BrickColor = BrickColor.new("Cyan")
  1501. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.382054657)
  1502. local Partweld = Instance.new("ManualWeld")
  1503. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1504. Partweld.C1 = CFrame.new(0.00023651123, -0.842823029, -0.364931583, 0.99998641, -2.62516024e-017, -1.67287184e-026, 2.62512451e-017, 1, 3.6862117e-018, 1.67287184e-026, -3.68626216e-018, 0.99998641)
  1505. Partweld.Parent = Part
  1506. local PartMesh = Instance.new("BlockMesh",Part)
  1507. PartMesh.Name = "Mesh"
  1508. PartMesh.Offset = Vector3.new(0, 0, 0)
  1509. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 1)
  1510.  
  1511. table.insert(bltb, Part)
  1512.  
  1513. local Part = Instance.new("Part", m)
  1514. Part:BreakJoints()
  1515. Part.TopSurface = "Smooth"
  1516. Part.Material = "Neon"
  1517. Part.Transparency = 0 Part.Name = 'Part14'
  1518. Part.BottomSurface = "Smooth"
  1519. Part.FormFactor = "Custom" Part.CanCollide = false
  1520. Part.BrickColor = BrickColor.new("Cyan")
  1521. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  1522. local Partweld = Instance.new("ManualWeld")
  1523. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1524. Partweld.C1 = CFrame.new(0.598263144, -0.842823029, 0.00432395935, -0.258815438, 0, 0.965912819, 0, 1, 0, -0.965912819, 0, -0.258815438)
  1525. Partweld.Parent = Part
  1526. local PartMesh = Instance.new("BlockMesh",Part)
  1527. PartMesh.Name = "Mesh"
  1528. PartMesh.Offset = Vector3.new(0, 0, 0)
  1529. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  1530.  
  1531. table.insert(bltb, Part)
  1532.  
  1533. local Part = Instance.new("Part", m)
  1534. Part:BreakJoints()
  1535. Part.TopSurface = "Smooth"
  1536. Part.Material = "Neon"
  1537. Part.Transparency = 0 Part.Name = 'Part15'
  1538. Part.BottomSurface = "Smooth"
  1539. Part.FormFactor = "Custom" Part.CanCollide = false
  1540. Part.BrickColor = BrickColor.new("Cyan")
  1541. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.449476063)
  1542. local Partweld = Instance.new("ManualWeld")
  1543. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1544. Partweld.C1 = CFrame.new(0, -0.842823029, 0.398794174, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1545. Partweld.Parent = Part
  1546. local PartMesh = Instance.new("BlockMesh",Part)
  1547. PartMesh.Name = "Mesh"
  1548. PartMesh.Offset = Vector3.new(0, 0, 0)
  1549. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 1)
  1550.  
  1551. table.insert(bltb, Part)
  1552.  
  1553. local Part = Instance.new("Part", m)
  1554. Part:BreakJoints()
  1555. Part.TopSurface = "Smooth"
  1556. Part.Material = "Neon"
  1557. Part.Transparency = 0 Part.Name = 'Part16'
  1558. Part.BottomSurface = "Smooth"
  1559. Part.FormFactor = "Custom" Part.CanCollide = false
  1560. Part.BrickColor = BrickColor.new("Cyan")
  1561. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1562. local Partweld = Instance.new("ManualWeld")
  1563. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1564. Partweld.C1 = CFrame.new(0, -0.955184937, 0.174145699, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1565. Partweld.Parent = Part
  1566. local PartMesh = Instance.new("CylinderMesh",Part)
  1567. PartMesh.Name = "Mesh"
  1568. PartMesh.Offset = Vector3.new(0, 0, 0)
  1569. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  1570.  
  1571. table.insert(bltb, Part)
  1572.  
  1573. local Part = Instance.new("Part", m)
  1574. Part:BreakJoints()
  1575. Part.TopSurface = "Smooth"
  1576. Part.Material = "Neon"
  1577. Part.Transparency = 0.5 Part.Name = 'Part17'
  1578. Part.BottomSurface = "Smooth"
  1579. Part.FormFactor = "Custom" Part.CanCollide = false
  1580. Part.BrickColor = BrickColor.new("Cyan")
  1581. Part.Size = Vector3.new(0.200000003, 1.01132107, 0.449476063)
  1582. local Partweld = Instance.new("ManualWeld")
  1583. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1584. Partweld.C1 = CFrame.new(-8.39233398e-005, -6.13697433, 0.00012421608, -0.99998641, 0, 5.96042398e-008, 0, 1, 0, -5.96042398e-008, 0, -0.99998641)
  1585. Partweld.Parent = Part
  1586. local PartMesh = Instance.new("SpecialMesh",Part)
  1587. PartMesh.MeshId = ""
  1588. PartMesh.MeshType = Enum.MeshType.Wedge PartMesh.Name = "Mesh"
  1589. PartMesh.Offset = Vector3.new(0, 0, 0)
  1590. PartMesh.Scale = Vector3.new(0.221366972, 1, 1)
  1591.  
  1592. table.insert(bltb, Part)
  1593.  
  1594. local Part = Instance.new("Part", m)
  1595. Part:BreakJoints()
  1596. Part.TopSurface = "Smooth"
  1597. Part.Material = "SmoothPlastic"
  1598. Part.Transparency = 0 Part.Name = 'Part'
  1599. Part.BottomSurface = "Smooth"
  1600. Part.FormFactor = "Custom" Part.CanCollide = false
  1601. Part.BrickColor = BrickColor.new("Really black")
  1602. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  1603. local Partweld = Instance.new("ManualWeld")
  1604. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1605. Partweld.C1 = CFrame.new(0, -0.955184937, -2.38418579e-007, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1606. Partweld.Parent = Part
  1607. local PartMesh = Instance.new("CylinderMesh",Part)
  1608. PartMesh.Name = "Mesh"
  1609. PartMesh.Offset = Vector3.new(0, 0, 0)
  1610. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  1611.  
  1612. local Part = Instance.new("Part", m)
  1613. Part:BreakJoints()
  1614. Part.TopSurface = "Smooth"
  1615. Part.Material = "Neon"
  1616. Part.Transparency = 0 Part.Name = 'Part18'
  1617. Part.BottomSurface = "Smooth"
  1618. Part.FormFactor = "Custom" Part.CanCollide = false
  1619. Part.BrickColor = BrickColor.new("Cyan")
  1620. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1621. local Partweld = Instance.new("ManualWeld")
  1622. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1623. Partweld.C1 = CFrame.new(0, -0.842823029, 0.230348349, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1624. Partweld.Parent = Part
  1625. local PartMesh = Instance.new("CylinderMesh",Part)
  1626. PartMesh.Name = "Mesh"
  1627. PartMesh.Offset = Vector3.new(0, 0, 0)
  1628. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  1629.  
  1630. table.insert(bltb, Part)
  1631.  
  1632. local Part = Instance.new("Part", m)
  1633. Part:BreakJoints()
  1634. Part.TopSurface = "Smooth"
  1635. Part.Material = "Neon"
  1636. Part.Transparency = 0 Part.Name = 'Part19'
  1637. Part.BottomSurface = "Smooth"
  1638. Part.FormFactor = "Custom" Part.CanCollide = false
  1639. Part.BrickColor = BrickColor.new("Cyan")
  1640. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1641. local Partweld = Instance.new("ManualWeld")
  1642. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1643. Partweld.C1 = CFrame.new(0, -0.730434418, -0.179762959, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1644. Partweld.Parent = Part
  1645. local PartMesh = Instance.new("CylinderMesh",Part)
  1646. PartMesh.Name = "Mesh"
  1647. PartMesh.Offset = Vector3.new(0, 0, 0)
  1648. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  1649.  
  1650. table.insert(bltb, Part)
  1651.  
  1652. local hitbox = Instance.new("Part", m)
  1653. hitbox:BreakJoints()
  1654. hitbox.TopSurface = "Smooth"
  1655. hitbox.Material = "SmoothPlastic"
  1656. hitbox.Transparency = 1 hitbox.Name = 'hitbox'
  1657. hitbox.BottomSurface = "Smooth"
  1658. hitbox.FormFactor = "Custom" hitbox.CanCollide = false
  1659. hitbox.BrickColor = BrickColor.new("Really black")
  1660. hitbox.Size = Vector3.new(0.200000003, 5.60922527, 0.624738038)
  1661. local hitboxweld = Instance.new("ManualWeld")
  1662. hitboxweld.Part0 = Handle hitboxweld.Part1 = hitbox hitboxweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1663. hitboxweld.C1 = CFrame.new(0, -3.8159256, -1.12056732e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1664. hitboxweld.Parent = hitbox
  1665. local hitboxMesh = Instance.new("BlockMesh",hitbox)
  1666. hitboxMesh.Name = "Mesh"
  1667. hitboxMesh.Offset = Vector3.new(0, 0, 0)
  1668. hitboxMesh.Scale = Vector3.new(0.561845124, 1, 1)
  1669.  
  1670. local Wedge = Instance.new("WedgePart", m)
  1671. Wedge:BreakJoints()
  1672. Wedge.TopSurface = "Smooth"
  1673. Wedge.Material = "SmoothPlastic"
  1674. Wedge.Transparency = 0 Wedge.Name = 'Wedge'
  1675. Wedge.BottomSurface = "Smooth"
  1676. Wedge.FormFactor = "Custom" Wedge.CanCollide = false
  1677. Wedge.BrickColor = BrickColor.new("Really black")
  1678. Wedge.Size = Vector3.new(0.200000003, 0.561845124, 0.224738076)
  1679. local Wedgeweld = Instance.new("ManualWeld")
  1680. Wedgeweld.Part0 = Handle Wedgeweld.Part1 = Wedge Wedgeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1681. Wedgeweld.C1 = CFrame.new(7.62939453e-006, -5.9009819, -4.0769577e-005, -0.999992788, 1.60944605e-010, -8.94063589e-007, 1.60504526e-010, 0.999993563, -4.18958729e-010, 7.897562e-007, -4.18840851e-010, -0.999986649)
  1682. Wedgeweld.Parent = Wedge
  1683. local WedgeMesh = Instance.new("SpecialMesh",Wedge)
  1684. WedgeMesh.MeshId = ""
  1685. WedgeMesh.MeshType = Enum.MeshType.Wedge WedgeMesh.Name = "Mesh"
  1686. WedgeMesh.Offset = Vector3.new(0, 0, 0)
  1687. WedgeMesh.Scale = Vector3.new(0.561845124, 1, 1)
  1688.  
  1689.  
  1690.  
  1691. EffectPart2 = part2(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Institutional white", "EffectPart2", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1692. EffectPart2weld = weld(m, Character["Left Arm"], EffectPart2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.15575993, 0.00814216491, -0.0231294632, -5.23798153e-005, 0.999999821, -0.000210702419, -6.36925748e-008, -0.00021070239, -0.99999994, -1, -5.23797935e-005, 7.47295417e-008))
  1693. EffectPart = part2(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Institutional white", "EffectPart", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1694. EffectPartweld = weld(m, Handle, EffectPart, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00693154335, 0.014090538, 6.03910685, -5.23798153e-005, -6.36925748e-008, -1, 0.99999994, -0.000210702419, -5.23798008e-005, -0.000210702419, -0.99999994, 7.47295417e-008))
  1695. mesh("BlockMesh", EffectPart, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1696.  
  1697.  
  1698.  
  1699. coroutine.resume(coroutine.create(function()
  1700. while wait() do
  1701. for i,v in pairs(bltb) do
  1702. if v:IsA("Part") or v:IsA("WedgePart") then
  1703. UpdatePart(v,BrickColor.new("Institutional white"))
  1704.  
  1705. end
  1706. end
  1707. end
  1708. end)) --work
  1709.  
  1710. local function weldBetween(a, b, name)
  1711. local weld = Instance.new("ManualWeld")
  1712. weld.Part0 = a
  1713. weld.Part1 = b
  1714. weld.C0 = CFrame.new()
  1715. weld.C1 = b.CFrame:inverse() * a.CFrame
  1716. weld.Parent = a
  1717. weld.Name=name or 'weldb1'
  1718. weld.Parent=m
  1719. return weld;
  1720. end
  1721.  
  1722. Mesh2 = function(par,num,x,y,z)
  1723. local msh = _
  1724. if num == 1 then
  1725. msh = Instance.new("CylinderMesh",par)
  1726. elseif num == 2 then
  1727. msh = Instance.new("SpecialMesh",par)
  1728. msh.MeshType = 3
  1729. elseif num == 3 then
  1730. msh = Instance.new("BlockMesh",par)
  1731. elseif num == 4 then
  1732. msh = Instance.new("SpecialMesh",par)
  1733. msh.MeshType = "Torso"
  1734. elseif type(num) == 'string' then
  1735. msh = Instance.new("SpecialMesh",par)
  1736. msh.MeshId = num
  1737. end
  1738. msh.Scale = Vector3.new(x,y,z)
  1739. return msh
  1740. end
  1741.  
  1742. Weld2 = function(p0,p1,x,y,z,rx,ry,rz,par)
  1743. local w = Instance.new('Motor',par or p0)
  1744. w.Part0 = p0
  1745. w.Part1 = p1
  1746. w.C1 = CFrame.new(x,y,z)*CFrame.Angles(rx,ry,rz)
  1747. return w
  1748. end
  1749.  
  1750.  
  1751. --------------------[[ Outfit Begin ]]--------------------
  1752.  
  1753.  
  1754. for _,v in pairs(Character:GetChildren()) do if v.ClassName=="Hat" then v:remove() end end
  1755. local hat = part(3,Character,0,0,BrickColor.new("Really black"),"Hood",vt(0.5,1,1.02))
  1756. Mesh2(hat,'http://www.roblox.com/asset/?id=16952952',1.05,1.05,1.05) --hood
  1757. Weld2(Character.Head,hat,0,-.25,0,0,0,0,hat)
  1758.  
  1759. Coat = Instance.new("Part",Character)
  1760. Coat.TopSurface = "Smooth"
  1761. Coat.BottomSurface = "Smooth"
  1762. Coat.Material = "Neon"
  1763. Coat.Size = Vector3.new(1.05, 1.05, 1.05)
  1764. Coat.CanCollide = false
  1765. Coat.Transparency = 0
  1766. Coat.BrickColor = BrickColor.new("Institutional white")
  1767. CoatMesh = Instance.new("SpecialMesh", Coat)
  1768. CoatMesh.MeshType = "Brick"
  1769. CoatMesh.Scale = Vector3.new(2,1.8,1.1)
  1770. CoatWeld = Instance.new("Weld",Character)
  1771. CoatWeld.Part0 = Character.Torso
  1772. CoatWeld.Part1 = Coat
  1773. CoatWeld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1774.  
  1775. CoatRA = Instance.new("Part",Character)
  1776. CoatRA.TopSurface = "Smooth"
  1777. CoatRA.BottomSurface = "Smooth"
  1778. CoatRA.Size = Vector3.new(1, 1, 1)
  1779. CoatRA.CanCollide = false
  1780. CoatRA.Transparency = 0
  1781. CoatRA.Material = "Neon"
  1782. CoatRA.BrickColor = BrickColor.new("Institutional white")
  1783. CoatRAMesh = Instance.new("SpecialMesh", CoatRA)
  1784. CoatRAMesh.MeshType = "Brick"
  1785. CoatRAMesh.Scale = Vector3.new(1.1,1.8,1.1)
  1786. CoatRAWeld = Instance.new("Weld",Character)
  1787. CoatRAWeld.Part0 = Character["Right Arm"]
  1788. CoatRAWeld.Part1 = CoatRA
  1789. CoatRAWeld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1790.  
  1791. CoatLA = Instance.new("Part",Character)
  1792. CoatLA.TopSurface = "Smooth"
  1793. CoatLA.BottomSurface = "Smooth"
  1794. CoatLA.Size = Vector3.new(1, 1, 1)
  1795. CoatLA.CanCollide = false
  1796. CoatLA.Transparency = 0
  1797. CoatLA.Material = "Neon"
  1798. CoatLA.BrickColor = BrickColor.new("Institutional white")
  1799. CoatLAMesh = Instance.new("SpecialMesh", CoatLA)
  1800. CoatLAMesh.MeshType = "Brick"
  1801. CoatLAMesh.Scale = Vector3.new(1.1,1.8,1.1)
  1802. CoatLAWeld = Instance.new("Weld",Character)
  1803. CoatLAWeld.Part0 = Character["Left Arm"]
  1804. CoatLAWeld.Part1 = CoatLA
  1805. CoatLAWeld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1806.  
  1807. CoatRL = Instance.new("Part",Character)
  1808. CoatRL.TopSurface = "Smooth"
  1809. CoatRL.BottomSurface = "Smooth"
  1810. CoatRL.Size = Vector3.new(1, 1, 1)
  1811. CoatRL.CanCollide = false
  1812. CoatRL.Transparency = 0
  1813. CoatRL.Material = "Neon"
  1814. CoatRL.BrickColor = BrickColor.new("Institutional white")
  1815. CoatRLMesh = Instance.new("SpecialMesh", CoatRL)
  1816. CoatRLMesh.MeshType = "Brick"
  1817. CoatRLMesh.Scale = Vector3.new(1.1,0.5,1.1)
  1818. CoatRLWeld = Instance.new("Weld",Character)
  1819. CoatRLWeld.Part0 = Character["Right Leg"]
  1820. CoatRLWeld.Part1 = CoatRL
  1821. CoatRLWeld.C1 = CFrame.new(0, -0.7, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1822.  
  1823. CoatLL = Instance.new("Part",Character)
  1824. CoatLL.TopSurface = "Smooth"
  1825. CoatLL.BottomSurface = "Smooth"
  1826. CoatLL.Size = Vector3.new(1, 1, 1)
  1827. CoatLL.CanCollide = false
  1828. CoatLL.Transparency = 0
  1829. CoatLL.Material = "Neon"
  1830. CoatLL.BrickColor = BrickColor.new("Institutional white")
  1831. CoatLLMesh = Instance.new("SpecialMesh", CoatLL)
  1832. CoatLLMesh.MeshType = "Brick"
  1833. CoatLLMesh.Scale = Vector3.new(1.1,0.5,1.1)
  1834. CoatLLWeld = Instance.new("Weld",Character)
  1835. CoatLLWeld.Part0 = Character["Left Leg"]
  1836. CoatLLWeld.Part1 = CoatLL
  1837. CoatLLWeld.C1 = CFrame.new(0, -0.7, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1838.  
  1839. CoatRightDesign = Instance.new("Part",Character)
  1840. CoatRightDesign.TopSurface = "Smooth"
  1841. CoatRightDesign.BottomSurface = "Smooth"
  1842. CoatRightDesign.Size = Vector3.new(1, 1, 1)
  1843. CoatRightDesign.CanCollide = false
  1844. CoatRightDesign.Material = "Neon"
  1845. CoatRightDesign.Transparency = 0
  1846. CoatRightDesign.BrickColor = BrickColor.new("Institutional white")
  1847. CoatRightDesignMesh = Instance.new("SpecialMesh", CoatRightDesign)
  1848. CoatRightDesignMesh.MeshType = "Wedge"
  1849. CoatRightDesignMesh.Scale = Vector3.new(1.1,0.8,1.1)
  1850. CoatRightDesignWeld = Instance.new("Weld",Character)
  1851. CoatRightDesignWeld.Part0 = Character["Right Leg"]
  1852. CoatRightDesignWeld.Part1 = CoatRightDesign
  1853. CoatRightDesignWeld.C1 = CFrame.new(0, 0.1, 0)*CFrame.fromEulerAnglesXYZ(1.6, -1.6, 0)
  1854.  
  1855. CoatLeftDesign = Instance.new("Part",Character)
  1856. CoatLeftDesign.TopSurface = "Smooth"
  1857. CoatLeftDesign.BottomSurface = "Smooth"
  1858. CoatLeftDesign.Size = Vector3.new(1, 1, 1)
  1859. CoatLeftDesign.CanCollide = false
  1860. CoatLeftDesign.Material = "Neon"
  1861. CoatLeftDesign.Transparency = 0
  1862. CoatLeftDesign.BrickColor = BrickColor.new("Institutional white")
  1863. CoatLeftDesignMesh = Instance.new("SpecialMesh", CoatLeftDesign)
  1864. CoatLeftDesignMesh.MeshType = "Wedge"
  1865. CoatLeftDesignMesh.Scale = Vector3.new(1.1,0.8,1.1)
  1866. CoatLeftDesignWeld = Instance.new("Weld",Character)
  1867. CoatLeftDesignWeld.Part0 = Character["Left Leg"]
  1868. CoatLeftDesignWeld.Part1 = CoatLeftDesign
  1869. CoatLeftDesignWeld.C1 = CFrame.new(0, 0.1, 0)*CFrame.fromEulerAnglesXYZ(1.6, 1.6, 0)
  1870. nooutline(CoatLeftDesign)
  1871.  
  1872. coroutine.resume(coroutine.create(function()
  1873. while wait() do
  1874.  
  1875. UpdatePart(hat,BrickColor.new("Institutional white"))
  1876. UpdatePart(Coat,BrickColor.new("Institutional white"))
  1877. UpdatePart(CoatRA,BrickColor.new("Institutional white"))
  1878. UpdatePart(CoatLA,BrickColor.new("Institutional white"))
  1879. UpdatePart(CoatLL,BrickColor.new("Institutional white"))
  1880. UpdatePart(CoatRL,BrickColor.new("Institutional white"))
  1881. UpdatePart(CoatRightDesign,BrickColor.new("Institutional white"))
  1882. UpdatePart(CoatLeftDesign,BrickColor.new("Institutional white"))
  1883.  
  1884. end
  1885. end))
  1886.  
  1887. --------------------[[ Outfit End ]]--------------------
  1888.  
  1889.  
  1890. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  1891. if hit.Parent==nil then
  1892. return
  1893. end
  1894. h=hit.Parent:FindFirstChild("Humanoid")
  1895. for _,v in pairs(hit.Parent:children()) do
  1896. if v:IsA("Humanoid") then
  1897. h=v
  1898. end
  1899. end
  1900. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  1901. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  1902. end
  1903. if hit.Parent.className=="Hat" then
  1904. hit=hit.Parent.Parent:findFirstChild("Head")
  1905. end
  1906. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1907. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  1908. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1909. return
  1910. end]]
  1911. -- hs(hit,1.2)
  1912. c=Instance.new("ObjectValue")
  1913. c.Name="creator"
  1914. c.Value=game:service("Players").LocalPlayer
  1915. c.Parent=h
  1916. game:GetService("Debris"):AddItem(c,.5)
  1917. Damage=math.random(minim,maxim)
  1918. -- h:TakeDamage(Damage)
  1919. blocked=false
  1920. block=hit.Parent:findFirstChild("Block")
  1921. if block~=nil then
  1922. print(block.className)
  1923. if block.className=="NumberValue" then
  1924. if block.Value>0 then
  1925. blocked=true
  1926. if decreaseblock==nil then
  1927. block.Value=block.Value-1
  1928. end
  1929. end
  1930. end
  1931. if block.className=="IntValue" then
  1932. if block.Value>0 then
  1933. blocked=true
  1934. if decreaseblock~=nil then
  1935. block.Value=block.Value-1
  1936. end
  1937. end
  1938. end
  1939. end
  1940. if blocked==false then
  1941. -- h:TakeDamage(Damage)
  1942. h.Health=h.Health-Damage
  1943. --showDamage(hit.Parent,Damage,.5,BrickColor.new("Navy blue"))
  1944. ShowDamage2((hit.Parent:FindFirstChild("Head").CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Institutional white").Color)
  1945. else
  1946. h.Health=h.Health-(Damage/2)
  1947. ShowDamage2((hit.Parent:FindFirstChild("Head").CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Institutional white").Color)
  1948. end
  1949. if Type=="Knockdown" then
  1950. hum=hit.Parent.Humanoid
  1951. hum.PlatformStand=true
  1952. coroutine.resume(coroutine.create(function(HHumanoid)
  1953. swait(1)
  1954. HHumanoid.PlatformStand=false
  1955. end),hum)
  1956. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  1957. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1958. local bodvol=Instance.new("BodyVelocity")
  1959. bodvol.velocity=angle*knockback
  1960. bodvol.P=5000
  1961. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1962. bodvol.Parent=hit
  1963. rl=Instance.new("BodyAngularVelocity")
  1964. rl.P=3000
  1965. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1966. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1967. rl.Parent=hit
  1968. game:GetService("Debris"):AddItem(bodvol,.5)
  1969. game:GetService("Debris"):AddItem(rl,.5)
  1970. elseif Type=="Normal" then
  1971. vp=Instance.new("BodyVelocity")
  1972. vp.P=500
  1973. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1974. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1975. if KnockbackType==1 then
  1976. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1977. elseif KnockbackType==2 then
  1978. vp.velocity=Property.CFrame.lookVector*knockback
  1979. end
  1980. if knockback>0 then
  1981. vp.Parent=hit.Parent.Torso
  1982. end
  1983. game:GetService("Debris"):AddItem(vp,.5)
  1984. elseif Type=="Up" then
  1985. local bodyVelocity=Instance.new("BodyVelocity")
  1986. bodyVelocity.velocity=vt(0,60,0)
  1987. bodyVelocity.P=5000
  1988. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1989. bodyVelocity.Parent=hit
  1990. game:GetService("Debris"):AddItem(bodyVelocity,1)
  1991. rl=Instance.new("BodyAngularVelocity")
  1992. rl.P=3000
  1993. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1994. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  1995. rl.Parent=hit
  1996. game:GetService("Debris"):AddItem(rl,.5)
  1997. elseif Type=="Snare" then
  1998. bp=Instance.new("BodyPosition")
  1999. bp.P=2000
  2000. bp.D=100
  2001. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2002. bp.position=hit.Parent.Torso.Position
  2003. bp.Parent=hit.Parent.Torso
  2004. game:GetService("Debris"):AddItem(bp,1)
  2005. elseif Type=="Target" then
  2006. if Targetting==false then
  2007. ZTarget=hit.Parent.Torso
  2008. coroutine.resume(coroutine.create(function(Part)
  2009. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  2010. local rndm=math.random(1,#hitsounds)
  2011. local r=rndm
  2012. so("http://www.roblox.com/asset/?id="..hitsounds[r],Part,1,1)
  2013. swait(5)
  2014. so("http://www.roblox.com/asset/?id="..hitsounds[r],Part,1,1)
  2015. end),ZTarget)
  2016. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  2017. targetgui=Instance.new("BillboardGui")
  2018. targetgui.Parent=ZTarget
  2019. targetgui.Size=UDim2.new(10,100,10,100)
  2020. targ=Instance.new("ImageLabel")
  2021. targ.Parent=targetgui
  2022. targ.BackgroundTransparency=1
  2023. targ.Image="rbxassetid://4834067"
  2024. targ.Size=UDim2.new(1,0,1,0)
  2025. cam.CameraType="Scriptable"
  2026. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  2027. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  2028. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  2029. Targetting=true
  2030. RocketTarget=ZTarget
  2031. for i=1,Property do
  2032. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  2033. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  2034. swait()
  2035. end
  2036. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  2037. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  2038. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  2039. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  2040. end
  2041. Targetting=false
  2042. RocketTarget=nil
  2043. targetgui.Parent=nil
  2044. cam.CameraType="Custom"
  2045. end
  2046. end
  2047. debounce=Instance.new("BoolValue")
  2048. debounce.Name="DebounceHit"
  2049. debounce.Parent=hit.Parent
  2050. debounce.Value=true
  2051. game:GetService("Debris"):AddItem(debounce,Delay)
  2052. c=Instance.new("ObjectValue")
  2053. c.Name="creator"
  2054. c.Value=Player
  2055. c.Parent=h
  2056. game:GetService("Debris"):AddItem(c,.5)
  2057. CRIT=false
  2058. hitDeb=true
  2059. AttackPos=6
  2060. end
  2061. end
  2062.  
  2063. showDamage=function(Char,Dealt,du,Color)
  2064. m=Instance.new("Model")
  2065. m.Name=tostring(Dealt)
  2066. h=Instance.new("Humanoid")
  2067. h.Health=0
  2068. h.MaxHealth=0
  2069. h.Parent=m
  2070. c=Instance.new("Part")
  2071. c.Transparency=0
  2072. c.BrickColor=Color
  2073. c.Name="Head"
  2074. c.TopSurface=0
  2075. c.BottomSurface=0
  2076. c.formFactor="Plate"
  2077. c.Size=Vector3.new(1,.4,1)
  2078. ms=Instance.new("CylinderMesh")
  2079. ms.Scale=Vector3.new(.8,.8,.8)
  2080. if CRIT==true then
  2081. ms.Scale=Vector3.new(1,1.25,1)
  2082. end
  2083. ms.Parent=c
  2084. c.Reflectance=0
  2085. Instance.new("BodyGyro").Parent=c
  2086. c.Parent=m
  2087. if Char:findFirstChild("Head")~=nil then
  2088. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  2089. elseif Char.Parent:findFirstChild("Head")~=nil then
  2090. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  2091. end
  2092. f=Instance.new("BodyPosition")
  2093. f.P=2000
  2094. f.D=100
  2095. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2096. f.position=c.Position+Vector3.new(0,3,0)
  2097. f.Parent=c
  2098. game:GetService("Debris"):AddItem(m,.5+du)
  2099. c.CanCollide=false
  2100. m.Parent=workspace
  2101. c.CanCollide=false
  2102. end
  2103.  
  2104. function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  2105. local msh1 = it("SpecialMesh")
  2106. msh1.Scale = vt(0.5,0.5,0.5)
  2107. msh1.MeshType = "Sphere"
  2108. local S=it("Part")
  2109. S.Name="Effect"
  2110. S.formFactor=0
  2111. S.Size=vt(x1,y1,z1)
  2112. S.BrickColor=color
  2113. S.Reflectance = 0
  2114. S.TopSurface=0
  2115. S.BottomSurface=0
  2116. S.Transparency=0
  2117. S.Anchored=true
  2118. S.CanCollide=false
  2119. S.CFrame=part.CFrame*cf(x2,y2,z2)*euler(x3,y3,z3)
  2120. S.Parent=workspace
  2121. msh1.Parent = S
  2122. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + vt(0.15,0.15,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  2123. end
  2124.  
  2125. function SummonSword(Part,cframe1,cframe2)
  2126. coroutine.resume(coroutine.create(function()
  2127.  
  2128. local sword=part(1,workspace,0,0.5,BrickColor.new("Cyan"),"Sword",vt(2,2,2))
  2129. sword.Anchored=true
  2130. --con1=sword.Touched:connect(function(hit) Damagefunc2(hit,5,1) end)
  2131. local smesh=mesh("SpecialMesh",sword,"FileMesh","http://www.roblox.com/asset/?id=50798664",vt(0,0,0),vt(3,3,3))
  2132. --smesh.Parent=nil
  2133. smesh.VertexColor=Vector3.new(0, 0, 0)
  2134. sword.CFrame=Part.CFrame*cframe1
  2135. con1=sword.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  2136. so("http://roblox.com/asset/?id=231917788",sword,0.5,1)
  2137. hitconasdf = sword.Touched:connect(function(hit)
  2138. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  2139. if hum12 and not hum12:IsDescendantOf(Character) then
  2140. so('http://roblox.com/asset/?id=220025675',sword,1,3)
  2141. hitconasdf:disconnect()
  2142. end
  2143. end)
  2144. EVENMOARMAGIX(sword,4,4,4,0,0,0,0,0,0,BrickColor.new("Cyan"))
  2145. for i=0,1,0.2 do
  2146. wait()
  2147. local dir = sword.CFrame.lookVector*-1
  2148. hit2,pos = rayCast(sword.Position,dir,5,Character)
  2149. if hit2~=nil then
  2150. if hit2.Parent:FindFirstChild("Humanoid") ~= nil then
  2151. hum = hit2.Parent.Humanoid
  2152. --Damagefunc2(hit2,5,1)
  2153. elseif hit2.Parent.Parent ~= nil and hit2.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
  2154. hum = hit2.Parent.Parent.Humanoid
  2155. --Damagefunc2(hit2,5,1)
  2156. end
  2157. end
  2158. sword.CFrame=sword.CFrame*cframe2
  2159. end
  2160. EVENMOARMAGIX(sword,4,4,4,0,0,0,0,0,0,BrickColor.new("Cyan"))
  2161. sword.Parent=nil
  2162. pcall(function()
  2163. hitconasdf:disconnect()
  2164. end)
  2165. con1:disconnect()
  2166. end))
  2167. end
  2168.  
  2169.  
  2170. rings=Instance.new('Model',Character)
  2171.  
  2172. ring=function(way,way2,where,vector,rv1,rv2,rv3,c1,c2)
  2173. local rng = Instance.new("Part", rings)
  2174. rng.Anchored = true
  2175. rng.BrickColor = BrickColor.new("Bright blue")
  2176. rng.CanCollide = false
  2177. rng.FormFactor = 3
  2178. rng.Name = "Ring"
  2179. rng.Size = Vector3.new(1, 1, 1)
  2180. rng.Transparency = .5
  2181. rng.TopSurface = 0
  2182. rng.BottomSurface = 0
  2183. rng.CFrame = where.CFrame * CFrame.Angles(math.rad(way), math.rad(way2), 0)
  2184. local rngm = Instance.new("SpecialMesh", rng)
  2185. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2186. rngm.Scale = vector--10,10,1
  2187. for i = 1, 20, 1 do
  2188. rngm.Scale = Vector3.new(rv1 + i*c1, rv2 + i*c2, rv3)--(10 + i*2, 10 + i*2, 1)
  2189. rng.Transparency = i/20
  2190. swait()
  2191. end
  2192. wait()
  2193. rng:destroy''
  2194. end
  2195.  
  2196. player=game.Players.localPlayer
  2197. char=player.Character
  2198. Effects={}
  2199. vt=Vector3.new
  2200. cf=CFrame.new
  2201. euler=CFrame.fromEulerAnglesXYZ
  2202. m=Instance.new("Model",char)
  2203. char.Humanoid.WalkSpeed = 25
  2204.  
  2205. mouse.Button1Down:connect(function()
  2206. if equipped==true and hand==false then
  2207. if attacktype==1 then
  2208. attackone()
  2209. elseif attacktype==2 then
  2210. attacktwo()
  2211. elseif attacktype==3 then
  2212. attackthree()
  2213. end
  2214. end
  2215. end)
  2216.  
  2217. mouse.KeyDown:connect(function(k)
  2218. k=k:lower()
  2219. if k=='q' then
  2220. if attack==false then
  2221. spin()
  2222. end
  2223. elseif k=='f' then
  2224. if attack==false then
  2225. IrisShot()
  2226. ChargeBall(efprt, 100)
  2227. end
  2228. elseif k=='e' then
  2229. if attack==false then
  2230. JumpSwing()
  2231. end
  2232. elseif k=='r' then
  2233. if attack==false then
  2234. IrisRush()
  2235. end
  2236. end
  2237. end)
  2238.  
  2239. function JumpSwing()
  2240. attack=true
  2241. for i=0,0.5,0.1 do
  2242. swait()
  2243. --[[local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  2244. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  2245. local h = 5
  2246. 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)
  2247. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2248. 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)
  2249. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2250. scfr = blcf
  2251. elseif not scfr then
  2252. scfr = blcf
  2253. end]] --NOU!!
  2254. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0.8),.3)
  2255. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*euler(0,0,-0.8),.3)
  2256. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,-2,0)*euler(.5,0,0),.3)
  2257. LW.C0=clerp(LW.C0,cf(-.2,-.1,-0.5)*euler(1,-1.8,0)*euler(.9,0,0),.3)
  2258. RH.C0=clerp(RH.C0,RHC0*cf(.2,1,.1)*euler(0,-.5,-.2),.3)
  2259. LH.C0=clerp(LH.C0,LHC0*cf(-.2,1,.1)*euler(0,.5,.2),.3)
  2260. end
  2261. Humanoid.Jump=true
  2262. bodvol=Instance.new("BodyVelocity")
  2263. bodvol.Parent=RootPart
  2264. bodvol.velocity=vt(0,1,0)*100
  2265. bodvol.P=5000
  2266. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  2267. --Torso.Velocity=vt(0,1,0)*100
  2268. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(10,20),"Normal",RootPart,.2,1) end)
  2269. so("http://roblox.com/asset/?id=231917987",hitbox,1,1)
  2270. hitconasdf = hitbox.Touched:connect(function(hit)
  2271. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  2272. if hum12 and not hum12:IsDescendantOf(Character) then
  2273. so("http://www.roblox.com/asset/?id="..hitsounds[math.random(1,#hitsounds)],hitbox,1,1)
  2274. hitconasdf:disconnect()
  2275. end
  2276. end)
  2277. for i=0,1,0.1 do
  2278. swait()
  2279. --[[local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  2280. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  2281. local h = 5
  2282. 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)
  2283. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2284. 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)
  2285. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2286. scfr = blcf
  2287. elseif not scfr then
  2288. scfr = blcf
  2289. end]]
  2290. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(3,-2.4,0)*euler(.1,0,0),.3)
  2291. LW.C0=clerp(LW.C0,cf(-.2,.8,-0.5)*euler(3.1,-1.8,0)*euler(.9,0,0),.3)
  2292. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,-0.8),.3)
  2293. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,1.3),.3)
  2294. RH.C0=clerp(RH.C0,RHC0,.3)
  2295. LH.C0=clerp(LH.C0,LHC0,.3)
  2296. end
  2297. con1:disconnect()
  2298. hitconasdf:disconnect()
  2299. bodvol.Parent=nil
  2300. attack=false
  2301. end
  2302.  
  2303. function spin()
  2304. attack=true
  2305. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) so("http://www.roblox.com/asset/?id="..hitsounds[math.random(1,#hitsounds)],hitbox,1,1) end)
  2306. for i=0,1,0.2 do
  2307. swait()
  2308. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.45)
  2309. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.45)
  2310. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.5,-1.5,0)*euler(.5,0,0),.45)
  2311. LW.C0=clerp(LW.C0,cf(0,0.5,-0.7)*euler(1.5,-1.5,0)*euler(.7,0,0),.45)
  2312. RH.C0=clerp(RH.C0,RHC0*euler(-.2,0,0),.45)
  2313. LH.C0=clerp(LH.C0,LHC0*euler(-.2,0,0),.45)
  2314. end
  2315. for i=0,1,0.15 do
  2316. so("http://roblox.com/asset/?id=231917987",hitbox,1,1)
  2317. swait()
  2318. --[[local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  2319. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  2320. local h = 5
  2321. 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)
  2322. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2323. 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)
  2324. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2325. scfr = blcf
  2326. elseif not scfr then
  2327. scfr = blcf
  2328. end]]
  2329. for i=0,1,0.1 do
  2330. swait()
  2331. --[[local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  2332. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  2333. local h = 5
  2334. 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)
  2335. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2336. 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)
  2337. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2338. scfr = blcf
  2339. elseif not scfr then
  2340. scfr = blcf
  2341. end]]
  2342. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.5,-1.5,0)*euler(-.5,0,0),.3)
  2343. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*euler(1.5,-1.5,0)*euler(.5,0,0),.3)
  2344. RootJoint.C0=RootCF*euler(0,0,6.6*i)
  2345. end
  2346. end
  2347. con1:disconnect()
  2348. attack=false
  2349. end
  2350.  
  2351.  
  2352. function IrisRush()
  2353. attack = true
  2354. n=2
  2355. so("http://www.roblox.com/asset/?id=199145433",hitbox,1,1.1)
  2356. so("http://roblox.com/asset/?id=199145659", Head, 1, 2)
  2357. coroutine.resume(coroutine.create(function()
  2358.  
  2359. for i = 0,1,0.1 do
  2360. swait()
  2361. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(-5),math.rad(-60)),.3)
  2362. Torso.Neck.C0=clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.3)
  2363. RW.C0=clerp(RW.C0,cf(1.5, 0.8, 0.2) * angles(math.rad(5), math.rad(-15), math.rad(112)), 0.3)
  2364. LW.C0=clerp(LW.C0,cf(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-20)), 0.3)
  2365. RH.C0=clerp(RH.C0,cf(1.1,-1,0)*angles(math.rad(-5),math.rad(120),math.rad(-8)),.3)
  2366. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-60),math.rad(0)),.3)
  2367. end
  2368.  
  2369. local v=it("BodyVelocity",Torso)
  2370. v.maxForce=Vector3.new(4e+005,4e+005,4e+005)*1
  2371. v.velocity=RootPart.CFrame.lookVector*100
  2372. for i = 0,1,0.1 do
  2373. swait()
  2374. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(60)),.3)
  2375. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  2376. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(60), math.rad(100)), 0.3)
  2377. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-15)), 0.3)
  2378. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2379. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2380. end
  2381. v.Parent=nil
  2382. scfr=nil
  2383.  
  2384. end))
  2385.  
  2386. for i=1,3 do
  2387.  
  2388. local orb=part(3,Character,0,1,BrickColor.new("Institutional white"))
  2389.  
  2390. local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(10,10,10))
  2391. local owld=weld(orb,orb,Torso,cf(0,10,0))
  2392. MagicCircle(BrickColor.new("Institutional white"))
  2393. --[[formerso]]
  2394. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2395. local ceef1=math.random(-50,50)
  2396. local ceef2=math.random(-2,8)
  2397. local ceef3=math.random(100,200)/100
  2398. local n=2
  2399. for i=0,1,0.1 do
  2400. wait()
  2401. Part.Transparency=Part.Transparency-0.07
  2402. owld.C0=cf(ceef2*i*n,-5,0)*euler(ceef3*i*n,ceef1,0)
  2403. n=n-0.1
  2404. end
  2405. wait(0)
  2406. Part.Parent=nil
  2407. local spread=vt((math.random(-1,0)+math.random())*16,(math.random(-1,0)+math.random())*16,(math.random(-1,0)+math.random())*16)*(Part.Position-(Part.Position+vt(0,-1,0))).magnitude/100
  2408. local TheHit=Part.Position+vt(0,-1,0)
  2409. local MouseLook=cf((Part.Position+TheHit)/2,TheHit+spread)
  2410. local hit,pos = rayCast(Part.Position,MouseLook.lookVector,999,Character)
  2411. local mag=(Part.Position-pos).magnitude
  2412. MagicCylinder(BrickColor.new("Institutional white"),CFrame.new((Part.Position+pos)/2,pos)*angles(1.57,0,0) ,1,mag*5,1,0.5,0,0.5,0.05)
  2413. MagicBlock(BrickColor.new("Institutional white"),Part.CFrame,8,8,8,0.5,0.5,0.5,0.1)
  2414. MagicBlock(BrickColor.new("Institutional white"),cf(pos),15,15,15,6,6,6,0.1)
  2415. MagicRing(BrickColor.new("Institutional white"),cf(pos)*euler(1.57,math.random(-100,100)/100,math.random(-100,100)/100),1,1,1,2,2,2,0.05)
  2416. local ref=part(3,workspace,0,1,BrickColor.new("Pastel light blue"),"Effect",vt())
  2417. ref.CFrame=cf(pos)
  2418. so("http://roblox.com/asset/?id=166221646",ref,1,1)
  2419. so("http://roblox.com/asset/?id=200632875", ref, 1, 1)
  2420. so("http://roblox.com/asset/?id=263610131", ref, 1, 1)
  2421. so("http://roblox.com/asset/?id=263610111", Torso, 1, 1)
  2422.  
  2423.  
  2424. coroutine.resume(coroutine.create(function(Part)
  2425. wait(0.2)
  2426. Part.Parent=nil
  2427. end),ref)
  2428. MagniDamage(ref,20,10,30,10,"Knockdown",ref)
  2429. if hit~=nil then
  2430. Damagefunc(hit,20,40,1,"Knockdown",RootPart,0)
  2431. end
  2432. end),orb,omsh,owld)
  2433. wait(0.2)
  2434. end
  2435. n=2
  2436. for i=0,1,0.1 do
  2437. wait()
  2438. n=n-0.1
  2439. end
  2440. attack=false
  2441. end
  2442.  
  2443.  
  2444.  
  2445.  
  2446. function attackone()
  2447. if attack==false and attacktype==1 then
  2448. attacktype=2
  2449. attack=true
  2450. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  2451. for i=0,1,0.2 do
  2452. swait()
  2453. Neck.C0=clerp(Neck.C0,necko*euler(.2,0,.5),.4)
  2454. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-.5),.4)
  2455. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(2,0,1),.4)
  2456. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2457. LW.C0=clerp(LW.C0,cf(-1.3,0.5,-.3)*euler(.4,0,.2)*euler(0,-.2,0),.4)
  2458. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2459. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.5,0),.4)
  2460. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.5,0),.4)
  2461. end
  2462. so("http://roblox.com/asset/?id=199145841",hitbox,1,1)
  2463. hitconasdf = hitbox.Touched:connect(function(hit)
  2464. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  2465. if hum12 and not hum12:IsDescendantOf(Character) then
  2466. so("http://www.roblox.com/asset/?id="..hitsounds[math.random(1,#hitsounds)],hitbox,1,1)
  2467. hitconasdf:disconnect()
  2468. end
  2469. end)
  2470. for i=0,1,0.3 do
  2471. swait()
  2472. --[[ local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  2473. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  2474. local h = 5
  2475. 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)
  2476. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  2477. 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)
  2478. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  2479. scfr = blcf
  2480. elseif not scfr then
  2481. scfr = blcf
  2482. end]]--NOU!!
  2483. Neck.C0=clerp(Neck.C0,necko*euler(0,0,-.5)*euler(.2,0,0),.4)
  2484. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.5),.4)
  2485. RW.C0=clerp(RW.C0,cf(1.2,0.5,-.3)*euler(.2,0,-.2)*euler(0,-.5,0),.4)
  2486. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2487. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.4,0,-.2),.4)
  2488. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2489. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.5,0),.4)
  2490. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.5,0),.4)
  2491. end
  2492. for i=0,1,0.2 do
  2493. swait()
  2494. --[[local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  2495. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  2496. local h = 5
  2497. 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)
  2498. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  2499. 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)
  2500. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  2501. scfr = blcf
  2502. elseif not scfr then
  2503. scfr = blcf
  2504. end]] --NOU!!
  2505. Neck.C0=clerp(Neck.C0,necko*euler(0,0,-.5)*euler(.2,0,0),.4)
  2506. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.5),.4)
  2507. RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*euler(.6,0,-1)*euler(0,-.7,0),.4)
  2508. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2509. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.4,0,-.2),.4)
  2510. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2511. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.5,0),.4)
  2512. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.5,0),.4)
  2513. end
  2514. con1:disconnect()
  2515. hitconasdf:disconnect()
  2516. attack=false
  2517. end
  2518. end
  2519.  
  2520. function attacktwo()
  2521. if attack==false and attacktype==2 then
  2522. attacktype=3
  2523. attack=true
  2524. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  2525. for i=0,1,0.2 do
  2526. swait()
  2527. Neck.C0=clerp(Neck.C0,necko*euler(0,0,-.7)*euler(.2,0,0),.4)
  2528. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.7),.4)
  2529. RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*euler(1.57,0,-1)*euler(0,1.2,0),.4)
  2530. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2531. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.8,0,-.4),.4)
  2532. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2533. RH.C0=clerp(RH.C0,cf(.8,-1,.2)*euler(0,1.57,0)*euler(0,-.7,0),.4)
  2534. LH.C0=clerp(LH.C0,cf(-.8,-1,.2)*euler(0,-1.57,0)*euler(0,-.7,0),.4)
  2535. end
  2536. so("http://roblox.com/asset/?id=199145887",hitbox,1,1)
  2537. hitconasdf = hitbox.Touched:connect(function(hit)
  2538. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  2539. if hum12 and not hum12:IsDescendantOf(Character) then
  2540. so("http://www.roblox.com/asset/?id="..hitsounds[math.random(1,#hitsounds)],hitbox,1,1)
  2541. hitconasdf:disconnect()
  2542. end
  2543. end)
  2544. for i=0,1,0.3 do
  2545. swait()
  2546. --[[ local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  2547. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  2548. local h = 5
  2549. 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)
  2550. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  2551. 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)
  2552. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  2553. scfr = blcf
  2554. elseif not scfr then
  2555. scfr = blcf
  2556. end]]
  2557. Neck.C0=clerp(Neck.C0,necko*euler(0,0,.5)*euler(0,0,0),.4)
  2558. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-.5),.4)
  2559. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1.3,0,1)*euler(0,1.6,0),.4)
  2560. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2561. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.2,0,-.2),.4)
  2562. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2563. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.5,0),.4)
  2564. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.5,0),.4)
  2565. end
  2566. for i=0,1,0.2 do
  2567. swait()
  2568. --[[ local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  2569. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  2570. local h = 5
  2571. 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)
  2572. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  2573. 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)
  2574. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  2575. scfr = blcf
  2576. elseif not scfr then
  2577. scfr = blcf
  2578. end]]
  2579. Neck.C0=clerp(Neck.C0,necko*euler(0,0,.5)*euler(.1,0,0),.4)
  2580. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-.5),.4)
  2581. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1,0,.8)*euler(0,1.3,0),.4)
  2582. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2583. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.2,0,-.2),.4)
  2584. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2585. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.5,0),.4)
  2586. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.5,0),.4)
  2587. end
  2588. attack=false
  2589. con1:disconnect()
  2590. hitconasdf:disconnect()
  2591. end
  2592. end
  2593.  
  2594. function attackthree()
  2595. if attack==false and attacktype==3 then
  2596. attacktype=1
  2597. attack=true
  2598. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  2599. for i=0,1,0.2 do
  2600. swait()
  2601. Neck.C0=clerp(Neck.C0,necko*euler(0,0,.2),.4)
  2602. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-.3),.4)
  2603. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1,0,1.2)*euler(0,-2,0),.4)
  2604. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2605. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-.2)*euler(.7,0,.1)*euler(0,-.4,0),.4)
  2606. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2607. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.3,0),.4)
  2608. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.3,0),.4)
  2609. end
  2610. so("http://roblox.com/asset/?id=199145913",hitbox,1,1)
  2611. hitconasdf = hitbox.Touched:connect(function(hit)
  2612. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  2613. if hum12 and not hum12:IsDescendantOf(Character) then
  2614. so("http://www.roblox.com/asset/?id="..hitsounds[math.random(1,#hitsounds)],hitbox,1,1)
  2615. hitconasdf:disconnect()
  2616. end
  2617. end)
  2618. for i=0,1,0.1 do
  2619. swait()
  2620. --[[ local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  2621. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  2622. local h = 5
  2623. 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)
  2624. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  2625. 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)
  2626. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  2627. scfr = blcf
  2628. elseif not scfr then
  2629. scfr = blcf
  2630. end]]
  2631. Neck.C0=clerp(Neck.C0,necko*euler(.2,0,-.6),.35)
  2632. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.6),.35)
  2633. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.2,0,-1.2)*euler(0,-1.2,0),.35)
  2634. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.35)
  2635. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-.2)*euler(-.4,0,-.7)*euler(0,0,0),.35)
  2636. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.35)
  2637. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.6,0),.35)
  2638. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.6,0),.35)
  2639. end
  2640. attack=false
  2641. con1:disconnect()
  2642. hitconasdf:disconnect()
  2643. end
  2644. end
  2645.  
  2646.  
  2647.  
  2648. function IrisShot()
  2649. attack=true
  2650. for i=0,1,.1 do
  2651. swait()
  2652. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  2653. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  2654. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(18), math.rad(-15), math.rad(15)), 0.3)
  2655. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-75), math.rad(0), math.rad(-50)), 0.3)
  2656. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-3),math.rad(65),math.rad(0)),.3)
  2657. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(-25),math.rad(-110),math.rad(0))*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  2658. end
  2659. so("rbxassetid://163619849",EffectPart2,3,1.5)
  2660. efprt=part2(Enum.FormFactor.Custom,game.Workspace,Enum.Material.Neon,0,0,"White","BallEffect",Vector3.new(2, 2, 2))
  2661. weld(m,Character["Left Arm"],efprt,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.15575993, 0.00814216491, -0.0231294632, -5.23798153e-005, 0.999999821, -0.000210702419, -6.36925748e-008, -0.00021070239, -0.99999994, -1, -5.23797935e-005, 7.47295417e-008))
  2662. mesh("SpecialMesh",efprt,"Sphere","",vt(0,0,0),vt(1,1,1))
  2663. ChargeBall(EffectPart2,35)
  2664. for i=0,1,.1 do
  2665. swait()
  2666. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  2667. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  2668. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-18), math.rad(15), math.rad(15)), 0.3)
  2669. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-65)), 0.3)
  2670. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
  2671. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  2672. end
  2673. so("http://www.roblox.com/asset/?id=199145534",EffectPart2,1,1.2)
  2674. efprt:BreakJoints()
  2675. local Target=mouse.Hit.p
  2676. local direction = Target - Handle.Position
  2677. direction = computeDirection(direction)
  2678. local pos = Handle.Position + (direction * 10.0)
  2679. efprt.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(math.pi/2, 0, 0)
  2680. local floatForce = Instance.new("BodyForce")
  2681. floatForce.force = Vector3.new(0, efprt:GetMass() * 196.1, 0.0)
  2682. floatForce.Parent = efprt
  2683. efprt.Velocity = direction * 160
  2684. efprt.Touched:connect(function(hit)
  2685. if not hit:IsDescendantOf(Character) then
  2686. if hit.Name~="Effect" then
  2687. MagniDamage(efprt,15,15,25,math.random(5,10),"Knockdown",RootPart)
  2688. floatForce.Parent=nil
  2689. efprt.Anchored=true
  2690. so("http://www.roblox.com/asset/?id=228343330",hit,1,.8)
  2691. Blast(efprt)
  2692. efprt:Destroy()
  2693. end
  2694. end
  2695. end)
  2696. game:GetService("Debris"):AddItem(efprt,6)
  2697. attack=false
  2698. end
  2699.  
  2700. local function CFrameFromTopBack(at, top, back)
  2701. local right = top:Cross(back)
  2702. return CFrame.new(at.x, at.y, at.z,
  2703. right.x, top.x, back.x,
  2704. right.y, top.y, back.y,
  2705. right.z, top.z, back.z)
  2706. end
  2707.  
  2708. function Triangle(a, b, c)
  2709. local edg1 = (c-a):Dot((b-a).unit)
  2710. local edg2 = (a-b):Dot((c-b).unit)
  2711. local edg3 = (b-c):Dot((a-c).unit)
  2712. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  2713. a, b, c = a, b, c
  2714. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  2715. a, b, c = b, c, a
  2716. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  2717. a, b, c = c, a, b
  2718. else
  2719. assert(false, "unreachable")
  2720. end
  2721.  
  2722. local len1 = (c-a):Dot((b-a).unit)
  2723. local len2 = (b-a).magnitude - len1
  2724. local width = (a + (b-a).unit*len1 - c).magnitude
  2725.  
  2726. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  2727.  
  2728. local list = {}
  2729.  
  2730. if len1 > 0.01 then
  2731. local w1 = Instance.new('WedgePart', m)
  2732. game:GetService("Debris"):AddItem(w1,5)
  2733. w1.Material = "Neon"
  2734. w1.FormFactor = 'Custom'
  2735. w1.BrickColor = BrickColor.new("Cyan")
  2736. w1.Transparency = 0
  2737. w1.Reflectance = 0
  2738. w1.Material = "SmoothPlastic"
  2739. w1.CanCollide = false
  2740. NoOutline(w1)
  2741. local sz = Vector3.new(0.2, width, len1)
  2742. w1.Size = sz
  2743. local sp = Instance.new("SpecialMesh",w1)
  2744. sp.MeshType = "Wedge"
  2745. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  2746. w1:BreakJoints()
  2747. w1.Anchored = true
  2748. w1.Parent = workspace
  2749. w1.Transparency = 0.7
  2750. table.insert(Effects,{w1,"Disappear",.01})
  2751. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  2752. table.insert(list,w1)
  2753. end
  2754.  
  2755. if len2 > 0.01 then
  2756. local w2 = Instance.new('WedgePart', m)
  2757. game:GetService("Debris"):AddItem(w2,5)
  2758. w2.Material = "Neon"
  2759. w2.FormFactor = 'Custom'
  2760. w2.BrickColor = BrickColor.new("Cyan")
  2761. w2.Transparency = 0
  2762. w2.Reflectance = 0
  2763. w2.Material = "SmoothPlastic"
  2764. w2.CanCollide = false
  2765. NoOutline(w2)
  2766. local sz = Vector3.new(0.2, width, len2)
  2767. w2.Size = sz
  2768. local sp = Instance.new("SpecialMesh",w2)
  2769. sp.MeshType = "Wedge"
  2770. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  2771. w2:BreakJoints()
  2772. w2.Anchored = true
  2773. w2.Parent = workspace
  2774. w2.Transparency = 0.7
  2775. table.insert(Effects,{w2,"Disappear",.01})
  2776. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  2777. table.insert(list,w2)
  2778. end
  2779. return unpack(list)
  2780. end
  2781.  
  2782. function NoOutline(Part)
  2783. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2784. end
  2785.  
  2786.  
  2787. if #Effects>0 then
  2788. --table.insert(Effects,{prt,"Block1",delay})
  2789. for e=1,#Effects do
  2790. if Effects[e]~=nil then
  2791. --for j=1,#Effects[e] do
  2792. local Thing=Effects[e]
  2793. if Thing~=nil then
  2794. local Part=Thing[1]
  2795. local Mode=Thing[2]
  2796. local Delay=Thing[3]
  2797. local IncX=Thing[4]
  2798. local IncY=Thing[5]
  2799. local IncZ=Thing[6]
  2800. if Thing[1].Transparency<=1 then
  2801. if Thing[2]=="Block1" then
  2802. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2803. Mesh=Thing[1].Mesh
  2804. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2805. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2806. elseif Thing[2]=="Cylinder" then
  2807. Mesh=Thing[1].Mesh
  2808. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2809. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2810. elseif Thing[2]=="Blood" then
  2811. Mesh=Thing[1].Mesh
  2812. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  2813. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2814. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2815. elseif Thing[2]=="Elec" then
  2816. Mesh=Thing[1].Mesh
  2817. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  2818. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2819. elseif Thing[2]=="Disappear" then
  2820. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2821. end
  2822. else
  2823. Part.Parent=nil
  2824. table.remove(Effects,e)
  2825. end
  2826. end
  2827. --end
  2828. end
  2829. end
  2830. end
  2831.  
  2832. idleanim=.4
  2833.  
  2834. while true do
  2835. swait()
  2836. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2837. local velderp=RootPart.Velocity.y
  2838. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2839. if equipped==true or equipped==false then
  2840. if attack==false then
  2841. idle=idle+1
  2842. else
  2843. idle=0
  2844. end
  2845. if idle>=500 then
  2846. if attack==false then
  2847. --Sheath()
  2848. end
  2849. end
  2850. if Anim~='Fly' then
  2851. pcall(function()
  2852. RightLeg.Transparency=0
  2853. LeftLeg.Transparency=0
  2854. m.fakerleg:destroy()
  2855. m.fakelleg:destroy()
  2856. end)
  2857. end
  2858. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2859. Anim="Jump"
  2860. if attack==false then
  2861. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  2862. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2863. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  2864. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.5,0,0.5),.3)
  2865. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2866. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3)
  2867. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2868. RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.2)
  2869. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.2)
  2870. end
  2871. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2872. Anim="Fall"
  2873. if attack==false then
  2874. Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3)
  2875. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2876. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  2877. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.3,0,0.2),.3)
  2878. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2879. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3)
  2880. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2881. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.2)
  2882. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.2)
  2883. end
  2884. elseif torvel<1 and hitfloor~=nil then
  2885. Anim="Idle"
  2886. if attack==false then
  2887. --[[Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-10),0,0),.3)
  2888. Neck.C1=clerp(Neck.C1,necko2*angles(0,0,0),.3)
  2889. RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(15),0,0),.3)
  2890. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(0,0,0.1),.3)
  2891. RW.C1=clerp(LW.C1,cf(0,0.5,0)*angles(0,0,0),.3)
  2892. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(45)),.3)
  2893. LW.C1=clerp(LW.C1,cf(0,0.5,0)*angles(0,0,0),.3)
  2894. RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(15),math.rad(90),0),.3)
  2895. RH.C1=clerp(RH.C1,RHC1,.3)
  2896. LH.C0=clerp(LH.C0,cf(1,-.5,0)*angles(math.rad(15),math.rad(-90),0),.3)
  2897. LH.C1=clerp(LH.C1,LHC1,.3)]]
  2898. idleanim=.4
  2899. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5-idleanim)*euler(0.4+(idleanim/2),0,-0.4),.3)
  2900. --RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  2901. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(-idleanim/2,0,0.4),.3)
  2902. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-25),math.rad(-35),math.rad(45)),.3)
  2903. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(90),math.rad(0),math.rad(45)),.3)
  2904. RH.C0=clerp(RH.C0,cf(1,-1,-idleanim)*euler(-0.2-(idleanim/2),1.57,0),.3)
  2905. LH.C0=clerp(LH.C0,cf(-1,-.5+idleanim,0)*euler(0.5+(idleanim/2),-1.2,0)*euler(-.2,0,0),.3)
  2906. end
  2907. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  2908. Anim="Walk"
  2909. if attack==false then
  2910. idleanim=-1
  2911. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0.4,0,0),.3)
  2912. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(-0.2,0,0),.3)
  2913. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-35),math.rad(45)),.3)
  2914. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(35),math.rad(-45)),.3)
  2915. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.2,1.57,0),.3)
  2916. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0.5,-1.57,0)*euler(0,0,0),.3)
  2917. end
  2918. elseif torvel>=22 and hitfloor~=nil then
  2919. Anim="Run"
  2920. if attack==false then
  2921. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*euler(0.4,0,0),.3)
  2922. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(-0.2,0,0),.3)
  2923. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-35),math.rad(-35),math.rad(45)),.3)
  2924. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-35),math.rad(35),math.rad(-45)),.3)
  2925. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.2,1.57,0),.3)
  2926. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0.5,-1.57,0)*euler(0,0,0),.3)
  2927. end
  2928. end
  2929. end
  2930. end
Add Comment
Please, Sign In to add comment