Pukaciu

saved

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