Advertisement
SimonScriptEditer

Iris Soldier

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