Advertisement
iimakedamodels

Untitled

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