Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 255.09 KB | None | 0 0
  1. ---[[Reaper Sword]]---
  2. HealthValue = 5000---[[Reaper Sword]]---
  3. HealthValue = 5000
  4. MaxHealthValue = 4950
  5. Player=game:GetService("Players").iiMakeDaModels
  6. Character=Player.Character
  7. PlayerGui=Player.PlayerGui
  8. Backpack=Player.Backpack
  9. Torso=Character.Torso
  10. Head=Character.Head
  11. Humanoid=Character.Humanoid
  12. cam=game.Workspace.CurrentCamera
  13. m=Instance.new('Model',Character)
  14. LeftArm=Character["Left Arm"]
  15. LeftLeg=Character["Left Leg"]
  16. RightArm=Character["Right Arm"]
  17. RightLeg=Character["Right Leg"]
  18. LS=Torso["Left Shoulder"]
  19. LH=Torso["Left Hip"]
  20. RS=Torso["Right Shoulder"]
  21. RH=Torso["Right Hip"]
  22. Neck=Torso.Neck
  23. it=Instance.new
  24. attacktype=1
  25. vt=Vector3.new
  26. cf=CFrame.new
  27. euler=CFrame.fromEulerAnglesXYZ
  28. angles=CFrame.Angles
  29. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  30. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  31. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  32. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  33. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  34. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  35. RootPart=Character.HumanoidRootPart
  36. RootJoint=RootPart.RootJoint
  37. RootCF=euler(-1.57,0,3.14)
  38. attack = false
  39. attackdebounce = false
  40. deb=false
  41. equipped=true
  42. hand=false
  43. MMouse=nil
  44. combo=0
  45. mana=0
  46. trispeed=.2
  47. attackmode='none'
  48. local idle=0
  49. local Anim="Idle"
  50. local Effects={}
  51. local gun=false
  52. local shoot=false
  53. player=nil
  54. local colorscheme = {"Really black"}
  55. local hitsounds = {"199149137","199149186","199149221","199149235","199149269","199149297"}
  56. local render = game:GetService("RunService").RenderStepped
  57. local bltb = {}
  58. ---Day/Sounds/Misc---
  59. Character.Humanoid.MaxHealth = MaxHealthValue
  60. wait(0.5)
  61. Character.Humanoid.Health = HealthValue
  62. game.Lighting.TimeOfDay = ("01:00:00")
  63. local c = Instance.new("Sound")
  64. c.SoundId = "http://www.roblox.com/asset/?id=257187456"
  65. c.Volume = 0.5
  66. c.MaxDistance = 1000
  67. c.Parent = Head
  68. c.Name = "Music"
  69. c:Play()
  70.  
  71. local d = Instance.new("Sound")
  72. d.SoundId = "http://www.roblox.com/asset/?id=433981230"
  73. d.Volume = 50
  74. d.MaxDistance = 1000
  75. d.Name = "Rawr"
  76. d.Parent = Head
  77. wait(1)
  78. d:Play()
  79.  
  80. local s = Instance.new("Sound")
  81. s.SoundId = "http://www.roblox.com/asset/?id=169737307"
  82. s.Volume = 0.3
  83. s.Looped = true
  84. s.MaxDistance = 10000000 + 5000000
  85. s.Name = "Lightning"
  86. s:Play()
  87. s.Parent = Head
  88. --[[wait(1)
  89. if Head.Parent.Humanoid.Health == 0 then
  90. game.Lighting.TimeOfDay = ("10.00.00")
  91. s:remove()
  92. d:Play()
  93. wait(5)
  94. d:remove()
  95. end]]
  96.  
  97.  
  98. game:GetService("Chat"):Chat(Head, "Im becoming my true form!", "Red")
  99. wait(1)
  100. game:GetService("Chat"):Chat(Head, "Bow before your reaping master!", "Red")
  101. wait(1)
  102. game:GetService("Chat"):Chat(Head, "Night falls, demons... Awaken!", "Red")
  103.  
  104. -----End------
  105. ---------------Cape Section--------------
  106.  
  107. local verlet = {}
  108. verlet.step_time = 1 / 50
  109. verlet.gravity = Vector3.new(0, -150, 0) --//
  110.  
  111. local char = game.Players.LocalPlayer.Character
  112. local torso = char:WaitForChild("Torso")
  113. local parts = {}
  114. local render = game:GetService("RunService").RenderStepped
  115.  
  116. wait(2)
  117.  
  118. local point = {}
  119. local link = {}
  120. local rope = {}
  121.  
  122. local function ccw(A,B,C)
  123. return (C.y-A.y) * (B.x-A.x) > (B.y-A.y) * (C.x-A.x)
  124. end
  125.  
  126. local function intersect(A,B,C,D)
  127. return ccw(A,C,D) ~= ccw(B,C,D) and ccw(A,B,C) ~= ccw(A,B,D)
  128. end
  129.  
  130. local function vec2(v)
  131. return Vector2.new(v.x, v.z)
  132. end
  133.  
  134. function point:step()
  135. if not self.fixed then
  136. local derivative = (self.position - self.last_position) * 0.95
  137. self.last_position = self.position
  138. self.position = self.position + derivative + ((verlet.gravity + (torso.CFrame.lookVector * -90)) * verlet.step_time ^ 2) --//
  139. --[[local torsoP = torso.CFrame * CFrame.new(-1, 0, 0.5)
  140. local torsoE = torso.CFrame * CFrame.new(1, 0, 0.5)
  141. local pointE = self.position + torso.CFrame.lookVector * 100
  142. local doIntersect = intersect(vec2(torsoP.p), vec2(torsoE.p), vec2(self.position), vec2(pointE))
  143. if not doIntersect then
  144. self.postition = self.position - torso.CFrame.lookVector * 10
  145. end]]
  146. end
  147. end
  148.  
  149. function link:step()
  150. for i = 1, 1 do
  151. local distance = self.point1.position - self.point2.position
  152. local magnitude = distance.magnitude
  153. local differance = (self.length - magnitude) / magnitude
  154. local translation = ((self.point1.fixed or self.point2.fixed) and 1 or 0.6) * distance * differance
  155. if not self.point1.fixed then
  156. self.point1.position = self.point1.position + translation
  157. end
  158. if not self.point2.fixed then
  159. self.point2.position = self.point2.position - translation
  160. end
  161. end
  162. end
  163.  
  164. function verlet.new(class, a, b, c)
  165. if class == "Point" then
  166. local new = {}
  167. setmetatable(new, {__index = point})
  168. new.class = class
  169. new.position = a or Vector3.new()
  170. new.last_position = new.position
  171. new.velocity = verlet.gravity
  172. new.fixed = false
  173. return new
  174. elseif class == "Link" then
  175. local new = {}
  176. setmetatable(new, {__index = link})
  177. new.class = class
  178. new.point1 = a
  179. new.point2 = b
  180. new.length = c or (a.position - b.position).magnitude
  181. return new
  182. elseif class == "Rope" then
  183. local new = {}
  184. setmetatable(new, {__index = link})
  185. new.class = class
  186. new.start_point = a
  187. new.finish_point = b
  188. new.points = {}
  189. new.links = {}
  190. local inc = (b - a) / 10
  191. for i = 0, 10 do
  192. table.insert(new.points, verlet.new("Point", a + (i * inc)))
  193. end
  194. for i = 2, #new.points do
  195. table.insert(new.links, verlet.new("Link", new.points[i - 1], new.points[i]))
  196. end
  197. return new
  198. end
  199. end
  200.  
  201. local tris = {}
  202. local triParts = {}
  203.  
  204. local function GetDiscoColor(hue)
  205. local section = hue % 1 * 3
  206. local secondary = 0.5 * math.pi * (section % 1)
  207. if section < 1 then
  208. return Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  209. elseif section < 2 then
  210. return Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  211. else
  212. return Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  213. end
  214. end
  215.  
  216. local function setupPart(part)
  217. part.Anchored = true
  218. part.FormFactor = 3
  219. part.CanCollide = false
  220. part.TopSurface = 10
  221. part.BottomSurface = 10
  222. part.LeftSurface = 10
  223. part.RightSurface = 10
  224. part.FrontSurface = 10
  225. part.BackSurface = 10
  226. part.Material = "Neon"
  227. local m = Instance.new("SpecialMesh", part)
  228. m.MeshType = "Wedge"
  229. m.Scale = Vector3.new(0.2, 1, 1)
  230. return part
  231. end
  232.  
  233. local function CFrameFromTopBack(at, top, back)
  234. local right = top:Cross(back)
  235. 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)
  236. end
  237.  
  238. local function drawTri(parent, a, b, c)
  239. local this = {}
  240. local mPart1 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  241. local mPart2 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  242. function this:Set(a, b, c)
  243. local ab, bc, ca = b-a, c-b, a-c
  244. local abm, bcm, cam = ab.magnitude, bc.magnitude, ca.magnitude
  245. local edg1 = math.abs(0.5 + ca:Dot(ab)/(abm*abm))
  246. local edg2 = math.abs(0.5 + ab:Dot(bc)/(bcm*bcm))
  247. local edg3 = math.abs(0.5 + bc:Dot(ca)/(cam*cam))
  248. if edg1 < edg2 then
  249. if edg1 >= edg3 then
  250. a, b, c = c, a, b
  251. ab, bc, ca = ca, ab, bc
  252. abm = cam
  253. end
  254. else
  255. if edg2 < edg3 then
  256. a, b, c = b, c, a
  257. ab, bc, ca = bc, ca, ab
  258. abm = bcm
  259. else
  260. a, b, c = c, a, b
  261. ab, bc, ca = ca, ab, bc
  262. abm = cam
  263. end
  264. end
  265.  
  266. local len1 = -ca:Dot(ab)/abm
  267. local len2 = abm - len1
  268. local width = (ca + ab.unit*len1).magnitude
  269.  
  270. local maincf = CFrameFromTopBack(a, ab:Cross(bc).unit, -ab.unit)
  271.  
  272. if len1 > 0.2 then
  273. mPart1.Parent = parent
  274. mPart1.Size = Vector3.new(0.2, width, len1)
  275. mPart1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  276. else
  277. mPart1.Parent = nil
  278. end
  279.  
  280. if len2 > 0.2 then
  281. mPart2.Parent = parent
  282. mPart2.Size = Vector3.new(0.2, width, len2)
  283. mPart2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  284. else
  285. mPart2.Parent = nil
  286. end
  287. end
  288. function this:SetProperty(prop, value)
  289. mPart1[prop] = value
  290. mPart2[prop] = value
  291. end
  292. this:Set(a, b, c)
  293. function this:Destroy()
  294. mPart1:Destroy()
  295. mPart2:Destroy()
  296. end
  297. this.p1 = mPart1
  298. this.p2 = mPart2
  299. this.p1.BrickColor = BrickColor.new("Really black")
  300. this.p2.BrickColor = BrickColor.new("Really black")
  301. return this
  302. end
  303.  
  304. function verlet.draw(object, id)
  305. if object.class == "Point" then
  306. local part = parts[id]
  307. part.BrickColor = BrickColor.new(1, 1, 1)
  308. part.Transparency = 0
  309. part.formFactor = 3
  310. part.Anchored = true
  311. part.CanCollide = false
  312. part.TopSurface = 0
  313. part.BottomSurface = 0
  314. part.Size = Vector3.new(0.35, 0.35, 0.35)
  315. part.Material = "Neon"
  316. part.CFrame = CFrame.new(object.position)
  317. part.Parent = torso
  318. return part
  319. elseif object.class == "Link" then
  320. local part = parts[id]
  321. local dist = (object.point1.position - object.point2.position).magnitude
  322. part.Size = Vector3.new(0.2, 0.2, dist)
  323. part.CFrame = CFrame.new(object.point1.position, object.point2.position) * CFrame.new(0, 0, dist * -0.5)
  324. part.Parent = torso
  325. return part
  326. end
  327. end
  328.  
  329. function verlet.clear()
  330. for _, v in pairs(workspace:GetChildren()) do
  331. if v.Name == "Part" then
  332. v:Destroy()
  333. end
  334. end
  335. end
  336.  
  337. local points = {}
  338. local links = {}
  339.  
  340. for x = 0, 2 do
  341. points[x] = {}
  342. for y = 0, 3 do
  343. points[x][y] = verlet.new("Point", torso.Position + Vector3.new(x * 0.8 - 2, 2 - y * 0.8, 5 + y * 0.4))
  344. points[x][y].fixed = y == 0
  345. end
  346. end
  347.  
  348. for x = 1, 2 do
  349. for y = 0, 3 do
  350. links[#links + 1] = verlet.new("Link", points[x][y], points[x - 1][y], 1 + y * 0.08)
  351. end
  352. end
  353.  
  354. for x = 0, 2 do
  355. for y = 1, 3 do
  356. links[#links + 1] = verlet.new("Link", points[x][y], points[x][y - 1], 1.2 + y * 0.03)
  357. end
  358. end
  359.  
  360. render:connect(function()
  361. for x = 0, 2 do
  362. for y = 0, 3 do
  363. if y == 0 then
  364. points[x][y].position = (torso.CFrame * CFrame.new(x * 1 - 1, 1, 0.5)).p
  365. else
  366. points[x][y]:step()
  367. end
  368. end
  369. end
  370. for i = 1, #links do
  371. links[i]:step()
  372. end
  373. for i = 1, #tris do
  374. triParts[#triParts + 1] = tris[i].p1
  375. triParts[#triParts + 1] = tris[i].p2
  376. end
  377. tris = {}
  378. for x = 1, 2 do
  379. for y = 1, 3 do
  380. tris[#tris + 1] = drawTri(torso, points[x - 1][y - 1].position, points[x - 1][y].position, points[x][y - 1].position)
  381. tris[#tris + 1] = drawTri(torso, points[x][y].position, points[x - 1][y].position, points[x][y - 1].position)
  382. end
  383. end
  384. end)
  385.  
  386. --<<-------------End Cape Section------------>>--
  387. mouse=Player:GetMouse()
  388. --save shoulders
  389. RSH, LSH=nil, nil
  390. --welds
  391. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  392. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  393. LH=Torso["Left Hip"]
  394. RH=Torso["Right Hip"]
  395. TorsoColor=Torso.BrickColor
  396. function NoOutline(Part)
  397. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  398. end
  399. player=Player
  400. ch=Character
  401. RSH=ch.Torso["Right Shoulder"]
  402. LSH=ch.Torso["Left Shoulder"]
  403. --
  404. RSH.Parent=nil
  405. LSH.Parent=nil
  406. --
  407. RW.Name="Right Shoulder"
  408. RW.Part0=ch.Torso
  409. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  410. RW.C1=cf(0, 0.5, 0)
  411. RW.Part1=ch["Right Arm"]
  412. RW.Parent=ch.Torso
  413. --
  414. LW.Name="Left Shoulder"
  415. LW.Part0=ch.Torso
  416. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  417. LW.C1=cf(0, 0.5, 0)
  418. LW.Part1=ch["Left Arm"]
  419. LW.Parent=ch.Torso
  420.  
  421. local Stats=Instance.new("BoolValue")
  422. Stats.Name="Stats"
  423. Stats.Parent=Character
  424. local Atk=Instance.new("NumberValue")
  425. Atk.Name="Damage"
  426. Atk.Parent=Stats
  427. Atk.Value=1
  428. local Def=Instance.new("NumberValue")
  429. Def.Name="Defense"
  430. Def.Parent=Stats
  431. Def.Value=1
  432. local Speed=Instance.new("NumberValue")
  433. Speed.Name="Speed"
  434. Speed.Parent=Stats
  435. Speed.Value=1
  436. local Mvmt=Instance.new("NumberValue")
  437. Mvmt.Name="Movement"
  438. Mvmt.Parent=Stats
  439. Mvmt.Value=1
  440.  
  441. local donum=0
  442.  
  443. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  444. local fp=it("Part")
  445. fp.formFactor=formfactor
  446. fp.Parent=parent
  447. fp.Reflectance=reflectance
  448. fp.Transparency=transparency
  449. fp.CanCollide=false
  450. fp.Locked=true
  451. fp.BrickColor=brickcolor
  452. fp.Name=name
  453. fp.Size=size
  454. fp.Position=Torso.Position
  455. NoOutline(fp)
  456. fp.Material="SmoothPlastic"
  457. fp:BreakJoints()
  458. return fp
  459. end
  460.  
  461. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  462. local mesh=it(Mesh)
  463. mesh.Parent=part
  464. if Mesh=="SpecialMesh" then
  465. mesh.MeshType=meshtype
  466. if meshid~="nil" then
  467. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  468. end
  469. end
  470. mesh.Offset=offset
  471. mesh.Scale=scale
  472. return mesh
  473. end
  474.  
  475. function weld(parent,part0,part1,c0)
  476. local weld=it("Weld")
  477. weld.Parent=parent
  478. weld.Part0=part0
  479. weld.Part1=part1
  480. weld.C0=c0
  481. return weld
  482. end
  483.  
  484.  
  485. function Rainbow(hue)
  486. local section = hue % 1 * 3
  487. local secondary = 0.5 * math.pi * (section % 1)
  488. if section < 1 then
  489. return Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  490. elseif section < 2 then
  491. return Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  492. else
  493. return Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  494. end
  495. end
  496.  
  497.  
  498. function UpdatePart(pt,clr)
  499. pt.BrickColor = BrickColor.new(clr)
  500. end
  501.  
  502. local Color1=Torso.BrickColor
  503.  
  504. local bodvel=Instance.new("BodyVelocity")
  505. local bg=Instance.new("BodyGyro")
  506.  
  507. function swait(num)
  508. if num==0 or num==nil then
  509. game:service'RunService'.Stepped:wait(0)
  510. else
  511. for i=0,num do
  512. game:service'RunService'.Stepped:wait(0)
  513. end
  514. end
  515. end
  516.  
  517.  
  518. so = function(id,par,vol,pit)
  519. coroutine.resume(coroutine.create(function()
  520. local sou = Instance.new("Sound",par or workspace)
  521. sou.Volume=vol
  522. sou.Pitch=pit or 1
  523. sou.SoundId=id
  524. swait()
  525. sou:play()
  526. game:GetService("Debris"):AddItem(sou,6)
  527. end))
  528. end
  529.  
  530. function clerp(a,b,t)
  531. local qa = {QuaternionFromCFrame(a)}
  532. local qb = {QuaternionFromCFrame(b)}
  533. local ax, ay, az = a.x, a.y, a.z
  534. local bx, by, bz = b.x, b.y, b.z
  535. local _t = 1-t
  536. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  537. end
  538.  
  539. function QuaternionFromCFrame(cf)
  540. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  541. local trace = m00 + m11 + m22
  542. if trace > 0 then
  543. local s = math.sqrt(1 + trace)
  544. local recip = 0.5/s
  545. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  546. else
  547. local i = 0
  548. if m11 > m00 then
  549. i = 1
  550. end
  551. if m22 > (i == 0 and m00 or m11) then
  552. i = 2
  553. end
  554. if i == 0 then
  555. local s = math.sqrt(m00-m11-m22+1)
  556. local recip = 0.5/s
  557. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  558. elseif i == 1 then
  559. local s = math.sqrt(m11-m22-m00+1)
  560. local recip = 0.5/s
  561. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  562. elseif i == 2 then
  563. local s = math.sqrt(m22-m00-m11+1)
  564. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  565. end
  566. end
  567. end
  568.  
  569. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  570. local xs, ys, zs = x + x, y + y, z + z
  571. local wx, wy, wz = w*xs, w*ys, w*zs
  572. local xx = x*xs
  573. local xy = x*ys
  574. local xz = x*zs
  575. local yy = y*ys
  576. local yz = y*zs
  577. local zz = z*zs
  578. 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))
  579. end
  580.  
  581. function QuaternionSlerp(a, b, t)
  582. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  583. local startInterp, finishInterp;
  584. if cosTheta >= 0.0001 then
  585. if (1 - cosTheta) > 0.0001 then
  586. local theta = math.acos(cosTheta)
  587. local invSinTheta = 1/math.sin(theta)
  588. startInterp = math.sin((1-t)*theta)*invSinTheta
  589. finishInterp = math.sin(t*theta)*invSinTheta
  590. else
  591. startInterp = 1-t
  592. finishInterp = t
  593. end
  594. else
  595. if (1+cosTheta) > 0.0001 then
  596. local theta = math.acos(-cosTheta)
  597. local invSinTheta = 1/math.sin(theta)
  598. startInterp = math.sin((t-1)*theta)*invSinTheta
  599. finishInterp = math.sin(t*theta)*invSinTheta
  600. else
  601. startInterp = t-1
  602. finishInterp = t
  603. end
  604. end
  605. 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
  606. end
  607.  
  608. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  609. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  610. end
  611.  
  612. ppart = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  613. local fp = it("Part")
  614. fp.formFactor = formfactor
  615. fp.Parent = parent
  616. fp.Reflectance = reflectance
  617. fp.Transparency = transparency
  618. fp.CanCollide = false
  619. fp.Locked = true
  620. fp.BrickColor = brickcolor
  621. fp.Name = name
  622. fp.Size = size
  623. fp.Position = EffectPart.Position
  624. NoOutline(fp)
  625. fp.Material = "Neon"
  626. fp:BreakJoints()
  627. return fp
  628. end
  629.  
  630. nooutline = function(part)
  631. part.TopSurface = 10
  632. end
  633.  
  634.  
  635. part2 = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  636. local fp = it("Part")
  637. fp.formFactor = formfactor
  638. fp.Parent = parent
  639. fp.Reflectance = reflectance
  640. fp.Transparency = transparency
  641. fp.CanCollide = false
  642. fp.Locked = true
  643. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  644. fp.Name = name
  645. fp.Size = size
  646. fp.Position = Character.Torso.Position
  647. nooutline(fp)
  648. fp.Material = material
  649. fp:BreakJoints()
  650. return fp
  651. end
  652.  
  653. local MagicRing = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, parent)
  654. local prt = ppart(3, game.Workspace, 0, 1, brickcolor, "Effect", vt())
  655. if Type ~= 2 then
  656. prt.Anchored = true
  657. end
  658. prt.CFrame = cframe
  659. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  660. game:GetService("Debris"):AddItem(prt, 5)
  661. coroutine.resume(coroutine.create(function(Part, Mesh, dur)
  662. local wld = nil
  663. if dur == 2 then
  664. wld = weld(Part, Part, parent, euler(0, 0, 0) * cf(0, 0, 0))
  665. end
  666. for i = 0, 1, delay do
  667. swait()
  668. if dur == 1 then
  669. Part.CFrame = Part.CFrame
  670. else
  671. if dur == 2 then
  672. wld.C0 = cframe
  673. end
  674. end
  675. Part.Transparency = i
  676. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  677. end
  678. Part.Parent = nil
  679. end
  680. ), prt, msh, Type)
  681. end
  682.  
  683. ChargeBall = function(parent, t)
  684. local counter = 0
  685. local size = 1
  686. for i = 0, t do
  687. swait()
  688. counter = counter + 1
  689. if (counter) % 10 == 0 then
  690. if size == 3 then
  691. MagicRing(BrickColor.new("Really black"), parent.CFrame, 0.5, 0.5, 0.5, 1, 1, 1, 0.1, 3, parent)
  692. else
  693. if size == 2 then
  694. MagicRing(BrickColor.new("Really black"), parent.CFrame, 0.5, 0.5, 0.5, 1, 1, 1, 0.1, 3, parent)
  695. end
  696. end
  697. end
  698. if (counter) % 5 == 0 then
  699. if size == 1 then
  700. MagicBlock(BrickColor.new("Really black"), parent.CFrame, 0.5, 0.5, 0.5, 1, 1, 1, 0.1, 3, parent)
  701. else
  702. if size == 2 then
  703. MagicBlock(BrickColor.new("Really black"), parent.CFrame, 0.5, 0.5, 0.5, 1, 1, 1, 0.1, 3, parent)
  704. else
  705. if size == 3 then
  706. MagicBlock(BrickColor.new("Really black"), parent.CFrame, 0.5, 0.5, 0.5, 1, 1, 1, 0.1, 3, parent)
  707. end
  708. end
  709. end
  710. end
  711. end
  712. end
  713.  
  714.  
  715. MagicWave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  716. local prt = ppart(3, workspace, 0, 0, brickcolor, "Effect", vt())
  717. prt.Anchored = true
  718. prt.CFrame = cframe
  719. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  720. game:GetService("Debris"):AddItem(prt, 5)
  721. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3})
  722. end
  723.  
  724. MagicWaveThing = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  725. local prt = ppart(3, game.Workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  726. prt.Anchored = true
  727. prt.CFrame = cframe
  728. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1051557", vt(0, 0, 0), vt(x1, y1, z1))
  729. game:GetService("Debris"):AddItem(prt, 5)
  730. coroutine.resume(coroutine.create(function(Part, Mesh)
  731. for i = 0, 1, delay do
  732. swait()
  733. Part.CFrame = Part.CFrame * euler(0, 0.7, 0)
  734. Part.Transparency = i
  735. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  736. end
  737. Part.Parent = nil
  738. end
  739. ), prt, msh)
  740. end
  741.  
  742. MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  743. local prt = ppart(3, game.Workspace, 0, 1, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  744. prt.Anchored = true
  745. prt.CFrame = cframe
  746. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  747. game:GetService("Debris"):AddItem(prt, 5)
  748. coroutine.resume(coroutine.create(function(Part, Mesh)
  749. for i = 0, 1, delay do
  750. wait()
  751. Part.CFrame = Part.CFrame * euler(math.rad(-50, 50), math.rad(-50, 50), math.rad(-50, 50))
  752. Part.Transparency = i
  753. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  754. end
  755. Part.Parent = nil
  756. end
  757. ), prt, msh)
  758. end
  759.  
  760. MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  761. local prt = ppart(3, game.Workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  762. prt.Anchored = true
  763. prt.CFrame = cframe
  764. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(0.1, 0.1, 0.1))
  765. game:GetService("Debris"):AddItem(prt, 2)
  766. coroutine.resume(coroutine.create(function(Part, Mesh)
  767. for i = 0, 2, delay do
  768. wait()
  769. Part.CFrame = Part.CFrame
  770. Part.Transparency = i
  771. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  772. end
  773. Part.Parent = nil
  774. end
  775. ), prt, msh)
  776. end
  777.  
  778. MagicCylinder = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  779. local prt = ppart(3, workspace, 0, 0, brickcolor, "Effect", vt(0.2, 0.2, 0.2))
  780. prt.Anchored = true
  781. prt.CFrame = cframe
  782. local msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1))
  783. game:GetService("Debris"):AddItem(prt, 5)
  784. coroutine.resume(coroutine.create(function(Part, Mesh)
  785. for i = 0, 1, delay do
  786. wait()
  787. Part.CFrame = Part.CFrame
  788. Part.Transparency = i
  789. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  790. end
  791. Part.Parent = nil
  792. end
  793. ), prt, msh)
  794. end
  795.  
  796. Blast = function(parent)
  797. MagicBlock(BrickColor.new("Really black"), parent.CFrame, 4, 4, 4, 0.2, 0.2, 0.2, 0.01)
  798. MagicWaveThing(BrickColor.new("Really black"), parent.CFrame, 4, 4, 4, 0.2, 0.2, 0.2, 0.01)
  799. end
  800.  
  801. computeDirection = function(vec)
  802. local lenSquared = vec.magnitude * vec.magnitude
  803. local invSqrt = 1 / math.sqrt(lenSquared)
  804. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  805. end
  806.  
  807. MagniDamage = function(Part, dis, mind, maxd, force, knock)
  808. for _,c in pairs(workspace:children()) do
  809. local hum = c:findFirstChild("Humanoid")
  810. if hum ~= nil then
  811. local head = c:findFirstChild("Torso")
  812. if head ~= nil then
  813. local targ = head.Position - Part.Position
  814. local mag = targ.magnitude
  815. if mag <= dis and c.Name ~= Character.Name then
  816. Damagefunc2(Part, hum.Parent.Torso, mind, maxd, force, knock, RootPart, 0.2, 1)
  817. end
  818. end
  819. end
  820. end
  821. end
  822.  
  823.  
  824.  
  825. function ShowDamage2(Pos, Text, Time, Color)
  826. local Rate = (1 / 30)
  827. local Pos = (Pos or Vector3.new(0, 0, 0))
  828. local Text = (Text or "")
  829. local Time = (Time or 2)
  830. local Color = (Color or Color3.new(1, 0, 0))
  831. local EffectPart = part2("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  832. EffectPart.Anchored = true
  833. local BillboardGui = Instance.new("BillboardGui")
  834. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  835. BillboardGui.Adornee = EffectPart
  836. local TextLabel = Instance.new("TextLabel")
  837. TextLabel.BackgroundTransparency = 1
  838. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  839. TextLabel.Text = Text
  840. TextLabel.TextColor3 = Color
  841. TextLabel.TextScaled = true
  842. TextLabel.Font = Enum.Font.ArialBold
  843. TextLabel.Parent = BillboardGui
  844. BillboardGui.Parent = EffectPart
  845. game.Debris:AddItem(EffectPart, (Time + 0.1))
  846. EffectPart.Parent = game:GetService("Workspace")
  847. Delay(0, function()
  848. local Frames = (Time / Rate)
  849. for Frame = 1, Frames do
  850. wait(Rate)
  851. local Percent = (Frame / Frames)
  852. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  853. TextLabel.TextTransparency = Percent
  854. end
  855. if EffectPart and EffectPart.Parent then
  856. EffectPart:Destroy()
  857. end
  858. end)
  859. end
  860.  
  861. Damagefunc2=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  862. if hit.Parent==nil then
  863. return
  864. end
  865. local h=hit.Parent:FindFirstChild("Humanoid")
  866. for _,v in pairs(hit.Parent:children()) do
  867. if v:IsA("Humanoid") then
  868. h=v
  869. end
  870. end
  871. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  872. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  873. end
  874. if hit.Parent.className=="Hat" then
  875. hit=hit.Parent.Parent:findFirstChild("Head")
  876. end
  877. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  878. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  879. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  880. return
  881. end]]
  882. -- hs(hit,1.2)
  883. local c=Instance.new("ObjectValue")
  884. c.Name="creator"
  885. c.Value=game:service("Players").LocalPlayer
  886. c.Parent=h
  887. game:GetService("Debris"):AddItem(c,.5)
  888. local Damage=math.random(minim,maxim)
  889. -- h:TakeDamage(Damage)
  890. local blocked=false
  891. local block=hit.Parent:findFirstChild("Block")
  892. if block~=nil then
  893. print(block.className)
  894. if block.className=="NumberValue" then
  895. if block.Value>0 then
  896. blocked=true
  897. if decreaseblock==nil then
  898. block.Value=block.Value-1
  899. end
  900. end
  901. end
  902. if block.className=="IntValue" then
  903. if block.Value>0 then
  904. blocked=true
  905. if decreaseblock~=nil then
  906. block.Value=block.Value-1
  907. end
  908. end
  909. end
  910. end
  911. if blocked==false then
  912. -- h:TakeDamage(Damage)
  913. h.Health=h.Health-Damage
  914. ShowDamage2((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  915. else
  916. h.Health=h.Health-(Damage/2)
  917. 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)
  918. end
  919. if Type=="Knockdown" then
  920. local hum=hit.Parent.Humanoid
  921. hum.PlatformStand=true
  922. coroutine.resume(coroutine.create(function(HHumanoid)
  923. swait(1)
  924. HHumanoid.PlatformStand=false
  925. end),hum)
  926. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  927. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  928. local bodvol=Instance.new("BodyVelocity")
  929. bodvol.velocity=angle*knockback
  930. bodvol.P=5000
  931. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  932. bodvol.Parent=hit
  933. local rl=Instance.new("BodyAngularVelocity")
  934. rl.P=3000
  935. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  936. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  937. rl.Parent=hit
  938. game:GetService("Debris"):AddItem(bodvol,.5)
  939. game:GetService("Debris"):AddItem(rl,.5)
  940. elseif Type=="Normal" then
  941. local vp=Instance.new("BodyVelocity")
  942. vp.P=500
  943. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  944. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  945. if KnockbackType==1 then
  946. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  947. elseif KnockbackType==2 then
  948. vp.velocity=Property.CFrame.lookVector*knockback
  949. end
  950. if knockback>0 then
  951. vp.Parent=hit.Parent.Torso
  952. end
  953. game:GetService("Debris"):AddItem(vp,.5)
  954. elseif Type=="Up" then
  955. local bodyVelocity=Instance.new("BodyVelocity")
  956. bodyVelocity.velocity=vt(0,60,0)
  957. bodyVelocity.P=5000
  958. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  959. bodyVelocity.Parent=hit
  960. game:GetService("Debris"):AddItem(bodyVelocity,1)
  961. local rl=Instance.new("BodyAngularVelocity")
  962. rl.P=3000
  963. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  964. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  965. rl.Parent=hit
  966. game:GetService("Debris"):AddItem(rl,.5)
  967. elseif Type=="Snare" then
  968. local bp=Instance.new("BodyPosition")
  969. bp.P=2000
  970. bp.D=100
  971. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  972. bp.position=hit.Parent.Torso.Position
  973. bp.Parent=hit.Parent.Torso
  974. game:GetService("Debris"):AddItem(bp,1)
  975. elseif Type=="Target" then
  976. local Targetting = false
  977. if Targetting==false then
  978. ZTarget=hit.Parent.Torso
  979. coroutine.resume(coroutine.create(function(Part)
  980. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  981. swait(5)
  982. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  983. end),ZTarget)
  984. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  985. local targetgui=Instance.new("BillboardGui")
  986. targetgui.Parent=ZTarget
  987. targetgui.Size=UDim2.new(10,100,10,100)
  988. local targ=Instance.new("ImageLabel")
  989. targ.Parent=targetgui
  990. targ.BackgroundTransparency=1
  991. targ.Image="rbxassetid://4834067"
  992. targ.Size=UDim2.new(1,0,1,0)
  993. cam.CameraType="Scriptable"
  994. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  995. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  996. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  997. Targetting=true
  998. RocketTarget=ZTarget
  999. for i=1,Property do
  1000. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  1001. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  1002. swait()
  1003. end
  1004. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  1005. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1006. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1007. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  1008. end
  1009. Targetting=false
  1010. RocketTarget=nil
  1011. targetgui.Parent=nil
  1012. cam.CameraType="Custom"
  1013. end
  1014. end
  1015. local debounce=Instance.new("BoolValue")
  1016. debounce.Name="DebounceHit"
  1017. debounce.Parent=hit.Parent
  1018. debounce.Value=true
  1019. game:GetService("Debris"):AddItem(debounce,Delay)
  1020. c=Instance.new("ObjectValue")
  1021. c.Name="creator"
  1022. c.Value=Player
  1023. c.Parent=h
  1024. game:GetService("Debris"):AddItem(c,.5)
  1025. end
  1026. end
  1027. --<----------------------------------S w o r d C r e a t i o n---------------------------------->--
  1028.  
  1029. user=game:service'Players'.localPlayer
  1030. char=user.Character
  1031. mouse=user:GetMouse()
  1032. m=Instance.new('Model',char)
  1033. iris = m
  1034. game:service'Lighting'.Outlines=false
  1035.  
  1036.  
  1037. local Handle = Instance.new("Part", m)
  1038. Handle:BreakJoints()
  1039. Handle.TopSurface = "Smooth"
  1040. Handle.Transparency = 0 Handle.Material = "SmoothPlastic"
  1041. Handle.Name = 'Handle'
  1042. Handle.BottomSurface = "Smooth"
  1043. Handle.FormFactor = "Custom" Handle.CanCollide = false
  1044. Handle.BrickColor = BrickColor.new("Really black")
  1045. Handle.Size = Vector3.new(0.337107092, 1.12369001, 0.337107033)
  1046. local Handleweld = Instance.new("ManualWeld")
  1047. Handleweld.Part0 = Character["Right Arm"]
  1048. Handleweld.Part1 = Handle Handleweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1049. Handleweld.C1 = CFrame.new(-0.000732421875, -0.0344696045, -0.945665836, -0.999993205, 0, 0, 0, 0, -1, 0, -0.999993086, 0)
  1050. Handleweld.Parent = Character["Right Arm"]
  1051.  
  1052. local HandleMesh = Instance.new("CylinderMesh",Handle)
  1053. HandleMesh.Name = "Mesh"
  1054. HandleMesh.Offset = Vector3.new(0, 0, 0)
  1055. HandleMesh.Scale = Vector3.new(1, 1, 1)
  1056.  
  1057. local Part = Instance.new("Part", m)
  1058. Part:BreakJoints()
  1059. Part.TopSurface = "Smooth"
  1060. Part.Material = "SmoothPlastic"
  1061. Part.Transparency = 0 Part.Name = 'Part'
  1062. Part.BottomSurface = "Smooth"
  1063. Part.FormFactor = "Custom" Part.CanCollide = false
  1064. Part.BrickColor = BrickColor.new("Really black")
  1065. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1066. local Partweld = Instance.new("ManualWeld")
  1067. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1068. 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)
  1069. Partweld.Parent = Part
  1070. local PartMesh = Instance.new("BlockMesh",Part)
  1071. PartMesh.Name = "Mesh"
  1072. PartMesh.Offset = Vector3.new(0, 0, 0)
  1073. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1074.  
  1075. local Part = Instance.new("Part", m)
  1076. Part:BreakJoints()
  1077. Part.TopSurface = "Smooth"
  1078. Part.Material = "Neon"
  1079. Part.Transparency = 0 Part.Name = 'Part1'
  1080. Part.BottomSurface = "Smooth"
  1081. Part.FormFactor = "Custom" Part.CanCollide = false
  1082. Part.BrickColor = BrickColor.new("Black")
  1083. Part.Size = Vector3.new(0.337107092, 0.224738032, 0.337107033)
  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(-4.00543213e-005, 0.674224854, -1.33514404e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1087. Partweld.Parent = Part
  1088. local PartMesh = Instance.new("SpecialMesh",Part)
  1089. PartMesh.MeshId = ""
  1090. PartMesh.MeshType = Enum.MeshType.Sphere PartMesh.Name = "Mesh"
  1091. PartMesh.Offset = Vector3.new(0, 0, 0)
  1092. PartMesh.Scale = Vector3.new(1, 1, 1)
  1093.  
  1094. table.insert(bltb, Part)
  1095.  
  1096. local Part = Instance.new("Part", m)
  1097. Part:BreakJoints()
  1098. Part.TopSurface = "Smooth"
  1099. Part.Material = "SmoothPlastic"
  1100. Part.Transparency = 0 Part.Name = 'Part'
  1101. Part.BottomSurface = "Smooth"
  1102. Part.FormFactor = "Custom" Part.CanCollide = false
  1103. Part.BrickColor = BrickColor.new("Really black")
  1104. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  1105. local Partweld = Instance.new("ManualWeld")
  1106. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1107. Partweld.C1 = CFrame.new(0, -0.730434418, 7.62939453e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1108. Partweld.Parent = Part
  1109. local PartMesh = Instance.new("CylinderMesh",Part)
  1110. PartMesh.Name = "Mesh"
  1111. PartMesh.Offset = Vector3.new(0, 0, 0)
  1112. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  1113.  
  1114.  
  1115.  
  1116. local Part = Instance.new("Part", m)
  1117. Part:BreakJoints()
  1118. Part.TopSurface = "Smooth"
  1119. Part.Material = "SmoothPlastic"
  1120. Part.Transparency = 0 Part.Name = 'Part'
  1121. Part.BottomSurface = "Smooth"
  1122. Part.FormFactor = "Custom" Part.CanCollide = false
  1123. Part.BrickColor = BrickColor.new("Really black")
  1124. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  1125. local Partweld = Instance.new("ManualWeld")
  1126. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1127. Partweld.C1 = CFrame.new(0, -0.730434418, 7.62939453e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1128. Partweld.Parent = Part
  1129. local PartMesh = Instance.new("CylinderMesh",Part)
  1130. PartMesh.Name = "Mesh"
  1131. PartMesh.Offset = Vector3.new(0, 0, 0)
  1132. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  1133.  
  1134. local Part = Instance.new("Part", m)
  1135. Part:BreakJoints()
  1136. Part.TopSurface = "Smooth"
  1137. Part.Material = "Neon"
  1138. Part.Transparency = 0 Part.Name = 'Part2'
  1139. Part.BottomSurface = "Smooth"
  1140. Part.FormFactor = "Custom" Part.CanCollide = false
  1141. Part.BrickColor = BrickColor.new("Black")
  1142. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1143. local Partweld = Instance.new("ManualWeld")
  1144. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1145. Partweld.C1 = CFrame.new(0, -0.955184937, -0.179762959, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1146. Partweld.Parent = Part
  1147. local PartMesh = Instance.new("CylinderMesh",Part)
  1148. PartMesh.Name = "Mesh"
  1149. PartMesh.Offset = Vector3.new(0, 0, 0)
  1150. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  1151.  
  1152. table.insert(bltb, Part)
  1153.  
  1154. local Part = Instance.new("Part", m)
  1155. Part:BreakJoints()
  1156. Part.TopSurface = "Smooth"
  1157. Part.Material = "SmoothPlastic"
  1158. Part.Transparency = 0 Part.Name = 'Part'
  1159. Part.BottomSurface = "Smooth"
  1160. Part.FormFactor = "Custom" Part.CanCollide = false
  1161. Part.BrickColor = BrickColor.new("Really black")
  1162. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1163. local Partweld = Instance.new("ManualWeld")
  1164. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1165. 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)
  1166. Partweld.Parent = Part
  1167. local PartMesh = Instance.new("BlockMesh",Part)
  1168. PartMesh.Name = "Mesh"
  1169. PartMesh.Offset = Vector3.new(0, 0, 0)
  1170. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1171.  
  1172. local Part = Instance.new("Part", m)
  1173. Part:BreakJoints()
  1174. Part.TopSurface = "Smooth"
  1175. Part.Material = "SmoothPlastic"
  1176. Part.Transparency = 0 Part.Name = 'Part'
  1177. Part.BottomSurface = "Smooth"
  1178. Part.FormFactor = "Custom" Part.CanCollide = false
  1179. Part.BrickColor = BrickColor.new("Really black")
  1180. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1181. local Partweld = Instance.new("ManualWeld")
  1182. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1183. Partweld.C1 = CFrame.new(0.597281575, -0.842823029, -0.00578403473, -0.258815438, 0, 0.965912819, 0, 1, 0, -0.965912819, 0, -0.258815438)
  1184. Partweld.Parent = Part
  1185. local PartMesh = Instance.new("BlockMesh",Part)
  1186. PartMesh.Name = "Mesh"
  1187. PartMesh.Offset = Vector3.new(0, 0, 0)
  1188. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1189.  
  1190. local Part = Instance.new("Part", m)
  1191. Part:BreakJoints()
  1192. Part.TopSurface = "Smooth"
  1193. Part.Material = "Neon"
  1194. Part.Transparency = 0.5 Part.Name = 'Part3'
  1195. Part.BottomSurface = "Smooth"
  1196. Part.FormFactor = "Custom" Part.CanCollide = false
  1197. Part.BrickColor = BrickColor.new("Black")
  1198. Part.Size = Vector3.new(0.200000003, 4.62046242, 0.449476063)
  1199. local Partweld = Instance.new("ManualWeld")
  1200. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1201. Partweld.C1 = CFrame.new(3.24249268e-005, -3.32155609, -4.76837158e-007, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1202. Partweld.Parent = Part
  1203. local PartMesh = Instance.new("BlockMesh",Part)
  1204. PartMesh.Name = "Mesh"
  1205. PartMesh.Offset = Vector3.new(0, 0, 0)
  1206. PartMesh.Scale = Vector3.new(0.230356485, 1, 1)
  1207.  
  1208. table.insert(bltb, Part)
  1209.  
  1210. local Part = Instance.new("Part", m)
  1211. Part:BreakJoints()
  1212. Part.TopSurface = "Smooth"
  1213. Part.Material = "SmoothPlastic"
  1214. Part.Transparency = 0 Part.Name = 'Part'
  1215. Part.BottomSurface = "Smooth"
  1216. Part.FormFactor = "Custom" Part.CanCollide = false
  1217. Part.BrickColor = BrickColor.new("Really black")
  1218. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1219. local Partweld = Instance.new("ManualWeld")
  1220. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1221. Partweld.C1 = CFrame.new(0.597218513, -0.842823029, 0.00602054596, 0.258815646, 0, 0.9659127, 0, 1, 0, -0.9659127, 0, 0.258815646)
  1222. Partweld.Parent = Part
  1223. local PartMesh = Instance.new("BlockMesh",Part)
  1224. PartMesh.Name = "Mesh"
  1225. PartMesh.Offset = Vector3.new(0, 0, 0)
  1226. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1227.  
  1228. local Part = Instance.new("Part", m)
  1229. Part:BreakJoints()
  1230. Part.TopSurface = "Smooth"
  1231. Part.Material = "Neon"
  1232. Part.Transparency = 0 Part.Name = 'Part4'
  1233. Part.BottomSurface = "Smooth"
  1234. Part.FormFactor = "Custom" Part.CanCollide = false
  1235. Part.BrickColor = BrickColor.new("Black")
  1236. Part.Size = Vector3.new(0.337107092, 1.12369001, 0.200000003)
  1237. local Partweld = Instance.new("ManualWeld")
  1238. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1239. Partweld.C1 = CFrame.new(0, 0, -0.123583317, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1240. Partweld.Parent = Part
  1241. local PartMesh = Instance.new("CylinderMesh",Part)
  1242. PartMesh.Name = "Mesh"
  1243. PartMesh.Offset = Vector3.new(0, 0, 0)
  1244. PartMesh.Scale = Vector3.new(1, 1, 0.561845064)
  1245.  
  1246. table.insert(bltb, Part)
  1247.  
  1248. local Part = Instance.new("Part", m)
  1249. Part:BreakJoints()
  1250. Part.TopSurface = "Smooth"
  1251. Part.Material = "SmoothPlastic"
  1252. Part.Transparency = 0 Part.Name = 'Part'
  1253. Part.BottomSurface = "Smooth"
  1254. Part.FormFactor = "Custom" Part.CanCollide = false
  1255. Part.BrickColor = BrickColor.new("Really black")
  1256. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1257. local Partweld = Instance.new("ManualWeld")
  1258. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1259. 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)
  1260. Partweld.Parent = Part
  1261. local PartMesh = Instance.new("BlockMesh",Part)
  1262. PartMesh.Name = "Mesh"
  1263. PartMesh.Offset = Vector3.new(0, 0, 0)
  1264. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1265.  
  1266. local Part = Instance.new("Part", m)
  1267. Part:BreakJoints()
  1268. Part.TopSurface = "Smooth"
  1269. Part.Material = "Neon"
  1270. Part.Transparency = 0 Part.Name = 'Part5'
  1271. Part.BottomSurface = "Smooth"
  1272. Part.FormFactor = "Custom" Part.CanCollide = false
  1273. Part.BrickColor = BrickColor.new("Black")
  1274. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1275. local Partweld = Instance.new("ManualWeld")
  1276. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1277. Partweld.C1 = CFrame.new(0, -0.842823029, -0.230328798, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1278. Partweld.Parent = Part
  1279. local PartMesh = Instance.new("CylinderMesh",Part)
  1280. PartMesh.Name = "Mesh"
  1281. PartMesh.Offset = Vector3.new(0, 0, 0)
  1282. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  1283.  
  1284. table.insert(bltb, Part)
  1285.  
  1286. local Part = Instance.new("Part", m)
  1287. Part:BreakJoints()
  1288. Part.TopSurface = "Smooth"
  1289. Part.Material = "Neon"
  1290. Part.Transparency = 0 Part.Name = 'Part6'
  1291. Part.BottomSurface = "Smooth"
  1292. Part.FormFactor = "Custom" Part.CanCollide = false
  1293. Part.BrickColor = BrickColor.new("Black")
  1294. Part.Size = Vector3.new(0.337107092, 0.200000003, 0.337107033)
  1295. local Partweld = Instance.new("ManualWeld")
  1296. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1297. Partweld.C1 = CFrame.new(0, -0.618034363, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1298. Partweld.Parent = Part
  1299. local PartMesh = Instance.new("CylinderMesh",Part)
  1300. PartMesh.Name = "Mesh"
  1301. PartMesh.Offset = Vector3.new(0, 0, 0)
  1302. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  1303.  
  1304. table.insert(bltb, Part)
  1305.  
  1306. local Part = Instance.new("Part", m)
  1307. Part:BreakJoints()
  1308. Part.TopSurface = "Smooth"
  1309. Part.Material = "SmoothPlastic"
  1310. Part.Transparency = 0 Part.Name = 'Part'
  1311. Part.BottomSurface = "Smooth"
  1312. Part.FormFactor = "Custom" Part.CanCollide = false
  1313. Part.BrickColor = BrickColor.new("Really black")
  1314. Part.Size = Vector3.new(0.200000003, 4.60922527, 0.224738017)
  1315. local Partweld = Instance.new("ManualWeld")
  1316. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1317. Partweld.C1 = CFrame.new(0, -3.3159256, -1.14440918e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1318. Partweld.Parent = Part
  1319. local PartMesh = Instance.new("BlockMesh",Part)
  1320. PartMesh.Name = "Mesh"
  1321. PartMesh.Offset = Vector3.new(0, 0, 0)
  1322. PartMesh.Scale = Vector3.new(0.561845124, 1, 1)
  1323.  
  1324. local Part = Instance.new("Part", m)
  1325. Part:BreakJoints()
  1326. Part.TopSurface = "Smooth"
  1327. Part.Material = "Neon"
  1328. Part.Transparency = 0 Part.Name = 'Part7'
  1329. Part.BottomSurface = "Smooth"
  1330. Part.FormFactor = "Custom" Part.CanCollide = false
  1331. Part.BrickColor = BrickColor.new("Black")
  1332. Part.Size = Vector3.new(0.337107092, 0.200000003, 0.337107033)
  1333. local Partweld = Instance.new("ManualWeld")
  1334. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1335. Partweld.C1 = CFrame.new(0, 0.618049622, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1336. Partweld.Parent = Part
  1337. local PartMesh = Instance.new("CylinderMesh",Part)
  1338. PartMesh.Name = "Mesh"
  1339. PartMesh.Offset = Vector3.new(0, 0, 0)
  1340. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  1341.  
  1342. table.insert(bltb, Part)
  1343.  
  1344. local Part = Instance.new("Part", m)
  1345. Part:BreakJoints()
  1346. Part.TopSurface = "Smooth"
  1347. Part.Material = "Neon"
  1348. Part.Transparency = 0 Part.Name = 'Part8'
  1349. Part.BottomSurface = "Smooth"
  1350. Part.FormFactor = "Custom" Part.CanCollide = false
  1351. Part.BrickColor = BrickColor.new("Black")
  1352. Part.Size = Vector3.new(0.337107092, 1.12369001, 0.200000003)
  1353. local Partweld = Instance.new("ManualWeld")
  1354. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1355. Partweld.C1 = CFrame.new(0, 0, 0.117978811, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1356. Partweld.Parent = Part
  1357. local PartMesh = Instance.new("CylinderMesh",Part)
  1358. PartMesh.Name = "Mesh"
  1359. PartMesh.Offset = Vector3.new(0, 0, 0)
  1360. PartMesh.Scale = Vector3.new(1, 1, 0.561845064)
  1361.  
  1362. table.insert(bltb, Part)
  1363.  
  1364. local Part = Instance.new("Part", m)
  1365. Part:BreakJoints()
  1366. Part.TopSurface = "Smooth"
  1367. Part.Material = "SmoothPlastic"
  1368. Part.Transparency = 0 Part.Name = 'Part'
  1369. Part.BottomSurface = "Smooth"
  1370. Part.FormFactor = "Custom" Part.CanCollide = false
  1371. Part.BrickColor = BrickColor.new("Really black")
  1372. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.561845005)
  1373. local Partweld = Instance.new("ManualWeld")
  1374. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1375. Partweld.C1 = CFrame.new(0, -0.842823029, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1376. Partweld.Parent = Part
  1377. local PartMesh = Instance.new("CylinderMesh",Part)
  1378. PartMesh.Name = "Mesh"
  1379. PartMesh.Offset = Vector3.new(0, 0, 0)
  1380. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  1381.  
  1382. local Part = Instance.new("Part", m)
  1383. Part:BreakJoints()
  1384. Part.TopSurface = "Smooth"
  1385. Part.Material = "Neon"
  1386. Part.Transparency = 0 Part.Name = 'Part9'
  1387. Part.BottomSurface = "Smooth"
  1388. Part.FormFactor = "Custom" Part.CanCollide = false
  1389. Part.BrickColor = BrickColor.new("Black")
  1390. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  1391. local Partweld = Instance.new("ManualWeld")
  1392. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1393. 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)
  1394. Partweld.Parent = Part
  1395. local PartMesh = Instance.new("BlockMesh",Part)
  1396. PartMesh.Name = "Mesh"
  1397. PartMesh.Offset = Vector3.new(0, 0, 0)
  1398. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  1399.  
  1400. table.insert(bltb, Part)
  1401.  
  1402. local Part = Instance.new("Part", m)
  1403. Part:BreakJoints()
  1404. Part.TopSurface = "Smooth"
  1405. Part.Material = "SmoothPlastic"
  1406. Part.Transparency = 0 Part.Name = 'Part'
  1407. Part.BottomSurface = "Smooth"
  1408. Part.FormFactor = "Custom" Part.CanCollide = false
  1409. Part.BrickColor = BrickColor.new("Really black")
  1410. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1411. local Partweld = Instance.new("ManualWeld")
  1412. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1413. 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)
  1414. Partweld.Parent = Part
  1415. local PartMesh = Instance.new("BlockMesh",Part)
  1416. PartMesh.Name = "Mesh"
  1417. PartMesh.Offset = Vector3.new(0, 0, 0)
  1418. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1419.  
  1420. local Part = Instance.new("Part", m)
  1421. Part:BreakJoints()
  1422. Part.TopSurface = "Smooth"
  1423. Part.Material = "SmoothPlastic"
  1424. Part.Transparency = 0 Part.Name = 'Part'
  1425. Part.BottomSurface = "Smooth"
  1426. Part.FormFactor = "Custom" Part.CanCollide = false
  1427. Part.BrickColor = BrickColor.new("Really black")
  1428. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1429. local Partweld = Instance.new("ManualWeld")
  1430. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1431. 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)
  1432. Partweld.Parent = Part
  1433. local PartMesh = Instance.new("BlockMesh",Part)
  1434. PartMesh.Name = "Mesh"
  1435. PartMesh.Offset = Vector3.new(0, 0, 0)
  1436. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1437.  
  1438. local Part = Instance.new("Part", m)
  1439. Part:BreakJoints()
  1440. Part.TopSurface = "Smooth"
  1441. Part.Material = "SmoothPlastic"
  1442. Part.Transparency = 0 Part.Name = 'Part'
  1443. Part.BottomSurface = "Smooth"
  1444. Part.FormFactor = "Custom" Part.CanCollide = false
  1445. Part.BrickColor = BrickColor.new("Really black")
  1446. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1447. local Partweld = Instance.new("ManualWeld")
  1448. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1449. Partweld.C1 = CFrame.new(0, -0.842823029, -0.393235803, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1450. Partweld.Parent = Part
  1451. local PartMesh = Instance.new("BlockMesh",Part)
  1452. PartMesh.Name = "Mesh"
  1453. PartMesh.Offset = Vector3.new(0, 0, 0)
  1454. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1455.  
  1456. local Part = Instance.new("Part", m)
  1457. Part:BreakJoints()
  1458. Part.TopSurface = "Smooth"
  1459. Part.Material = "Neon"
  1460. Part.Transparency = 0 Part.Name = 'Part10'
  1461. Part.BottomSurface = "Smooth"
  1462. Part.FormFactor = "Custom" Part.CanCollide = false
  1463. Part.BrickColor = BrickColor.new("Black")
  1464. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  1465. local Partweld = Instance.new("ManualWeld")
  1466. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1467. Partweld.C1 = CFrame.new(-0.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)
  1468. Partweld.Parent = Part
  1469. local PartMesh = Instance.new("BlockMesh",Part)
  1470. PartMesh.Name = "Mesh"
  1471. PartMesh.Offset = Vector3.new(0, 0, 0)
  1472. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  1473.  
  1474. table.insert(bltb, Part)
  1475.  
  1476. local Part = Instance.new("Part", m)
  1477. Part:BreakJoints()
  1478. Part.TopSurface = "Smooth"
  1479. Part.Material = "Neon"
  1480. Part.Transparency = 0 Part.Name = 'Part11'
  1481. Part.BottomSurface = "Smooth"
  1482. Part.FormFactor = "Custom" Part.CanCollide = false
  1483. Part.BrickColor = BrickColor.new("Black")
  1484. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1485. local Partweld = Instance.new("ManualWeld")
  1486. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1487. Partweld.C1 = CFrame.new(0, -0.730434418, 0.174170732, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1488. Partweld.Parent = Part
  1489. local PartMesh = Instance.new("CylinderMesh",Part)
  1490. PartMesh.Name = "Mesh"
  1491. PartMesh.Offset = Vector3.new(0, 0, 0)
  1492. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  1493.  
  1494. table.insert(bltb, Part)
  1495.  
  1496. local Part = Instance.new("Part", m)
  1497. Part:BreakJoints()
  1498. Part.TopSurface = "Smooth"
  1499. Part.Material = "Neon"
  1500. Part.Transparency = 0 Part.Name = 'Part12'
  1501. Part.BottomSurface = "Smooth"
  1502. Part.FormFactor = "Custom" Part.CanCollide = false
  1503. Part.BrickColor = BrickColor.new("Black")
  1504. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  1505. local Partweld = Instance.new("ManualWeld")
  1506. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1507. Partweld.C1 = CFrame.new(-0.59340477, -0.842823029, 0.00790405273, -0.258815557, 0, -0.9659127, 0, 1, 0, 0.9659127, 0, -0.258815557)
  1508. Partweld.Parent = Part
  1509. local PartMesh = Instance.new("BlockMesh",Part)
  1510. PartMesh.Name = "Mesh"
  1511. PartMesh.Offset = Vector3.new(0, 0, 0)
  1512. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  1513.  
  1514. table.insert(bltb, Part)
  1515.  
  1516. local Part = Instance.new("Part", m)
  1517. Part:BreakJoints()
  1518. Part.TopSurface = "Smooth"
  1519. Part.Material = "Neon"
  1520. Part.Transparency = 0 Part.Name = 'Part13'
  1521. Part.BottomSurface = "Smooth"
  1522. Part.FormFactor = "Custom" Part.CanCollide = false
  1523. Part.BrickColor = BrickColor.new("Really black")
  1524. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.382054657)
  1525. local Partweld = Instance.new("ManualWeld")
  1526. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1527. Partweld.C1 = CFrame.new(0.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)
  1528. Partweld.Parent = Part
  1529. local PartMesh = Instance.new("BlockMesh",Part)
  1530. PartMesh.Name = "Mesh"
  1531. PartMesh.Offset = Vector3.new(0, 0, 0)
  1532. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 1)
  1533.  
  1534. table.insert(bltb, Part)
  1535.  
  1536. local Part = Instance.new("Part", m)
  1537. Part:BreakJoints()
  1538. Part.TopSurface = "Smooth"
  1539. Part.Material = "Neon"
  1540. Part.Transparency = 0 Part.Name = 'Part14'
  1541. Part.BottomSurface = "Smooth"
  1542. Part.FormFactor = "Custom" Part.CanCollide = false
  1543. Part.BrickColor = BrickColor.new("Really black")
  1544. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  1545. local Partweld = Instance.new("ManualWeld")
  1546. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1547. Partweld.C1 = CFrame.new(0.598263144, -0.842823029, 0.00432395935, -0.258815438, 0, 0.965912819, 0, 1, 0, -0.965912819, 0, -0.258815438)
  1548. Partweld.Parent = Part
  1549. local PartMesh = Instance.new("BlockMesh",Part)
  1550. PartMesh.Name = "Mesh"
  1551. PartMesh.Offset = Vector3.new(0, 0, 0)
  1552. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  1553.  
  1554. table.insert(bltb, Part)
  1555.  
  1556. local Part = Instance.new("Part", m)
  1557. Part:BreakJoints()
  1558. Part.TopSurface = "Smooth"
  1559. Part.Material = "Neon"
  1560. Part.Transparency = 0 Part.Name = 'Part15'
  1561. Part.BottomSurface = "Smooth"
  1562. Part.FormFactor = "Custom" Part.CanCollide = false
  1563. Part.BrickColor = BrickColor.new("Really black")
  1564. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.449476063)
  1565. local Partweld = Instance.new("ManualWeld")
  1566. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1567. Partweld.C1 = CFrame.new(0, -0.842823029, 0.398794174, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1568. Partweld.Parent = Part
  1569. local PartMesh = Instance.new("BlockMesh",Part)
  1570. PartMesh.Name = "Mesh"
  1571. PartMesh.Offset = Vector3.new(0, 0, 0)
  1572. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 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 = "Neon"
  1580. Part.Transparency = 0 Part.Name = 'Part16'
  1581. Part.BottomSurface = "Smooth"
  1582. Part.FormFactor = "Custom" Part.CanCollide = false
  1583. Part.BrickColor = BrickColor.new("Really black")
  1584. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  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, 0.174145699, 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(0.561845124, 0.618029416, 0.561845064)
  1593.  
  1594. table.insert(bltb, Part)
  1595.  
  1596. local Part = Instance.new("Part", m)
  1597. Part:BreakJoints()
  1598. Part.TopSurface = "Smooth"
  1599. Part.Material = "Neon"
  1600. Part.Transparency = 0.5 Part.Name = 'Part17'
  1601. Part.BottomSurface = "Smooth"
  1602. Part.FormFactor = "Custom" Part.CanCollide = false
  1603. Part.BrickColor = BrickColor.new("Really black")
  1604. Part.Size = Vector3.new(0.200000003, 1.01132107, 0.449476063)
  1605. local Partweld = Instance.new("ManualWeld")
  1606. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1607. 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)
  1608. Partweld.Parent = Part
  1609. local PartMesh = Instance.new("SpecialMesh",Part)
  1610. PartMesh.MeshId = ""
  1611. PartMesh.MeshType = Enum.MeshType.Wedge PartMesh.Name = "Mesh"
  1612. PartMesh.Offset = Vector3.new(0, 0, 0)
  1613. PartMesh.Scale = Vector3.new(0.221366972, 1, 1)
  1614.  
  1615. table.insert(bltb, Part)
  1616.  
  1617. local Part = Instance.new("Part", m)
  1618. Part:BreakJoints()
  1619. Part.TopSurface = "Smooth"
  1620. Part.Material = "SmoothPlastic"
  1621. Part.Transparency = 0 Part.Name = 'Part'
  1622. Part.BottomSurface = "Smooth"
  1623. Part.FormFactor = "Custom" Part.CanCollide = false
  1624. Part.BrickColor = BrickColor.new("Really black")
  1625. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  1626. local Partweld = Instance.new("ManualWeld")
  1627. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1628. Partweld.C1 = CFrame.new(0, -0.955184937, -2.38418579e-007, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1629. Partweld.Parent = Part
  1630. local PartMesh = Instance.new("CylinderMesh",Part)
  1631. PartMesh.Name = "Mesh"
  1632. PartMesh.Offset = Vector3.new(0, 0, 0)
  1633. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  1634.  
  1635. local Part = Instance.new("Part", m)
  1636. Part:BreakJoints()
  1637. Part.TopSurface = "Smooth"
  1638. Part.Material = "Neon"
  1639. Part.Transparency = 0 Part.Name = 'Part18'
  1640. Part.BottomSurface = "Smooth"
  1641. Part.FormFactor = "Custom" Part.CanCollide = false
  1642. Part.BrickColor = BrickColor.new("Black")
  1643. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1644. local Partweld = Instance.new("ManualWeld")
  1645. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1646. Partweld.C1 = CFrame.new(0, -0.842823029, 0.230348349, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1647. Partweld.Parent = Part
  1648. local PartMesh = Instance.new("CylinderMesh",Part)
  1649. PartMesh.Name = "Mesh"
  1650. PartMesh.Offset = Vector3.new(0, 0, 0)
  1651. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  1652.  
  1653. table.insert(bltb, Part)
  1654.  
  1655. local Part = Instance.new("Part", m)
  1656. Part:BreakJoints()
  1657. Part.TopSurface = "Smooth"
  1658. Part.Material = "Neon"
  1659. Part.Transparency = 0 Part.Name = 'Part19'
  1660. Part.BottomSurface = "Smooth"
  1661. Part.FormFactor = "Custom" Part.CanCollide = false
  1662. Part.BrickColor = BrickColor.new("Black")
  1663. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1664. local Partweld = Instance.new("ManualWeld")
  1665. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1666. Partweld.C1 = CFrame.new(0, -0.730434418, -0.179762959, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1667. Partweld.Parent = Part
  1668. local PartMesh = Instance.new("CylinderMesh",Part)
  1669. PartMesh.Name = "Mesh"
  1670. PartMesh.Offset = Vector3.new(0, 0, 0)
  1671. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  1672.  
  1673. table.insert(bltb, Part)
  1674.  
  1675. local hitbox = Instance.new("Part", m)
  1676. hitbox:BreakJoints()
  1677. hitbox.TopSurface = "Smooth"
  1678. hitbox.Material = "SmoothPlastic"
  1679. hitbox.Transparency = 1 hitbox.Name = 'hitbox'
  1680. hitbox.BottomSurface = "Smooth"
  1681. hitbox.FormFactor = "Custom" hitbox.CanCollide = false
  1682. hitbox.BrickColor = BrickColor.new("Really black")
  1683. hitbox.Size = Vector3.new(0.200000003, 5.60922527, 0.624738038)
  1684. local hitboxweld = Instance.new("ManualWeld")
  1685. hitboxweld.Part0 = Handle hitboxweld.Part1 = hitbox hitboxweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1686. hitboxweld.C1 = CFrame.new(0, -3.8159256, -1.12056732e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1687. hitboxweld.Parent = hitbox
  1688. local hitboxMesh = Instance.new("BlockMesh",hitbox)
  1689. hitboxMesh.Name = "Mesh"
  1690. hitboxMesh.Offset = Vector3.new(0, 0, 0)
  1691. hitboxMesh.Scale = Vector3.new(0.561845124, 1, 1)
  1692.  
  1693. local Wedge = Instance.new("WedgePart", m)
  1694. Wedge:BreakJoints()
  1695. Wedge.TopSurface = "Smooth"
  1696. Wedge.Material = "SmoothPlastic"
  1697. Wedge.Transparency = 0 Wedge.Name = 'Wedge'
  1698. Wedge.BottomSurface = "Smooth"
  1699. Wedge.FormFactor = "Custom" Wedge.CanCollide = false
  1700. Wedge.BrickColor = BrickColor.new("Really black")
  1701. Wedge.Size = Vector3.new(0.200000003, 0.561845124, 0.224738076)
  1702. local Wedgeweld = Instance.new("ManualWeld")
  1703. Wedgeweld.Part0 = Handle Wedgeweld.Part1 = Wedge Wedgeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1704. 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)
  1705. Wedgeweld.Parent = Wedge
  1706. local WedgeMesh = Instance.new("SpecialMesh",Wedge)
  1707. WedgeMesh.MeshId = ""
  1708. WedgeMesh.MeshType = Enum.MeshType.Wedge WedgeMesh.Name = "Mesh"
  1709. WedgeMesh.Offset = Vector3.new(0, 0, 0)
  1710. WedgeMesh.Scale = Vector3.new(0.561845124, 1, 1)
  1711.  
  1712.  
  1713.  
  1714. EffectPart2 = part2(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Institutional white", "EffectPart2", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1715. 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))
  1716. EffectPart = part2(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Institutional white", "EffectPart", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1717. 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))
  1718. mesh("BlockMesh", EffectPart, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1719.  
  1720.  
  1721.  
  1722. coroutine.resume(coroutine.create(function()
  1723. while wait() do
  1724. for i,v in pairs(bltb) do
  1725. if v:IsA("Part") or v:IsA("WedgePart") then
  1726. UpdatePart(v,("Really black"))
  1727.  
  1728. end
  1729. end
  1730. end
  1731. end)) --work
  1732.  
  1733. local function weldBetween(a, b, name)
  1734. local weld = Instance.new("ManualWeld")
  1735. weld.Part0 = a
  1736. weld.Part1 = b
  1737. weld.C0 = CFrame.new()
  1738. weld.C1 = b.CFrame:inverse() * a.CFrame
  1739. weld.Parent = a
  1740. weld.Name=name or 'weldb1'
  1741. weld.Parent=m
  1742. return weld;
  1743. end
  1744.  
  1745. Mesh2 = function(par,num,x,y,z)
  1746. local msh = _
  1747. if num == 1 then
  1748. msh = Instance.new("CylinderMesh",par)
  1749. elseif num == 2 then
  1750. msh = Instance.new("SpecialMesh",par)
  1751. msh.MeshType = 3
  1752. elseif num == 3 then
  1753. msh = Instance.new("BlockMesh",par)
  1754. elseif num == 4 then
  1755. msh = Instance.new("SpecialMesh",par)
  1756. msh.MeshType = "Torso"
  1757. elseif type(num) == 'string' then
  1758. msh = Instance.new("SpecialMesh",par)
  1759. msh.MeshId = num
  1760. end
  1761. msh.Scale = Vector3.new(x,y,z)
  1762. return msh
  1763. end
  1764.  
  1765. Weld2 = function(p0,p1,x,y,z,rx,ry,rz,par)
  1766. local w = Instance.new('Motor',par or p0)
  1767. w.Part0 = p0
  1768. w.Part1 = p1
  1769. w.C1 = CFrame.new(x,y,z)*CFrame.Angles(rx,ry,rz)
  1770. return w
  1771. end
  1772.  
  1773.  
  1774. --------------------[[ Outfit Begin ]]--------------------
  1775. for _,v in pairs(Character:GetChildren()) do if v.ClassName=="Hat" then v:remove() end end
  1776. ---Hats---
  1777. local hat = part(3,Character,0,0,BrickColor.new("Really black"),"Hood",vt(0.5,1,1.02))
  1778. Mesh2(hat,'http://www.roblox.com/asset/?id=16150814',1.05,1.05,1.05) --hood
  1779. Weld2(Character.Head,hat,0,-.25,0,0,0,0,hat)
  1780. ---Gaunlet----
  1781. AesthPart = function(model, wldpar, reflec, trans, col, name, neon, meshh, mshtype, mshtxt, x1, y1, z1, ceef)
  1782. prt = part(3, model, reflec, trans, BrickColor.new(col), name, vt())
  1783. prt.Material = neon
  1784. msh = mesh(meshh, prt, mshtype, mshtxt, vt(0, 0, 0), vt(x1, y1, z1))
  1785. wld = weld(prt1, prt, wldpar, ceef)
  1786. v = it("NumberValue", prt)
  1787. v.Value = trans
  1788. v.Name = "MainTransparency"
  1789. return prt, msh, wld
  1790. end
  1791. mr = math.rad
  1792. NewCol = BrickColor.new("Really black").Color
  1793. NewCol2 = BrickColor.new("Black").Color
  1794. NewCol3 = BrickColor.new("Really black").Color
  1795. NewCol3aa = BrickColor.new("Black").Color
  1796. NewCol4 = BrickColor.new("Black").Color
  1797. NewCol5 = BrickColor.new("Black").Color
  1798. NewCol6 = BrickColor.new("Really black").Color
  1799. local modelzorz = Instance.new("Model")
  1800. modelzorz.Parent = Character
  1801. modelzorz.Name = "Gaunlet"
  1802. local handle = part(3, modelzorz, 0, 1, BrickColor.new(NewCol), "Handle", vt())
  1803. prt1 = part(3, modelzorz, 0, 0, BrickColor.new("Black"), "Part01", vt())
  1804. msh1 = mesh("BlockMesh", prt1, "", "", vt(0, 0, 0), vt(5.25, 5, 5.25))
  1805. local handlewld = weld(handle, handle, RightArm, euler(0, 0, 0) * cf(0, 0, 0))
  1806. local wld1 = weld(prt1, prt1, handle, cf(0, 0, 0) * euler(0, 0, 0))
  1807. prt4, msh4, wld4 = AesthPart(modelzorz, prt1, 0, 0, NewCol3, "Part04", "Neon", "SpecialMesh", "Torso", "nil", 3, 0.75, 1.5, euler(mr(90), 0, 0) * euler(0, mr(90), 0) * cf(-0.575, -0.825, 0))
  1808. prt5, msh5, wld5 = AesthPart(modelzorz, prt1, 0, 0, "Eggplant", "Part05", "Metal", "SpecialMesh", "Sphere", "nil", 0.475, 0.15, 0.675, euler(mr(90), 0, 0) * euler(0, mr(90), 0) * cf(-0.65, -0.825, 0))
  1809. prt6, msh6, wld6 = AesthPart(modelzorz, prt1, 0, 0, NewCol4, "Part06", "Neon", "SpecialMesh", "Sphere", "nil", 0.4, 0.25, 0.6, euler(mr(90), 0, 0) * euler(0, mr(90), 0) * cf(-0.65, -0.825, 0))
  1810. prt9, msh9, wld9 = AesthPart(modelzorz, prt1, 0, 0, NewCol2, "Part09", "Neon", "SpecialMesh", "FileMesh", "19251107", 0.1, 0.1, 0.1, euler(mr(90), 0, 0) * euler(0, mr(90), 0) * cf(-0.65, -0.825, 0))
  1811. prt12, msh12, wld12 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part12", "Neon", "BlockMesh", "nil", "nil", 5.25, 4, 1, euler(0, mr(90), 0) * cf(-0.6, 0.375, 0))
  1812. prt13, msh13, wld13 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part13", "Neon", "SpecialMesh", "Torso", "nil", 4, 3.05, 0.475, euler(0, mr(90), 0) * euler(0, 0, -mr(10)) * cf(-0.601, -0.316, 0))
  1813. prt14, msh14, wld14 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol3, "Part14", "Neon", "BlockMesh", "nil", "nil", 2.5, 5, 1, euler(0, mr(90), 0) * euler(0, 0, -mr(10)) * cf(-0.676, -0.162, 0))
  1814. prt15, msh15, wld15 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol3, "Part15", "Neon", "SpecialMesh", "Wedge", "nil", 5, 0.25, 1.25, euler(0, 0, mr(80)) * euler(0, 0, 0) * cf(-0.799, -0.184, 0.125))
  1815. prt16, msh16, wld16 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol3, "Part16", "Neon", "SpecialMesh", "Wedge", "nil", 5, 0.25, 1.25, euler(0, 0, mr(100)) * euler(mr(180), 0, 0) * cf(-0.799, -0.184, -0.125))
  1816. prt17, msh17, wld17 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part17", "Neon", "SpecialMesh", "Torso", "nil", 4.5, 4.5, 0.4, euler(0, mr(90), 0) * euler(0, 0, 0) * cf(-0.55, -0.475, 0))
  1817. prt18, msh18, wld18 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part18", "Neon", "SpecialMesh", "Wedge", "nil", 5.25, 1, 0.25, euler(0, mr(-90), 0) * euler(mr(180), 0, 0) * cf(-0.525, 0.875, 0))
  1818. prt19, msh19, wld19 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part19", "Neon", "SpecialMesh", "Wedge", "nil", 5.25, 1, 0.5, euler(0, mr(90), 0) * euler(mr(180), 0, 0) * cf(-0.65, 0.875, 0))
  1819. prt20, msh20, wld20 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part20", "Neon", "BlockMesh", "nil", "nil", 5.25, 1, 0.25, euler(0, mr(90), 0) * euler(0, 0, 0) * cf(-0.575, 0.875, 0))
  1820. prt21, msh21, wld21 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part21", "Neon", "SpecialMesh", "Torso", "nil", 1.25, 1.5, 1.25, euler(mr(180), 0, 0) * euler(0, 0, 0) * cf(-0.675, 0.975, 0))
  1821. prt24, msh24, wld24 = AesthPart(modelzorz, prt1, 0, 0, NewCol5, "Part24", "Neon", "SpecialMesh", "Torso", "nil", 3.5, 2.5, 1.5, euler(0, mr(90), 0) * euler(mr(180), 0, 0) * cf(-0.7, 0.575, 0))
  1822. prt25, msh25, wld25 = AesthPart(modelzorz, prt1, 0, 0, NewCol5, "Part25", "Neon", "SpecialMesh", "FileMesh", "9756362", 0.5, 0.3, 1.2, euler(mr(90), mr(90), 0) * euler(0, 0, mr(10)) * cf(-0.945, 0.378, 0))
  1823. prt26, msh26, wld26 = AesthPart(modelzorz, prt1, 0, 0, NewCol5, "Part26", "Neon", "SpecialMesh", "FileMesh", "170786197", 0.625, 0.4, 0.5, euler(mr(90), mr(90), 0) * euler(0, 0, mr(-10)) * cf(-0.845, 0.428, 0))
  1824. prt27, msh27, wld27 = AesthPart(modelzorz, prt1, 0, 0, NewCol5, "Part27", "Neon", "SpecialMesh", "FileMesh", "170786197", 0.525, 0.3, 0.75, euler(mr(90), mr(90), 0) * euler(0, 0, mr(-10)) * cf(-0.73, 0.174, 0))
  1825. prt28, msh28, wld28 = AesthPart(modelzorz, prt1, 0, 0, NewCol, "Part28", "Metal", "SpecialMesh", "Sphere", "nil", 0.6, 0.125, 0.85, euler(0, mr(95.221), mr(113.261)) * euler(0, mr(-19.53), 0) * cf(-1.058, 0.687, 0.252))
  1826. prt29, msh29, wld29 = AesthPart(modelzorz, prt1, 0, 0, NewCol4, "Part29", "Neon", "SpecialMesh", "Sphere", "nil", 0.5, 0.25, 0.75, euler(0, mr(95.221), mr(113.261)) * euler(0, mr(-19.53), 0) * cf(-1.058, 0.687, 0.252))
  1827. prt30, msh30, wld30 = AesthPart(modelzorz, prt1, 0, 0, NewCol, "Part30", "Metal", "SpecialMesh", "Sphere", "nil", 0.6, 0.125, 0.85, euler(0, mr(84.779), mr(113.261)) * euler(0, mr(19.53), 0) * cf(-1.058, 0.687, -0.252))
  1828. prt31, msh31, wld31 = AesthPart(modelzorz, prt1, 0, 0, NewCol4, "Part31", "Neon", "SpecialMesh", "Sphere", "nil", 0.5, 0.25, 0.75, euler(0, mr(84.779), mr(113.261)) * euler(0, mr(19.53), 0) * cf(-1.058, 0.687, -0.252))
  1829. prt32, msh32, wld32 = AesthPart(modelzorz, prt1, 0, 0, NewCol, "Part32", "Metal", "SpecialMesh", "Sphere", "nil", 0.275, 0.1, 0.475, euler(0, mr(94.208), mr(114.079)) * euler(0, mr(-24.666), 0) * cf(-1.093, 0.693, 0.137))
  1830. prt33, msh33, wld33 = AesthPart(modelzorz, prt1, 0, 0, NewCol4, "Part33", "Neon", "SpecialMesh", "Sphere", "nil", 0.2, 0.25, 0.4, euler(0, mr(94.208), mr(114.079)) * euler(0, mr(-24.666), 0) * cf(-1.093, 0.693, 0.137))
  1831. prt34, msh34, wld34 = AesthPart(modelzorz, prt1, 0, 0, NewCol, "Part34", "Metal", "SpecialMesh", "Sphere", "nil", 0.275, 0.1, 0.475, euler(0, mr(85.792), mr(114.079)) * euler(0, mr(24.666), 0) * cf(-1.093, 0.693, -0.137))
  1832. prt35, msh35, wld35 = AesthPart(modelzorz, prt1, 0, 0, NewCol4, "Part35", "Neon", "SpecialMesh", "Sphere", "nil", 0.2, 0.25, 0.4, euler(0, mr(85.792), mr(114.079)) * euler(0, mr(24.666), 0) * cf(-1.093, 0.693, -0.137))
  1833. for i = -0.225, 0.226, 0.45 do
  1834. prt36, msh36, wld36 = AesthPart(modelzorz, prt1, 0, 0, NewCol6, "Part36", "Neon", "SpecialMesh", "FileMesh", "9756362", 0.225, 0.225, 0.225, euler(0, 0, mr(-10)) * euler(0, 0, 0) * cf(-0.729, 0.85, i))
  1835. prt37, msh37, wld37 = AesthPart(modelzorz, prt1, 0, 0, NewCol2, "Part37", "Neon", "BlockMesh", "nil", "nil", 0.7, 1.5, 1, euler(0, mr(90), 0) * euler(0, 0, mr(-10)) * cf(-0.751, 0.973, i))
  1836. prt38, msh38, wld38 = AesthPart(modelzorz, prt1, 0, 0, NewCol2, "Part38", "Neon", "SpecialMesh", "Wedge", "nil", 0.7, 1.25, 1, euler(0, mr(-90), 0) * euler(0, 0, mr(170)) * cf(-0.799, 1.244, i))
  1837. prt39, msh39, wld39 = AesthPart(modelzorz, prt1, 0, 0, NewCol2, "Part39", "Neon", "BlockMesh", "nil", "nil", 0.6, 1.5, 1, euler(0, mr(90), 0) * euler(0, 0, mr(0)) * cf(-0.772, 1.239, i))
  1838. prt40, msh40, wld40 = AesthPart(modelzorz, prt1, 0, 0, NewCol2, "Part40", "Neon", "SpecialMesh", "Wedge", "nil", 0.6, 1.25, 1, euler(0, mr(-90), 0) * euler(0, 0, mr(180)) * cf(-0.772, 1.514, i))
  1839. prt41, msh41, wld41 = AesthPart(modelzorz, prt1, 0, 0, NewCol2, "Part41", "Neon", "BlockMesh", "nil", "nil", 0.5, 2, 1, euler(0, mr(90), 0) * euler(0, 0, mr(10)) * cf(-0.738, 1.559, i))
  1840. prt42, msh42, wld42 = AesthPart(modelzorz, prt1, 0, 0, NewCol2, "Part42", "Neon", "SpecialMesh", "Wedge", "nil", 0.5, 1.25, 1, euler(0, mr(-90), 0) * euler(0, 0, mr(190)) * cf(-0.682, 1.879, i))
  1841. prt43, msh43, wld43 = AesthPart(modelzorz, prt1, 0, 0, NewCol2, "Part43", "Neon", "BlockMesh", "nil", "nil", 0.4, 2.5, 1, euler(0, mr(90), 0) * euler(0, 0, mr(20)) * cf(-0.624, 1.939, i))
  1842. prt44, msh44, wld44 = AesthPart(modelzorz, prt1, 0, 0, NewCol2, "Part44", "Neon", "SpecialMesh", "Wedge", "nil", 0.4, 1.25, 1, euler(0, mr(-90), 0) * euler(0, 0, mr(200)) * cf(-0.496, 2.291, i))
  1843. prt45, msh45, wld45 = AesthPart(modelzorz, prt1, 0, 0, NewCol2, "Part45", "Neon", "BlockMesh", "nil", "nil", 0.3, 2, 1, euler(0, mr(90), 0) * euler(0, 0, mr(35)) * cf(-0.428, 2.307, i))
  1844. prt46, msh46, wld46 = AesthPart(modelzorz, prt1, 0, 0, NewCol2, "Part46", "Neon", "SpecialMesh", "Wedge", "nil", 0.3, 2.25, 1, euler(0, mr(-90), 0) * euler(0, 0, mr(215)) * cf(-0.184, 2.655, i))
  1845. end
  1846. ---End---
  1847. partic = Instance.new("ParticleEmitter",Head)
  1848. partic.Color = ColorSequence.new(Color3.new(15/225,0,225/45),Color3.new(20/255,0,205/255))
  1849. partic.LightEmission = .95
  1850. partic.VelocityInheritance = 0
  1851. partic.Rate = 300
  1852. partic.Texture = "rbxassetid:// 241650934" --56561915392079955
  1853. partic.Lifetime = NumberRange.new(0.1,0.2)
  1854. partic.RotSpeed = NumberRange.new(100,100)
  1855. partic.Speed = NumberRange.new(2,6)
  1856. partic.Enabled = true
  1857. partic.LockedToPart = true
  1858.  
  1859. Coat = Instance.new("Part",Character)
  1860. Coat.TopSurface = "Smooth"
  1861. Coat.BottomSurface = "Smooth"
  1862. Coat.Material = "Neon"
  1863. Coat.Size = Vector3.new(1.05, 1.05, 1.05)
  1864. Coat.CanCollide = false
  1865. Coat.Transparency = 0
  1866. Coat.BrickColor = BrickColor.new("Institutional white")
  1867. CoatMesh = Instance.new("SpecialMesh", Coat)
  1868. CoatMesh.MeshType = "Brick"
  1869. CoatMesh.Scale = Vector3.new(2,1.8,1.1)
  1870. CoatWeld = Instance.new("Weld",Character)
  1871. CoatWeld.Part0 = Character.Torso
  1872. CoatWeld.Part1 = Coat
  1873. CoatWeld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1874.  
  1875. CoatRA = Instance.new("Part",Character)
  1876. CoatRA.TopSurface = "Smooth"
  1877. CoatRA.BottomSurface = "Smooth"
  1878. CoatRA.Size = Vector3.new(1, 1, 1)
  1879. CoatRA.CanCollide = false
  1880. CoatRA.Transparency = 0
  1881. CoatRA.Material = "Neon"
  1882. CoatRA.BrickColor = BrickColor.new("Institutional white")
  1883. CoatRAMesh = Instance.new("SpecialMesh", CoatRA)
  1884. CoatRAMesh.MeshType = "Brick"
  1885. CoatRAMesh.Scale = Vector3.new(1.1,1.8,1.1)
  1886. CoatRAWeld = Instance.new("Weld",Character)
  1887. CoatRAWeld.Part0 = Character["Right Arm"]
  1888. CoatRAWeld.Part1 = CoatRA
  1889. CoatRAWeld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1890.  
  1891. CoatLA = Instance.new("Part",Character)
  1892. CoatLA.TopSurface = "Smooth"
  1893. CoatLA.BottomSurface = "Smooth"
  1894. CoatLA.Size = Vector3.new(1, 1, 1)
  1895. CoatLA.CanCollide = false
  1896. CoatLA.Transparency = 0
  1897. CoatLA.Material = "Neon"
  1898. CoatLA.BrickColor = BrickColor.new("Institutional white")
  1899. CoatLAMesh = Instance.new("SpecialMesh", CoatLA)
  1900. CoatLAMesh.MeshType = "Brick"
  1901. CoatLAMesh.Scale = Vector3.new(1.1,1.8,1.1)
  1902. CoatLAWeld = Instance.new("Weld",Character)
  1903. CoatLAWeld.Part0 = Character["Left Arm"]
  1904. CoatLAWeld.Part1 = CoatLA
  1905. CoatLAWeld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1906.  
  1907. CoatRL = Instance.new("Part",Character)
  1908. CoatRL.TopSurface = "Smooth"
  1909. CoatRL.BottomSurface = "Smooth"
  1910. CoatRL.Size = Vector3.new(1, 1, 1)
  1911. CoatRL.CanCollide = false
  1912. CoatRL.Transparency = 0
  1913. CoatRL.Material = "Neon"
  1914. CoatRL.BrickColor = BrickColor.new("Institutional white")
  1915. CoatRLMesh = Instance.new("SpecialMesh", CoatRL)
  1916. CoatRLMesh.MeshType = "Brick"
  1917. CoatRLMesh.Scale = Vector3.new(1.1,0.5,1.1)
  1918. CoatRLWeld = Instance.new("Weld",Character)
  1919. CoatRLWeld.Part0 = Character["Right Leg"]
  1920. CoatRLWeld.Part1 = CoatRL
  1921. CoatRLWeld.C1 = CFrame.new(0, -0.7, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1922.  
  1923. CoatLL = Instance.new("Part",Character)
  1924. CoatLL.TopSurface = "Smooth"
  1925. CoatLL.BottomSurface = "Smooth"
  1926. CoatLL.Size = Vector3.new(1, 1, 1)
  1927. CoatLL.CanCollide = false
  1928. CoatLL.Transparency = 0
  1929. CoatLL.Material = "Neon"
  1930. CoatLL.BrickColor = BrickColor.new("Institutional white")
  1931. CoatLLMesh = Instance.new("SpecialMesh", CoatLL)
  1932. CoatLLMesh.MeshType = "Brick"
  1933. CoatLLMesh.Scale = Vector3.new(1.1,0.5,1.1)
  1934. CoatLLWeld = Instance.new("Weld",Character)
  1935. CoatLLWeld.Part0 = Character["Left Leg"]
  1936. CoatLLWeld.Part1 = CoatLL
  1937. CoatLLWeld.C1 = CFrame.new(0, -0.7, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1938.  
  1939. CoatRightDesign = Instance.new("Part",Character)
  1940. CoatRightDesign.TopSurface = "Smooth"
  1941. CoatRightDesign.BottomSurface = "Smooth"
  1942. CoatRightDesign.Size = Vector3.new(1, 1, 1)
  1943. CoatRightDesign.CanCollide = false
  1944. CoatRightDesign.Material = "Neon"
  1945. CoatRightDesign.Transparency = 0
  1946. CoatRightDesign.BrickColor = BrickColor.new("Institutional white")
  1947. CoatRightDesignMesh = Instance.new("SpecialMesh", CoatRightDesign)
  1948. CoatRightDesignMesh.MeshType = "Wedge"
  1949. CoatRightDesignMesh.Scale = Vector3.new(1.1,0.8,1.1)
  1950. CoatRightDesignWeld = Instance.new("Weld",Character)
  1951. CoatRightDesignWeld.Part0 = Character["Right Leg"]
  1952. CoatRightDesignWeld.Part1 = CoatRightDesign
  1953. CoatRightDesignWeld.C1 = CFrame.new(0, 0.1, 0)*CFrame.fromEulerAnglesXYZ(1.6, -1.6, 0)
  1954.  
  1955. CoatLeftDesign = Instance.new("Part",Character)
  1956. CoatLeftDesign.TopSurface = "Smooth"
  1957. CoatLeftDesign.BottomSurface = "Smooth"
  1958. CoatLeftDesign.Size = Vector3.new(1, 1, 1)
  1959. CoatLeftDesign.CanCollide = false
  1960. CoatLeftDesign.Material = "Neon"
  1961. CoatLeftDesign.Transparency = 0
  1962. CoatLeftDesign.BrickColor = BrickColor.new("Institutional white")
  1963. CoatLeftDesignMesh = Instance.new("SpecialMesh", CoatLeftDesign)
  1964. CoatLeftDesignMesh.MeshType = "Wedge"
  1965. CoatLeftDesignMesh.Scale = Vector3.new(1.1,0.8,1.1)
  1966. CoatLeftDesignWeld = Instance.new("Weld",Character)
  1967. CoatLeftDesignWeld.Part0 = Character["Left Leg"]
  1968. CoatLeftDesignWeld.Part1 = CoatLeftDesign
  1969. CoatLeftDesignWeld.C1 = CFrame.new(0, 0.1, 0)*CFrame.fromEulerAnglesXYZ(1.6, 1.6, 0)
  1970. nooutline(CoatLeftDesign)
  1971.  
  1972. coroutine.resume(coroutine.create(function()
  1973. while wait() do
  1974.  
  1975. UpdatePart(hat,("Really black"))
  1976. UpdatePart(Coat,("Really black"))
  1977. UpdatePart(CoatRA,("Really black"))
  1978. UpdatePart(CoatLA,("Really black"))
  1979. UpdatePart(CoatLL,("Really black"))
  1980. UpdatePart(CoatRL,("Really black"))
  1981. UpdatePart(CoatRightDesign,("Really black"))
  1982. UpdatePart(CoatLeftDesign,("Really black"))
  1983.  
  1984. end
  1985. end))
  1986.  
  1987. --------------------[[ Outfit End ]]--------------------
  1988.  
  1989.  
  1990. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  1991. if hit.Parent==nil then
  1992. return
  1993. end
  1994. h=hit.Parent:FindFirstChild("Humanoid")
  1995. for _,v in pairs(hit.Parent:children()) do
  1996. if v:IsA("Humanoid") then
  1997. h=v
  1998. end
  1999. end
  2000. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  2001. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  2002. end
  2003. if hit.Parent.className=="Hat" then
  2004. hit=hit.Parent.Parent:findFirstChild("Head")
  2005. end
  2006. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  2007. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  2008. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  2009. return
  2010. end]]
  2011. -- hs(hit,1.2)
  2012. c=Instance.new("ObjectValue")
  2013. c.Name="creator"
  2014. c.Value=game:service("Players").LocalPlayer
  2015. c.Parent=h
  2016. game:GetService("Debris"):AddItem(c,.5)
  2017. Damage=math.random(minim,maxim)
  2018. -- h:TakeDamage(Damage)
  2019. blocked=false
  2020. block=hit.Parent:findFirstChild("Block")
  2021. if block~=nil then
  2022. print(block.className)
  2023. if block.className=="NumberValue" then
  2024. if block.Value>0 then
  2025. blocked=true
  2026. if decreaseblock==nil then
  2027. block.Value=block.Value-1
  2028. end
  2029. end
  2030. end
  2031. if block.className=="IntValue" then
  2032. if block.Value>0 then
  2033. blocked=true
  2034. if decreaseblock~=nil then
  2035. block.Value=block.Value-1
  2036. end
  2037. end
  2038. end
  2039. end
  2040. if blocked==false then
  2041. -- h:TakeDamage(Damage)
  2042. h.Health=h.Health-Damage
  2043. --showDamage(hit.Parent,Damage,.5,BrickColor.new("Navy blue"))
  2044. 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)
  2045. else
  2046. h.Health=h.Health-(Damage/2)
  2047. 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)
  2048. end
  2049. if Type=="Knockdown" then
  2050. hum=hit.Parent.Humanoid
  2051. hum.PlatformStand=true
  2052. coroutine.resume(coroutine.create(function(HHumanoid)
  2053. swait(1)
  2054. HHumanoid.PlatformStand=false
  2055. end),hum)
  2056. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  2057. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  2058. local bodvol=Instance.new("BodyVelocity")
  2059. bodvol.velocity=angle*knockback
  2060. bodvol.P=5000
  2061. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  2062. bodvol.Parent=hit
  2063. rl=Instance.new("BodyAngularVelocity")
  2064. rl.P=3000
  2065. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  2066. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2067. rl.Parent=hit
  2068. game:GetService("Debris"):AddItem(bodvol,.5)
  2069. game:GetService("Debris"):AddItem(rl,.5)
  2070. elseif Type=="Normal" then
  2071. vp=Instance.new("BodyVelocity")
  2072. vp.P=500
  2073. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  2074. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  2075. if KnockbackType==1 then
  2076. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  2077. elseif KnockbackType==2 then
  2078. vp.velocity=Property.CFrame.lookVector*knockback
  2079. end
  2080. if knockback>0 then
  2081. vp.Parent=hit.Parent.Torso
  2082. end
  2083. game:GetService("Debris"):AddItem(vp,.5)
  2084. elseif Type=="Up" then
  2085. local bodyVelocity=Instance.new("BodyVelocity")
  2086. bodyVelocity.velocity=vt(0,60,0)
  2087. bodyVelocity.P=5000
  2088. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  2089. bodyVelocity.Parent=hit
  2090. game:GetService("Debris"):AddItem(bodyVelocity,1)
  2091. rl=Instance.new("BodyAngularVelocity")
  2092. rl.P=3000
  2093. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  2094. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  2095. rl.Parent=hit
  2096. game:GetService("Debris"):AddItem(rl,.5)
  2097. elseif Type=="Snare" then
  2098. bp=Instance.new("BodyPosition")
  2099. bp.P=2000
  2100. bp.D=100
  2101. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2102. bp.position=hit.Parent.Torso.Position
  2103. bp.Parent=hit.Parent.Torso
  2104. game:GetService("Debris"):AddItem(bp,1)
  2105. elseif Type=="Target" then
  2106. if Targetting==false then
  2107. ZTarget=hit.Parent.Torso
  2108. coroutine.resume(coroutine.create(function(Part)
  2109. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  2110. local rndm=math.random(1,#hitsounds)
  2111. local r=rndm
  2112. so("http://www.roblox.com/asset/?id="..hitsounds[r],Part,1,1)
  2113. swait(5)
  2114. so("http://www.roblox.com/asset/?id="..hitsounds[r],Part,1,1)
  2115. end),ZTarget)
  2116. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  2117. targetgui=Instance.new("BillboardGui")
  2118. targetgui.Parent=ZTarget
  2119. targetgui.Size=UDim2.new(10,100,10,100)
  2120. targ=Instance.new("ImageLabel")
  2121. targ.Parent=targetgui
  2122. targ.BackgroundTransparency=1
  2123. targ.Image="rbxassetid://4834067"
  2124. targ.Size=UDim2.new(1,0,1,0)
  2125. cam.CameraType="Scriptable"
  2126. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  2127. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  2128. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  2129. Targetting=true
  2130. RocketTarget=ZTarget
  2131. for i=1,Property do
  2132. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  2133. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  2134. swait()
  2135. end
  2136. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  2137. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  2138. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  2139. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  2140. end
  2141. Targetting=false
  2142. RocketTarget=nil
  2143. targetgui.Parent=nil
  2144. cam.CameraType="Custom"
  2145. end
  2146. end
  2147. debounce=Instance.new("BoolValue")
  2148. debounce.Name="DebounceHit"
  2149. debounce.Parent=hit.Parent
  2150. debounce.Value=true
  2151. game:GetService("Debris"):AddItem(debounce,Delay)
  2152. c=Instance.new("ObjectValue")
  2153. c.Name="creator"
  2154. c.Value=Player
  2155. c.Parent=h
  2156. game:GetService("Debris"):AddItem(c,.5)
  2157. CRIT=false
  2158. hitDeb=true
  2159. AttackPos=6
  2160. end
  2161. end
  2162.  
  2163. showDamage=function(Char,Dealt,du,Color)
  2164. m=Instance.new("Model")
  2165. m.Name=tostring(Dealt)
  2166. h=Instance.new("Humanoid")
  2167. h.Health=0
  2168. h.MaxHealth=0
  2169. h.Parent=m
  2170. c=Instance.new("Part")
  2171. c.Transparency=0
  2172. c.BrickColor=Color
  2173. c.Name="Head"
  2174. c.TopSurface=0
  2175. c.BottomSurface=0
  2176. c.formFactor="Plate"
  2177. c.Size=Vector3.new(1,.4,1)
  2178. ms=Instance.new("CylinderMesh")
  2179. ms.Scale=Vector3.new(.8,.8,.8)
  2180. if CRIT==true then
  2181. ms.Scale=Vector3.new(1,1.25,1)
  2182. end
  2183. ms.Parent=c
  2184. c.Reflectance=0
  2185. Instance.new("BodyGyro").Parent=c
  2186. c.Parent=m
  2187. if Char:findFirstChild("Head")~=nil then
  2188. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  2189. elseif Char.Parent:findFirstChild("Head")~=nil then
  2190. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  2191. end
  2192. f=Instance.new("BodyPosition")
  2193. f.P=2000
  2194. f.D=100
  2195. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2196. f.position=c.Position+Vector3.new(0,3,0)
  2197. f.Parent=c
  2198. game:GetService("Debris"):AddItem(m,.5+du)
  2199. c.CanCollide=false
  2200. m.Parent=workspace
  2201. c.CanCollide=false
  2202. end
  2203.  
  2204. function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  2205. local msh1 = it("SpecialMesh")
  2206. msh1.Scale = vt(0.5,0.5,0.5)
  2207. msh1.MeshType = "Sphere"
  2208. local S=it("Part")
  2209. S.Name="Effect"
  2210. S.formFactor=0
  2211. S.Size=vt(x1,y1,z1)
  2212. S.BrickColor=color
  2213. S.Reflectance = 0
  2214. S.TopSurface=0
  2215. S.BottomSurface=0
  2216. S.Transparency=0
  2217. S.Anchored=true
  2218. S.CanCollide=false
  2219. S.CFrame=part.CFrame*cf(x2,y2,z2)*euler(x3,y3,z3)
  2220. S.Parent=workspace
  2221. msh1.Parent = S
  2222. 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)
  2223. end
  2224.  
  2225. function SummonSword(Part,cframe1,cframe2)
  2226. coroutine.resume(coroutine.create(function()
  2227.  
  2228. local sword=part(1,workspace,0,0.5,BrickColor.new("Cyan"),"Sword",vt(2,2,2))
  2229. sword.Anchored=true
  2230. --con1=sword.Touched:connect(function(hit) Damagefunc2(hit,5,1) end)
  2231. local smesh=mesh("SpecialMesh",sword,"FileMesh","http://www.roblox.com/asset/?id=50798664",vt(0,0,0),vt(3,3,3))
  2232. --smesh.Parent=nil
  2233. smesh.VertexColor=Vector3.new(0, 0, 0)
  2234. sword.CFrame=Part.CFrame*cframe1
  2235. con1=sword.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  2236. so("http://roblox.com/asset/?id=231917788",sword,0.5,1)
  2237. hitconasdf = sword.Touched:connect(function(hit)
  2238. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  2239. if hum12 and not hum12:IsDescendantOf(Character) then
  2240. so('http://roblox.com/asset/?id=220025675',sword,1,3)
  2241. hitconasdf:disconnect()
  2242. end
  2243. end)
  2244. EVENMOARMAGIX(sword,4,4,4,0,0,0,0,0,0,BrickColor.new("Cyan"))
  2245. for i=0,1,0.2 do
  2246. wait()
  2247. local dir = sword.CFrame.lookVector*-1
  2248. hit2,pos = rayCast(sword.Position,dir,5,Character)
  2249. if hit2~=nil then
  2250. if hit2.Parent:FindFirstChild("Humanoid") ~= nil then
  2251. hum = hit2.Parent.Humanoid
  2252. --Damagefunc2(hit2,5,1)
  2253. elseif hit2.Parent.Parent ~= nil and hit2.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
  2254. hum = hit2.Parent.Parent.Humanoid
  2255. --Damagefunc2(hit2,5,1)
  2256. end
  2257. end
  2258. sword.CFrame=sword.CFrame*cframe2
  2259. end
  2260. EVENMOARMAGIX(sword,4,4,4,0,0,0,0,0,0,BrickColor.new("Cyan"))
  2261. sword.Parent=nil
  2262. pcall(function()
  2263. hitconasdf:disconnect()
  2264. end)
  2265. con1:disconnect()
  2266. end))
  2267. end
  2268.  
  2269.  
  2270. rings=Instance.new('Model',Character)
  2271.  
  2272. ring=function(way,way2,where,vector,rv1,rv2,rv3,c1,c2)
  2273. local rng = Instance.new("Part", rings)
  2274. rng.Anchored = true
  2275. rng.BrickColor = BrickColor.new("Bright blue")
  2276. rng.CanCollide = false
  2277. rng.FormFactor = 3
  2278. rng.Name = "Ring"
  2279. rng.Size = Vector3.new(1, 1, 1)
  2280. rng.Transparency = .5
  2281. rng.TopSurface = 0
  2282. rng.BottomSurface = 0
  2283. rng.CFrame = where.CFrame * CFrame.Angles(math.rad(way), math.rad(way2), 0)
  2284. local rngm = Instance.new("SpecialMesh", rng)
  2285. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2286. rngm.Scale = vector--10,10,1
  2287. for i = 1, 20, 1 do
  2288. rngm.Scale = Vector3.new(rv1 + i*c1, rv2 + i*c2, rv3)--(10 + i*2, 10 + i*2, 1)
  2289. rng.Transparency = i/20
  2290. swait()
  2291. end
  2292. wait()
  2293. rng:destroy''
  2294. end
  2295.  
  2296. player=game.Players.localPlayer
  2297. char=player.Character
  2298. Effects={}
  2299. vt=Vector3.new
  2300. cf=CFrame.new
  2301. euler=CFrame.fromEulerAnglesXYZ
  2302. m=Instance.new("Model",char)
  2303. char.Humanoid.WalkSpeed = 25
  2304.  
  2305. mouse.Button1Down:connect(function()
  2306. if equipped==true and hand==false then
  2307. if attacktype==1 then
  2308. attackone()
  2309. elseif attacktype==2 then
  2310. attacktwo()
  2311. elseif attacktype==3 then
  2312. attackthree()
  2313. end
  2314. end
  2315. end)
  2316.  
  2317. mouse.KeyDown:connect(function(k)
  2318. k=k:lower()
  2319. if k=='q' then
  2320. if attack==false then
  2321. spin()
  2322. end
  2323. elseif k=='f' then
  2324. if attack==false then
  2325. IrisShot()
  2326. ChargeBall(efprt, 100)
  2327. end
  2328. elseif k=='e' then
  2329. if attack==false then
  2330. JumpSwing()
  2331. end
  2332. elseif k=='z' then
  2333. if attack==false then
  2334. IrisFade()
  2335. ChargeBall(efprt, 100)
  2336. end
  2337. elseif k=='x' then
  2338. if attack==false then
  2339. boom()
  2340. end
  2341. elseif k=='r' then
  2342. if attack==false then
  2343. IrisRush()
  2344. end
  2345. end
  2346. end)
  2347.  
  2348. function JumpSwing()
  2349. attack=true
  2350. for i=0,0.5,0.1 do
  2351. swait()
  2352. --[[local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  2353. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  2354. local h = 5
  2355. 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)
  2356. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2357. 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)
  2358. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2359. scfr = blcf
  2360. elseif not scfr then
  2361. scfr = blcf
  2362. end]] --NOU!!
  2363. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0.8),.3)
  2364. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*euler(0,0,-0.8),.3)
  2365. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,-2,0)*euler(.5,0,0),.3)
  2366. LW.C0=clerp(LW.C0,cf(-.2,-.1,-0.5)*euler(1,-1.8,0)*euler(.9,0,0),.3)
  2367. RH.C0=clerp(RH.C0,RHC0*cf(.2,1,.1)*euler(0,-.5,-.2),.3)
  2368. LH.C0=clerp(LH.C0,LHC0*cf(-.2,1,.1)*euler(0,.5,.2),.3)
  2369. end
  2370. Humanoid.Jump=true
  2371. bodvol=Instance.new("BodyVelocity")
  2372. bodvol.Parent=RootPart
  2373. bodvol.velocity=vt(0,1,0)*100
  2374. bodvol.P=5000
  2375. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  2376. --Torso.Velocity=vt(0,1,0)*100
  2377. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(10,20),"Normal",RootPart,.2,1) end)
  2378. so("http://roblox.com/asset/?id=231917987",hitbox,1,1)
  2379. hitconasdf = hitbox.Touched:connect(function(hit)
  2380. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  2381. if hum12 and not hum12:IsDescendantOf(Character) then
  2382. so("http://www.roblox.com/asset/?id="..hitsounds[math.random(1,#hitsounds)],hitbox,1,1)
  2383. hitconasdf:disconnect()
  2384. end
  2385. end)
  2386. for i=0,1,0.1 do
  2387. swait()
  2388. --[[local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  2389. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  2390. local h = 5
  2391. 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)
  2392. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2393. 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)
  2394. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2395. scfr = blcf
  2396. elseif not scfr then
  2397. scfr = blcf
  2398. end]]
  2399. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(3,-2.4,0)*euler(.1,0,0),.3)
  2400. LW.C0=clerp(LW.C0,cf(-.2,.8,-0.5)*euler(3.1,-1.8,0)*euler(.9,0,0),.3)
  2401. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,-0.8),.3)
  2402. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,1.3),.3)
  2403. RH.C0=clerp(RH.C0,RHC0,.3)
  2404. LH.C0=clerp(LH.C0,LHC0,.3)
  2405. end
  2406. con1:disconnect()
  2407. hitconasdf:disconnect()
  2408. bodvol.Parent=nil
  2409. attack=false
  2410. end
  2411.  
  2412. function spin()
  2413. attack=true
  2414. 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)
  2415. for i=0,1,0.2 do
  2416. swait()
  2417. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.45)
  2418. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.45)
  2419. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.5,-1.5,0)*euler(.5,0,0),.45)
  2420. LW.C0=clerp(LW.C0,cf(0,0.5,-0.7)*euler(1.5,-1.5,0)*euler(.7,0,0),.45)
  2421. RH.C0=clerp(RH.C0,RHC0*euler(-.2,0,0),.45)
  2422. LH.C0=clerp(LH.C0,LHC0*euler(-.2,0,0),.45)
  2423. end
  2424. for i=0,1,0.15 do
  2425. so("http://roblox.com/asset/?id=231917987",hitbox,1,1)
  2426. swait()
  2427. --[[local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  2428. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  2429. local h = 5
  2430. 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)
  2431. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2432. 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)
  2433. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2434. scfr = blcf
  2435. elseif not scfr then
  2436. scfr = blcf
  2437. end]]
  2438. for i=0,1,0.1 do
  2439. swait()
  2440. --[[local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  2441. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  2442. local h = 5
  2443. 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)
  2444. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2445. 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)
  2446. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2447. scfr = blcf
  2448. elseif not scfr then
  2449. scfr = blcf
  2450. end]]
  2451. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.5,-1.5,0)*euler(-.5,0,0),.3)
  2452. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*euler(1.5,-1.5,0)*euler(.5,0,0),.3)
  2453. RootJoint.C0=RootCF*euler(0,0,6.6*i)
  2454. end
  2455. end
  2456. con1:disconnect()
  2457. attack=false
  2458. end
  2459.  
  2460.  
  2461. function IrisRush()
  2462. attack = true
  2463. n=2
  2464. so("http://www.roblox.com/asset/?id=199145433",hitbox,1,1.1)
  2465. so("http://roblox.com/asset/?id=199145659", Head, 1, 2)
  2466. coroutine.resume(coroutine.create(function()
  2467.  
  2468. for i = 0,1,0.1 do
  2469. swait()
  2470. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(-5),math.rad(-60)),.3)
  2471. Torso.Neck.C0=clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.3)
  2472. RW.C0=clerp(RW.C0,cf(1.5, 0.8, 0.2) * angles(math.rad(5), math.rad(-15), math.rad(112)), 0.3)
  2473. LW.C0=clerp(LW.C0,cf(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-20)), 0.3)
  2474. RH.C0=clerp(RH.C0,cf(1.1,-1,0)*angles(math.rad(-5),math.rad(120),math.rad(-8)),.3)
  2475. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-60),math.rad(0)),.3)
  2476. end
  2477.  
  2478. local v=it("BodyVelocity",Torso)
  2479. v.maxForce=Vector3.new(4e+005,4e+005,4e+005)*1
  2480. v.velocity=RootPart.CFrame.lookVector*100
  2481. for i = 0,1,0.1 do
  2482. swait()
  2483. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(60)),.3)
  2484. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  2485. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(60), math.rad(100)), 0.3)
  2486. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-15)), 0.3)
  2487. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2488. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2489. end
  2490. v.Parent=nil
  2491. scfr=nil
  2492.  
  2493. end))
  2494.  
  2495. for i=1,3 do
  2496.  
  2497. local orb=part(3,Character,0,1,BrickColor.new"Really black","Orb",vt())
  2498.  
  2499. local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(10,10,10))
  2500. local owld=weld(orb,orb,Torso,cf(0,10,0))
  2501. MagicCircle(BrickColor.new"Royal purple",orb.CFrame,10,10,10,1,1,1,0.1)
  2502. --[[formerso]]
  2503. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2504. local ceef1=math.random(-50,50)
  2505. local ceef2=math.random(-2,8)
  2506. local ceef3=math.random(100,200)/100
  2507. local n=2
  2508. for i=0,1,0.1 do
  2509. wait()
  2510. Part.Transparency=Part.Transparency-0.07
  2511. owld.C0=cf(ceef2*i*n,-5,0)*euler(ceef3*i*n,ceef1,0)
  2512. n=n-0.1
  2513. end
  2514. wait(0)
  2515. Part.Parent=nil
  2516. 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
  2517. local TheHit=Part.Position+vt(0,-1,0)
  2518. local MouseLook=cf((Part.Position+TheHit)/2,TheHit+spread)
  2519. local hit,pos = rayCast(Part.Position,MouseLook.lookVector,999,Character)
  2520. local mag=(Part.Position-pos).magnitude
  2521. MagicCylinder(BrickColor.new"Royal purple",CFrame.new((Part.Position+pos)/2,pos)*angles(1.57,0,0) ,1,mag*5,1,0.5,0,0.5,0.05)
  2522. MagicBlock(BrickColor.new"Royal purple",Part.CFrame,8,8,8,0.5,0.5,0.5,0.1)
  2523. MagicBlock(BrickColor.new"Royal purple",cf(pos),15,15,15,6,6,6,0.1)
  2524. MagicRing(BrickColor.new"Royal purple",cf(pos)*euler(1.57,math.random(-100,100)/100,math.random(-100,100)/100),1,1,1,2,2,2,0.05)
  2525. local ref=part(3,workspace,0,1,BrickColor.new("Really black"),"Effect",vt())
  2526. ref.CFrame=cf(pos)
  2527. so("http://roblox.com/asset/?id=166221646",ref,1,1)
  2528. so("http://roblox.com/asset/?id=200632875", ref, 1, 1)
  2529. so("http://roblox.com/asset/?id=263610131", ref, 1, 1)
  2530. so("http://roblox.com/asset/?id=263610111", Torso, 1, 1)
  2531.  
  2532.  
  2533. coroutine.resume(coroutine.create(function(Part)
  2534. wait(0.2)
  2535. Part.Parent=nil
  2536. end),ref)
  2537. MagniDamage(ref,20,10,30,10,"Knockdown",ref)
  2538. if hit~=nil then
  2539. Damagefunc(hit,20,40,1,"Knockdown",RootPart,0)
  2540. end
  2541. end),orb,omsh,owld)
  2542. wait(0.2)
  2543. end
  2544. n=2
  2545. for i=0,1,0.1 do
  2546. wait()
  2547. n=n-0.1
  2548. end
  2549. attack=false
  2550. end
  2551.  
  2552.  
  2553.  
  2554.  
  2555. function attackone()
  2556. if attack==false and attacktype==1 then
  2557. attacktype=2
  2558. attack=true
  2559. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  2560. for i=0,1,0.2 do
  2561. swait()
  2562. Neck.C0=clerp(Neck.C0,necko*euler(.2,0,.5),.4)
  2563. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-.5),.4)
  2564. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(2,0,1),.4)
  2565. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2566. LW.C0=clerp(LW.C0,cf(-1.3,0.5,-.3)*euler(.4,0,.2)*euler(0,-.2,0),.4)
  2567. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2568. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.5,0),.4)
  2569. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.5,0),.4)
  2570. end
  2571. so("http://roblox.com/asset/?id=199145841",hitbox,1,1)
  2572. hitconasdf = hitbox.Touched:connect(function(hit)
  2573. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  2574. if hum12 and not hum12:IsDescendantOf(Character) then
  2575. so("http://www.roblox.com/asset/?id="..hitsounds[math.random(1,#hitsounds)],hitbox,1,1)
  2576. hitconasdf:disconnect()
  2577. end
  2578. end)
  2579. for i=0,1,0.3 do
  2580. swait()
  2581. --[[ local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  2582. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  2583. local h = 5
  2584. 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)
  2585. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  2586. 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)
  2587. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  2588. scfr = blcf
  2589. elseif not scfr then
  2590. scfr = blcf
  2591. end]]--NOU!!
  2592. Neck.C0=clerp(Neck.C0,necko*euler(0,0,-.5)*euler(.2,0,0),.4)
  2593. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.5),.4)
  2594. RW.C0=clerp(RW.C0,cf(1.2,0.5,-.3)*euler(.2,0,-.2)*euler(0,-.5,0),.4)
  2595. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2596. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.4,0,-.2),.4)
  2597. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2598. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.5,0),.4)
  2599. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.5,0),.4)
  2600. end
  2601. for i=0,1,0.2 do
  2602. swait()
  2603. --[[local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  2604. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  2605. local h = 5
  2606. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  2607. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  2608. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  2609. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  2610. scfr = blcf
  2611. elseif not scfr then
  2612. scfr = blcf
  2613. end]] --NOU!!
  2614. Neck.C0=clerp(Neck.C0,necko*euler(0,0,-.5)*euler(.2,0,0),.4)
  2615. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.5),.4)
  2616. RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*euler(.6,0,-1)*euler(0,-.7,0),.4)
  2617. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2618. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.4,0,-.2),.4)
  2619. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2620. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.5,0),.4)
  2621. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.5,0),.4)
  2622. end
  2623. con1:disconnect()
  2624. hitconasdf:disconnect()
  2625. attack=false
  2626. end
  2627. end
  2628.  
  2629. function attacktwo()
  2630. if attack==false and attacktype==2 then
  2631. attacktype=3
  2632. attack=true
  2633. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  2634. for i=0,1,0.2 do
  2635. swait()
  2636. Neck.C0=clerp(Neck.C0,necko*euler(0,0,-.7)*euler(.2,0,0),.4)
  2637. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.7),.4)
  2638. RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*euler(1.57,0,-1)*euler(0,1.2,0),.4)
  2639. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2640. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.8,0,-.4),.4)
  2641. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2642. RH.C0=clerp(RH.C0,cf(.8,-1,.2)*euler(0,1.57,0)*euler(0,-.7,0),.4)
  2643. LH.C0=clerp(LH.C0,cf(-.8,-1,.2)*euler(0,-1.57,0)*euler(0,-.7,0),.4)
  2644. end
  2645. so("http://roblox.com/asset/?id=199145887",hitbox,1,1)
  2646. hitconasdf = hitbox.Touched:connect(function(hit)
  2647. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  2648. if hum12 and not hum12:IsDescendantOf(Character) then
  2649. so("http://www.roblox.com/asset/?id="..hitsounds[math.random(1,#hitsounds)],hitbox,1,1)
  2650. hitconasdf:disconnect()
  2651. end
  2652. end)
  2653. for i=0,1,0.3 do
  2654. swait()
  2655. --[[ local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  2656. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  2657. local h = 5
  2658. 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)
  2659. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  2660. 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)
  2661. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  2662. scfr = blcf
  2663. elseif not scfr then
  2664. scfr = blcf
  2665. end]]
  2666. Neck.C0=clerp(Neck.C0,necko*euler(0,0,.5)*euler(0,0,0),.4)
  2667. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-.5),.4)
  2668. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1.3,0,1)*euler(0,1.6,0),.4)
  2669. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2670. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.2,0,-.2),.4)
  2671. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2672. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.5,0),.4)
  2673. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.5,0),.4)
  2674. end
  2675. for i=0,1,0.2 do
  2676. swait()
  2677. --[[ local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  2678. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  2679. local h = 5
  2680. 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)
  2681. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  2682. 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)
  2683. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  2684. scfr = blcf
  2685. elseif not scfr then
  2686. scfr = blcf
  2687. end]]
  2688. Neck.C0=clerp(Neck.C0,necko*euler(0,0,.5)*euler(.1,0,0),.4)
  2689. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-.5),.4)
  2690. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1,0,.8)*euler(0,1.3,0),.4)
  2691. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2692. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.2,0,-.2),.4)
  2693. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2694. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.5,0),.4)
  2695. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.5,0),.4)
  2696. end
  2697. attack=false
  2698. con1:disconnect()
  2699. hitconasdf:disconnect()
  2700. end
  2701. end
  2702.  
  2703.  
  2704. local function CFrameFromTopBack(at, top, back)
  2705. local right = top:Cross(back)
  2706. return CFrame.new(at.x, at.y, at.z,
  2707. right.x, top.x, back.x,
  2708. right.y, top.y, back.y,
  2709. right.z, top.z, back.z)
  2710. end
  2711.  
  2712. function IrisFade()
  2713. attack=true
  2714. for i=0,1,.1 do
  2715. swait()
  2716. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  2717. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  2718. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(18), math.rad(-15), math.rad(15)), 0.3)
  2719. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-75), math.rad(0), math.rad(-50)), 0.3)
  2720. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-3),math.rad(65),math.rad(0)),.3)
  2721. 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)
  2722. end
  2723. so("http://www.roblox.com/asset/?id=401604539",EffectPart2,1.5,1.5)
  2724. efprt=part2(Enum.FormFactor.Custom,game.Workspace,Enum.Material.Neon,0,0,"White","BallEffect",Vector3.new(2, 2, 2))
  2725. 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))
  2726. mesh("SpecialMesh",efprt,"Sphere","",vt(0,0,0),vt(1,1,1))
  2727. ChargeBall(EffectPart2,35)
  2728. for i=0,1,.1 do
  2729. swait()
  2730. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  2731. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  2732. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-18), math.rad(15), math.rad(15)), 0.3)
  2733. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-65)), 0.3)
  2734. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
  2735. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  2736. end
  2737. so("http://www.roblox.com/asset/?id=199145534",EffectPart2,1,1.2)
  2738. efprt:BreakJoints()
  2739. local Target=mouse.Hit.p
  2740. local direction = Target - Handle.Position
  2741. direction = computeDirection(direction)
  2742. local pos = Handle.Position + (direction * 10.0)
  2743. efprt.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(math.pi/2, 0, 0)
  2744. local floatForce = Instance.new("BodyForce")
  2745. floatForce.force = Vector3.new(0, efprt:GetMass() * 196.1, 0.0)
  2746. floatForce.Parent = efprt
  2747. efprt.Velocity = direction * 160
  2748. efprt.Touched:connect(function(hit)
  2749. if not hit:IsDescendantOf(Character) then
  2750. if hit.Name~="Effect" then
  2751. MagniDamage(efprt,15,15,25,math.random(5,10),"Knockdown",RootPart)
  2752. floatForce.Parent=nil
  2753. efprt.Anchored=true
  2754. so("http://www.roblox.com/asset/?id=228343330",hit,1,.8)
  2755. Blast(efprt)
  2756. efprt:Destroy()
  2757. end
  2758. end
  2759. end)
  2760. game:GetService("Debris"):AddItem(efprt,6)
  2761. attack=false
  2762. end
  2763.  
  2764.  
  2765. function attackthree()
  2766. if attack==false and attacktype==3 then
  2767. attacktype=1
  2768. attack=true
  2769. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  2770. for i=0,1,0.2 do
  2771. swait()
  2772. Neck.C0=clerp(Neck.C0,necko*euler(0,0,.2),.4)
  2773. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-.3),.4)
  2774. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1,0,1.2)*euler(0,-2,0),.4)
  2775. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2776. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-.2)*euler(.7,0,.1)*euler(0,-.4,0),.4)
  2777. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  2778. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.3,0),.4)
  2779. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.3,0),.4)
  2780. end
  2781. so("http://roblox.com/asset/?id=199145913",hitbox,1,1)
  2782. hitconasdf = hitbox.Touched:connect(function(hit)
  2783. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  2784. if hum12 and not hum12:IsDescendantOf(Character) then
  2785. so("http://www.roblox.com/asset/?id="..hitsounds[math.random(1,#hitsounds)],hitbox,1,1)
  2786. hitconasdf:disconnect()
  2787. end
  2788. end)
  2789. for i=0,1,0.1 do
  2790. swait()
  2791. --[[ local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  2792. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  2793. local h = 5
  2794. 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)
  2795. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  2796. 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)
  2797. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  2798. scfr = blcf
  2799. elseif not scfr then
  2800. scfr = blcf
  2801. end]]
  2802. Neck.C0=clerp(Neck.C0,necko*euler(.2,0,-.6),.35)
  2803. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.6),.35)
  2804. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.2,0,-1.2)*euler(0,-1.2,0),.35)
  2805. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.35)
  2806. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-.2)*euler(-.4,0,-.7)*euler(0,0,0),.35)
  2807. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.35)
  2808. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.6,0),.35)
  2809. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.6,0),.35)
  2810. end
  2811. attack=false
  2812. con1:disconnect()
  2813. hitconasdf:disconnect()
  2814. end
  2815. end
  2816.  
  2817.  
  2818.  
  2819. function IrisShot()
  2820. attack=true
  2821. for i=0,1,.1 do
  2822. swait()
  2823. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  2824. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  2825. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(18), math.rad(-15), math.rad(15)), 0.3)
  2826. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-75), math.rad(0), math.rad(-50)), 0.3)
  2827. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-3),math.rad(65),math.rad(0)),.3)
  2828. 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)
  2829. end
  2830. so("http://www.roblox.com/asset/?id=401604539",EffectPart2,1.5,1.5)
  2831. efprt=part2(Enum.FormFactor.Custom,game.Workspace,Enum.Material.Neon,0,0,"White","BallEffect",Vector3.new(2, 2, 2))
  2832. 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))
  2833. mesh("SpecialMesh",efprt,"Sphere","",vt(0,0,0),vt(1,1,1))
  2834. ChargeBall(EffectPart2,35)
  2835. for i=0,1,.1 do
  2836. swait()
  2837. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  2838. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  2839. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-18), math.rad(15), math.rad(15)), 0.3)
  2840. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-65)), 0.3)
  2841. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
  2842. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  2843. end
  2844. so("http://www.roblox.com/asset/?id=199145534",EffectPart2,1,1.2)
  2845. efprt:BreakJoints()
  2846. local Target=mouse.Hit.p
  2847. local direction = Target - Handle.Position
  2848. direction = computeDirection(direction)
  2849. local pos = Handle.Position + (direction * 10.0)
  2850. efprt.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(math.pi/2, 0, 0)
  2851. local floatForce = Instance.new("BodyForce")
  2852. floatForce.force = Vector3.new(0, efprt:GetMass() * 196.1, 0.0)
  2853. floatForce.Parent = efprt
  2854. efprt.Velocity = direction * 160
  2855. efprt.Touched:connect(function(hit)
  2856. if not hit:IsDescendantOf(Character) then
  2857. if hit.Name~="Effect" then
  2858. MagniDamage(efprt,15,15,25,math.random(5,10),"Knockdown",RootPart)
  2859. floatForce.Parent=nil
  2860. efprt.Anchored=true
  2861. so("http://www.roblox.com/asset/?id=228343330",hit,1,.8)
  2862. Blast(efprt)
  2863. efprt:Destroy()
  2864. end
  2865. end
  2866. end)
  2867. game:GetService("Debris"):AddItem(efprt,6)
  2868. attack=false
  2869. end
  2870.  
  2871. local function CFrameFromTopBack(at, top, back)
  2872. local right = top:Cross(back)
  2873. return CFrame.new(at.x, at.y, at.z,
  2874. right.x, top.x, back.x,
  2875. right.y, top.y, back.y,
  2876. right.z, top.z, back.z)
  2877. end
  2878.  
  2879. function Triangle(a, b, c)
  2880. local edg1 = (c-a):Dot((b-a).unit)
  2881. local edg2 = (a-b):Dot((c-b).unit)
  2882. local edg3 = (b-c):Dot((a-c).unit)
  2883. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  2884. a, b, c = a, b, c
  2885. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  2886. a, b, c = b, c, a
  2887. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  2888. a, b, c = c, a, b
  2889. else
  2890. assert(false, "unreachable")
  2891. end
  2892.  
  2893. local len1 = (c-a):Dot((b-a).unit)
  2894. local len2 = (b-a).magnitude - len1
  2895. local width = (a + (b-a).unit*len1 - c).magnitude
  2896.  
  2897. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  2898.  
  2899. local list = {}
  2900.  
  2901. if len1 > 0.01 then
  2902. local w1 = Instance.new('WedgePart', m)
  2903. game:GetService("Debris"):AddItem(w1,5)
  2904. w1.Material = "Neon"
  2905. w1.FormFactor = 'Custom'
  2906. w1.BrickColor = BrickColor.new("Cyan")
  2907. w1.Transparency = 0
  2908. w1.Reflectance = 0
  2909. w1.Material = "SmoothPlastic"
  2910. w1.CanCollide = false
  2911. NoOutline(w1)
  2912. local sz = Vector3.new(0.2, width, len1)
  2913. w1.Size = sz
  2914. local sp = Instance.new("SpecialMesh",w1)
  2915. sp.MeshType = "Wedge"
  2916. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  2917. w1:BreakJoints()
  2918. w1.Anchored = true
  2919. w1.Parent = workspace
  2920. w1.Transparency = 0.7
  2921. table.insert(Effects,{w1,"Disappear",.01})
  2922. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  2923. table.insert(list,w1)
  2924. end
  2925.  
  2926. if len2 > 0.01 then
  2927. local w2 = Instance.new('WedgePart', m)
  2928. game:GetService("Debris"):AddItem(w2,5)
  2929. w2.Material = "Neon"
  2930. w2.FormFactor = 'Custom'
  2931. w2.BrickColor = BrickColor.new("Cyan")
  2932. w2.Transparency = 0
  2933. w2.Reflectance = 0
  2934. w2.Material = "SmoothPlastic"
  2935. w2.CanCollide = false
  2936. NoOutline(w2)
  2937. local sz = Vector3.new(0.2, width, len2)
  2938. w2.Size = sz
  2939. local sp = Instance.new("SpecialMesh",w2)
  2940. sp.MeshType = "Wedge"
  2941. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  2942. w2:BreakJoints()
  2943. w2.Anchored = true
  2944. w2.Parent = workspace
  2945. w2.Transparency = 0.7
  2946. table.insert(Effects,{w2,"Disappear",.01})
  2947. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  2948. table.insert(list,w2)
  2949. end
  2950. return unpack(list)
  2951. end
  2952.  
  2953. function NoOutline(Part)
  2954. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2955. end
  2956.  
  2957.  
  2958. if #Effects>0 then
  2959. --table.insert(Effects,{prt,"Block1",delay})
  2960. for e=1,#Effects do
  2961. if Effects[e]~=nil then
  2962. --for j=1,#Effects[e] do
  2963. local Thing=Effects[e]
  2964. if Thing~=nil then
  2965. local Part=Thing[1]
  2966. local Mode=Thing[2]
  2967. local Delay=Thing[3]
  2968. local IncX=Thing[4]
  2969. local IncY=Thing[5]
  2970. local IncZ=Thing[6]
  2971. if Thing[1].Transparency<=1 then
  2972. if Thing[2]=="Block1" then
  2973. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2974. Mesh=Thing[1].Mesh
  2975. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2976. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2977. elseif Thing[2]=="Cylinder" then
  2978. Mesh=Thing[1].Mesh
  2979. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2980. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2981. elseif Thing[2]=="Blood" then
  2982. Mesh=Thing[1].Mesh
  2983. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  2984. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2985. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2986. elseif Thing[2]=="Elec" then
  2987. Mesh=Thing[1].Mesh
  2988. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  2989. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2990. elseif Thing[2]=="Disappear" then
  2991. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2992. end
  2993. else
  2994. Part.Parent=nil
  2995. table.remove(Effects,e)
  2996. end
  2997. end
  2998. --end
  2999. end
  3000. end
  3001. end
  3002.  
  3003. idleanim=.4
  3004.  
  3005. while true do
  3006. swait()
  3007. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  3008. local velderp=RootPart.Velocity.y
  3009. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  3010. if equipped==true or equipped==false then
  3011. if attack==false then
  3012. idle=idle+1
  3013. else
  3014. idle=0
  3015. end
  3016. if idle>=500 then
  3017. if attack==false then
  3018. --Sheath()
  3019. end
  3020. end
  3021. if Anim~='Fly' then
  3022. pcall(function()
  3023. RightLeg.Transparency=0
  3024. LeftLeg.Transparency=0
  3025. m.fakerleg:destroy()
  3026. m.fakelleg:destroy()
  3027. end)
  3028. end
  3029. if RootPart.Velocity.y > 1 and hitfloor==nil then
  3030. Anim="Jump"
  3031. if attack==false then
  3032. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  3033. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  3034. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  3035. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.5,0,0.5),.3)
  3036. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3037. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3)
  3038. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3039. RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.2)
  3040. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.2)
  3041. end
  3042. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  3043. Anim="Fall"
  3044. if attack==false then
  3045. Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3)
  3046. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  3047. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  3048. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.3,0,0.2),.3)
  3049. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3050. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3)
  3051. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3052. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.2)
  3053. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.2)
  3054. end
  3055. elseif torvel<1 and hitfloor~=nil then
  3056. Anim="Idle"
  3057. if attack==false then
  3058. --[[Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-10),0,0),.3)
  3059. Neck.C1=clerp(Neck.C1,necko2*angles(0,0,0),.3)
  3060. RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(15),0,0),.3)
  3061. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(0,0,0.1),.3)
  3062. RW.C1=clerp(LW.C1,cf(0,0.5,0)*angles(0,0,0),.3)
  3063. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(45)),.3)
  3064. LW.C1=clerp(LW.C1,cf(0,0.5,0)*angles(0,0,0),.3)
  3065. RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(15),math.rad(90),0),.3)
  3066. RH.C1=clerp(RH.C1,RHC1,.3)
  3067. LH.C0=clerp(LH.C0,cf(1,-.5,0)*angles(math.rad(15),math.rad(-90),0),.3)
  3068. LH.C1=clerp(LH.C1,LHC1,.3)]]
  3069. idleanim=.4
  3070. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5-idleanim)*euler(0.4+(idleanim/2),0,-0.4),.3)
  3071. --RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  3072. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(-idleanim/2,0,0.4),.3)
  3073. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-25),math.rad(-35),math.rad(45)),.3)
  3074. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(90),math.rad(0),math.rad(45)),.3)
  3075. RH.C0=clerp(RH.C0,cf(1,-1,-idleanim)*euler(-0.2-(idleanim/2),1.57,0),.3)
  3076. LH.C0=clerp(LH.C0,cf(-1,-.5+idleanim,0)*euler(0.5+(idleanim/2),-1.2,0)*euler(-.2,0,0),.3)
  3077. end
  3078. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  3079. Anim="Walk"
  3080. if attack==false then
  3081. idleanim=-1
  3082. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0.4,0,0),.3)
  3083. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(-0.2,0,0),.3)
  3084. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-35),math.rad(45)),.3)
  3085. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(35),math.rad(-45)),.3)
  3086. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.2,1.57,0),.3)
  3087. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0.5,-1.57,0)*euler(0,0,0),.3)
  3088. end
  3089. elseif torvel>=22 and hitfloor~=nil then
  3090. Anim="Run"
  3091. if attack==false then
  3092. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*euler(0.4,0,0),.3)
  3093. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(-0.2,0,0),.3)
  3094. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-35),math.rad(-35),math.rad(45)),.3)
  3095. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-35),math.rad(35),math.rad(-45)),.3)
  3096. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.2,1.57,0),.3)
  3097. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0.5,-1.57,0)*euler(0,0,0),.3)
  3098. end
  3099. print("hello")
  3100. end
  3101. end
  3102. end
  3103.  
  3104.  
  3105. MaxHealthValue = 4950
  3106. Player=game:GetService("Players").iiMakeDaModels
  3107. Character=Player.Character
  3108. PlayerGui=Player.PlayerGui
  3109. Backpack=Player.Backpack
  3110. Torso=Character.Torso
  3111. Head=Character.Head
  3112. Humanoid=Character.Humanoid
  3113. cam=game.Workspace.CurrentCamera
  3114. m=Instance.new('Model',Character)
  3115. LeftArm=Character["Left Arm"]
  3116. LeftLeg=Character["Left Leg"]
  3117. RightArm=Character["Right Arm"]
  3118. RightLeg=Character["Right Leg"]
  3119. LS=Torso["Left Shoulder"]
  3120. LH=Torso["Left Hip"]
  3121. RS=Torso["Right Shoulder"]
  3122. RH=Torso["Right Hip"]
  3123. Neck=Torso.Neck
  3124. it=Instance.new
  3125. attacktype=1
  3126. vt=Vector3.new
  3127. cf=CFrame.new
  3128. euler=CFrame.fromEulerAnglesXYZ
  3129. angles=CFrame.Angles
  3130. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  3131. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  3132. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  3133. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  3134. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  3135. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  3136. RootPart=Character.HumanoidRootPart
  3137. RootJoint=RootPart.RootJoint
  3138. RootCF=euler(-1.57,0,3.14)
  3139. attack = false
  3140. attackdebounce = false
  3141. deb=false
  3142. equipped=true
  3143. hand=false
  3144. MMouse=nil
  3145. combo=0
  3146. mana=0
  3147. trispeed=.2
  3148. attackmode='none'
  3149. local idle=0
  3150. local Anim="Idle"
  3151. local Effects={}
  3152. local gun=false
  3153. local shoot=false
  3154. player=nil
  3155. local colorscheme = {"Really black"}
  3156. local hitsounds = {"199149137","199149186","199149221","199149235","199149269","199149297"}
  3157. local render = game:GetService("RunService").RenderStepped
  3158. local bltb = {}
  3159. ---Day/Sounds/Misc---
  3160. Character.Humanoid.MaxHealth = MaxHealthValue
  3161. wait(0.5)
  3162. Character.Humanoid.Health = HealthValue
  3163. game.Lighting.TimeOfDay = ("01:00:00")
  3164. local c = Instance.new("Sound")
  3165. c.SoundId = "http://www.roblox.com/asset/?id=257187456"
  3166. c.Volume = 0.5
  3167. c.MaxDistance = 1000
  3168. c.Parent = Head
  3169. c.Name = "Music"
  3170. c:Play()
  3171.  
  3172. local d = Instance.new("Sound")
  3173. d.SoundId = "http://www.roblox.com/asset/?id=433981230"
  3174. d.Volume = 50
  3175. d.MaxDistance = 1000
  3176. d.Name = "Rawr"
  3177. d.Parent = Head
  3178. wait(1)
  3179. d:Play()
  3180.  
  3181. local s = Instance.new("Sound")
  3182. s.SoundId = "http://www.roblox.com/asset/?id=169737307"
  3183. s.Volume = 0.3
  3184. s.Looped = true
  3185. s.MaxDistance = 10000000 + 5000000
  3186. s.Name = "Lightning"
  3187. s:Play()
  3188. s.Parent = Head
  3189. --[[wait(1)
  3190. if Head.Parent.Humanoid.Health == 0 then
  3191. game.Lighting.TimeOfDay = ("10.00.00")
  3192. s:remove()
  3193. d:Play()
  3194. wait(5)
  3195. d:remove()
  3196. end]]
  3197.  
  3198.  
  3199. game:GetService("Chat"):Chat(Head, "Im becoming my true form!", "Red")
  3200. wait(1)
  3201. game:GetService("Chat"):Chat(Head, "Bow before your reaping master!", "Red")
  3202. wait(1)
  3203. game:GetService("Chat"):Chat(Head, "Night falls, demons... Awaken!", "Red")
  3204.  
  3205. -----End------
  3206. ---------------Cape Section--------------
  3207.  
  3208. local verlet = {}
  3209. verlet.step_time = 1 / 50
  3210. verlet.gravity = Vector3.new(0, -150, 0) --//
  3211.  
  3212. local char = game.Players.LocalPlayer.Character
  3213. local torso = char:WaitForChild("Torso")
  3214. local parts = {}
  3215. local render = game:GetService("RunService").RenderStepped
  3216.  
  3217. wait(2)
  3218.  
  3219. local point = {}
  3220. local link = {}
  3221. local rope = {}
  3222.  
  3223. local function ccw(A,B,C)
  3224. return (C.y-A.y) * (B.x-A.x) > (B.y-A.y) * (C.x-A.x)
  3225. end
  3226.  
  3227. local function intersect(A,B,C,D)
  3228. return ccw(A,C,D) ~= ccw(B,C,D) and ccw(A,B,C) ~= ccw(A,B,D)
  3229. end
  3230.  
  3231. local function vec2(v)
  3232. return Vector2.new(v.x, v.z)
  3233. end
  3234.  
  3235. function point:step()
  3236. if not self.fixed then
  3237. local derivative = (self.position - self.last_position) * 0.95
  3238. self.last_position = self.position
  3239. self.position = self.position + derivative + ((verlet.gravity + (torso.CFrame.lookVector * -90)) * verlet.step_time ^ 2) --//
  3240. --[[local torsoP = torso.CFrame * CFrame.new(-1, 0, 0.5)
  3241. local torsoE = torso.CFrame * CFrame.new(1, 0, 0.5)
  3242. local pointE = self.position + torso.CFrame.lookVector * 100
  3243. local doIntersect = intersect(vec2(torsoP.p), vec2(torsoE.p), vec2(self.position), vec2(pointE))
  3244. if not doIntersect then
  3245. self.postition = self.position - torso.CFrame.lookVector * 10
  3246. end]]
  3247. end
  3248. end
  3249.  
  3250. function link:step()
  3251. for i = 1, 1 do
  3252. local distance = self.point1.position - self.point2.position
  3253. local magnitude = distance.magnitude
  3254. local differance = (self.length - magnitude) / magnitude
  3255. local translation = ((self.point1.fixed or self.point2.fixed) and 1 or 0.6) * distance * differance
  3256. if not self.point1.fixed then
  3257. self.point1.position = self.point1.position + translation
  3258. end
  3259. if not self.point2.fixed then
  3260. self.point2.position = self.point2.position - translation
  3261. end
  3262. end
  3263. end
  3264.  
  3265. function verlet.new(class, a, b, c)
  3266. if class == "Point" then
  3267. local new = {}
  3268. setmetatable(new, {__index = point})
  3269. new.class = class
  3270. new.position = a or Vector3.new()
  3271. new.last_position = new.position
  3272. new.velocity = verlet.gravity
  3273. new.fixed = false
  3274. return new
  3275. elseif class == "Link" then
  3276. local new = {}
  3277. setmetatable(new, {__index = link})
  3278. new.class = class
  3279. new.point1 = a
  3280. new.point2 = b
  3281. new.length = c or (a.position - b.position).magnitude
  3282. return new
  3283. elseif class == "Rope" then
  3284. local new = {}
  3285. setmetatable(new, {__index = link})
  3286. new.class = class
  3287. new.start_point = a
  3288. new.finish_point = b
  3289. new.points = {}
  3290. new.links = {}
  3291. local inc = (b - a) / 10
  3292. for i = 0, 10 do
  3293. table.insert(new.points, verlet.new("Point", a + (i * inc)))
  3294. end
  3295. for i = 2, #new.points do
  3296. table.insert(new.links, verlet.new("Link", new.points[i - 1], new.points[i]))
  3297. end
  3298. return new
  3299. end
  3300. end
  3301.  
  3302. local tris = {}
  3303. local triParts = {}
  3304.  
  3305. local function GetDiscoColor(hue)
  3306. local section = hue % 1 * 3
  3307. local secondary = 0.5 * math.pi * (section % 1)
  3308. if section < 1 then
  3309. return Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  3310. elseif section < 2 then
  3311. return Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  3312. else
  3313. return Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  3314. end
  3315. end
  3316.  
  3317. local function setupPart(part)
  3318. part.Anchored = true
  3319. part.FormFactor = 3
  3320. part.CanCollide = false
  3321. part.TopSurface = 10
  3322. part.BottomSurface = 10
  3323. part.LeftSurface = 10
  3324. part.RightSurface = 10
  3325. part.FrontSurface = 10
  3326. part.BackSurface = 10
  3327. part.Material = "Neon"
  3328. local m = Instance.new("SpecialMesh", part)
  3329. m.MeshType = "Wedge"
  3330. m.Scale = Vector3.new(0.2, 1, 1)
  3331. return part
  3332. end
  3333.  
  3334. local function CFrameFromTopBack(at, top, back)
  3335. local right = top:Cross(back)
  3336. 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)
  3337. end
  3338.  
  3339. local function drawTri(parent, a, b, c)
  3340. local this = {}
  3341. local mPart1 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  3342. local mPart2 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  3343. function this:Set(a, b, c)
  3344. local ab, bc, ca = b-a, c-b, a-c
  3345. local abm, bcm, cam = ab.magnitude, bc.magnitude, ca.magnitude
  3346. local edg1 = math.abs(0.5 + ca:Dot(ab)/(abm*abm))
  3347. local edg2 = math.abs(0.5 + ab:Dot(bc)/(bcm*bcm))
  3348. local edg3 = math.abs(0.5 + bc:Dot(ca)/(cam*cam))
  3349. if edg1 < edg2 then
  3350. if edg1 >= edg3 then
  3351. a, b, c = c, a, b
  3352. ab, bc, ca = ca, ab, bc
  3353. abm = cam
  3354. end
  3355. else
  3356. if edg2 < edg3 then
  3357. a, b, c = b, c, a
  3358. ab, bc, ca = bc, ca, ab
  3359. abm = bcm
  3360. else
  3361. a, b, c = c, a, b
  3362. ab, bc, ca = ca, ab, bc
  3363. abm = cam
  3364. end
  3365. end
  3366.  
  3367. local len1 = -ca:Dot(ab)/abm
  3368. local len2 = abm - len1
  3369. local width = (ca + ab.unit*len1).magnitude
  3370.  
  3371. local maincf = CFrameFromTopBack(a, ab:Cross(bc).unit, -ab.unit)
  3372.  
  3373. if len1 > 0.2 then
  3374. mPart1.Parent = parent
  3375. mPart1.Size = Vector3.new(0.2, width, len1)
  3376. mPart1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  3377. else
  3378. mPart1.Parent = nil
  3379. end
  3380.  
  3381. if len2 > 0.2 then
  3382. mPart2.Parent = parent
  3383. mPart2.Size = Vector3.new(0.2, width, len2)
  3384. mPart2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  3385. else
  3386. mPart2.Parent = nil
  3387. end
  3388. end
  3389. function this:SetProperty(prop, value)
  3390. mPart1[prop] = value
  3391. mPart2[prop] = value
  3392. end
  3393. this:Set(a, b, c)
  3394. function this:Destroy()
  3395. mPart1:Destroy()
  3396. mPart2:Destroy()
  3397. end
  3398. this.p1 = mPart1
  3399. this.p2 = mPart2
  3400. this.p1.BrickColor = BrickColor.new("Really black")
  3401. this.p2.BrickColor = BrickColor.new("Really black")
  3402. return this
  3403. end
  3404.  
  3405. function verlet.draw(object, id)
  3406. if object.class == "Point" then
  3407. local part = parts[id]
  3408. part.BrickColor = BrickColor.new(1, 1, 1)
  3409. part.Transparency = 0
  3410. part.formFactor = 3
  3411. part.Anchored = true
  3412. part.CanCollide = false
  3413. part.TopSurface = 0
  3414. part.BottomSurface = 0
  3415. part.Size = Vector3.new(0.35, 0.35, 0.35)
  3416. part.Material = "Neon"
  3417. part.CFrame = CFrame.new(object.position)
  3418. part.Parent = torso
  3419. return part
  3420. elseif object.class == "Link" then
  3421. local part = parts[id]
  3422. local dist = (object.point1.position - object.point2.position).magnitude
  3423. part.Size = Vector3.new(0.2, 0.2, dist)
  3424. part.CFrame = CFrame.new(object.point1.position, object.point2.position) * CFrame.new(0, 0, dist * -0.5)
  3425. part.Parent = torso
  3426. return part
  3427. end
  3428. end
  3429.  
  3430. function verlet.clear()
  3431. for _, v in pairs(workspace:GetChildren()) do
  3432. if v.Name == "Part" then
  3433. v:Destroy()
  3434. end
  3435. end
  3436. end
  3437.  
  3438. local points = {}
  3439. local links = {}
  3440.  
  3441. for x = 0, 2 do
  3442. points[x] = {}
  3443. for y = 0, 3 do
  3444. points[x][y] = verlet.new("Point", torso.Position + Vector3.new(x * 0.8 - 2, 2 - y * 0.8, 5 + y * 0.4))
  3445. points[x][y].fixed = y == 0
  3446. end
  3447. end
  3448.  
  3449. for x = 1, 2 do
  3450. for y = 0, 3 do
  3451. links[#links + 1] = verlet.new("Link", points[x][y], points[x - 1][y], 1 + y * 0.08)
  3452. end
  3453. end
  3454.  
  3455. for x = 0, 2 do
  3456. for y = 1, 3 do
  3457. links[#links + 1] = verlet.new("Link", points[x][y], points[x][y - 1], 1.2 + y * 0.03)
  3458. end
  3459. end
  3460.  
  3461. render:connect(function()
  3462. for x = 0, 2 do
  3463. for y = 0, 3 do
  3464. if y == 0 then
  3465. points[x][y].position = (torso.CFrame * CFrame.new(x * 1 - 1, 1, 0.5)).p
  3466. else
  3467. points[x][y]:step()
  3468. end
  3469. end
  3470. end
  3471. for i = 1, #links do
  3472. links[i]:step()
  3473. end
  3474. for i = 1, #tris do
  3475. triParts[#triParts + 1] = tris[i].p1
  3476. triParts[#triParts + 1] = tris[i].p2
  3477. end
  3478. tris = {}
  3479. for x = 1, 2 do
  3480. for y = 1, 3 do
  3481. tris[#tris + 1] = drawTri(torso, points[x - 1][y - 1].position, points[x - 1][y].position, points[x][y - 1].position)
  3482. tris[#tris + 1] = drawTri(torso, points[x][y].position, points[x - 1][y].position, points[x][y - 1].position)
  3483. end
  3484. end
  3485. end)
  3486.  
  3487. --<<-------------End Cape Section------------>>--
  3488. mouse=Player:GetMouse()
  3489. --save shoulders
  3490. RSH, LSH=nil, nil
  3491. --welds
  3492. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  3493. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  3494. LH=Torso["Left Hip"]
  3495. RH=Torso["Right Hip"]
  3496. TorsoColor=Torso.BrickColor
  3497. function NoOutline(Part)
  3498. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  3499. end
  3500. player=Player
  3501. ch=Character
  3502. RSH=ch.Torso["Right Shoulder"]
  3503. LSH=ch.Torso["Left Shoulder"]
  3504. --
  3505. RSH.Parent=nil
  3506. LSH.Parent=nil
  3507. --
  3508. RW.Name="Right Shoulder"
  3509. RW.Part0=ch.Torso
  3510. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  3511. RW.C1=cf(0, 0.5, 0)
  3512. RW.Part1=ch["Right Arm"]
  3513. RW.Parent=ch.Torso
  3514. --
  3515. LW.Name="Left Shoulder"
  3516. LW.Part0=ch.Torso
  3517. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  3518. LW.C1=cf(0, 0.5, 0)
  3519. LW.Part1=ch["Left Arm"]
  3520. LW.Parent=ch.Torso
  3521.  
  3522. local Stats=Instance.new("BoolValue")
  3523. Stats.Name="Stats"
  3524. Stats.Parent=Character
  3525. local Atk=Instance.new("NumberValue")
  3526. Atk.Name="Damage"
  3527. Atk.Parent=Stats
  3528. Atk.Value=1
  3529. local Def=Instance.new("NumberValue")
  3530. Def.Name="Defense"
  3531. Def.Parent=Stats
  3532. Def.Value=1
  3533. local Speed=Instance.new("NumberValue")
  3534. Speed.Name="Speed"
  3535. Speed.Parent=Stats
  3536. Speed.Value=1
  3537. local Mvmt=Instance.new("NumberValue")
  3538. Mvmt.Name="Movement"
  3539. Mvmt.Parent=Stats
  3540. Mvmt.Value=1
  3541.  
  3542. local donum=0
  3543.  
  3544. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  3545. local fp=it("Part")
  3546. fp.formFactor=formfactor
  3547. fp.Parent=parent
  3548. fp.Reflectance=reflectance
  3549. fp.Transparency=transparency
  3550. fp.CanCollide=false
  3551. fp.Locked=true
  3552. fp.BrickColor=brickcolor
  3553. fp.Name=name
  3554. fp.Size=size
  3555. fp.Position=Torso.Position
  3556. NoOutline(fp)
  3557. fp.Material="SmoothPlastic"
  3558. fp:BreakJoints()
  3559. return fp
  3560. end
  3561.  
  3562. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  3563. local mesh=it(Mesh)
  3564. mesh.Parent=part
  3565. if Mesh=="SpecialMesh" then
  3566. mesh.MeshType=meshtype
  3567. if meshid~="nil" then
  3568. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  3569. end
  3570. end
  3571. mesh.Offset=offset
  3572. mesh.Scale=scale
  3573. return mesh
  3574. end
  3575.  
  3576. function weld(parent,part0,part1,c0)
  3577. local weld=it("Weld")
  3578. weld.Parent=parent
  3579. weld.Part0=part0
  3580. weld.Part1=part1
  3581. weld.C0=c0
  3582. return weld
  3583. end
  3584.  
  3585.  
  3586. function Rainbow(hue)
  3587. local section = hue % 1 * 3
  3588. local secondary = 0.5 * math.pi * (section % 1)
  3589. if section < 1 then
  3590. return Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  3591. elseif section < 2 then
  3592. return Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  3593. else
  3594. return Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  3595. end
  3596. end
  3597.  
  3598.  
  3599. function UpdatePart(pt,clr)
  3600. pt.BrickColor = BrickColor.new(clr)
  3601. end
  3602.  
  3603. local Color1=Torso.BrickColor
  3604.  
  3605. local bodvel=Instance.new("BodyVelocity")
  3606. local bg=Instance.new("BodyGyro")
  3607.  
  3608. function swait(num)
  3609. if num==0 or num==nil then
  3610. game:service'RunService'.Stepped:wait(0)
  3611. else
  3612. for i=0,num do
  3613. game:service'RunService'.Stepped:wait(0)
  3614. end
  3615. end
  3616. end
  3617.  
  3618.  
  3619. so = function(id,par,vol,pit)
  3620. coroutine.resume(coroutine.create(function()
  3621. local sou = Instance.new("Sound",par or workspace)
  3622. sou.Volume=vol
  3623. sou.Pitch=pit or 1
  3624. sou.SoundId=id
  3625. swait()
  3626. sou:play()
  3627. game:GetService("Debris"):AddItem(sou,6)
  3628. end))
  3629. end
  3630.  
  3631. function clerp(a,b,t)
  3632. local qa = {QuaternionFromCFrame(a)}
  3633. local qb = {QuaternionFromCFrame(b)}
  3634. local ax, ay, az = a.x, a.y, a.z
  3635. local bx, by, bz = b.x, b.y, b.z
  3636. local _t = 1-t
  3637. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  3638. end
  3639.  
  3640. function QuaternionFromCFrame(cf)
  3641. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3642. local trace = m00 + m11 + m22
  3643. if trace > 0 then
  3644. local s = math.sqrt(1 + trace)
  3645. local recip = 0.5/s
  3646. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  3647. else
  3648. local i = 0
  3649. if m11 > m00 then
  3650. i = 1
  3651. end
  3652. if m22 > (i == 0 and m00 or m11) then
  3653. i = 2
  3654. end
  3655. if i == 0 then
  3656. local s = math.sqrt(m00-m11-m22+1)
  3657. local recip = 0.5/s
  3658. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  3659. elseif i == 1 then
  3660. local s = math.sqrt(m11-m22-m00+1)
  3661. local recip = 0.5/s
  3662. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  3663. elseif i == 2 then
  3664. local s = math.sqrt(m22-m00-m11+1)
  3665. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  3666. end
  3667. end
  3668. end
  3669.  
  3670. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3671. local xs, ys, zs = x + x, y + y, z + z
  3672. local wx, wy, wz = w*xs, w*ys, w*zs
  3673. local xx = x*xs
  3674. local xy = x*ys
  3675. local xz = x*zs
  3676. local yy = y*ys
  3677. local yz = y*zs
  3678. local zz = z*zs
  3679. 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))
  3680. end
  3681.  
  3682. function QuaternionSlerp(a, b, t)
  3683. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  3684. local startInterp, finishInterp;
  3685. if cosTheta >= 0.0001 then
  3686. if (1 - cosTheta) > 0.0001 then
  3687. local theta = math.acos(cosTheta)
  3688. local invSinTheta = 1/math.sin(theta)
  3689. startInterp = math.sin((1-t)*theta)*invSinTheta
  3690. finishInterp = math.sin(t*theta)*invSinTheta
  3691. else
  3692. startInterp = 1-t
  3693. finishInterp = t
  3694. end
  3695. else
  3696. if (1+cosTheta) > 0.0001 then
  3697. local theta = math.acos(-cosTheta)
  3698. local invSinTheta = 1/math.sin(theta)
  3699. startInterp = math.sin((t-1)*theta)*invSinTheta
  3700. finishInterp = math.sin(t*theta)*invSinTheta
  3701. else
  3702. startInterp = t-1
  3703. finishInterp = t
  3704. end
  3705. end
  3706. 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
  3707. end
  3708.  
  3709. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  3710. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  3711. end
  3712.  
  3713. ppart = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  3714. local fp = it("Part")
  3715. fp.formFactor = formfactor
  3716. fp.Parent = parent
  3717. fp.Reflectance = reflectance
  3718. fp.Transparency = transparency
  3719. fp.CanCollide = false
  3720. fp.Locked = true
  3721. fp.BrickColor = brickcolor
  3722. fp.Name = name
  3723. fp.Size = size
  3724. fp.Position = EffectPart.Position
  3725. NoOutline(fp)
  3726. fp.Material = "Neon"
  3727. fp:BreakJoints()
  3728. return fp
  3729. end
  3730.  
  3731. nooutline = function(part)
  3732. part.TopSurface = 10
  3733. end
  3734.  
  3735.  
  3736. part2 = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  3737. local fp = it("Part")
  3738. fp.formFactor = formfactor
  3739. fp.Parent = parent
  3740. fp.Reflectance = reflectance
  3741. fp.Transparency = transparency
  3742. fp.CanCollide = false
  3743. fp.Locked = true
  3744. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  3745. fp.Name = name
  3746. fp.Size = size
  3747. fp.Position = Character.Torso.Position
  3748. nooutline(fp)
  3749. fp.Material = material
  3750. fp:BreakJoints()
  3751. return fp
  3752. end
  3753.  
  3754. local MagicRing = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, parent)
  3755. local prt = ppart(3, game.Workspace, 0, 1, brickcolor, "Effect", vt())
  3756. if Type ~= 2 then
  3757. prt.Anchored = true
  3758. end
  3759. prt.CFrame = cframe
  3760. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  3761. game:GetService("Debris"):AddItem(prt, 5)
  3762. coroutine.resume(coroutine.create(function(Part, Mesh, dur)
  3763. local wld = nil
  3764. if dur == 2 then
  3765. wld = weld(Part, Part, parent, euler(0, 0, 0) * cf(0, 0, 0))
  3766. end
  3767. for i = 0, 1, delay do
  3768. swait()
  3769. if dur == 1 then
  3770. Part.CFrame = Part.CFrame
  3771. else
  3772. if dur == 2 then
  3773. wld.C0 = cframe
  3774. end
  3775. end
  3776. Part.Transparency = i
  3777. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3778. end
  3779. Part.Parent = nil
  3780. end
  3781. ), prt, msh, Type)
  3782. end
  3783.  
  3784. ChargeBall = function(parent, t)
  3785. local counter = 0
  3786. local size = 1
  3787. for i = 0, t do
  3788. swait()
  3789. counter = counter + 1
  3790. if (counter) % 10 == 0 then
  3791. if size == 3 then
  3792. MagicRing(BrickColor.new("Really black"), parent.CFrame, 0.5, 0.5, 0.5, 1, 1, 1, 0.1, 3, parent)
  3793. else
  3794. if size == 2 then
  3795. MagicRing(BrickColor.new("Really black"), parent.CFrame, 0.5, 0.5, 0.5, 1, 1, 1, 0.1, 3, parent)
  3796. end
  3797. end
  3798. end
  3799. if (counter) % 5 == 0 then
  3800. if size == 1 then
  3801. MagicBlock(BrickColor.new("Really black"), parent.CFrame, 0.5, 0.5, 0.5, 1, 1, 1, 0.1, 3, parent)
  3802. else
  3803. if size == 2 then
  3804. MagicBlock(BrickColor.new("Really black"), parent.CFrame, 0.5, 0.5, 0.5, 1, 1, 1, 0.1, 3, parent)
  3805. else
  3806. if size == 3 then
  3807. MagicBlock(BrickColor.new("Really black"), parent.CFrame, 0.5, 0.5, 0.5, 1, 1, 1, 0.1, 3, parent)
  3808. end
  3809. end
  3810. end
  3811. end
  3812. end
  3813. end
  3814.  
  3815.  
  3816. MagicWave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3817. local prt = ppart(3, workspace, 0, 0, brickcolor, "Effect", vt())
  3818. prt.Anchored = true
  3819. prt.CFrame = cframe
  3820. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  3821. game:GetService("Debris"):AddItem(prt, 5)
  3822. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3})
  3823. end
  3824.  
  3825. MagicWaveThing = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3826. local prt = ppart(3, game.Workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3827. prt.Anchored = true
  3828. prt.CFrame = cframe
  3829. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1051557", vt(0, 0, 0), vt(x1, y1, z1))
  3830. game:GetService("Debris"):AddItem(prt, 5)
  3831. coroutine.resume(coroutine.create(function(Part, Mesh)
  3832. for i = 0, 1, delay do
  3833. swait()
  3834. Part.CFrame = Part.CFrame * euler(0, 0.7, 0)
  3835. Part.Transparency = i
  3836. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3837. end
  3838. Part.Parent = nil
  3839. end
  3840. ), prt, msh)
  3841. end
  3842.  
  3843. MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3844. local prt = ppart(3, game.Workspace, 0, 1, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3845. prt.Anchored = true
  3846. prt.CFrame = cframe
  3847. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3848. game:GetService("Debris"):AddItem(prt, 5)
  3849. coroutine.resume(coroutine.create(function(Part, Mesh)
  3850. for i = 0, 1, delay do
  3851. wait()
  3852. Part.CFrame = Part.CFrame * euler(math.rad(-50, 50), math.rad(-50, 50), math.rad(-50, 50))
  3853. Part.Transparency = i
  3854. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3855. end
  3856. Part.Parent = nil
  3857. end
  3858. ), prt, msh)
  3859. end
  3860.  
  3861. MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3862. local prt = ppart(3, game.Workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3863. prt.Anchored = true
  3864. prt.CFrame = cframe
  3865. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(0.1, 0.1, 0.1))
  3866. game:GetService("Debris"):AddItem(prt, 2)
  3867. coroutine.resume(coroutine.create(function(Part, Mesh)
  3868. for i = 0, 2, delay do
  3869. wait()
  3870. Part.CFrame = Part.CFrame
  3871. Part.Transparency = i
  3872. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3873. end
  3874. Part.Parent = nil
  3875. end
  3876. ), prt, msh)
  3877. end
  3878.  
  3879. MagicCylinder = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3880. local prt = ppart(3, workspace, 0, 0, brickcolor, "Effect", vt(0.2, 0.2, 0.2))
  3881. prt.Anchored = true
  3882. prt.CFrame = cframe
  3883. local msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1))
  3884. game:GetService("Debris"):AddItem(prt, 5)
  3885. coroutine.resume(coroutine.create(function(Part, Mesh)
  3886. for i = 0, 1, delay do
  3887. wait()
  3888. Part.CFrame = Part.CFrame
  3889. Part.Transparency = i
  3890. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3891. end
  3892. Part.Parent = nil
  3893. end
  3894. ), prt, msh)
  3895. end
  3896.  
  3897. Blast = function(parent)
  3898. MagicBlock(BrickColor.new("Really black"), parent.CFrame, 4, 4, 4, 0.2, 0.2, 0.2, 0.01)
  3899. MagicWaveThing(BrickColor.new("Really black"), parent.CFrame, 4, 4, 4, 0.2, 0.2, 0.2, 0.01)
  3900. end
  3901.  
  3902. computeDirection = function(vec)
  3903. local lenSquared = vec.magnitude * vec.magnitude
  3904. local invSqrt = 1 / math.sqrt(lenSquared)
  3905. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  3906. end
  3907.  
  3908. MagniDamage = function(Part, dis, mind, maxd, force, knock)
  3909. for _,c in pairs(workspace:children()) do
  3910. local hum = c:findFirstChild("Humanoid")
  3911. if hum ~= nil then
  3912. local head = c:findFirstChild("Torso")
  3913. if head ~= nil then
  3914. local targ = head.Position - Part.Position
  3915. local mag = targ.magnitude
  3916. if mag <= dis and c.Name ~= Character.Name then
  3917. Damagefunc2(Part, hum.Parent.Torso, mind, maxd, force, knock, RootPart, 0.2, 1)
  3918. end
  3919. end
  3920. end
  3921. end
  3922. end
  3923.  
  3924.  
  3925.  
  3926. function ShowDamage2(Pos, Text, Time, Color)
  3927. local Rate = (1 / 30)
  3928. local Pos = (Pos or Vector3.new(0, 0, 0))
  3929. local Text = (Text or "")
  3930. local Time = (Time or 2)
  3931. local Color = (Color or Color3.new(1, 0, 0))
  3932. local EffectPart = part2("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  3933. EffectPart.Anchored = true
  3934. local BillboardGui = Instance.new("BillboardGui")
  3935. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  3936. BillboardGui.Adornee = EffectPart
  3937. local TextLabel = Instance.new("TextLabel")
  3938. TextLabel.BackgroundTransparency = 1
  3939. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  3940. TextLabel.Text = Text
  3941. TextLabel.TextColor3 = Color
  3942. TextLabel.TextScaled = true
  3943. TextLabel.Font = Enum.Font.ArialBold
  3944. TextLabel.Parent = BillboardGui
  3945. BillboardGui.Parent = EffectPart
  3946. game.Debris:AddItem(EffectPart, (Time + 0.1))
  3947. EffectPart.Parent = game:GetService("Workspace")
  3948. Delay(0, function()
  3949. local Frames = (Time / Rate)
  3950. for Frame = 1, Frames do
  3951. wait(Rate)
  3952. local Percent = (Frame / Frames)
  3953. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  3954. TextLabel.TextTransparency = Percent
  3955. end
  3956. if EffectPart and EffectPart.Parent then
  3957. EffectPart:Destroy()
  3958. end
  3959. end)
  3960. end
  3961.  
  3962. Damagefunc2=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  3963. if hit.Parent==nil then
  3964. return
  3965. end
  3966. local h=hit.Parent:FindFirstChild("Humanoid")
  3967. for _,v in pairs(hit.Parent:children()) do
  3968. if v:IsA("Humanoid") then
  3969. h=v
  3970. end
  3971. end
  3972. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  3973. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  3974. end
  3975. if hit.Parent.className=="Hat" then
  3976. hit=hit.Parent.Parent:findFirstChild("Head")
  3977. end
  3978. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  3979. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  3980. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  3981. return
  3982. end]]
  3983. -- hs(hit,1.2)
  3984. local c=Instance.new("ObjectValue")
  3985. c.Name="creator"
  3986. c.Value=game:service("Players").LocalPlayer
  3987. c.Parent=h
  3988. game:GetService("Debris"):AddItem(c,.5)
  3989. local Damage=math.random(minim,maxim)
  3990. -- h:TakeDamage(Damage)
  3991. local blocked=false
  3992. local block=hit.Parent:findFirstChild("Block")
  3993. if block~=nil then
  3994. print(block.className)
  3995. if block.className=="NumberValue" then
  3996. if block.Value>0 then
  3997. blocked=true
  3998. if decreaseblock==nil then
  3999. block.Value=block.Value-1
  4000. end
  4001. end
  4002. end
  4003. if block.className=="IntValue" then
  4004. if block.Value>0 then
  4005. blocked=true
  4006. if decreaseblock~=nil then
  4007. block.Value=block.Value-1
  4008. end
  4009. end
  4010. end
  4011. end
  4012. if blocked==false then
  4013. -- h:TakeDamage(Damage)
  4014. h.Health=h.Health-Damage
  4015. ShowDamage2((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  4016. else
  4017. h.Health=h.Health-(Damage/2)
  4018. 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)
  4019. end
  4020. if Type=="Knockdown" then
  4021. local hum=hit.Parent.Humanoid
  4022. hum.PlatformStand=true
  4023. coroutine.resume(coroutine.create(function(HHumanoid)
  4024. swait(1)
  4025. HHumanoid.PlatformStand=false
  4026. end),hum)
  4027. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  4028. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  4029. local bodvol=Instance.new("BodyVelocity")
  4030. bodvol.velocity=angle*knockback
  4031. bodvol.P=5000
  4032. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  4033. bodvol.Parent=hit
  4034. local rl=Instance.new("BodyAngularVelocity")
  4035. rl.P=3000
  4036. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  4037. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  4038. rl.Parent=hit
  4039. game:GetService("Debris"):AddItem(bodvol,.5)
  4040. game:GetService("Debris"):AddItem(rl,.5)
  4041. elseif Type=="Normal" then
  4042. local vp=Instance.new("BodyVelocity")
  4043. vp.P=500
  4044. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  4045. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  4046. if KnockbackType==1 then
  4047. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  4048. elseif KnockbackType==2 then
  4049. vp.velocity=Property.CFrame.lookVector*knockback
  4050. end
  4051. if knockback>0 then
  4052. vp.Parent=hit.Parent.Torso
  4053. end
  4054. game:GetService("Debris"):AddItem(vp,.5)
  4055. elseif Type=="Up" then
  4056. local bodyVelocity=Instance.new("BodyVelocity")
  4057. bodyVelocity.velocity=vt(0,60,0)
  4058. bodyVelocity.P=5000
  4059. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  4060. bodyVelocity.Parent=hit
  4061. game:GetService("Debris"):AddItem(bodyVelocity,1)
  4062. local rl=Instance.new("BodyAngularVelocity")
  4063. rl.P=3000
  4064. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  4065. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  4066. rl.Parent=hit
  4067. game:GetService("Debris"):AddItem(rl,.5)
  4068. elseif Type=="Snare" then
  4069. local bp=Instance.new("BodyPosition")
  4070. bp.P=2000
  4071. bp.D=100
  4072. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  4073. bp.position=hit.Parent.Torso.Position
  4074. bp.Parent=hit.Parent.Torso
  4075. game:GetService("Debris"):AddItem(bp,1)
  4076. elseif Type=="Target" then
  4077. local Targetting = false
  4078. if Targetting==false then
  4079. ZTarget=hit.Parent.Torso
  4080. coroutine.resume(coroutine.create(function(Part)
  4081. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  4082. swait(5)
  4083. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  4084. end),ZTarget)
  4085. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  4086. local targetgui=Instance.new("BillboardGui")
  4087. targetgui.Parent=ZTarget
  4088. targetgui.Size=UDim2.new(10,100,10,100)
  4089. local targ=Instance.new("ImageLabel")
  4090. targ.Parent=targetgui
  4091. targ.BackgroundTransparency=1
  4092. targ.Image="rbxassetid://4834067"
  4093. targ.Size=UDim2.new(1,0,1,0)
  4094. cam.CameraType="Scriptable"
  4095. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  4096. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  4097. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  4098. Targetting=true
  4099. RocketTarget=ZTarget
  4100. for i=1,Property do
  4101. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  4102. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  4103. swait()
  4104. end
  4105. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  4106. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  4107. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  4108. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  4109. end
  4110. Targetting=false
  4111. RocketTarget=nil
  4112. targetgui.Parent=nil
  4113. cam.CameraType="Custom"
  4114. end
  4115. end
  4116. local debounce=Instance.new("BoolValue")
  4117. debounce.Name="DebounceHit"
  4118. debounce.Parent=hit.Parent
  4119. debounce.Value=true
  4120. game:GetService("Debris"):AddItem(debounce,Delay)
  4121. c=Instance.new("ObjectValue")
  4122. c.Name="creator"
  4123. c.Value=Player
  4124. c.Parent=h
  4125. game:GetService("Debris"):AddItem(c,.5)
  4126. end
  4127. end
  4128. --<----------------------------------S w o r d C r e a t i o n---------------------------------->--
  4129.  
  4130. user=game:service'Players'.localPlayer
  4131. char=user.Character
  4132. mouse=user:GetMouse()
  4133. m=Instance.new('Model',char)
  4134. iris = m
  4135. game:service'Lighting'.Outlines=false
  4136.  
  4137.  
  4138. local Handle = Instance.new("Part", m)
  4139. Handle:BreakJoints()
  4140. Handle.TopSurface = "Smooth"
  4141. Handle.Transparency = 0 Handle.Material = "SmoothPlastic"
  4142. Handle.Name = 'Handle'
  4143. Handle.BottomSurface = "Smooth"
  4144. Handle.FormFactor = "Custom" Handle.CanCollide = false
  4145. Handle.BrickColor = BrickColor.new("Really black")
  4146. Handle.Size = Vector3.new(0.337107092, 1.12369001, 0.337107033)
  4147. local Handleweld = Instance.new("ManualWeld")
  4148. Handleweld.Part0 = Character["Right Arm"]
  4149. Handleweld.Part1 = Handle Handleweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4150. Handleweld.C1 = CFrame.new(-0.000732421875, -0.0344696045, -0.945665836, -0.999993205, 0, 0, 0, 0, -1, 0, -0.999993086, 0)
  4151. Handleweld.Parent = Character["Right Arm"]
  4152.  
  4153. local HandleMesh = Instance.new("CylinderMesh",Handle)
  4154. HandleMesh.Name = "Mesh"
  4155. HandleMesh.Offset = Vector3.new(0, 0, 0)
  4156. HandleMesh.Scale = Vector3.new(1, 1, 1)
  4157.  
  4158. local Part = Instance.new("Part", m)
  4159. Part:BreakJoints()
  4160. Part.TopSurface = "Smooth"
  4161. Part.Material = "SmoothPlastic"
  4162. Part.Transparency = 0 Part.Name = 'Part'
  4163. Part.BottomSurface = "Smooth"
  4164. Part.FormFactor = "Custom" Part.CanCollide = false
  4165. Part.BrickColor = BrickColor.new("Really black")
  4166. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  4167. local Partweld = Instance.new("ManualWeld")
  4168. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4169. 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)
  4170. Partweld.Parent = Part
  4171. local PartMesh = Instance.new("BlockMesh",Part)
  4172. PartMesh.Name = "Mesh"
  4173. PartMesh.Offset = Vector3.new(0, 0, 0)
  4174. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  4175.  
  4176. local Part = Instance.new("Part", m)
  4177. Part:BreakJoints()
  4178. Part.TopSurface = "Smooth"
  4179. Part.Material = "Neon"
  4180. Part.Transparency = 0 Part.Name = 'Part1'
  4181. Part.BottomSurface = "Smooth"
  4182. Part.FormFactor = "Custom" Part.CanCollide = false
  4183. Part.BrickColor = BrickColor.new("Black")
  4184. Part.Size = Vector3.new(0.337107092, 0.224738032, 0.337107033)
  4185. local Partweld = Instance.new("ManualWeld")
  4186. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4187. Partweld.C1 = CFrame.new(-4.00543213e-005, 0.674224854, -1.33514404e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  4188. Partweld.Parent = Part
  4189. local PartMesh = Instance.new("SpecialMesh",Part)
  4190. PartMesh.MeshId = ""
  4191. PartMesh.MeshType = Enum.MeshType.Sphere PartMesh.Name = "Mesh"
  4192. PartMesh.Offset = Vector3.new(0, 0, 0)
  4193. PartMesh.Scale = Vector3.new(1, 1, 1)
  4194.  
  4195. table.insert(bltb, Part)
  4196.  
  4197. local Part = Instance.new("Part", m)
  4198. Part:BreakJoints()
  4199. Part.TopSurface = "Smooth"
  4200. Part.Material = "SmoothPlastic"
  4201. Part.Transparency = 0 Part.Name = 'Part'
  4202. Part.BottomSurface = "Smooth"
  4203. Part.FormFactor = "Custom" Part.CanCollide = false
  4204. Part.BrickColor = BrickColor.new("Really black")
  4205. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  4206. local Partweld = Instance.new("ManualWeld")
  4207. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4208. Partweld.C1 = CFrame.new(0, -0.730434418, 7.62939453e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  4209. Partweld.Parent = Part
  4210. local PartMesh = Instance.new("CylinderMesh",Part)
  4211. PartMesh.Name = "Mesh"
  4212. PartMesh.Offset = Vector3.new(0, 0, 0)
  4213. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  4214.  
  4215.  
  4216.  
  4217. local Part = Instance.new("Part", m)
  4218. Part:BreakJoints()
  4219. Part.TopSurface = "Smooth"
  4220. Part.Material = "SmoothPlastic"
  4221. Part.Transparency = 0 Part.Name = 'Part'
  4222. Part.BottomSurface = "Smooth"
  4223. Part.FormFactor = "Custom" Part.CanCollide = false
  4224. Part.BrickColor = BrickColor.new("Really black")
  4225. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  4226. local Partweld = Instance.new("ManualWeld")
  4227. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4228. Partweld.C1 = CFrame.new(0, -0.730434418, 7.62939453e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  4229. Partweld.Parent = Part
  4230. local PartMesh = Instance.new("CylinderMesh",Part)
  4231. PartMesh.Name = "Mesh"
  4232. PartMesh.Offset = Vector3.new(0, 0, 0)
  4233. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  4234.  
  4235. local Part = Instance.new("Part", m)
  4236. Part:BreakJoints()
  4237. Part.TopSurface = "Smooth"
  4238. Part.Material = "Neon"
  4239. Part.Transparency = 0 Part.Name = 'Part2'
  4240. Part.BottomSurface = "Smooth"
  4241. Part.FormFactor = "Custom" Part.CanCollide = false
  4242. Part.BrickColor = BrickColor.new("Black")
  4243. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  4244. local Partweld = Instance.new("ManualWeld")
  4245. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4246. Partweld.C1 = CFrame.new(0, -0.955184937, -0.179762959, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  4247. Partweld.Parent = Part
  4248. local PartMesh = Instance.new("CylinderMesh",Part)
  4249. PartMesh.Name = "Mesh"
  4250. PartMesh.Offset = Vector3.new(0, 0, 0)
  4251. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  4252.  
  4253. table.insert(bltb, Part)
  4254.  
  4255. local Part = Instance.new("Part", m)
  4256. Part:BreakJoints()
  4257. Part.TopSurface = "Smooth"
  4258. Part.Material = "SmoothPlastic"
  4259. Part.Transparency = 0 Part.Name = 'Part'
  4260. Part.BottomSurface = "Smooth"
  4261. Part.FormFactor = "Custom" Part.CanCollide = false
  4262. Part.BrickColor = BrickColor.new("Really black")
  4263. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  4264. local Partweld = Instance.new("ManualWeld")
  4265. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4266. 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)
  4267. Partweld.Parent = Part
  4268. local PartMesh = Instance.new("BlockMesh",Part)
  4269. PartMesh.Name = "Mesh"
  4270. PartMesh.Offset = Vector3.new(0, 0, 0)
  4271. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  4272.  
  4273. local Part = Instance.new("Part", m)
  4274. Part:BreakJoints()
  4275. Part.TopSurface = "Smooth"
  4276. Part.Material = "SmoothPlastic"
  4277. Part.Transparency = 0 Part.Name = 'Part'
  4278. Part.BottomSurface = "Smooth"
  4279. Part.FormFactor = "Custom" Part.CanCollide = false
  4280. Part.BrickColor = BrickColor.new("Really black")
  4281. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  4282. local Partweld = Instance.new("ManualWeld")
  4283. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4284. Partweld.C1 = CFrame.new(0.597281575, -0.842823029, -0.00578403473, -0.258815438, 0, 0.965912819, 0, 1, 0, -0.965912819, 0, -0.258815438)
  4285. Partweld.Parent = Part
  4286. local PartMesh = Instance.new("BlockMesh",Part)
  4287. PartMesh.Name = "Mesh"
  4288. PartMesh.Offset = Vector3.new(0, 0, 0)
  4289. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  4290.  
  4291. local Part = Instance.new("Part", m)
  4292. Part:BreakJoints()
  4293. Part.TopSurface = "Smooth"
  4294. Part.Material = "Neon"
  4295. Part.Transparency = 0.5 Part.Name = 'Part3'
  4296. Part.BottomSurface = "Smooth"
  4297. Part.FormFactor = "Custom" Part.CanCollide = false
  4298. Part.BrickColor = BrickColor.new("Black")
  4299. Part.Size = Vector3.new(0.200000003, 4.62046242, 0.449476063)
  4300. local Partweld = Instance.new("ManualWeld")
  4301. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4302. Partweld.C1 = CFrame.new(3.24249268e-005, -3.32155609, -4.76837158e-007, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  4303. Partweld.Parent = Part
  4304. local PartMesh = Instance.new("BlockMesh",Part)
  4305. PartMesh.Name = "Mesh"
  4306. PartMesh.Offset = Vector3.new(0, 0, 0)
  4307. PartMesh.Scale = Vector3.new(0.230356485, 1, 1)
  4308.  
  4309. table.insert(bltb, Part)
  4310.  
  4311. local Part = Instance.new("Part", m)
  4312. Part:BreakJoints()
  4313. Part.TopSurface = "Smooth"
  4314. Part.Material = "SmoothPlastic"
  4315. Part.Transparency = 0 Part.Name = 'Part'
  4316. Part.BottomSurface = "Smooth"
  4317. Part.FormFactor = "Custom" Part.CanCollide = false
  4318. Part.BrickColor = BrickColor.new("Really black")
  4319. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  4320. local Partweld = Instance.new("ManualWeld")
  4321. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4322. Partweld.C1 = CFrame.new(0.597218513, -0.842823029, 0.00602054596, 0.258815646, 0, 0.9659127, 0, 1, 0, -0.9659127, 0, 0.258815646)
  4323. Partweld.Parent = Part
  4324. local PartMesh = Instance.new("BlockMesh",Part)
  4325. PartMesh.Name = "Mesh"
  4326. PartMesh.Offset = Vector3.new(0, 0, 0)
  4327. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  4328.  
  4329. local Part = Instance.new("Part", m)
  4330. Part:BreakJoints()
  4331. Part.TopSurface = "Smooth"
  4332. Part.Material = "Neon"
  4333. Part.Transparency = 0 Part.Name = 'Part4'
  4334. Part.BottomSurface = "Smooth"
  4335. Part.FormFactor = "Custom" Part.CanCollide = false
  4336. Part.BrickColor = BrickColor.new("Black")
  4337. Part.Size = Vector3.new(0.337107092, 1.12369001, 0.200000003)
  4338. local Partweld = Instance.new("ManualWeld")
  4339. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4340. Partweld.C1 = CFrame.new(0, 0, -0.123583317, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  4341. Partweld.Parent = Part
  4342. local PartMesh = Instance.new("CylinderMesh",Part)
  4343. PartMesh.Name = "Mesh"
  4344. PartMesh.Offset = Vector3.new(0, 0, 0)
  4345. PartMesh.Scale = Vector3.new(1, 1, 0.561845064)
  4346.  
  4347. table.insert(bltb, Part)
  4348.  
  4349. local Part = Instance.new("Part", m)
  4350. Part:BreakJoints()
  4351. Part.TopSurface = "Smooth"
  4352. Part.Material = "SmoothPlastic"
  4353. Part.Transparency = 0 Part.Name = 'Part'
  4354. Part.BottomSurface = "Smooth"
  4355. Part.FormFactor = "Custom" Part.CanCollide = false
  4356. Part.BrickColor = BrickColor.new("Really black")
  4357. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  4358. local Partweld = Instance.new("ManualWeld")
  4359. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4360. 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)
  4361. Partweld.Parent = Part
  4362. local PartMesh = Instance.new("BlockMesh",Part)
  4363. PartMesh.Name = "Mesh"
  4364. PartMesh.Offset = Vector3.new(0, 0, 0)
  4365. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  4366.  
  4367. local Part = Instance.new("Part", m)
  4368. Part:BreakJoints()
  4369. Part.TopSurface = "Smooth"
  4370. Part.Material = "Neon"
  4371. Part.Transparency = 0 Part.Name = 'Part5'
  4372. Part.BottomSurface = "Smooth"
  4373. Part.FormFactor = "Custom" Part.CanCollide = false
  4374. Part.BrickColor = BrickColor.new("Black")
  4375. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  4376. local Partweld = Instance.new("ManualWeld")
  4377. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4378. Partweld.C1 = CFrame.new(0, -0.842823029, -0.230328798, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  4379. Partweld.Parent = Part
  4380. local PartMesh = Instance.new("CylinderMesh",Part)
  4381. PartMesh.Name = "Mesh"
  4382. PartMesh.Offset = Vector3.new(0, 0, 0)
  4383. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  4384.  
  4385. table.insert(bltb, Part)
  4386.  
  4387. local Part = Instance.new("Part", m)
  4388. Part:BreakJoints()
  4389. Part.TopSurface = "Smooth"
  4390. Part.Material = "Neon"
  4391. Part.Transparency = 0 Part.Name = 'Part6'
  4392. Part.BottomSurface = "Smooth"
  4393. Part.FormFactor = "Custom" Part.CanCollide = false
  4394. Part.BrickColor = BrickColor.new("Black")
  4395. Part.Size = Vector3.new(0.337107092, 0.200000003, 0.337107033)
  4396. local Partweld = Instance.new("ManualWeld")
  4397. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4398. Partweld.C1 = CFrame.new(0, -0.618034363, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  4399. Partweld.Parent = Part
  4400. local PartMesh = Instance.new("CylinderMesh",Part)
  4401. PartMesh.Name = "Mesh"
  4402. PartMesh.Offset = Vector3.new(0, 0, 0)
  4403. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  4404.  
  4405. table.insert(bltb, Part)
  4406.  
  4407. local Part = Instance.new("Part", m)
  4408. Part:BreakJoints()
  4409. Part.TopSurface = "Smooth"
  4410. Part.Material = "SmoothPlastic"
  4411. Part.Transparency = 0 Part.Name = 'Part'
  4412. Part.BottomSurface = "Smooth"
  4413. Part.FormFactor = "Custom" Part.CanCollide = false
  4414. Part.BrickColor = BrickColor.new("Really black")
  4415. Part.Size = Vector3.new(0.200000003, 4.60922527, 0.224738017)
  4416. local Partweld = Instance.new("ManualWeld")
  4417. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4418. Partweld.C1 = CFrame.new(0, -3.3159256, -1.14440918e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  4419. Partweld.Parent = Part
  4420. local PartMesh = Instance.new("BlockMesh",Part)
  4421. PartMesh.Name = "Mesh"
  4422. PartMesh.Offset = Vector3.new(0, 0, 0)
  4423. PartMesh.Scale = Vector3.new(0.561845124, 1, 1)
  4424.  
  4425. local Part = Instance.new("Part", m)
  4426. Part:BreakJoints()
  4427. Part.TopSurface = "Smooth"
  4428. Part.Material = "Neon"
  4429. Part.Transparency = 0 Part.Name = 'Part7'
  4430. Part.BottomSurface = "Smooth"
  4431. Part.FormFactor = "Custom" Part.CanCollide = false
  4432. Part.BrickColor = BrickColor.new("Black")
  4433. Part.Size = Vector3.new(0.337107092, 0.200000003, 0.337107033)
  4434. local Partweld = Instance.new("ManualWeld")
  4435. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4436. Partweld.C1 = CFrame.new(0, 0.618049622, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  4437. Partweld.Parent = Part
  4438. local PartMesh = Instance.new("CylinderMesh",Part)
  4439. PartMesh.Name = "Mesh"
  4440. PartMesh.Offset = Vector3.new(0, 0, 0)
  4441. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  4442.  
  4443. table.insert(bltb, Part)
  4444.  
  4445. local Part = Instance.new("Part", m)
  4446. Part:BreakJoints()
  4447. Part.TopSurface = "Smooth"
  4448. Part.Material = "Neon"
  4449. Part.Transparency = 0 Part.Name = 'Part8'
  4450. Part.BottomSurface = "Smooth"
  4451. Part.FormFactor = "Custom" Part.CanCollide = false
  4452. Part.BrickColor = BrickColor.new("Black")
  4453. Part.Size = Vector3.new(0.337107092, 1.12369001, 0.200000003)
  4454. local Partweld = Instance.new("ManualWeld")
  4455. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4456. Partweld.C1 = CFrame.new(0, 0, 0.117978811, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  4457. Partweld.Parent = Part
  4458. local PartMesh = Instance.new("CylinderMesh",Part)
  4459. PartMesh.Name = "Mesh"
  4460. PartMesh.Offset = Vector3.new(0, 0, 0)
  4461. PartMesh.Scale = Vector3.new(1, 1, 0.561845064)
  4462.  
  4463. table.insert(bltb, Part)
  4464.  
  4465. local Part = Instance.new("Part", m)
  4466. Part:BreakJoints()
  4467. Part.TopSurface = "Smooth"
  4468. Part.Material = "SmoothPlastic"
  4469. Part.Transparency = 0 Part.Name = 'Part'
  4470. Part.BottomSurface = "Smooth"
  4471. Part.FormFactor = "Custom" Part.CanCollide = false
  4472. Part.BrickColor = BrickColor.new("Really black")
  4473. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.561845005)
  4474. local Partweld = Instance.new("ManualWeld")
  4475. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4476. Partweld.C1 = CFrame.new(0, -0.842823029, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  4477. Partweld.Parent = Part
  4478. local PartMesh = Instance.new("CylinderMesh",Part)
  4479. PartMesh.Name = "Mesh"
  4480. PartMesh.Offset = Vector3.new(0, 0, 0)
  4481. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  4482.  
  4483. local Part = Instance.new("Part", m)
  4484. Part:BreakJoints()
  4485. Part.TopSurface = "Smooth"
  4486. Part.Material = "Neon"
  4487. Part.Transparency = 0 Part.Name = 'Part9'
  4488. Part.BottomSurface = "Smooth"
  4489. Part.FormFactor = "Custom" Part.CanCollide = false
  4490. Part.BrickColor = BrickColor.new("Black")
  4491. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  4492. local Partweld = Instance.new("ManualWeld")
  4493. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4494. 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)
  4495. Partweld.Parent = Part
  4496. local PartMesh = Instance.new("BlockMesh",Part)
  4497. PartMesh.Name = "Mesh"
  4498. PartMesh.Offset = Vector3.new(0, 0, 0)
  4499. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  4500.  
  4501. table.insert(bltb, Part)
  4502.  
  4503. local Part = Instance.new("Part", m)
  4504. Part:BreakJoints()
  4505. Part.TopSurface = "Smooth"
  4506. Part.Material = "SmoothPlastic"
  4507. Part.Transparency = 0 Part.Name = 'Part'
  4508. Part.BottomSurface = "Smooth"
  4509. Part.FormFactor = "Custom" Part.CanCollide = false
  4510. Part.BrickColor = BrickColor.new("Really black")
  4511. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  4512. local Partweld = Instance.new("ManualWeld")
  4513. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4514. 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)
  4515. Partweld.Parent = Part
  4516. local PartMesh = Instance.new("BlockMesh",Part)
  4517. PartMesh.Name = "Mesh"
  4518. PartMesh.Offset = Vector3.new(0, 0, 0)
  4519. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  4520.  
  4521. local Part = Instance.new("Part", m)
  4522. Part:BreakJoints()
  4523. Part.TopSurface = "Smooth"
  4524. Part.Material = "SmoothPlastic"
  4525. Part.Transparency = 0 Part.Name = 'Part'
  4526. Part.BottomSurface = "Smooth"
  4527. Part.FormFactor = "Custom" Part.CanCollide = false
  4528. Part.BrickColor = BrickColor.new("Really black")
  4529. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  4530. local Partweld = Instance.new("ManualWeld")
  4531. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4532. 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)
  4533. Partweld.Parent = Part
  4534. local PartMesh = Instance.new("BlockMesh",Part)
  4535. PartMesh.Name = "Mesh"
  4536. PartMesh.Offset = Vector3.new(0, 0, 0)
  4537. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  4538.  
  4539. local Part = Instance.new("Part", m)
  4540. Part:BreakJoints()
  4541. Part.TopSurface = "Smooth"
  4542. Part.Material = "SmoothPlastic"
  4543. Part.Transparency = 0 Part.Name = 'Part'
  4544. Part.BottomSurface = "Smooth"
  4545. Part.FormFactor = "Custom" Part.CanCollide = false
  4546. Part.BrickColor = BrickColor.new("Really black")
  4547. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  4548. local Partweld = Instance.new("ManualWeld")
  4549. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4550. Partweld.C1 = CFrame.new(0, -0.842823029, -0.393235803, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  4551. Partweld.Parent = Part
  4552. local PartMesh = Instance.new("BlockMesh",Part)
  4553. PartMesh.Name = "Mesh"
  4554. PartMesh.Offset = Vector3.new(0, 0, 0)
  4555. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  4556.  
  4557. local Part = Instance.new("Part", m)
  4558. Part:BreakJoints()
  4559. Part.TopSurface = "Smooth"
  4560. Part.Material = "Neon"
  4561. Part.Transparency = 0 Part.Name = 'Part10'
  4562. Part.BottomSurface = "Smooth"
  4563. Part.FormFactor = "Custom" Part.CanCollide = false
  4564. Part.BrickColor = BrickColor.new("Black")
  4565. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  4566. local Partweld = Instance.new("ManualWeld")
  4567. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4568. 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)
  4569. Partweld.Parent = Part
  4570. local PartMesh = Instance.new("BlockMesh",Part)
  4571. PartMesh.Name = "Mesh"
  4572. PartMesh.Offset = Vector3.new(0, 0, 0)
  4573. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  4574.  
  4575. table.insert(bltb, Part)
  4576.  
  4577. local Part = Instance.new("Part", m)
  4578. Part:BreakJoints()
  4579. Part.TopSurface = "Smooth"
  4580. Part.Material = "Neon"
  4581. Part.Transparency = 0 Part.Name = 'Part11'
  4582. Part.BottomSurface = "Smooth"
  4583. Part.FormFactor = "Custom" Part.CanCollide = false
  4584. Part.BrickColor = BrickColor.new("Black")
  4585. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  4586. local Partweld = Instance.new("ManualWeld")
  4587. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4588. Partweld.C1 = CFrame.new(0, -0.730434418, 0.174170732, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  4589. Partweld.Parent = Part
  4590. local PartMesh = Instance.new("CylinderMesh",Part)
  4591. PartMesh.Name = "Mesh"
  4592. PartMesh.Offset = Vector3.new(0, 0, 0)
  4593. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  4594.  
  4595. table.insert(bltb, Part)
  4596.  
  4597. local Part = Instance.new("Part", m)
  4598. Part:BreakJoints()
  4599. Part.TopSurface = "Smooth"
  4600. Part.Material = "Neon"
  4601. Part.Transparency = 0 Part.Name = 'Part12'
  4602. Part.BottomSurface = "Smooth"
  4603. Part.FormFactor = "Custom" Part.CanCollide = false
  4604. Part.BrickColor = BrickColor.new("Black")
  4605. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  4606. local Partweld = Instance.new("ManualWeld")
  4607. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4608. Partweld.C1 = CFrame.new(-0.59340477, -0.842823029, 0.00790405273, -0.258815557, 0, -0.9659127, 0, 1, 0, 0.9659127, 0, -0.258815557)
  4609. Partweld.Parent = Part
  4610. local PartMesh = Instance.new("BlockMesh",Part)
  4611. PartMesh.Name = "Mesh"
  4612. PartMesh.Offset = Vector3.new(0, 0, 0)
  4613. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  4614.  
  4615. table.insert(bltb, Part)
  4616.  
  4617. local Part = Instance.new("Part", m)
  4618. Part:BreakJoints()
  4619. Part.TopSurface = "Smooth"
  4620. Part.Material = "Neon"
  4621. Part.Transparency = 0 Part.Name = 'Part13'
  4622. Part.BottomSurface = "Smooth"
  4623. Part.FormFactor = "Custom" Part.CanCollide = false
  4624. Part.BrickColor = BrickColor.new("Really black")
  4625. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.382054657)
  4626. local Partweld = Instance.new("ManualWeld")
  4627. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4628. 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)
  4629. Partweld.Parent = Part
  4630. local PartMesh = Instance.new("BlockMesh",Part)
  4631. PartMesh.Name = "Mesh"
  4632. PartMesh.Offset = Vector3.new(0, 0, 0)
  4633. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 1)
  4634.  
  4635. table.insert(bltb, Part)
  4636.  
  4637. local Part = Instance.new("Part", m)
  4638. Part:BreakJoints()
  4639. Part.TopSurface = "Smooth"
  4640. Part.Material = "Neon"
  4641. Part.Transparency = 0 Part.Name = 'Part14'
  4642. Part.BottomSurface = "Smooth"
  4643. Part.FormFactor = "Custom" Part.CanCollide = false
  4644. Part.BrickColor = BrickColor.new("Really black")
  4645. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  4646. local Partweld = Instance.new("ManualWeld")
  4647. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4648. Partweld.C1 = CFrame.new(0.598263144, -0.842823029, 0.00432395935, -0.258815438, 0, 0.965912819, 0, 1, 0, -0.965912819, 0, -0.258815438)
  4649. Partweld.Parent = Part
  4650. local PartMesh = Instance.new("BlockMesh",Part)
  4651. PartMesh.Name = "Mesh"
  4652. PartMesh.Offset = Vector3.new(0, 0, 0)
  4653. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  4654.  
  4655. table.insert(bltb, Part)
  4656.  
  4657. local Part = Instance.new("Part", m)
  4658. Part:BreakJoints()
  4659. Part.TopSurface = "Smooth"
  4660. Part.Material = "Neon"
  4661. Part.Transparency = 0 Part.Name = 'Part15'
  4662. Part.BottomSurface = "Smooth"
  4663. Part.FormFactor = "Custom" Part.CanCollide = false
  4664. Part.BrickColor = BrickColor.new("Really black")
  4665. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.449476063)
  4666. local Partweld = Instance.new("ManualWeld")
  4667. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4668. Partweld.C1 = CFrame.new(0, -0.842823029, 0.398794174, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  4669. Partweld.Parent = Part
  4670. local PartMesh = Instance.new("BlockMesh",Part)
  4671. PartMesh.Name = "Mesh"
  4672. PartMesh.Offset = Vector3.new(0, 0, 0)
  4673. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 1)
  4674.  
  4675. table.insert(bltb, Part)
  4676.  
  4677. local Part = Instance.new("Part", m)
  4678. Part:BreakJoints()
  4679. Part.TopSurface = "Smooth"
  4680. Part.Material = "Neon"
  4681. Part.Transparency = 0 Part.Name = 'Part16'
  4682. Part.BottomSurface = "Smooth"
  4683. Part.FormFactor = "Custom" Part.CanCollide = false
  4684. Part.BrickColor = BrickColor.new("Really black")
  4685. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  4686. local Partweld = Instance.new("ManualWeld")
  4687. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4688. Partweld.C1 = CFrame.new(0, -0.955184937, 0.174145699, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  4689. Partweld.Parent = Part
  4690. local PartMesh = Instance.new("CylinderMesh",Part)
  4691. PartMesh.Name = "Mesh"
  4692. PartMesh.Offset = Vector3.new(0, 0, 0)
  4693. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  4694.  
  4695. table.insert(bltb, Part)
  4696.  
  4697. local Part = Instance.new("Part", m)
  4698. Part:BreakJoints()
  4699. Part.TopSurface = "Smooth"
  4700. Part.Material = "Neon"
  4701. Part.Transparency = 0.5 Part.Name = 'Part17'
  4702. Part.BottomSurface = "Smooth"
  4703. Part.FormFactor = "Custom" Part.CanCollide = false
  4704. Part.BrickColor = BrickColor.new("Really black")
  4705. Part.Size = Vector3.new(0.200000003, 1.01132107, 0.449476063)
  4706. local Partweld = Instance.new("ManualWeld")
  4707. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4708. 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)
  4709. Partweld.Parent = Part
  4710. local PartMesh = Instance.new("SpecialMesh",Part)
  4711. PartMesh.MeshId = ""
  4712. PartMesh.MeshType = Enum.MeshType.Wedge PartMesh.Name = "Mesh"
  4713. PartMesh.Offset = Vector3.new(0, 0, 0)
  4714. PartMesh.Scale = Vector3.new(0.221366972, 1, 1)
  4715.  
  4716. table.insert(bltb, Part)
  4717.  
  4718. local Part = Instance.new("Part", m)
  4719. Part:BreakJoints()
  4720. Part.TopSurface = "Smooth"
  4721. Part.Material = "SmoothPlastic"
  4722. Part.Transparency = 0 Part.Name = 'Part'
  4723. Part.BottomSurface = "Smooth"
  4724. Part.FormFactor = "Custom" Part.CanCollide = false
  4725. Part.BrickColor = BrickColor.new("Really black")
  4726. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  4727. local Partweld = Instance.new("ManualWeld")
  4728. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4729. Partweld.C1 = CFrame.new(0, -0.955184937, -2.38418579e-007, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  4730. Partweld.Parent = Part
  4731. local PartMesh = Instance.new("CylinderMesh",Part)
  4732. PartMesh.Name = "Mesh"
  4733. PartMesh.Offset = Vector3.new(0, 0, 0)
  4734. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  4735.  
  4736. local Part = Instance.new("Part", m)
  4737. Part:BreakJoints()
  4738. Part.TopSurface = "Smooth"
  4739. Part.Material = "Neon"
  4740. Part.Transparency = 0 Part.Name = 'Part18'
  4741. Part.BottomSurface = "Smooth"
  4742. Part.FormFactor = "Custom" Part.CanCollide = false
  4743. Part.BrickColor = BrickColor.new("Black")
  4744. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  4745. local Partweld = Instance.new("ManualWeld")
  4746. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4747. Partweld.C1 = CFrame.new(0, -0.842823029, 0.230348349, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  4748. Partweld.Parent = Part
  4749. local PartMesh = Instance.new("CylinderMesh",Part)
  4750. PartMesh.Name = "Mesh"
  4751. PartMesh.Offset = Vector3.new(0, 0, 0)
  4752. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  4753.  
  4754. table.insert(bltb, Part)
  4755.  
  4756. local Part = Instance.new("Part", m)
  4757. Part:BreakJoints()
  4758. Part.TopSurface = "Smooth"
  4759. Part.Material = "Neon"
  4760. Part.Transparency = 0 Part.Name = 'Part19'
  4761. Part.BottomSurface = "Smooth"
  4762. Part.FormFactor = "Custom" Part.CanCollide = false
  4763. Part.BrickColor = BrickColor.new("Black")
  4764. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  4765. local Partweld = Instance.new("ManualWeld")
  4766. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4767. Partweld.C1 = CFrame.new(0, -0.730434418, -0.179762959, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  4768. Partweld.Parent = Part
  4769. local PartMesh = Instance.new("CylinderMesh",Part)
  4770. PartMesh.Name = "Mesh"
  4771. PartMesh.Offset = Vector3.new(0, 0, 0)
  4772. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  4773.  
  4774. table.insert(bltb, Part)
  4775.  
  4776. local hitbox = Instance.new("Part", m)
  4777. hitbox:BreakJoints()
  4778. hitbox.TopSurface = "Smooth"
  4779. hitbox.Material = "SmoothPlastic"
  4780. hitbox.Transparency = 1 hitbox.Name = 'hitbox'
  4781. hitbox.BottomSurface = "Smooth"
  4782. hitbox.FormFactor = "Custom" hitbox.CanCollide = false
  4783. hitbox.BrickColor = BrickColor.new("Really black")
  4784. hitbox.Size = Vector3.new(0.200000003, 5.60922527, 0.624738038)
  4785. local hitboxweld = Instance.new("ManualWeld")
  4786. hitboxweld.Part0 = Handle hitboxweld.Part1 = hitbox hitboxweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4787. hitboxweld.C1 = CFrame.new(0, -3.8159256, -1.12056732e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  4788. hitboxweld.Parent = hitbox
  4789. local hitboxMesh = Instance.new("BlockMesh",hitbox)
  4790. hitboxMesh.Name = "Mesh"
  4791. hitboxMesh.Offset = Vector3.new(0, 0, 0)
  4792. hitboxMesh.Scale = Vector3.new(0.561845124, 1, 1)
  4793.  
  4794. local Wedge = Instance.new("WedgePart", m)
  4795. Wedge:BreakJoints()
  4796. Wedge.TopSurface = "Smooth"
  4797. Wedge.Material = "SmoothPlastic"
  4798. Wedge.Transparency = 0 Wedge.Name = 'Wedge'
  4799. Wedge.BottomSurface = "Smooth"
  4800. Wedge.FormFactor = "Custom" Wedge.CanCollide = false
  4801. Wedge.BrickColor = BrickColor.new("Really black")
  4802. Wedge.Size = Vector3.new(0.200000003, 0.561845124, 0.224738076)
  4803. local Wedgeweld = Instance.new("ManualWeld")
  4804. Wedgeweld.Part0 = Handle Wedgeweld.Part1 = Wedge Wedgeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4805. 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)
  4806. Wedgeweld.Parent = Wedge
  4807. local WedgeMesh = Instance.new("SpecialMesh",Wedge)
  4808. WedgeMesh.MeshId = ""
  4809. WedgeMesh.MeshType = Enum.MeshType.Wedge WedgeMesh.Name = "Mesh"
  4810. WedgeMesh.Offset = Vector3.new(0, 0, 0)
  4811. WedgeMesh.Scale = Vector3.new(0.561845124, 1, 1)
  4812.  
  4813.  
  4814.  
  4815. EffectPart2 = part2(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Institutional white", "EffectPart2", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  4816. 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))
  4817. EffectPart = part2(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Institutional white", "EffectPart", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  4818. 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))
  4819. mesh("BlockMesh", EffectPart, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4820.  
  4821.  
  4822.  
  4823. coroutine.resume(coroutine.create(function()
  4824. while wait() do
  4825. for i,v in pairs(bltb) do
  4826. if v:IsA("Part") or v:IsA("WedgePart") then
  4827. UpdatePart(v,("Really black"))
  4828.  
  4829. end
  4830. end
  4831. end
  4832. end)) --work
  4833.  
  4834. local function weldBetween(a, b, name)
  4835. local weld = Instance.new("ManualWeld")
  4836. weld.Part0 = a
  4837. weld.Part1 = b
  4838. weld.C0 = CFrame.new()
  4839. weld.C1 = b.CFrame:inverse() * a.CFrame
  4840. weld.Parent = a
  4841. weld.Name=name or 'weldb1'
  4842. weld.Parent=m
  4843. return weld;
  4844. end
  4845.  
  4846. Mesh2 = function(par,num,x,y,z)
  4847. local msh = _
  4848. if num == 1 then
  4849. msh = Instance.new("CylinderMesh",par)
  4850. elseif num == 2 then
  4851. msh = Instance.new("SpecialMesh",par)
  4852. msh.MeshType = 3
  4853. elseif num == 3 then
  4854. msh = Instance.new("BlockMesh",par)
  4855. elseif num == 4 then
  4856. msh = Instance.new("SpecialMesh",par)
  4857. msh.MeshType = "Torso"
  4858. elseif type(num) == 'string' then
  4859. msh = Instance.new("SpecialMesh",par)
  4860. msh.MeshId = num
  4861. end
  4862. msh.Scale = Vector3.new(x,y,z)
  4863. return msh
  4864. end
  4865.  
  4866. Weld2 = function(p0,p1,x,y,z,rx,ry,rz,par)
  4867. local w = Instance.new('Motor',par or p0)
  4868. w.Part0 = p0
  4869. w.Part1 = p1
  4870. w.C1 = CFrame.new(x,y,z)*CFrame.Angles(rx,ry,rz)
  4871. return w
  4872. end
  4873.  
  4874.  
  4875. --------------------[[ Outfit Begin ]]--------------------
  4876. for _,v in pairs(Character:GetChildren()) do if v.ClassName=="Hat" then v:remove() end end
  4877. ---Hats---
  4878. local hat = part(3,Character,0,0,BrickColor.new("Really black"),"Hood",vt(0.5,1,1.02))
  4879. Mesh2(hat,'http://www.roblox.com/asset/?id=16150814',1.05,1.05,1.05) --hood
  4880. Weld2(Character.Head,hat,0,-.25,0,0,0,0,hat)
  4881. ---Gaunlet----
  4882. AesthPart = function(model, wldpar, reflec, trans, col, name, neon, meshh, mshtype, mshtxt, x1, y1, z1, ceef)
  4883. prt = part(3, model, reflec, trans, BrickColor.new(col), name, vt())
  4884. prt.Material = neon
  4885. msh = mesh(meshh, prt, mshtype, mshtxt, vt(0, 0, 0), vt(x1, y1, z1))
  4886. wld = weld(prt1, prt, wldpar, ceef)
  4887. v = it("NumberValue", prt)
  4888. v.Value = trans
  4889. v.Name = "MainTransparency"
  4890. return prt, msh, wld
  4891. end
  4892. mr = math.rad
  4893. NewCol = BrickColor.new("Really black").Color
  4894. NewCol2 = BrickColor.new("Black").Color
  4895. NewCol3 = BrickColor.new("Really black").Color
  4896. NewCol3aa = BrickColor.new("Black").Color
  4897. NewCol4 = BrickColor.new("Black").Color
  4898. NewCol5 = BrickColor.new("Black").Color
  4899. NewCol6 = BrickColor.new("Really black").Color
  4900. local modelzorz = Instance.new("Model")
  4901. modelzorz.Parent = Character
  4902. modelzorz.Name = "Gaunlet"
  4903. local handle = part(3, modelzorz, 0, 1, BrickColor.new(NewCol), "Handle", vt())
  4904. prt1 = part(3, modelzorz, 0, 0, BrickColor.new("Black"), "Part01", vt())
  4905. msh1 = mesh("BlockMesh", prt1, "", "", vt(0, 0, 0), vt(5.25, 5, 5.25))
  4906. local handlewld = weld(handle, handle, RightArm, euler(0, 0, 0) * cf(0, 0, 0))
  4907. local wld1 = weld(prt1, prt1, handle, cf(0, 0, 0) * euler(0, 0, 0))
  4908. prt4, msh4, wld4 = AesthPart(modelzorz, prt1, 0, 0, NewCol3, "Part04", "Neon", "SpecialMesh", "Torso", "nil", 3, 0.75, 1.5, euler(mr(90), 0, 0) * euler(0, mr(90), 0) * cf(-0.575, -0.825, 0))
  4909. prt5, msh5, wld5 = AesthPart(modelzorz, prt1, 0, 0, "Eggplant", "Part05", "Metal", "SpecialMesh", "Sphere", "nil", 0.475, 0.15, 0.675, euler(mr(90), 0, 0) * euler(0, mr(90), 0) * cf(-0.65, -0.825, 0))
  4910. prt6, msh6, wld6 = AesthPart(modelzorz, prt1, 0, 0, NewCol4, "Part06", "Neon", "SpecialMesh", "Sphere", "nil", 0.4, 0.25, 0.6, euler(mr(90), 0, 0) * euler(0, mr(90), 0) * cf(-0.65, -0.825, 0))
  4911. prt9, msh9, wld9 = AesthPart(modelzorz, prt1, 0, 0, NewCol2, "Part09", "Neon", "SpecialMesh", "FileMesh", "19251107", 0.1, 0.1, 0.1, euler(mr(90), 0, 0) * euler(0, mr(90), 0) * cf(-0.65, -0.825, 0))
  4912. prt12, msh12, wld12 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part12", "Neon", "BlockMesh", "nil", "nil", 5.25, 4, 1, euler(0, mr(90), 0) * cf(-0.6, 0.375, 0))
  4913. prt13, msh13, wld13 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part13", "Neon", "SpecialMesh", "Torso", "nil", 4, 3.05, 0.475, euler(0, mr(90), 0) * euler(0, 0, -mr(10)) * cf(-0.601, -0.316, 0))
  4914. prt14, msh14, wld14 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol3, "Part14", "Neon", "BlockMesh", "nil", "nil", 2.5, 5, 1, euler(0, mr(90), 0) * euler(0, 0, -mr(10)) * cf(-0.676, -0.162, 0))
  4915. prt15, msh15, wld15 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol3, "Part15", "Neon", "SpecialMesh", "Wedge", "nil", 5, 0.25, 1.25, euler(0, 0, mr(80)) * euler(0, 0, 0) * cf(-0.799, -0.184, 0.125))
  4916. prt16, msh16, wld16 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol3, "Part16", "Neon", "SpecialMesh", "Wedge", "nil", 5, 0.25, 1.25, euler(0, 0, mr(100)) * euler(mr(180), 0, 0) * cf(-0.799, -0.184, -0.125))
  4917. prt17, msh17, wld17 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part17", "Neon", "SpecialMesh", "Torso", "nil", 4.5, 4.5, 0.4, euler(0, mr(90), 0) * euler(0, 0, 0) * cf(-0.55, -0.475, 0))
  4918. prt18, msh18, wld18 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part18", "Neon", "SpecialMesh", "Wedge", "nil", 5.25, 1, 0.25, euler(0, mr(-90), 0) * euler(mr(180), 0, 0) * cf(-0.525, 0.875, 0))
  4919. prt19, msh19, wld19 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part19", "Neon", "SpecialMesh", "Wedge", "nil", 5.25, 1, 0.5, euler(0, mr(90), 0) * euler(mr(180), 0, 0) * cf(-0.65, 0.875, 0))
  4920. prt20, msh20, wld20 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part20", "Neon", "BlockMesh", "nil", "nil", 5.25, 1, 0.25, euler(0, mr(90), 0) * euler(0, 0, 0) * cf(-0.575, 0.875, 0))
  4921. prt21, msh21, wld21 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part21", "Neon", "SpecialMesh", "Torso", "nil", 1.25, 1.5, 1.25, euler(mr(180), 0, 0) * euler(0, 0, 0) * cf(-0.675, 0.975, 0))
  4922. prt24, msh24, wld24 = AesthPart(modelzorz, prt1, 0, 0, NewCol5, "Part24", "Neon", "SpecialMesh", "Torso", "nil", 3.5, 2.5, 1.5, euler(0, mr(90), 0) * euler(mr(180), 0, 0) * cf(-0.7, 0.575, 0))
  4923. prt25, msh25, wld25 = AesthPart(modelzorz, prt1, 0, 0, NewCol5, "Part25", "Neon", "SpecialMesh", "FileMesh", "9756362", 0.5, 0.3, 1.2, euler(mr(90), mr(90), 0) * euler(0, 0, mr(10)) * cf(-0.945, 0.378, 0))
  4924. prt26, msh26, wld26 = AesthPart(modelzorz, prt1, 0, 0, NewCol5, "Part26", "Neon", "SpecialMesh", "FileMesh", "170786197", 0.625, 0.4, 0.5, euler(mr(90), mr(90), 0) * euler(0, 0, mr(-10)) * cf(-0.845, 0.428, 0))
  4925. prt27, msh27, wld27 = AesthPart(modelzorz, prt1, 0, 0, NewCol5, "Part27", "Neon", "SpecialMesh", "FileMesh", "170786197", 0.525, 0.3, 0.75, euler(mr(90), mr(90), 0) * euler(0, 0, mr(-10)) * cf(-0.73, 0.174, 0))
  4926. prt28, msh28, wld28 = AesthPart(modelzorz, prt1, 0, 0, NewCol, "Part28", "Metal", "SpecialMesh", "Sphere", "nil", 0.6, 0.125, 0.85, euler(0, mr(95.221), mr(113.261)) * euler(0, mr(-19.53), 0) * cf(-1.058, 0.687, 0.252))
  4927. prt29, msh29, wld29 = AesthPart(modelzorz, prt1, 0, 0, NewCol4, "Part29", "Neon", "SpecialMesh", "Sphere", "nil", 0.5, 0.25, 0.75, euler(0, mr(95.221), mr(113.261)) * euler(0, mr(-19.53), 0) * cf(-1.058, 0.687, 0.252))
  4928. prt30, msh30, wld30 = AesthPart(modelzorz, prt1, 0, 0, NewCol, "Part30", "Metal", "SpecialMesh", "Sphere", "nil", 0.6, 0.125, 0.85, euler(0, mr(84.779), mr(113.261)) * euler(0, mr(19.53), 0) * cf(-1.058, 0.687, -0.252))
  4929. prt31, msh31, wld31 = AesthPart(modelzorz, prt1, 0, 0, NewCol4, "Part31", "Neon", "SpecialMesh", "Sphere", "nil", 0.5, 0.25, 0.75, euler(0, mr(84.779), mr(113.261)) * euler(0, mr(19.53), 0) * cf(-1.058, 0.687, -0.252))
  4930. prt32, msh32, wld32 = AesthPart(modelzorz, prt1, 0, 0, NewCol, "Part32", "Metal", "SpecialMesh", "Sphere", "nil", 0.275, 0.1, 0.475, euler(0, mr(94.208), mr(114.079)) * euler(0, mr(-24.666), 0) * cf(-1.093, 0.693, 0.137))
  4931. prt33, msh33, wld33 = AesthPart(modelzorz, prt1, 0, 0, NewCol4, "Part33", "Neon", "SpecialMesh", "Sphere", "nil", 0.2, 0.25, 0.4, euler(0, mr(94.208), mr(114.079)) * euler(0, mr(-24.666), 0) * cf(-1.093, 0.693, 0.137))
  4932. prt34, msh34, wld34 = AesthPart(modelzorz, prt1, 0, 0, NewCol, "Part34", "Metal", "SpecialMesh", "Sphere", "nil", 0.275, 0.1, 0.475, euler(0, mr(85.792), mr(114.079)) * euler(0, mr(24.666), 0) * cf(-1.093, 0.693, -0.137))
  4933. prt35, msh35, wld35 = AesthPart(modelzorz, prt1, 0, 0, NewCol4, "Part35", "Neon", "SpecialMesh", "Sphere", "nil", 0.2, 0.25, 0.4, euler(0, mr(85.792), mr(114.079)) * euler(0, mr(24.666), 0) * cf(-1.093, 0.693, -0.137))
  4934. for i = -0.225, 0.226, 0.45 do
  4935. prt36, msh36, wld36 = AesthPart(modelzorz, prt1, 0, 0, NewCol6, "Part36", "Neon", "SpecialMesh", "FileMesh", "9756362", 0.225, 0.225, 0.225, euler(0, 0, mr(-10)) * euler(0, 0, 0) * cf(-0.729, 0.85, i))
  4936. prt37, msh37, wld37 = AesthPart(modelzorz, prt1, 0, 0, NewCol2, "Part37", "Neon", "BlockMesh", "nil", "nil", 0.7, 1.5, 1, euler(0, mr(90), 0) * euler(0, 0, mr(-10)) * cf(-0.751, 0.973, i))
  4937. prt38, msh38, wld38 = AesthPart(modelzorz, prt1, 0, 0, NewCol2, "Part38", "Neon", "SpecialMesh", "Wedge", "nil", 0.7, 1.25, 1, euler(0, mr(-90), 0) * euler(0, 0, mr(170)) * cf(-0.799, 1.244, i))
  4938. prt39, msh39, wld39 = AesthPart(modelzorz, prt1, 0, 0, NewCol2, "Part39", "Neon", "BlockMesh", "nil", "nil", 0.6, 1.5, 1, euler(0, mr(90), 0) * euler(0, 0, mr(0)) * cf(-0.772, 1.239, i))
  4939. prt40, msh40, wld40 = AesthPart(modelzorz, prt1, 0, 0, NewCol2, "Part40", "Neon", "SpecialMesh", "Wedge", "nil", 0.6, 1.25, 1, euler(0, mr(-90), 0) * euler(0, 0, mr(180)) * cf(-0.772, 1.514, i))
  4940. prt41, msh41, wld41 = AesthPart(modelzorz, prt1, 0, 0, NewCol2, "Part41", "Neon", "BlockMesh", "nil", "nil", 0.5, 2, 1, euler(0, mr(90), 0) * euler(0, 0, mr(10)) * cf(-0.738, 1.559, i))
  4941. prt42, msh42, wld42 = AesthPart(modelzorz, prt1, 0, 0, NewCol2, "Part42", "Neon", "SpecialMesh", "Wedge", "nil", 0.5, 1.25, 1, euler(0, mr(-90), 0) * euler(0, 0, mr(190)) * cf(-0.682, 1.879, i))
  4942. prt43, msh43, wld43 = AesthPart(modelzorz, prt1, 0, 0, NewCol2, "Part43", "Neon", "BlockMesh", "nil", "nil", 0.4, 2.5, 1, euler(0, mr(90), 0) * euler(0, 0, mr(20)) * cf(-0.624, 1.939, i))
  4943. prt44, msh44, wld44 = AesthPart(modelzorz, prt1, 0, 0, NewCol2, "Part44", "Neon", "SpecialMesh", "Wedge", "nil", 0.4, 1.25, 1, euler(0, mr(-90), 0) * euler(0, 0, mr(200)) * cf(-0.496, 2.291, i))
  4944. prt45, msh45, wld45 = AesthPart(modelzorz, prt1, 0, 0, NewCol2, "Part45", "Neon", "BlockMesh", "nil", "nil", 0.3, 2, 1, euler(0, mr(90), 0) * euler(0, 0, mr(35)) * cf(-0.428, 2.307, i))
  4945. prt46, msh46, wld46 = AesthPart(modelzorz, prt1, 0, 0, NewCol2, "Part46", "Neon", "SpecialMesh", "Wedge", "nil", 0.3, 2.25, 1, euler(0, mr(-90), 0) * euler(0, 0, mr(215)) * cf(-0.184, 2.655, i))
  4946. end
  4947. ---End---
  4948. partic = Instance.new("ParticleEmitter",Head)
  4949. partic.Color = ColorSequence.new(Color3.new(15/225,0,225/45),Color3.new(20/255,0,205/255))
  4950. partic.LightEmission = .95
  4951. partic.VelocityInheritance = 0
  4952. partic.Rate = 300
  4953. partic.Texture = "rbxassetid:// 241650934" --56561915392079955
  4954. partic.Lifetime = NumberRange.new(0.1,0.2)
  4955. partic.RotSpeed = NumberRange.new(100,100)
  4956. partic.Speed = NumberRange.new(2,6)
  4957. partic.Enabled = true
  4958. partic.LockedToPart = true
  4959.  
  4960. Coat = Instance.new("Part",Character)
  4961. Coat.TopSurface = "Smooth"
  4962. Coat.BottomSurface = "Smooth"
  4963. Coat.Material = "Neon"
  4964. Coat.Size = Vector3.new(1.05, 1.05, 1.05)
  4965. Coat.CanCollide = false
  4966. Coat.Transparency = 0
  4967. Coat.BrickColor = BrickColor.new("Institutional white")
  4968. CoatMesh = Instance.new("SpecialMesh", Coat)
  4969. CoatMesh.MeshType = "Brick"
  4970. CoatMesh.Scale = Vector3.new(2,1.8,1.1)
  4971. CoatWeld = Instance.new("Weld",Character)
  4972. CoatWeld.Part0 = Character.Torso
  4973. CoatWeld.Part1 = Coat
  4974. CoatWeld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  4975.  
  4976. CoatRA = Instance.new("Part",Character)
  4977. CoatRA.TopSurface = "Smooth"
  4978. CoatRA.BottomSurface = "Smooth"
  4979. CoatRA.Size = Vector3.new(1, 1, 1)
  4980. CoatRA.CanCollide = false
  4981. CoatRA.Transparency = 0
  4982. CoatRA.Material = "Neon"
  4983. CoatRA.BrickColor = BrickColor.new("Institutional white")
  4984. CoatRAMesh = Instance.new("SpecialMesh", CoatRA)
  4985. CoatRAMesh.MeshType = "Brick"
  4986. CoatRAMesh.Scale = Vector3.new(1.1,1.8,1.1)
  4987. CoatRAWeld = Instance.new("Weld",Character)
  4988. CoatRAWeld.Part0 = Character["Right Arm"]
  4989. CoatRAWeld.Part1 = CoatRA
  4990. CoatRAWeld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  4991.  
  4992. CoatLA = Instance.new("Part",Character)
  4993. CoatLA.TopSurface = "Smooth"
  4994. CoatLA.BottomSurface = "Smooth"
  4995. CoatLA.Size = Vector3.new(1, 1, 1)
  4996. CoatLA.CanCollide = false
  4997. CoatLA.Transparency = 0
  4998. CoatLA.Material = "Neon"
  4999. CoatLA.BrickColor = BrickColor.new("Institutional white")
  5000. CoatLAMesh = Instance.new("SpecialMesh", CoatLA)
  5001. CoatLAMesh.MeshType = "Brick"
  5002. CoatLAMesh.Scale = Vector3.new(1.1,1.8,1.1)
  5003. CoatLAWeld = Instance.new("Weld",Character)
  5004. CoatLAWeld.Part0 = Character["Left Arm"]
  5005. CoatLAWeld.Part1 = CoatLA
  5006. CoatLAWeld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  5007.  
  5008. CoatRL = Instance.new("Part",Character)
  5009. CoatRL.TopSurface = "Smooth"
  5010. CoatRL.BottomSurface = "Smooth"
  5011. CoatRL.Size = Vector3.new(1, 1, 1)
  5012. CoatRL.CanCollide = false
  5013. CoatRL.Transparency = 0
  5014. CoatRL.Material = "Neon"
  5015. CoatRL.BrickColor = BrickColor.new("Institutional white")
  5016. CoatRLMesh = Instance.new("SpecialMesh", CoatRL)
  5017. CoatRLMesh.MeshType = "Brick"
  5018. CoatRLMesh.Scale = Vector3.new(1.1,0.5,1.1)
  5019. CoatRLWeld = Instance.new("Weld",Character)
  5020. CoatRLWeld.Part0 = Character["Right Leg"]
  5021. CoatRLWeld.Part1 = CoatRL
  5022. CoatRLWeld.C1 = CFrame.new(0, -0.7, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  5023.  
  5024. CoatLL = Instance.new("Part",Character)
  5025. CoatLL.TopSurface = "Smooth"
  5026. CoatLL.BottomSurface = "Smooth"
  5027. CoatLL.Size = Vector3.new(1, 1, 1)
  5028. CoatLL.CanCollide = false
  5029. CoatLL.Transparency = 0
  5030. CoatLL.Material = "Neon"
  5031. CoatLL.BrickColor = BrickColor.new("Institutional white")
  5032. CoatLLMesh = Instance.new("SpecialMesh", CoatLL)
  5033. CoatLLMesh.MeshType = "Brick"
  5034. CoatLLMesh.Scale = Vector3.new(1.1,0.5,1.1)
  5035. CoatLLWeld = Instance.new("Weld",Character)
  5036. CoatLLWeld.Part0 = Character["Left Leg"]
  5037. CoatLLWeld.Part1 = CoatLL
  5038. CoatLLWeld.C1 = CFrame.new(0, -0.7, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  5039.  
  5040. CoatRightDesign = Instance.new("Part",Character)
  5041. CoatRightDesign.TopSurface = "Smooth"
  5042. CoatRightDesign.BottomSurface = "Smooth"
  5043. CoatRightDesign.Size = Vector3.new(1, 1, 1)
  5044. CoatRightDesign.CanCollide = false
  5045. CoatRightDesign.Material = "Neon"
  5046. CoatRightDesign.Transparency = 0
  5047. CoatRightDesign.BrickColor = BrickColor.new("Institutional white")
  5048. CoatRightDesignMesh = Instance.new("SpecialMesh", CoatRightDesign)
  5049. CoatRightDesignMesh.MeshType = "Wedge"
  5050. CoatRightDesignMesh.Scale = Vector3.new(1.1,0.8,1.1)
  5051. CoatRightDesignWeld = Instance.new("Weld",Character)
  5052. CoatRightDesignWeld.Part0 = Character["Right Leg"]
  5053. CoatRightDesignWeld.Part1 = CoatRightDesign
  5054. CoatRightDesignWeld.C1 = CFrame.new(0, 0.1, 0)*CFrame.fromEulerAnglesXYZ(1.6, -1.6, 0)
  5055.  
  5056. CoatLeftDesign = Instance.new("Part",Character)
  5057. CoatLeftDesign.TopSurface = "Smooth"
  5058. CoatLeftDesign.BottomSurface = "Smooth"
  5059. CoatLeftDesign.Size = Vector3.new(1, 1, 1)
  5060. CoatLeftDesign.CanCollide = false
  5061. CoatLeftDesign.Material = "Neon"
  5062. CoatLeftDesign.Transparency = 0
  5063. CoatLeftDesign.BrickColor = BrickColor.new("Institutional white")
  5064. CoatLeftDesignMesh = Instance.new("SpecialMesh", CoatLeftDesign)
  5065. CoatLeftDesignMesh.MeshType = "Wedge"
  5066. CoatLeftDesignMesh.Scale = Vector3.new(1.1,0.8,1.1)
  5067. CoatLeftDesignWeld = Instance.new("Weld",Character)
  5068. CoatLeftDesignWeld.Part0 = Character["Left Leg"]
  5069. CoatLeftDesignWeld.Part1 = CoatLeftDesign
  5070. CoatLeftDesignWeld.C1 = CFrame.new(0, 0.1, 0)*CFrame.fromEulerAnglesXYZ(1.6, 1.6, 0)
  5071. nooutline(CoatLeftDesign)
  5072.  
  5073. coroutine.resume(coroutine.create(function()
  5074. while wait() do
  5075.  
  5076. UpdatePart(hat,("Really black"))
  5077. UpdatePart(Coat,("Really black"))
  5078. UpdatePart(CoatRA,("Really black"))
  5079. UpdatePart(CoatLA,("Really black"))
  5080. UpdatePart(CoatLL,("Really black"))
  5081. UpdatePart(CoatRL,("Really black"))
  5082. UpdatePart(CoatRightDesign,("Really black"))
  5083. UpdatePart(CoatLeftDesign,("Really black"))
  5084.  
  5085. end
  5086. end))
  5087.  
  5088. --------------------[[ Outfit End ]]--------------------
  5089.  
  5090.  
  5091. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  5092. if hit.Parent==nil then
  5093. return
  5094. end
  5095. h=hit.Parent:FindFirstChild("Humanoid")
  5096. for _,v in pairs(hit.Parent:children()) do
  5097. if v:IsA("Humanoid") then
  5098. h=v
  5099. end
  5100. end
  5101. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  5102. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  5103. end
  5104. if hit.Parent.className=="Hat" then
  5105. hit=hit.Parent.Parent:findFirstChild("Head")
  5106. end
  5107. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  5108. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  5109. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  5110. return
  5111. end]]
  5112. -- hs(hit,1.2)
  5113. c=Instance.new("ObjectValue")
  5114. c.Name="creator"
  5115. c.Value=game:service("Players").LocalPlayer
  5116. c.Parent=h
  5117. game:GetService("Debris"):AddItem(c,.5)
  5118. Damage=math.random(minim,maxim)
  5119. -- h:TakeDamage(Damage)
  5120. blocked=false
  5121. block=hit.Parent:findFirstChild("Block")
  5122. if block~=nil then
  5123. print(block.className)
  5124. if block.className=="NumberValue" then
  5125. if block.Value>0 then
  5126. blocked=true
  5127. if decreaseblock==nil then
  5128. block.Value=block.Value-1
  5129. end
  5130. end
  5131. end
  5132. if block.className=="IntValue" then
  5133. if block.Value>0 then
  5134. blocked=true
  5135. if decreaseblock~=nil then
  5136. block.Value=block.Value-1
  5137. end
  5138. end
  5139. end
  5140. end
  5141. if blocked==false then
  5142. -- h:TakeDamage(Damage)
  5143. h.Health=h.Health-Damage
  5144. --showDamage(hit.Parent,Damage,.5,BrickColor.new("Navy blue"))
  5145. 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)
  5146. else
  5147. h.Health=h.Health-(Damage/2)
  5148. 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)
  5149. end
  5150. if Type=="Knockdown" then
  5151. hum=hit.Parent.Humanoid
  5152. hum.PlatformStand=true
  5153. coroutine.resume(coroutine.create(function(HHumanoid)
  5154. swait(1)
  5155. HHumanoid.PlatformStand=false
  5156. end),hum)
  5157. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  5158. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  5159. local bodvol=Instance.new("BodyVelocity")
  5160. bodvol.velocity=angle*knockback
  5161. bodvol.P=5000
  5162. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  5163. bodvol.Parent=hit
  5164. rl=Instance.new("BodyAngularVelocity")
  5165. rl.P=3000
  5166. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  5167. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  5168. rl.Parent=hit
  5169. game:GetService("Debris"):AddItem(bodvol,.5)
  5170. game:GetService("Debris"):AddItem(rl,.5)
  5171. elseif Type=="Normal" then
  5172. vp=Instance.new("BodyVelocity")
  5173. vp.P=500
  5174. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  5175. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  5176. if KnockbackType==1 then
  5177. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  5178. elseif KnockbackType==2 then
  5179. vp.velocity=Property.CFrame.lookVector*knockback
  5180. end
  5181. if knockback>0 then
  5182. vp.Parent=hit.Parent.Torso
  5183. end
  5184. game:GetService("Debris"):AddItem(vp,.5)
  5185. elseif Type=="Up" then
  5186. local bodyVelocity=Instance.new("BodyVelocity")
  5187. bodyVelocity.velocity=vt(0,60,0)
  5188. bodyVelocity.P=5000
  5189. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  5190. bodyVelocity.Parent=hit
  5191. game:GetService("Debris"):AddItem(bodyVelocity,1)
  5192. rl=Instance.new("BodyAngularVelocity")
  5193. rl.P=3000
  5194. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  5195. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  5196. rl.Parent=hit
  5197. game:GetService("Debris"):AddItem(rl,.5)
  5198. elseif Type=="Snare" then
  5199. bp=Instance.new("BodyPosition")
  5200. bp.P=2000
  5201. bp.D=100
  5202. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  5203. bp.position=hit.Parent.Torso.Position
  5204. bp.Parent=hit.Parent.Torso
  5205. game:GetService("Debris"):AddItem(bp,1)
  5206. elseif Type=="Target" then
  5207. if Targetting==false then
  5208. ZTarget=hit.Parent.Torso
  5209. coroutine.resume(coroutine.create(function(Part)
  5210. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  5211. local rndm=math.random(1,#hitsounds)
  5212. local r=rndm
  5213. so("http://www.roblox.com/asset/?id="..hitsounds[r],Part,1,1)
  5214. swait(5)
  5215. so("http://www.roblox.com/asset/?id="..hitsounds[r],Part,1,1)
  5216. end),ZTarget)
  5217. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  5218. targetgui=Instance.new("BillboardGui")
  5219. targetgui.Parent=ZTarget
  5220. targetgui.Size=UDim2.new(10,100,10,100)
  5221. targ=Instance.new("ImageLabel")
  5222. targ.Parent=targetgui
  5223. targ.BackgroundTransparency=1
  5224. targ.Image="rbxassetid://4834067"
  5225. targ.Size=UDim2.new(1,0,1,0)
  5226. cam.CameraType="Scriptable"
  5227. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  5228. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  5229. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  5230. Targetting=true
  5231. RocketTarget=ZTarget
  5232. for i=1,Property do
  5233. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  5234. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  5235. swait()
  5236. end
  5237. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  5238. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  5239. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  5240. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  5241. end
  5242. Targetting=false
  5243. RocketTarget=nil
  5244. targetgui.Parent=nil
  5245. cam.CameraType="Custom"
  5246. end
  5247. end
  5248. debounce=Instance.new("BoolValue")
  5249. debounce.Name="DebounceHit"
  5250. debounce.Parent=hit.Parent
  5251. debounce.Value=true
  5252. game:GetService("Debris"):AddItem(debounce,Delay)
  5253. c=Instance.new("ObjectValue")
  5254. c.Name="creator"
  5255. c.Value=Player
  5256. c.Parent=h
  5257. game:GetService("Debris"):AddItem(c,.5)
  5258. CRIT=false
  5259. hitDeb=true
  5260. AttackPos=6
  5261. end
  5262. end
  5263.  
  5264. showDamage=function(Char,Dealt,du,Color)
  5265. m=Instance.new("Model")
  5266. m.Name=tostring(Dealt)
  5267. h=Instance.new("Humanoid")
  5268. h.Health=0
  5269. h.MaxHealth=0
  5270. h.Parent=m
  5271. c=Instance.new("Part")
  5272. c.Transparency=0
  5273. c.BrickColor=Color
  5274. c.Name="Head"
  5275. c.TopSurface=0
  5276. c.BottomSurface=0
  5277. c.formFactor="Plate"
  5278. c.Size=Vector3.new(1,.4,1)
  5279. ms=Instance.new("CylinderMesh")
  5280. ms.Scale=Vector3.new(.8,.8,.8)
  5281. if CRIT==true then
  5282. ms.Scale=Vector3.new(1,1.25,1)
  5283. end
  5284. ms.Parent=c
  5285. c.Reflectance=0
  5286. Instance.new("BodyGyro").Parent=c
  5287. c.Parent=m
  5288. if Char:findFirstChild("Head")~=nil then
  5289. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  5290. elseif Char.Parent:findFirstChild("Head")~=nil then
  5291. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  5292. end
  5293. f=Instance.new("BodyPosition")
  5294. f.P=2000
  5295. f.D=100
  5296. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  5297. f.position=c.Position+Vector3.new(0,3,0)
  5298. f.Parent=c
  5299. game:GetService("Debris"):AddItem(m,.5+du)
  5300. c.CanCollide=false
  5301. m.Parent=workspace
  5302. c.CanCollide=false
  5303. end
  5304.  
  5305. function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  5306. local msh1 = it("SpecialMesh")
  5307. msh1.Scale = vt(0.5,0.5,0.5)
  5308. msh1.MeshType = "Sphere"
  5309. local S=it("Part")
  5310. S.Name="Effect"
  5311. S.formFactor=0
  5312. S.Size=vt(x1,y1,z1)
  5313. S.BrickColor=color
  5314. S.Reflectance = 0
  5315. S.TopSurface=0
  5316. S.BottomSurface=0
  5317. S.Transparency=0
  5318. S.Anchored=true
  5319. S.CanCollide=false
  5320. S.CFrame=part.CFrame*cf(x2,y2,z2)*euler(x3,y3,z3)
  5321. S.Parent=workspace
  5322. msh1.Parent = S
  5323. 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)
  5324. end
  5325.  
  5326. function SummonSword(Part,cframe1,cframe2)
  5327. coroutine.resume(coroutine.create(function()
  5328.  
  5329. local sword=part(1,workspace,0,0.5,BrickColor.new("Cyan"),"Sword",vt(2,2,2))
  5330. sword.Anchored=true
  5331. --con1=sword.Touched:connect(function(hit) Damagefunc2(hit,5,1) end)
  5332. local smesh=mesh("SpecialMesh",sword,"FileMesh","http://www.roblox.com/asset/?id=50798664",vt(0,0,0),vt(3,3,3))
  5333. --smesh.Parent=nil
  5334. smesh.VertexColor=Vector3.new(0, 0, 0)
  5335. sword.CFrame=Part.CFrame*cframe1
  5336. con1=sword.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  5337. so("http://roblox.com/asset/?id=231917788",sword,0.5,1)
  5338. hitconasdf = sword.Touched:connect(function(hit)
  5339. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  5340. if hum12 and not hum12:IsDescendantOf(Character) then
  5341. so('http://roblox.com/asset/?id=220025675',sword,1,3)
  5342. hitconasdf:disconnect()
  5343. end
  5344. end)
  5345. EVENMOARMAGIX(sword,4,4,4,0,0,0,0,0,0,BrickColor.new("Cyan"))
  5346. for i=0,1,0.2 do
  5347. wait()
  5348. local dir = sword.CFrame.lookVector*-1
  5349. hit2,pos = rayCast(sword.Position,dir,5,Character)
  5350. if hit2~=nil then
  5351. if hit2.Parent:FindFirstChild("Humanoid") ~= nil then
  5352. hum = hit2.Parent.Humanoid
  5353. --Damagefunc2(hit2,5,1)
  5354. elseif hit2.Parent.Parent ~= nil and hit2.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
  5355. hum = hit2.Parent.Parent.Humanoid
  5356. --Damagefunc2(hit2,5,1)
  5357. end
  5358. end
  5359. sword.CFrame=sword.CFrame*cframe2
  5360. end
  5361. EVENMOARMAGIX(sword,4,4,4,0,0,0,0,0,0,BrickColor.new("Cyan"))
  5362. sword.Parent=nil
  5363. pcall(function()
  5364. hitconasdf:disconnect()
  5365. end)
  5366. con1:disconnect()
  5367. end))
  5368. end
  5369.  
  5370.  
  5371. rings=Instance.new('Model',Character)
  5372.  
  5373. ring=function(way,way2,where,vector,rv1,rv2,rv3,c1,c2)
  5374. local rng = Instance.new("Part", rings)
  5375. rng.Anchored = true
  5376. rng.BrickColor = BrickColor.new("Bright blue")
  5377. rng.CanCollide = false
  5378. rng.FormFactor = 3
  5379. rng.Name = "Ring"
  5380. rng.Size = Vector3.new(1, 1, 1)
  5381. rng.Transparency = .5
  5382. rng.TopSurface = 0
  5383. rng.BottomSurface = 0
  5384. rng.CFrame = where.CFrame * CFrame.Angles(math.rad(way), math.rad(way2), 0)
  5385. local rngm = Instance.new("SpecialMesh", rng)
  5386. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  5387. rngm.Scale = vector--10,10,1
  5388. for i = 1, 20, 1 do
  5389. rngm.Scale = Vector3.new(rv1 + i*c1, rv2 + i*c2, rv3)--(10 + i*2, 10 + i*2, 1)
  5390. rng.Transparency = i/20
  5391. swait()
  5392. end
  5393. wait()
  5394. rng:destroy''
  5395. end
  5396.  
  5397. player=game.Players.localPlayer
  5398. char=player.Character
  5399. Effects={}
  5400. vt=Vector3.new
  5401. cf=CFrame.new
  5402. euler=CFrame.fromEulerAnglesXYZ
  5403. m=Instance.new("Model",char)
  5404. char.Humanoid.WalkSpeed = 25
  5405.  
  5406. mouse.Button1Down:connect(function()
  5407. if equipped==true and hand==false then
  5408. if attacktype==1 then
  5409. attackone()
  5410. elseif attacktype==2 then
  5411. attacktwo()
  5412. elseif attacktype==3 then
  5413. attackthree()
  5414. end
  5415. end
  5416. end)
  5417.  
  5418. mouse.KeyDown:connect(function(k)
  5419. k=k:lower()
  5420. if k=='q' then
  5421. if attack==false then
  5422. spin()
  5423. end
  5424. elseif k=='f' then
  5425. if attack==false then
  5426. IrisShot()
  5427. ChargeBall(efprt, 100)
  5428. end
  5429. elseif k=='e' then
  5430. if attack==false then
  5431. JumpSwing()
  5432. end
  5433. elseif k=='z' then
  5434. if attack==false then
  5435. IrisFade()
  5436. ChargeBall(efprt, 100)
  5437. end
  5438. elseif k=='x' then
  5439. if attack==false then
  5440. boom()
  5441. end
  5442. elseif k=='r' then
  5443. if attack==false then
  5444. IrisRush()
  5445. end
  5446. end
  5447. end)
  5448.  
  5449. function JumpSwing()
  5450. attack=true
  5451. for i=0,0.5,0.1 do
  5452. swait()
  5453. --[[local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  5454. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  5455. local h = 5
  5456. 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)
  5457. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  5458. 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)
  5459. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  5460. scfr = blcf
  5461. elseif not scfr then
  5462. scfr = blcf
  5463. end]] --NOU!!
  5464. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0.8),.3)
  5465. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*euler(0,0,-0.8),.3)
  5466. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,-2,0)*euler(.5,0,0),.3)
  5467. LW.C0=clerp(LW.C0,cf(-.2,-.1,-0.5)*euler(1,-1.8,0)*euler(.9,0,0),.3)
  5468. RH.C0=clerp(RH.C0,RHC0*cf(.2,1,.1)*euler(0,-.5,-.2),.3)
  5469. LH.C0=clerp(LH.C0,LHC0*cf(-.2,1,.1)*euler(0,.5,.2),.3)
  5470. end
  5471. Humanoid.Jump=true
  5472. bodvol=Instance.new("BodyVelocity")
  5473. bodvol.Parent=RootPart
  5474. bodvol.velocity=vt(0,1,0)*100
  5475. bodvol.P=5000
  5476. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  5477. --Torso.Velocity=vt(0,1,0)*100
  5478. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(10,20),"Normal",RootPart,.2,1) end)
  5479. so("http://roblox.com/asset/?id=231917987",hitbox,1,1)
  5480. hitconasdf = hitbox.Touched:connect(function(hit)
  5481. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  5482. if hum12 and not hum12:IsDescendantOf(Character) then
  5483. so("http://www.roblox.com/asset/?id="..hitsounds[math.random(1,#hitsounds)],hitbox,1,1)
  5484. hitconasdf:disconnect()
  5485. end
  5486. end)
  5487. for i=0,1,0.1 do
  5488. swait()
  5489. --[[local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  5490. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  5491. local h = 5
  5492. 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)
  5493. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  5494. 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)
  5495. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  5496. scfr = blcf
  5497. elseif not scfr then
  5498. scfr = blcf
  5499. end]]
  5500. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(3,-2.4,0)*euler(.1,0,0),.3)
  5501. LW.C0=clerp(LW.C0,cf(-.2,.8,-0.5)*euler(3.1,-1.8,0)*euler(.9,0,0),.3)
  5502. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,-0.8),.3)
  5503. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,1.3),.3)
  5504. RH.C0=clerp(RH.C0,RHC0,.3)
  5505. LH.C0=clerp(LH.C0,LHC0,.3)
  5506. end
  5507. con1:disconnect()
  5508. hitconasdf:disconnect()
  5509. bodvol.Parent=nil
  5510. attack=false
  5511. end
  5512.  
  5513. function spin()
  5514. attack=true
  5515. 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)
  5516. for i=0,1,0.2 do
  5517. swait()
  5518. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.45)
  5519. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.45)
  5520. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.5,-1.5,0)*euler(.5,0,0),.45)
  5521. LW.C0=clerp(LW.C0,cf(0,0.5,-0.7)*euler(1.5,-1.5,0)*euler(.7,0,0),.45)
  5522. RH.C0=clerp(RH.C0,RHC0*euler(-.2,0,0),.45)
  5523. LH.C0=clerp(LH.C0,LHC0*euler(-.2,0,0),.45)
  5524. end
  5525. for i=0,1,0.15 do
  5526. so("http://roblox.com/asset/?id=231917987",hitbox,1,1)
  5527. swait()
  5528. --[[local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  5529. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  5530. local h = 5
  5531. 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)
  5532. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  5533. 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)
  5534. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  5535. scfr = blcf
  5536. elseif not scfr then
  5537. scfr = blcf
  5538. end]]
  5539. for i=0,1,0.1 do
  5540. swait()
  5541. --[[local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  5542. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  5543. local h = 5
  5544. 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)
  5545. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  5546. 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)
  5547. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  5548. scfr = blcf
  5549. elseif not scfr then
  5550. scfr = blcf
  5551. end]]
  5552. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.5,-1.5,0)*euler(-.5,0,0),.3)
  5553. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*euler(1.5,-1.5,0)*euler(.5,0,0),.3)
  5554. RootJoint.C0=RootCF*euler(0,0,6.6*i)
  5555. end
  5556. end
  5557. con1:disconnect()
  5558. attack=false
  5559. end
  5560.  
  5561.  
  5562. function IrisRush()
  5563. attack = true
  5564. n=2
  5565. so("http://www.roblox.com/asset/?id=199145433",hitbox,1,1.1)
  5566. so("http://roblox.com/asset/?id=199145659", Head, 1, 2)
  5567. coroutine.resume(coroutine.create(function()
  5568.  
  5569. for i = 0,1,0.1 do
  5570. swait()
  5571. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(-5),math.rad(-60)),.3)
  5572. Torso.Neck.C0=clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.3)
  5573. RW.C0=clerp(RW.C0,cf(1.5, 0.8, 0.2) * angles(math.rad(5), math.rad(-15), math.rad(112)), 0.3)
  5574. LW.C0=clerp(LW.C0,cf(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-20)), 0.3)
  5575. RH.C0=clerp(RH.C0,cf(1.1,-1,0)*angles(math.rad(-5),math.rad(120),math.rad(-8)),.3)
  5576. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-60),math.rad(0)),.3)
  5577. end
  5578.  
  5579. local v=it("BodyVelocity",Torso)
  5580. v.maxForce=Vector3.new(4e+005,4e+005,4e+005)*1
  5581. v.velocity=RootPart.CFrame.lookVector*100
  5582. for i = 0,1,0.1 do
  5583. swait()
  5584. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(60)),.3)
  5585. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5586. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(60), math.rad(100)), 0.3)
  5587. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-15)), 0.3)
  5588. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  5589. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  5590. end
  5591. v.Parent=nil
  5592. scfr=nil
  5593.  
  5594. end))
  5595.  
  5596. for i=1,3 do
  5597.  
  5598. local orb=part(3,Character,0,1,BrickColor.new"Really black","Orb",vt())
  5599.  
  5600. local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(10,10,10))
  5601. local owld=weld(orb,orb,Torso,cf(0,10,0))
  5602. MagicCircle(BrickColor.new"Royal purple",orb.CFrame,10,10,10,1,1,1,0.1)
  5603. --[[formerso]]
  5604. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  5605. local ceef1=math.random(-50,50)
  5606. local ceef2=math.random(-2,8)
  5607. local ceef3=math.random(100,200)/100
  5608. local n=2
  5609. for i=0,1,0.1 do
  5610. wait()
  5611. Part.Transparency=Part.Transparency-0.07
  5612. owld.C0=cf(ceef2*i*n,-5,0)*euler(ceef3*i*n,ceef1,0)
  5613. n=n-0.1
  5614. end
  5615. wait(0)
  5616. Part.Parent=nil
  5617. 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
  5618. local TheHit=Part.Position+vt(0,-1,0)
  5619. local MouseLook=cf((Part.Position+TheHit)/2,TheHit+spread)
  5620. local hit,pos = rayCast(Part.Position,MouseLook.lookVector,999,Character)
  5621. local mag=(Part.Position-pos).magnitude
  5622. MagicCylinder(BrickColor.new"Royal purple",CFrame.new((Part.Position+pos)/2,pos)*angles(1.57,0,0) ,1,mag*5,1,0.5,0,0.5,0.05)
  5623. MagicBlock(BrickColor.new"Royal purple",Part.CFrame,8,8,8,0.5,0.5,0.5,0.1)
  5624. MagicBlock(BrickColor.new"Royal purple",cf(pos),15,15,15,6,6,6,0.1)
  5625. MagicRing(BrickColor.new"Royal purple",cf(pos)*euler(1.57,math.random(-100,100)/100,math.random(-100,100)/100),1,1,1,2,2,2,0.05)
  5626. local ref=part(3,workspace,0,1,BrickColor.new("Really black"),"Effect",vt())
  5627. ref.CFrame=cf(pos)
  5628. so("http://roblox.com/asset/?id=166221646",ref,1,1)
  5629. so("http://roblox.com/asset/?id=200632875", ref, 1, 1)
  5630. so("http://roblox.com/asset/?id=263610131", ref, 1, 1)
  5631. so("http://roblox.com/asset/?id=263610111", Torso, 1, 1)
  5632.  
  5633.  
  5634. coroutine.resume(coroutine.create(function(Part)
  5635. wait(0.2)
  5636. Part.Parent=nil
  5637. end),ref)
  5638. MagniDamage(ref,20,10,30,10,"Knockdown",ref)
  5639. if hit~=nil then
  5640. Damagefunc(hit,20,40,1,"Knockdown",RootPart,0)
  5641. end
  5642. end),orb,omsh,owld)
  5643. wait(0.2)
  5644. end
  5645. n=2
  5646. for i=0,1,0.1 do
  5647. wait()
  5648. n=n-0.1
  5649. end
  5650. attack=false
  5651. end
  5652.  
  5653.  
  5654.  
  5655.  
  5656. function attackone()
  5657. if attack==false and attacktype==1 then
  5658. attacktype=2
  5659. attack=true
  5660. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  5661. for i=0,1,0.2 do
  5662. swait()
  5663. Neck.C0=clerp(Neck.C0,necko*euler(.2,0,.5),.4)
  5664. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-.5),.4)
  5665. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(2,0,1),.4)
  5666. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  5667. LW.C0=clerp(LW.C0,cf(-1.3,0.5,-.3)*euler(.4,0,.2)*euler(0,-.2,0),.4)
  5668. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  5669. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.5,0),.4)
  5670. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.5,0),.4)
  5671. end
  5672. so("http://roblox.com/asset/?id=199145841",hitbox,1,1)
  5673. hitconasdf = hitbox.Touched:connect(function(hit)
  5674. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  5675. if hum12 and not hum12:IsDescendantOf(Character) then
  5676. so("http://www.roblox.com/asset/?id="..hitsounds[math.random(1,#hitsounds)],hitbox,1,1)
  5677. hitconasdf:disconnect()
  5678. end
  5679. end)
  5680. for i=0,1,0.3 do
  5681. swait()
  5682. --[[ local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  5683. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  5684. local h = 5
  5685. 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)
  5686. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  5687. 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)
  5688. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  5689. scfr = blcf
  5690. elseif not scfr then
  5691. scfr = blcf
  5692. end]]--NOU!!
  5693. Neck.C0=clerp(Neck.C0,necko*euler(0,0,-.5)*euler(.2,0,0),.4)
  5694. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.5),.4)
  5695. RW.C0=clerp(RW.C0,cf(1.2,0.5,-.3)*euler(.2,0,-.2)*euler(0,-.5,0),.4)
  5696. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  5697. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.4,0,-.2),.4)
  5698. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  5699. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.5,0),.4)
  5700. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.5,0),.4)
  5701. end
  5702. for i=0,1,0.2 do
  5703. swait()
  5704. --[[local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  5705. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  5706. local h = 5
  5707. 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)
  5708. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  5709. 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)
  5710. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  5711. scfr = blcf
  5712. elseif not scfr then
  5713. scfr = blcf
  5714. end]] --NOU!!
  5715. Neck.C0=clerp(Neck.C0,necko*euler(0,0,-.5)*euler(.2,0,0),.4)
  5716. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.5),.4)
  5717. RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*euler(.6,0,-1)*euler(0,-.7,0),.4)
  5718. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  5719. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.4,0,-.2),.4)
  5720. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  5721. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.5,0),.4)
  5722. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.5,0),.4)
  5723. end
  5724. con1:disconnect()
  5725. hitconasdf:disconnect()
  5726. attack=false
  5727. end
  5728. end
  5729.  
  5730. function attacktwo()
  5731. if attack==false and attacktype==2 then
  5732. attacktype=3
  5733. attack=true
  5734. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  5735. for i=0,1,0.2 do
  5736. swait()
  5737. Neck.C0=clerp(Neck.C0,necko*euler(0,0,-.7)*euler(.2,0,0),.4)
  5738. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.7),.4)
  5739. RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*euler(1.57,0,-1)*euler(0,1.2,0),.4)
  5740. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  5741. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.8,0,-.4),.4)
  5742. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  5743. RH.C0=clerp(RH.C0,cf(.8,-1,.2)*euler(0,1.57,0)*euler(0,-.7,0),.4)
  5744. LH.C0=clerp(LH.C0,cf(-.8,-1,.2)*euler(0,-1.57,0)*euler(0,-.7,0),.4)
  5745. end
  5746. so("http://roblox.com/asset/?id=199145887",hitbox,1,1)
  5747. hitconasdf = hitbox.Touched:connect(function(hit)
  5748. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  5749. if hum12 and not hum12:IsDescendantOf(Character) then
  5750. so("http://www.roblox.com/asset/?id="..hitsounds[math.random(1,#hitsounds)],hitbox,1,1)
  5751. hitconasdf:disconnect()
  5752. end
  5753. end)
  5754. for i=0,1,0.3 do
  5755. swait()
  5756. --[[ local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  5757. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  5758. local h = 5
  5759. 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)
  5760. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  5761. 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)
  5762. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  5763. scfr = blcf
  5764. elseif not scfr then
  5765. scfr = blcf
  5766. end]]
  5767. Neck.C0=clerp(Neck.C0,necko*euler(0,0,.5)*euler(0,0,0),.4)
  5768. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-.5),.4)
  5769. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1.3,0,1)*euler(0,1.6,0),.4)
  5770. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  5771. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.2,0,-.2),.4)
  5772. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  5773. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.5,0),.4)
  5774. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.5,0),.4)
  5775. end
  5776. for i=0,1,0.2 do
  5777. swait()
  5778. --[[ local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  5779. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  5780. local h = 5
  5781. 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)
  5782. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  5783. 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)
  5784. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  5785. scfr = blcf
  5786. elseif not scfr then
  5787. scfr = blcf
  5788. end]]
  5789. Neck.C0=clerp(Neck.C0,necko*euler(0,0,.5)*euler(.1,0,0),.4)
  5790. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-.5),.4)
  5791. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1,0,.8)*euler(0,1.3,0),.4)
  5792. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  5793. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.2,0,-.2),.4)
  5794. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  5795. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.5,0),.4)
  5796. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.5,0),.4)
  5797. end
  5798. attack=false
  5799. con1:disconnect()
  5800. hitconasdf:disconnect()
  5801. end
  5802. end
  5803.  
  5804.  
  5805. local function CFrameFromTopBack(at, top, back)
  5806. local right = top:Cross(back)
  5807. return CFrame.new(at.x, at.y, at.z,
  5808. right.x, top.x, back.x,
  5809. right.y, top.y, back.y,
  5810. right.z, top.z, back.z)
  5811. end
  5812.  
  5813. function IrisFade()
  5814. attack=true
  5815. for i=0,1,.1 do
  5816. swait()
  5817. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  5818. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5819. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(18), math.rad(-15), math.rad(15)), 0.3)
  5820. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-75), math.rad(0), math.rad(-50)), 0.3)
  5821. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-3),math.rad(65),math.rad(0)),.3)
  5822. 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)
  5823. end
  5824. so("http://www.roblox.com/asset/?id=401604539",EffectPart2,1.5,1.5)
  5825. efprt=part2(Enum.FormFactor.Custom,game.Workspace,Enum.Material.Neon,0,0,"White","BallEffect",Vector3.new(2, 2, 2))
  5826. 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))
  5827. mesh("SpecialMesh",efprt,"Sphere","",vt(0,0,0),vt(1,1,1))
  5828. ChargeBall(EffectPart2,35)
  5829. for i=0,1,.1 do
  5830. swait()
  5831. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5832. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  5833. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-18), math.rad(15), math.rad(15)), 0.3)
  5834. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-65)), 0.3)
  5835. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
  5836. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  5837. end
  5838. so("http://www.roblox.com/asset/?id=199145534",EffectPart2,1,1.2)
  5839. efprt:BreakJoints()
  5840. local Target=mouse.Hit.p
  5841. local direction = Target - Handle.Position
  5842. direction = computeDirection(direction)
  5843. local pos = Handle.Position + (direction * 10.0)
  5844. efprt.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(math.pi/2, 0, 0)
  5845. local floatForce = Instance.new("BodyForce")
  5846. floatForce.force = Vector3.new(0, efprt:GetMass() * 196.1, 0.0)
  5847. floatForce.Parent = efprt
  5848. efprt.Velocity = direction * 160
  5849. efprt.Touched:connect(function(hit)
  5850. if not hit:IsDescendantOf(Character) then
  5851. if hit.Name~="Effect" then
  5852. MagniDamage(efprt,15,15,25,math.random(5,10),"Knockdown",RootPart)
  5853. floatForce.Parent=nil
  5854. efprt.Anchored=true
  5855. so("http://www.roblox.com/asset/?id=228343330",hit,1,.8)
  5856. Blast(efprt)
  5857. efprt:Destroy()
  5858. end
  5859. end
  5860. end)
  5861. game:GetService("Debris"):AddItem(efprt,6)
  5862. attack=false
  5863. end
  5864.  
  5865.  
  5866. function attackthree()
  5867. if attack==false and attacktype==3 then
  5868. attacktype=1
  5869. attack=true
  5870. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  5871. for i=0,1,0.2 do
  5872. swait()
  5873. Neck.C0=clerp(Neck.C0,necko*euler(0,0,.2),.4)
  5874. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-.3),.4)
  5875. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1,0,1.2)*euler(0,-2,0),.4)
  5876. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  5877. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-.2)*euler(.7,0,.1)*euler(0,-.4,0),.4)
  5878. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  5879. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.3,0),.4)
  5880. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.3,0),.4)
  5881. end
  5882. so("http://roblox.com/asset/?id=199145913",hitbox,1,1)
  5883. hitconasdf = hitbox.Touched:connect(function(hit)
  5884. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  5885. if hum12 and not hum12:IsDescendantOf(Character) then
  5886. so("http://www.roblox.com/asset/?id="..hitsounds[math.random(1,#hitsounds)],hitbox,1,1)
  5887. hitconasdf:disconnect()
  5888. end
  5889. end)
  5890. for i=0,1,0.1 do
  5891. swait()
  5892. --[[ local blcf = hitbox.CFrame*CFrame.new(0,.5,0)
  5893. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  5894. local h = 5
  5895. 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)
  5896. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  5897. 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)
  5898. if a then game.Debris:AddItem(a,trispeed) end if b then game.Debris:AddItem(b,trispeed) end
  5899. scfr = blcf
  5900. elseif not scfr then
  5901. scfr = blcf
  5902. end]]
  5903. Neck.C0=clerp(Neck.C0,necko*euler(.2,0,-.6),.35)
  5904. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.6),.35)
  5905. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.2,0,-1.2)*euler(0,-1.2,0),.35)
  5906. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.35)
  5907. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-.2)*euler(-.4,0,-.7)*euler(0,0,0),.35)
  5908. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.35)
  5909. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.6,0),.35)
  5910. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.6,0),.35)
  5911. end
  5912. attack=false
  5913. con1:disconnect()
  5914. hitconasdf:disconnect()
  5915. end
  5916. end
  5917.  
  5918.  
  5919.  
  5920. function IrisShot()
  5921. attack=true
  5922. for i=0,1,.1 do
  5923. swait()
  5924. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  5925. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5926. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(18), math.rad(-15), math.rad(15)), 0.3)
  5927. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-75), math.rad(0), math.rad(-50)), 0.3)
  5928. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-3),math.rad(65),math.rad(0)),.3)
  5929. 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)
  5930. end
  5931. so("http://www.roblox.com/asset/?id=401604539",EffectPart2,1.5,1.5)
  5932. efprt=part2(Enum.FormFactor.Custom,game.Workspace,Enum.Material.Neon,0,0,"White","BallEffect",Vector3.new(2, 2, 2))
  5933. 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))
  5934. mesh("SpecialMesh",efprt,"Sphere","",vt(0,0,0),vt(1,1,1))
  5935. ChargeBall(EffectPart2,35)
  5936. for i=0,1,.1 do
  5937. swait()
  5938. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5939. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  5940. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-18), math.rad(15), math.rad(15)), 0.3)
  5941. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-65)), 0.3)
  5942. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
  5943. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  5944. end
  5945. so("http://www.roblox.com/asset/?id=199145534",EffectPart2,1,1.2)
  5946. efprt:BreakJoints()
  5947. local Target=mouse.Hit.p
  5948. local direction = Target - Handle.Position
  5949. direction = computeDirection(direction)
  5950. local pos = Handle.Position + (direction * 10.0)
  5951. efprt.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(math.pi/2, 0, 0)
  5952. local floatForce = Instance.new("BodyForce")
  5953. floatForce.force = Vector3.new(0, efprt:GetMass() * 196.1, 0.0)
  5954. floatForce.Parent = efprt
  5955. efprt.Velocity = direction * 160
  5956. efprt.Touched:connect(function(hit)
  5957. if not hit:IsDescendantOf(Character) then
  5958. if hit.Name~="Effect" then
  5959. MagniDamage(efprt,15,15,25,math.random(5,10),"Knockdown",RootPart)
  5960. floatForce.Parent=nil
  5961. efprt.Anchored=true
  5962. so("http://www.roblox.com/asset/?id=228343330",hit,1,.8)
  5963. Blast(efprt)
  5964. efprt:Destroy()
  5965. end
  5966. end
  5967. end)
  5968. game:GetService("Debris"):AddItem(efprt,6)
  5969. attack=false
  5970. end
  5971.  
  5972. local function CFrameFromTopBack(at, top, back)
  5973. local right = top:Cross(back)
  5974. return CFrame.new(at.x, at.y, at.z,
  5975. right.x, top.x, back.x,
  5976. right.y, top.y, back.y,
  5977. right.z, top.z, back.z)
  5978. end
  5979.  
  5980. function Triangle(a, b, c)
  5981. local edg1 = (c-a):Dot((b-a).unit)
  5982. local edg2 = (a-b):Dot((c-b).unit)
  5983. local edg3 = (b-c):Dot((a-c).unit)
  5984. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  5985. a, b, c = a, b, c
  5986. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  5987. a, b, c = b, c, a
  5988. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  5989. a, b, c = c, a, b
  5990. else
  5991. assert(false, "unreachable")
  5992. end
  5993.  
  5994. local len1 = (c-a):Dot((b-a).unit)
  5995. local len2 = (b-a).magnitude - len1
  5996. local width = (a + (b-a).unit*len1 - c).magnitude
  5997.  
  5998. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  5999.  
  6000. local list = {}
  6001.  
  6002. if len1 > 0.01 then
  6003. local w1 = Instance.new('WedgePart', m)
  6004. game:GetService("Debris"):AddItem(w1,5)
  6005. w1.Material = "Neon"
  6006. w1.FormFactor = 'Custom'
  6007. w1.BrickColor = BrickColor.new("Cyan")
  6008. w1.Transparency = 0
  6009. w1.Reflectance = 0
  6010. w1.Material = "SmoothPlastic"
  6011. w1.CanCollide = false
  6012. NoOutline(w1)
  6013. local sz = Vector3.new(0.2, width, len1)
  6014. w1.Size = sz
  6015. local sp = Instance.new("SpecialMesh",w1)
  6016. sp.MeshType = "Wedge"
  6017. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  6018. w1:BreakJoints()
  6019. w1.Anchored = true
  6020. w1.Parent = workspace
  6021. w1.Transparency = 0.7
  6022. table.insert(Effects,{w1,"Disappear",.01})
  6023. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  6024. table.insert(list,w1)
  6025. end
  6026.  
  6027. if len2 > 0.01 then
  6028. local w2 = Instance.new('WedgePart', m)
  6029. game:GetService("Debris"):AddItem(w2,5)
  6030. w2.Material = "Neon"
  6031. w2.FormFactor = 'Custom'
  6032. w2.BrickColor = BrickColor.new("Cyan")
  6033. w2.Transparency = 0
  6034. w2.Reflectance = 0
  6035. w2.Material = "SmoothPlastic"
  6036. w2.CanCollide = false
  6037. NoOutline(w2)
  6038. local sz = Vector3.new(0.2, width, len2)
  6039. w2.Size = sz
  6040. local sp = Instance.new("SpecialMesh",w2)
  6041. sp.MeshType = "Wedge"
  6042. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  6043. w2:BreakJoints()
  6044. w2.Anchored = true
  6045. w2.Parent = workspace
  6046. w2.Transparency = 0.7
  6047. table.insert(Effects,{w2,"Disappear",.01})
  6048. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  6049. table.insert(list,w2)
  6050. end
  6051. return unpack(list)
  6052. end
  6053.  
  6054. function NoOutline(Part)
  6055. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  6056. end
  6057.  
  6058.  
  6059. if #Effects>0 then
  6060. --table.insert(Effects,{prt,"Block1",delay})
  6061. for e=1,#Effects do
  6062. if Effects[e]~=nil then
  6063. --for j=1,#Effects[e] do
  6064. local Thing=Effects[e]
  6065. if Thing~=nil then
  6066. local Part=Thing[1]
  6067. local Mode=Thing[2]
  6068. local Delay=Thing[3]
  6069. local IncX=Thing[4]
  6070. local IncY=Thing[5]
  6071. local IncZ=Thing[6]
  6072. if Thing[1].Transparency<=1 then
  6073. if Thing[2]=="Block1" then
  6074. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  6075. Mesh=Thing[1].Mesh
  6076. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  6077. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  6078. elseif Thing[2]=="Cylinder" then
  6079. Mesh=Thing[1].Mesh
  6080. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  6081. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  6082. elseif Thing[2]=="Blood" then
  6083. Mesh=Thing[1].Mesh
  6084. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  6085. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  6086. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  6087. elseif Thing[2]=="Elec" then
  6088. Mesh=Thing[1].Mesh
  6089. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  6090. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  6091. elseif Thing[2]=="Disappear" then
  6092. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  6093. end
  6094. else
  6095. Part.Parent=nil
  6096. table.remove(Effects,e)
  6097. end
  6098. end
  6099. --end
  6100. end
  6101. end
  6102. end
  6103.  
  6104. idleanim=.4
  6105.  
  6106. while true do
  6107. swait()
  6108. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  6109. local velderp=RootPart.Velocity.y
  6110. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  6111. if equipped==true or equipped==false then
  6112. if attack==false then
  6113. idle=idle+1
  6114. else
  6115. idle=0
  6116. end
  6117. if idle>=500 then
  6118. if attack==false then
  6119. --Sheath()
  6120. end
  6121. end
  6122. if Anim~='Fly' then
  6123. pcall(function()
  6124. RightLeg.Transparency=0
  6125. LeftLeg.Transparency=0
  6126. m.fakerleg:destroy()
  6127. m.fakelleg:destroy()
  6128. end)
  6129. end
  6130. if RootPart.Velocity.y > 1 and hitfloor==nil then
  6131. Anim="Jump"
  6132. if attack==false then
  6133. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  6134. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  6135. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  6136. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.5,0,0.5),.3)
  6137. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  6138. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3)
  6139. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  6140. RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.2)
  6141. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.2)
  6142. end
  6143. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  6144. Anim="Fall"
  6145. if attack==false then
  6146. Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3)
  6147. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  6148. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  6149. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.3,0,0.2),.3)
  6150. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  6151. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3)
  6152. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  6153. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.2)
  6154. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.2)
  6155. end
  6156. elseif torvel<1 and hitfloor~=nil then
  6157. Anim="Idle"
  6158. if attack==false then
  6159. --[[Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-10),0,0),.3)
  6160. Neck.C1=clerp(Neck.C1,necko2*angles(0,0,0),.3)
  6161. RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(15),0,0),.3)
  6162. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(0,0,0.1),.3)
  6163. RW.C1=clerp(LW.C1,cf(0,0.5,0)*angles(0,0,0),.3)
  6164. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(45)),.3)
  6165. LW.C1=clerp(LW.C1,cf(0,0.5,0)*angles(0,0,0),.3)
  6166. RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(15),math.rad(90),0),.3)
  6167. RH.C1=clerp(RH.C1,RHC1,.3)
  6168. LH.C0=clerp(LH.C0,cf(1,-.5,0)*angles(math.rad(15),math.rad(-90),0),.3)
  6169. LH.C1=clerp(LH.C1,LHC1,.3)]]
  6170. idleanim=.4
  6171. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5-idleanim)*euler(0.4+(idleanim/2),0,-0.4),.3)
  6172. --RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  6173. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(-idleanim/2,0,0.4),.3)
  6174. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-25),math.rad(-35),math.rad(45)),.3)
  6175. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(90),math.rad(0),math.rad(45)),.3)
  6176. RH.C0=clerp(RH.C0,cf(1,-1,-idleanim)*euler(-0.2-(idleanim/2),1.57,0),.3)
  6177. LH.C0=clerp(LH.C0,cf(-1,-.5+idleanim,0)*euler(0.5+(idleanim/2),-1.2,0)*euler(-.2,0,0),.3)
  6178. end
  6179. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  6180. Anim="Walk"
  6181. if attack==false then
  6182. idleanim=-1
  6183. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0.4,0,0),.3)
  6184. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(-0.2,0,0),.3)
  6185. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-35),math.rad(45)),.3)
  6186. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(35),math.rad(-45)),.3)
  6187. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.2,1.57,0),.3)
  6188. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0.5,-1.57,0)*euler(0,0,0),.3)
  6189. end
  6190. elseif torvel>=22 and hitfloor~=nil then
  6191. Anim="Run"
  6192. if attack==false then
  6193. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*euler(0.4,0,0),.3)
  6194. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(-0.2,0,0),.3)
  6195. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-35),math.rad(-35),math.rad(45)),.3)
  6196. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-35),math.rad(35),math.rad(-45)),.3)
  6197. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.2,1.57,0),.3)
  6198. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0.5,-1.57,0)*euler(0,0,0),.3)
  6199. end
  6200. print("hello")
  6201. end
  6202. end
  6203. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement