Laith8888

Roblox Bloxxy script

Feb 6th, 2018
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 375.99 KB | None | 0 0
  1. --[[
  2. ________ ___ ________ ___ ___ ___ ___ ___ ___
  3. |\ __ \|\ \ |\ __ \ |\ \ / /|\ \ / /|\ \ / /|
  4. \ \ \|\ /\ \ \ \ \ \|\ \ \ \ \/ / | \ \/ / | \ \/ / /
  5. \ \ __ \ \ \ \ \ \\\ \ \ \ / / \ \ / / \ \ / /
  6. \ \ \|\ \ \ \____\ \ \\\ \ / \/ / \/ \/ / /
  7. \ \_______\ \_______\ \_______\/ /\ \ / /\ \ __/ / /
  8. \|_______|\|_______|\|_______/__/ /\ __\/__/ /\ __\\___/ /
  9. |__|/ \|__||__|/ \|__\|___|/
  10. ]]
  11. local p = game.Players.LocalPlayer
  12. local char = p.Character
  13. local mouse = p:GetMouse()
  14. local larm = char["Left Arm"]
  15. local rarm = char["Right Arm"]
  16. local lleg = char["Left Leg"]
  17. local rleg = char["Right Leg"]
  18. local hed = char.Head
  19. local torso = char.Torso
  20. local hum = char.Humanoid
  21. local cam = game.Workspace.CurrentCamera
  22. local root = char.HumanoidRootPart
  23. local deb = false
  24. it = Instance.new
  25. local debris=game:service"Debris"
  26. local l = game:GetService("Lighting")
  27. local rs = game:GetService("RunService").RenderStepped
  28. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  29. math.randomseed(os.time())
  30. for i,v in pairs(char:children()) do
  31. if v:IsA("Hat") then
  32. v:Destroy()
  33. end
  34. end
  35. for i,v in pairs (hed:GetChildren()) do
  36. if v:IsA("Sound") then
  37. v:Destroy()
  38. end
  39. end
  40. local myVars = { }
  41. myVars[1] = "none"
  42. local Neonsc = {BrickColor.new("Bright red"), BrickColor.new("Bright orange"), BrickColor.new("Bright yellow"), BrickColor.new("Bright green"), BrickColor.new("Bright blue"), BrickColor.new("Royal purple"), BrickColor.new("Bright violet")}
  43. local colc = math.random(1,7)
  44.  
  45. local rainbowssl = false
  46.  
  47. local newMode = false
  48.  
  49. local swordPowerUp = false
  50.  
  51. local sword2 = false
  52. -------------------------------------INITIATE
  53.  
  54. local d0arm = { }
  55.  
  56. myVars[9] = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  57.  
  58. function startBloxxy()
  59. local eff3 = Instance.new("Part", char)
  60. eff3.Size = Vector3.new(20, 20, 20)
  61. eff3.Transparency = 0
  62. eff3.Material = "Neon"
  63. eff3.Anchored = true
  64. eff3.CanCollide = false
  65. eff3.Shape = "Ball"
  66. eff3.CFrame = char.Torso.CFrame
  67. for i = 1, 40 do
  68. eff3.Size = eff3.Size - Vector3.new(0.5, 0.5, 0.5)
  69. eff3.CFrame = char.Torso.CFrame * CFrame.Angles(math.random(), math.random(), math.random())
  70. eff3.BrickColor = BrickColor.Random()
  71. wait()
  72. end
  73. eff3:Remove()
  74.  
  75. end
  76. newMode = true
  77. ---------------------------------------
  78.  
  79.  
  80. local verlet = {}
  81. verlet.step_time = 1 / 50
  82. verlet.gravity = Vector3.new(0, -10, 0)
  83.  
  84. local char = game.Players.LocalPlayer.Character
  85. local torso = char:WaitForChild("Torso")
  86. local parts = {}
  87. local render = game:GetService("RunService").RenderStepped
  88.  
  89. wait(2)
  90.  
  91. local point = {}
  92. local link = {}
  93. local rope = {}
  94.  
  95. local function ccw(A,B,C)
  96. return (C.y-A.y) * (B.x-A.x) > (B.y-A.y) * (C.x-A.x)
  97. end
  98.  
  99. local function intersect(A,B,C,D)
  100. return ccw(A,C,D) ~= ccw(B,C,D) and ccw(A,B,C) ~= ccw(A,B,D)
  101. end
  102.  
  103. local function vec2(v)
  104. return Vector2.new(v.x, v.z)
  105. end
  106.  
  107. function point:step()
  108. if not self.fixed then
  109. local derivative = (self.position - self.last_position) * 0.95
  110. self.last_position = self.position
  111. self.position = self.position + derivative + (self.velocity * verlet.step_time ^ 2)
  112. --[[local torsoP = torso.CFrame * CFrame.new(-1, 0, 0.5)
  113. local torsoE = torso.CFrame * CFrame.new(1, 0, 0.5)
  114. local pointE = self.position + torso.CFrame.lookVector * 100
  115. local doIntersect = intersect(vec2(torsoP.p), vec2(torsoE.p), vec2(self.position), vec2(pointE))
  116. if not doIntersect then
  117. self.postition = self.position - torso.CFrame.lookVector * 10
  118. end]]
  119. end
  120. end
  121.  
  122. function link:step()
  123. for i = 1, 1 do
  124. local distance = self.point1.position - self.point2.position
  125. local magnitude = distance.magnitude
  126. local differance = (self.length - magnitude) / magnitude
  127. local translation = ((self.point1.fixed or self.point2.fixed) and 1 or 0.6) * distance * differance
  128. if not self.point1.fixed then
  129. self.point1.position = self.point1.position + translation
  130. end
  131. if not self.point2.fixed then
  132. self.point2.position = self.point2.position - translation
  133. end
  134. end
  135. end
  136.  
  137. function verlet.new(class, a, b, c)
  138. if class == "Point" then
  139. local new = {}
  140. setmetatable(new, {__index = point})
  141. new.class = class
  142. new.position = a or Vector3.new()
  143. new.last_position = new.position
  144. new.velocity = verlet.gravity
  145. new.fixed = false
  146. return new
  147. elseif class == "Link" then
  148. local new = {}
  149. setmetatable(new, {__index = link})
  150. new.class = class
  151. new.point1 = a
  152. new.point2 = b
  153. new.length = c or (a.position - b.position).magnitude
  154. return new
  155. elseif class == "Rope" then
  156. local new = {}
  157. setmetatable(new, {__index = link})
  158. new.class = class
  159. new.start_point = a
  160. new.finish_point = b
  161. new.points = {}
  162. new.links = {}
  163. local inc = (b - a) / 10
  164. for i = 0, 10 do
  165. table.insert(new.points, verlet.new("Point", a + (i * inc)))
  166. end
  167. for i = 2, #new.points do
  168. table.insert(new.links, verlet.new("Link", new.points[i - 1], new.points[i]))
  169. end
  170. return new
  171. end
  172. end
  173.  
  174. local tris = {}
  175. local triParts = {}
  176.  
  177. local function GetDiscoColor(hue)
  178. local section = hue % 1 * 3
  179. local secondary = 0.5 * math.pi * (section % 1)
  180. if section < 1 then
  181. return Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  182. elseif section < 2 then
  183. return Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  184. else
  185. return Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  186. end
  187. end
  188.  
  189. local function setupPart(part)
  190. part.Anchored = true
  191. part.FormFactor = 3
  192. part.CanCollide = false
  193. part.TopSurface = 10
  194. part.BottomSurface = 10
  195. part.LeftSurface = 10
  196. part.RightSurface = 10
  197. part.FrontSurface = 10
  198. part.BackSurface = 10
  199. part.Material = "Neon"
  200. local m = Instance.new("SpecialMesh", part)
  201. m.MeshType = "Wedge"
  202. m.Scale = Vector3.new(0.2, 1, 1)
  203. return part
  204. end
  205.  
  206. local function CFrameFromTopBack(at, top, back)
  207. local right = top:Cross(back)
  208. 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)
  209. end
  210.  
  211. local function drawTri(parent, a, b, c)
  212. local this = {}
  213. local mPart1 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  214. local mPart2 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  215. function this:Set(a, b, c)
  216. local ab, bc, ca = b-a, c-b, a-c
  217. local abm, bcm, cam = ab.magnitude, bc.magnitude, ca.magnitude
  218. local edg1 = math.abs(0.5 + ca:Dot(ab)/(abm*abm))
  219. local edg2 = math.abs(0.5 + ab:Dot(bc)/(bcm*bcm))
  220. local edg3 = math.abs(0.5 + bc:Dot(ca)/(cam*cam))
  221. if edg1 < edg2 then
  222. if edg1 >= edg3 then
  223. a, b, c = c, a, b
  224. ab, bc, ca = ca, ab, bc
  225. abm = cam
  226. end
  227. else
  228. if edg2 < edg3 then
  229. a, b, c = b, c, a
  230. ab, bc, ca = bc, ca, ab
  231. abm = bcm
  232. else
  233. a, b, c = c, a, b
  234. ab, bc, ca = ca, ab, bc
  235. abm = cam
  236. end
  237. end
  238.  
  239. local len1 = -ca:Dot(ab)/abm
  240. local len2 = abm - len1
  241. local width = (ca + ab.unit*len1).magnitude
  242.  
  243. local maincf = CFrameFromTopBack(a, ab:Cross(bc).unit, -ab.unit)
  244.  
  245. if len1 > 0.2 then
  246. mPart1.Parent = parent
  247. mPart1.Size = Vector3.new(0.2, width, len1)
  248. mPart1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  249. else
  250. mPart1.Parent = nil
  251. end
  252.  
  253. if len2 > 0.2 then
  254. mPart2.Parent = parent
  255. mPart2.Size = Vector3.new(0.2, width, len2)
  256. mPart2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  257. else
  258. mPart2.Parent = nil
  259. end
  260. end
  261. function this:SetProperty(prop, value)
  262. mPart1[prop] = value
  263. mPart2[prop] = value
  264. end
  265. this:Set(a, b, c)
  266. function this:Destroy()
  267. mPart1:Destroy()
  268. mPart2:Destroy()
  269. end
  270. this.p1 = mPart1
  271. this.p2 = mPart2
  272. this.p1.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p1.CFrame.Y * 0.5 + time())))
  273. this.p2.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p2.CFrame.Y * 0.5 + time())))
  274. return this
  275. end
  276.  
  277. function verlet.draw(object, id)
  278. if object.class == "Point" then
  279. local part = parts[id]
  280. part.BrickColor = BrickColor.new(1, 1, 1)
  281. part.Transparency = 0
  282. part.formFactor = 3
  283. part.Anchored = true
  284. part.CanCollide = false
  285. part.TopSurface = 0
  286. part.BottomSurface = 0
  287. part.Size = Vector3.new(0.35, 0.35, 0.35)
  288. part.Material = "Neon"
  289. part.CFrame = CFrame.new(object.position)
  290. part.Parent = torso
  291. return part
  292. elseif object.class == "Link" then
  293. local part = parts[id]
  294. local dist = (object.point1.position - object.point2.position).magnitude
  295. part.Size = Vector3.new(0.2, 0.2, dist)
  296. part.CFrame = CFrame.new(object.point1.position, object.point2.position) * CFrame.new(0, 0, dist * -0.5)
  297. part.Parent = torso
  298. return part
  299. end
  300. end
  301.  
  302. function verlet.clear()
  303. for _, v in pairs(workspace:GetChildren()) do
  304. if v.Name == "Part" then
  305. v:Destroy()
  306. end
  307. end
  308. end
  309.  
  310. local points = {}
  311. local links = {}
  312.  
  313. for x = 0, 2 do
  314. points[x] = {}
  315. for y = 0, 3 do
  316. points[x][y] = verlet.new("Point", torso.Position + Vector3.new(x * 0.8 - 2, 2 - y * 0.8, 5 + y * 0.4))
  317. points[x][y].fixed = y == 0
  318. end
  319. end
  320.  
  321. for x = 1, 2 do
  322. for y = 0, 3 do
  323. links[#links + 1] = verlet.new("Link", points[x][y], points[x - 1][y], 1 + y * 0.08)
  324. end
  325. end
  326.  
  327. for x = 0, 2 do
  328. for y = 1, 3 do
  329. links[#links + 1] = verlet.new("Link", points[x][y], points[x][y - 1], 1.2 + y * 0.03)
  330. end
  331. end
  332.  
  333. render:connect(function()
  334. for x = 0, 2 do
  335. for y = 0, 3 do
  336. if y == 0 then
  337. points[x][y].position = (torso.CFrame * CFrame.new(x * 1 - 1, 1, 0.5)).p
  338. else
  339. points[x][y]:step()
  340. end
  341. end
  342. end
  343. for i = 1, #links do
  344. links[i]:step()
  345. end
  346. for i = 1, #tris do
  347. triParts[#triParts + 1] = tris[i].p1
  348. triParts[#triParts + 1] = tris[i].p2
  349. end
  350. tris = {}
  351. for x = 1, 2 do
  352. for y = 1, 3 do
  353. tris[#tris + 1] = drawTri(torso, points[x - 1][y - 1].position, points[x - 1][y].position, points[x][y - 1].position)
  354. tris[#tris + 1] = drawTri(torso, points[x][y].position, points[x - 1][y].position, points[x][y - 1].position)
  355. end
  356. end
  357. end)
  358. ----------------------------------------------------
  359. local myDictionary = { }
  360. function getDiscoMan(hummus)
  361. for key, value in pairs(myDictionary) do
  362. if key.Name == hummus.Parent.Name then break end
  363. end
  364. Parts={}
  365.  
  366. local function GetDiscoColor(hue)
  367. local section = hue % 1 * 3
  368. local secondary = 0.5 * math.pi * (section % 1)
  369. if section < 1 then
  370. return Vector3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  371. elseif section < 2 then
  372. return Vector3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  373. else
  374. return Vector3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  375. end
  376. end
  377. local Part = function(x,y,z,color,tr,cc,an,parent)
  378. local p = Instance.new('Part',parent or Weapon)
  379. p.formFactor = 'Custom'
  380. p.Size = Vector3.new(x,y,z)
  381. p.BrickColor = BrickColor.new(color)
  382. p.CanCollide = cc
  383. p.Transparency = tr
  384. p.Anchored = an
  385. p.TopSurface,p.BottomSurface = 0,0
  386. p:BreakJoints''
  387. table.insert(Parts,p)
  388. return p
  389. end
  390. local Weld = function(p0,p1)
  391. local w = Instance.new('Motor',p0)
  392. w.Part0 = p0
  393. w.Part1 = p1
  394. return w
  395. end
  396. local Mesh = function(par,num,x,y,z)
  397. local msh = 0
  398. if num == 1 then
  399. msh = Instance.new("SpecialMesh",par)
  400. msh.MeshId='rbxasset://fonts/torso.mesh'
  401. msh.TextureId='rbxasset://25701026'
  402. end
  403. if num == 2 then
  404. msh = Instance.new("SpecialMesh",par)
  405. msh.MeshId='rbxasset://fonts/head.mesh'
  406. msh.TextureId='rbxassetid://25701026'
  407. end
  408. msh.Scale = Vector3.new(x,y,z)
  409. return msh
  410. end
  411. local char=hummus.Parent
  412. myDictionary[char] = "disco"
  413.  
  414. for key, value in pairs(myDictionary) do
  415. for _,v in pairs(key:GetChildren()) do
  416. if v.ClassName=="Part" then
  417. v.Transparency=1
  418. elseif v.ClassName=="Hat" then
  419. v.Handle.Mesh.TextureId='rbxassetid://25701026'
  420. table.insert(Parts,v.Handle)
  421. end
  422. end
  423. t=Part(1,1,1,'',0,false,false,key)
  424. Mesh(t,1,1,1,1)
  425. Weld(key.Torso,t)
  426. a=Part(1,1,1,'',0,false,false,key)
  427. Mesh(a,1,.5,1,1)
  428. Weld(key['Right Arm'],a)
  429. a=Part(1,1,1,'',0,false,false,key)
  430. Mesh(a,1,.5,1,1)
  431. Weld(key['Left Arm'],a)
  432. l=Part(1,1,1,'',0,false,false,key)
  433. Mesh(l,1,.5,1,1)
  434. Weld(key['Right Leg'],l)
  435. l=Part(1,1,1,'',0,false,false,key)
  436. Mesh(l,1,.5,1,1)
  437. Weld(key['Left Leg'],l)
  438. h=Part(1,1,1,'',0,false,false,key)
  439. Mesh(h,2,1,1,1)
  440. Weld(key.Head,h)
  441. Spawn(function()
  442. while(coroutine.yield())do
  443. for i=1,#Parts do
  444. Parts[i].Mesh.VertexColor=GetDiscoColor(tick()*.5)--vertex 4 lyfe
  445. end
  446. end;
  447. end);
  448. key.Humanoid.MaxHealth = 999999
  449. wait(0.5)
  450. key.Humanoid.Health = 999999
  451. end
  452. end
  453.  
  454. local myFrozen = { }
  455. function getFreeze(hummus)
  456. local char = hummus.Parent
  457. Coat = Instance.new("Part",char)
  458. Coat.TopSurface = "Smooth"
  459. Coat.BottomSurface = "Smooth"
  460. Coat.Material = "Neon"
  461. Coat.Size = Vector3.new(1.05, 1.05, 1.05)
  462. Coat.CanCollide = false
  463. Coat.Transparency = 0
  464. Coat.BrickColor = Neonsc[colc]
  465. CoatMesh = Instance.new("SpecialMesh", Coat)
  466. CoatMesh.MeshType = "Brick"
  467. CoatMesh.Scale = Vector3.new(2,1.8,1.1)
  468. CoatWeld = Instance.new("Weld",char)
  469. CoatWeld.Part0 = char.Torso
  470. CoatWeld.Part1 = Coat
  471. CoatWeld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  472.  
  473. CoatRA = Instance.new("Part",char)
  474. CoatRA.TopSurface = "Smooth"
  475. CoatRA.BottomSurface = "Smooth"
  476. CoatRA.Size = Vector3.new(1, 1, 1)
  477. CoatRA.CanCollide = false
  478. CoatRA.Transparency = 0
  479. CoatRA.Material = "Neon"
  480. CoatRA.BrickColor = Neonsc[colc]
  481. CoatRAMesh = Instance.new("SpecialMesh", CoatRA)
  482. CoatRAMesh.MeshType = "Brick"
  483. CoatRAMesh.Scale = Vector3.new(1.1,1.8,1.1)
  484. CoatRAWeld = Instance.new("Weld",char)
  485. CoatRAWeld.Part0 = char["Right Arm"]
  486. CoatRAWeld.Part1 = CoatRA
  487. CoatRAWeld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  488.  
  489. CoatLA = Instance.new("Part",char)
  490. CoatLA.TopSurface = "Smooth"
  491. CoatLA.BottomSurface = "Smooth"
  492. CoatLA.Size = Vector3.new(1, 1, 1)
  493. CoatLA.CanCollide = false
  494. CoatLA.Transparency = 0
  495. CoatLA.Material = "Neon"
  496. CoatLA.BrickColor = Neonsc[colc]
  497. CoatLAMesh = Instance.new("SpecialMesh", CoatLA)
  498. CoatLAMesh.MeshType = "Brick"
  499. CoatLAMesh.Scale = Vector3.new(1.1,1.8,1.1)
  500. CoatLAWeld = Instance.new("Weld",char)
  501. CoatLAWeld.Part0 = char["Left Arm"]
  502. CoatLAWeld.Part1 = CoatLA
  503. CoatLAWeld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  504.  
  505. CoatRL = Instance.new("Part",char)
  506. CoatRL.TopSurface = "Smooth"
  507. CoatRL.BottomSurface = "Smooth"
  508. CoatRL.Size = Vector3.new(1, 1, 1)
  509. CoatRL.CanCollide = false
  510. CoatRL.Transparency = 0
  511. CoatRL.Material = "Neon"
  512. CoatRL.BrickColor = Neonsc[colc]
  513. CoatRLMesh = Instance.new("SpecialMesh", CoatRL)
  514. CoatRLMesh.MeshType = "Brick"
  515. CoatRLMesh.Scale = Vector3.new(1.1,0.5,1.1)
  516. CoatRLWeld = Instance.new("Weld",char)
  517. CoatRLWeld.Part0 = char["Right Leg"]
  518. CoatRLWeld.Part1 = CoatRL
  519. CoatRLWeld.C1 = CFrame.new(0, -0.7, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  520.  
  521. CoatLL = Instance.new("Part",char)
  522. CoatLL.TopSurface = "Smooth"
  523. CoatLL.BottomSurface = "Smooth"
  524. CoatLL.Size = Vector3.new(1, 1, 1)
  525. CoatLL.CanCollide = false
  526. CoatLL.Transparency = 0
  527. CoatLL.Material = "Neon"
  528. CoatLL.BrickColor = Neonsc[colc]
  529. CoatLLMesh = Instance.new("SpecialMesh", CoatLL)
  530. CoatLLMesh.MeshType = "Brick"
  531. CoatLLMesh.Scale = Vector3.new(1.1,0.5,1.1)
  532. CoatLLWeld = Instance.new("Weld",char)
  533. CoatLLWeld.Part0 = char["Left Leg"]
  534. CoatLLWeld.Part1 = CoatLL
  535. CoatLLWeld.C1 = CFrame.new(0, -0.7, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  536.  
  537. CoatRightDesign = Instance.new("Part",char)
  538. CoatRightDesign.TopSurface = "Smooth"
  539. CoatRightDesign.BottomSurface = "Smooth"
  540. CoatRightDesign.Size = Vector3.new(1, 1, 1)
  541. CoatRightDesign.CanCollide = false
  542. CoatRightDesign.Material = "Neon"
  543. CoatRightDesign.Transparency = 0
  544. CoatRightDesign.BrickColor = Neonsc[colc]
  545. CoatRightDesignMesh = Instance.new("SpecialMesh", CoatRightDesign)
  546. CoatRightDesignMesh.MeshType = "Wedge"
  547. CoatRightDesignMesh.Scale = Vector3.new(1.1,0.8,1.1)
  548. CoatRightDesignWeld = Instance.new("Weld",char)
  549. CoatRightDesignWeld.Part0 = char["Right Leg"]
  550. CoatRightDesignWeld.Part1 = CoatRightDesign
  551. CoatRightDesignWeld.C1 = CFrame.new(0, 0.1, 0)*CFrame.fromEulerAnglesXYZ(1.6, -1.6, 0)
  552.  
  553. CoatLeftDesign = Instance.new("Part",char)
  554. CoatLeftDesign.TopSurface = "Smooth"
  555. CoatLeftDesign.BottomSurface = "Smooth"
  556. CoatLeftDesign.Size = Vector3.new(1, 1, 1)
  557. CoatLeftDesign.CanCollide = false
  558. CoatLeftDesign.Material = "Neon"
  559. CoatLeftDesign.Transparency = 0
  560. CoatLeftDesign.BrickColor = Neonsc[colc]
  561. CoatLeftDesignMesh = Instance.new("SpecialMesh", CoatLeftDesign)
  562. CoatLeftDesignMesh.MeshType = "Wedge"
  563. CoatLeftDesignMesh.Scale = Vector3.new(1.1,0.8,1.1)
  564. CoatLeftDesignWeld = Instance.new("Weld",char)
  565. CoatLeftDesignWeld.Part0 = char["Left Leg"]
  566. CoatLeftDesignWeld.Part1 = CoatLeftDesign
  567. CoatLeftDesignWeld.C1 = CFrame.new(0, 0.1, 0)*CFrame.fromEulerAnglesXYZ(1.6, 1.6, 0)
  568. nooutline(CoatLeftDesign)
  569.  
  570. coroutine.resume(coroutine.create(function()
  571. while wait() do
  572.  
  573. UpdatePart(hat,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  574. UpdatePart(Coat,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  575. UpdatePart(CoatRA,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  576. UpdatePart(CoatLA,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  577. UpdatePart(CoatLL,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  578. UpdatePart(CoatRL,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  579. UpdatePart(CoatRightDesign,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  580. UpdatePart(CoatLeftDesign,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  581.  
  582. end
  583. end))
  584.  
  585. hummus.WalkSpeed = 0
  586. wait(3)
  587.  
  588. explosion = Instance.new("Explosion", game.Workspace)
  589. explosion.BlastRadius = 1
  590. explosion.Position = char.Parent.Torso.Position
  591. explosion.BlastPressure = 10000
  592. explosion.DestroyJointRadiusPercent = 1 -- neck welds won't be destroyed
  593. explosion.ExplosionType = "CratersAndDebris"
  594.  
  595. end
  596. ----------------------------------------------------
  597. Debounces = {
  598. CanAttack = true;
  599. NoIdl = false;
  600. Slashing = false;
  601. Slashed = false;
  602. Slapping = false;
  603. Slapped = false;
  604. RPunch = false;
  605. RPunched = false;
  606. LPunch = false;
  607. LPunched = false;
  608. }
  609. local Touche = {char.Name, }
  610. ----------------------------------------------------
  611. function lerp(a, b, t) -- Linear interpolation
  612. return a + (b - a)*t
  613. end
  614.  
  615. function slerp(a, b, t) --Spherical interpolation
  616. dot = a:Dot(b)
  617. if dot > 0.99999 or dot < -0.99999 then
  618. return t <= 0.5 and a or b
  619. else
  620. r = math.acos(dot)
  621. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  622. end
  623. end
  624.  
  625. function matrixInterpolate(a, b, t)
  626. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  627. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  628. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  629. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  630. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  631. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  632. local t = v1:Dot(v2)
  633. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  634. return CFrame.new()
  635. end
  636. return CFrame.new(
  637. v0.x, v0.y, v0.z,
  638. v1.x, v1.y, v1.z,
  639. v2.x, v2.y, v2.z,
  640. v3.x, v3.y, v3.z)
  641. end
  642. ----------------------------------------------------
  643. function genWeld(a,b)
  644. local w = Instance.new("Weld",a)
  645. w.Part0 = a
  646. w.Part1 = b
  647. return w
  648. end
  649. function weld(a, b)
  650. local weld = Instance.new("Weld")
  651. weld.Name = "W"
  652. weld.Part0 = a
  653. weld.Part1 = b
  654. weld.C0 = a.CFrame:inverse() * b.CFrame
  655. weld.Parent = a
  656. return weld;
  657. end
  658. ----------------------------------------------------
  659. function Lerp(c1,c2,al)
  660. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  661. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  662. for i,v in pairs(com1) do
  663. com1[i] = v+(com2[i]-v)*al
  664. end
  665. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  666. end
  667. ----------------------------------------------------
  668. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  669. local wld = Instance.new("Weld", wp1)
  670. wld.Part0 = wp0
  671. wld.Part1 = wp1
  672. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  673. end
  674. ----------------------------------------------------
  675. function weld5(part0, part1, c0, c1)
  676. weeld=Instance.new("Weld", part0)
  677. weeld.Part0=part0
  678. weeld.Part1=part1
  679. weeld.C0=c0
  680. weeld.C1=c1
  681. return weeld
  682. end
  683. ----------------------------------------------------
  684. newWeld(torso, larm, -1.5, 0.5, 0)
  685. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  686. newWeld(torso, rarm, 1.5, 0.5, 0)
  687. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  688. newWeld(torso, hed, 0, 1.5, 0)
  689. newWeld(torso, lleg, -0.5, -1, 0)
  690. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  691. newWeld(torso, rleg, 0.5, -1, 0)
  692. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  693. newWeld(root, torso, 0, -1, 0)
  694. torso.Weld.C1 = CFrame.new(0, -1, 0)
  695. ----------------------------------------------------
  696. Blast = function()
  697. local Colors = {"Really red", "Really black"}
  698. local wave = Instance.new("Part", torso)
  699. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  700. wave.Anchored = true
  701. wave.CanCollide = false
  702. wave.Locked = true
  703. wave.Size = Vector3.new(1, 1, 1)
  704. wave.TopSurface = "Smooth"
  705. wave.BottomSurface = "Smooth"
  706. wave.Transparency = 0.35
  707. wave.CFrame = rarm.CFrame
  708. wm = Instance.new("SpecialMesh", wave)
  709. wm.MeshType = "Sphere"
  710. wm.Scale = Vector3.new(1,1,1)
  711. z = Instance.new("Sound",wave)
  712. z.SoundId = "rbxassetid://237035051"
  713. z.Volume = 1
  714. z.Pitch = .9
  715. z:Play()
  716. coroutine.wrap(function()
  717. for i = 1, 30, 1 do
  718. wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4)
  719. --wave.Size = wm.Scale
  720. wave.CFrame = rarm.CFrame
  721. wave.Transparency = (1/14)
  722. rs:wait()
  723. end
  724. rs:wait()
  725. wave:Destroy()
  726. z:Destroy()
  727. end)()
  728. end
  729. ----------------------------------------------------
  730. rarm.Touched:connect(function(ht)
  731. hit = ht.Parent
  732. if ht and hit:IsA("Model") then
  733. if hit:FindFirstChild("Humanoid") then
  734. if hit.Name ~= p.Name then
  735. if Debounces.RPunch == true and Debounces.RPunched == false then
  736. Debounces.RPunched = true
  737. hit:FindFirstChild("Humanoid"):TakeDamage(1000)
  738. if Debounces.ks==true then
  739. z = Instance.new("Sound",hed)
  740. z.SoundId = "rbxassetid://169380525"
  741. z.Pitch = ptz[math.random(1,#ptz)]
  742. z.Volume = 1
  743. z:Play()
  744. end
  745. wait(.2)
  746. Debounces.RPunched = false
  747. end
  748. end
  749. end
  750. elseif ht and hit:IsA("Hat") then
  751. if hit.Parent.Name ~= p.Name then
  752. if hit.Parent:FindFirstChild("Humanoid") then
  753. if Debounces.RPunch == true and Debounces.RPunched == false then
  754. Debounces.RPunched = true
  755. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(1000)
  756. if Debounces.ks==true then
  757. z = Instance.new("Sound",hed)
  758. z.SoundId = "rbxassetid://169380525"
  759. z.Pitch = ptz[math.random(1,#ptz)]
  760. z.Volume = 1
  761. z:Play()
  762. end
  763. wait(.2)
  764. Debounces.RPunched = false
  765. end
  766. end
  767. end
  768. end
  769. end)
  770. larm.Touched:connect(function(ht)
  771. hit = ht.Parent
  772. if ht and hit:IsA("Model") then
  773. if hit:FindFirstChild("Humanoid") then
  774. if hit.Name ~= p.Name then
  775. if Debounces.LPunch == true and Debounces.LPunched == false then
  776. Debounces.LPunched = true
  777. hit:FindFirstChild("Humanoid"):TakeDamage(1000)
  778. if Debounces.ks2==true then
  779. z = Instance.new("Sound",hed)
  780. z.SoundId = "rbxassetid://169380525"
  781. z.Pitch = ptz[math.random(1,#ptz)]
  782. z.Volume = 1
  783. z:Play()
  784. end
  785. wait(.2)
  786. Debounces.LPunched = false
  787. end
  788. end
  789. end
  790. elseif ht and hit:IsA("Hat") then
  791. if hit.Parent.Name ~= p.Name then
  792. if hit.Parent:FindFirstChild("Humanoid") then
  793. if Debounces.LPunch == true and Debounces.LPunched == false then
  794. Debounces.LPunched = true
  795. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  796. if Debounces.ks2==true then
  797. z = Instance.new("Sound",hed)
  798. z.SoundId = "rbxassetid://169380525"
  799. z.Pitch = ptz[math.random(1,#ptz)]
  800. z.Volume = 1
  801. z:Play()
  802. end
  803. wait(.2)
  804. Debounces.LPunched = false
  805. end
  806. end
  807. end
  808. end
  809. end)
  810. ----------------------------------------------------
  811.  
  812. ptez = {0.7, 0.8, 0.9, 1}
  813.  
  814. function FindNearestTorso(Position,Distance,SinglePlayer)
  815. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  816. local List = {}
  817. for i,v in pairs(workspace:GetChildren())do
  818. if v:IsA("Model")then
  819. if v:findFirstChild("Torso")then
  820. if v ~= char then
  821. if(v.Torso.Position -Position).magnitude <= Distance then
  822. table.insert(List,v)
  823. end
  824. end
  825. end
  826. end
  827. end
  828. return List
  829. end
  830.  
  831. function Punch()
  832. part=Instance.new('Part',mod4)
  833. part.Anchored=true
  834. part.CanCollide=false
  835. part.FormFactor='Custom'
  836. part.Size=Vector3.new(.2,.2,.2)
  837. part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0)
  838. part.Transparency=.7
  839. part.BrickColor=BrickColor.new('Really black')
  840. mesh=Instance.new('SpecialMesh',part)
  841. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  842. mesh.Scale=Vector3.new(3,3,3)
  843. part2=Instance.new('Part',mod4)
  844. part2.Anchored=true
  845. part2.CanCollide=false
  846. part2.FormFactor='Custom'
  847. part2.Size=Vector3.new(.2,.2,.2)
  848. part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0)
  849. part2.Transparency=.7
  850. part2.BrickColor=BrickColor.new('Really red')
  851. mesh2=Instance.new('SpecialMesh',part2)
  852. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  853. mesh2.Scale=Vector3.new(3,1.5,3)
  854. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  855. if v:FindFirstChild('Humanoid') then
  856. v.Humanoid:TakeDamage(math.random(2,6))
  857. end
  858. end
  859. coroutine.resume(coroutine.create(function()
  860. for i=0,0.62,0.4 do
  861. wait()
  862. part.CFrame=part.CFrame
  863. part.Transparency=i
  864. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  865. part2.CFrame=part2.CFrame
  866. part2.Transparency=i
  867. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  868. end
  869. part.Parent=nil
  870. part2.Parent=nil
  871. end))
  872. end
  873. ----------------------------------------------------
  874. rarm.Touched:connect(function(ht)
  875. hit = ht.Parent
  876. if ht and hit:IsA("Model") then
  877. if hit:FindFirstChild("Humanoid") then
  878. if hit.Name ~= p.Name then
  879. if Debounces.RPunch == true and Debounces.RPunched == false then
  880. Debounces.RPunched = true
  881. hit:FindFirstChild("Humanoid"):TakeDamage(1000)
  882. if Debounces.ks==true then
  883. z = Instance.new("Sound",hed)
  884. z.SoundId = "rbxassetid://169380525"
  885. z.Pitch = ptz[math.random(1,#ptz)]
  886. z.Volume = 1
  887. z:Play()
  888. end
  889. wait(.2)
  890. Debounces.RPunched = false
  891. end
  892. end
  893. end
  894. elseif ht and hit:IsA("Hat") then
  895. if hit.Parent.Name ~= p.Name then
  896. if hit.Parent:FindFirstChild("Humanoid") then
  897. if Debounces.RPunch == true and Debounces.RPunched == false then
  898. Debounces.RPunched = true
  899. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(1000)
  900. if Debounces.ks==true then
  901. z = Instance.new("Sound",hed)
  902. z.SoundId = "rbxassetid://169380525"
  903. z.Pitch = ptz[math.random(1,#ptz)]
  904. z.Volume = 1
  905. z:Play()
  906. end
  907. wait(.2)
  908. Debounces.RPunched = false
  909. end
  910. end
  911. end
  912. end
  913. end)
  914. larm.Touched:connect(function(ht)
  915. hit = ht.Parent
  916. if ht and hit:IsA("Model") then
  917. if hit:FindFirstChild("Humanoid") then
  918. if hit.Name ~= p.Name then
  919. if Debounces.LPunch == true and Debounces.LPunched == false then
  920. Debounces.LPunched = true
  921. hit:FindFirstChild("Humanoid"):TakeDamage(1000)
  922. if Debounces.ks2==true then
  923. z = Instance.new("Sound",hed)
  924. z.SoundId = "rbxassetid://169380525"
  925. z.Pitch = ptz[math.random(1,#ptz)]
  926. z.Volume = 1
  927. z:Play()
  928. end
  929. wait(.2)
  930. Debounces.LPunched = false
  931. end
  932. end
  933. end
  934. elseif ht and hit:IsA("Hat") then
  935. if hit.Parent.Name ~= p.Name then
  936. if hit.Parent:FindFirstChild("Humanoid") then
  937. if Debounces.LPunch == true and Debounces.LPunched == false then
  938. Debounces.LPunched = true
  939. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(1000)
  940. if Debounces.ks2==true then
  941. z = Instance.new("Sound",hed)
  942. z.SoundId = "rbxassetid://169380525"
  943. z.Pitch = ptz[math.random(1,#ptz)]
  944. z.Volume = 1
  945. z:Play()
  946. end
  947. wait(.2)
  948. Debounces.LPunched = false
  949. end
  950. end
  951. end
  952. end
  953. end)
  954. ----------------------------------------------------
  955. function newRay(start,face,range,wat)
  956. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  957. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  958. return rey,hit,pos
  959. end
  960. ----------------------------------------------------
  961. function HasntTouched(plrname)
  962. local ret = true
  963. for _, v in pairs(Touche) do
  964. if v == plrname then
  965. ret = false
  966. end
  967. end
  968. return ret
  969. end
  970. ----------------------------------------------------
  971. mod=Instance.new('Model',char)
  972.  
  973. function Burst()
  974. part=Instance.new('Part',mod)
  975. part.Anchored=true
  976. part.CanCollide=false
  977. part.FormFactor='Custom'
  978. part.Size=Vector3.new(.2,.2,.2)
  979. part.CFrame=root.CFrame*CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),0,0)
  980. part.Transparency=.7
  981. part.BrickColor=BrickColor.new('Really black')
  982. mesh=Instance.new('SpecialMesh',part)
  983. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  984. mesh.Scale=Vector3.new(10,5,10)
  985. part2=part:clone()
  986. part2.Parent=mod
  987. part2.BrickColor=BrickColor.new('Bright red')
  988. mesh2=mesh:clone()
  989. mesh2.Parent=part2
  990. mesh2.Scale=Vector3.new(5,2.5,5)
  991. coroutine.resume(coroutine.create(function()
  992. for i=0,1,0.1 do
  993. wait()
  994. part.CFrame=part.CFrame
  995. part.Transparency=i
  996. mesh.Scale=mesh.Scale+Vector3.new(1,1,1)
  997. part2.CFrame=part2.CFrame
  998. part2.Transparency=i
  999. mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
  1000. end
  1001. part.Parent=nil
  1002. part2.Parent=nil
  1003. end))
  1004. end
  1005. ----------------------------------------------------
  1006.  
  1007. ----------------------------------------------------
  1008. mod4 = Instance.new("Model",char)
  1009.  
  1010. ptez = {0.7, 0.8, 0.9, 1}
  1011.  
  1012. function FindNearestTorso(Position,Distance,SinglePlayer)
  1013. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1014. local List = {}
  1015. for i,v in pairs(workspace:GetChildren())do
  1016. if v:IsA("Model")then
  1017. if v:findFirstChild("Torso")then
  1018. if v ~= char then
  1019. if(v.Torso.Position -Position).magnitude <= Distance then
  1020. table.insert(List,v)
  1021. end
  1022. end
  1023. end
  1024. end
  1025. end
  1026. return List
  1027. end
  1028.  
  1029. function Slam()
  1030. part=Instance.new('Part',mod4)
  1031. part.Anchored=true
  1032. part.CanCollide=false
  1033. part.FormFactor='Custom'
  1034. part.Size=Vector3.new(.2,.2,.2)
  1035. part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
  1036. part.Transparency=.7
  1037. part.BrickColor=BrickColor.new('Really black')
  1038. mesh=Instance.new('SpecialMesh',part)
  1039. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1040. mesh.Scale=Vector3.new(3,3,3)
  1041. part2=Instance.new('Part',mod4)
  1042. part2.Anchored=true
  1043. part2.CanCollide=false
  1044. part2.FormFactor='Custom'
  1045. part2.Size=Vector3.new(.2,.2,.2)
  1046. part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
  1047. part2.Transparency=.7
  1048. part2.BrickColor=BrickColor.new('Royal purple')
  1049. mesh2=Instance.new('SpecialMesh',part2)
  1050. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  1051. mesh2.Scale=Vector3.new(3,1.5,3)
  1052. x = Instance.new("Sound",char)
  1053. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  1054. x.Pitch = ptez[math.random(1,#ptez)]
  1055. x.Volume = 1
  1056. wait(.1)
  1057. x1 = Instance.new("Sound",char)
  1058. x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  1059. x1.Pitch = ptez[math.random(1,#ptez)]
  1060. x1.Volume = 1
  1061. wait(.1)
  1062. x:Play()
  1063. x1:Play()
  1064. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  1065. if v:FindFirstChild('Humanoid') then
  1066. v.Humanoid:TakeDamage(math.random(30,45))
  1067. end
  1068. end
  1069. coroutine.resume(coroutine.create(function()
  1070. for i=0,0.62,0.13 do
  1071. wait()
  1072. part.CFrame=part.CFrame
  1073. part.Transparency=i
  1074. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  1075. part2.CFrame=part2.CFrame
  1076. part2.Transparency=i
  1077. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  1078. end
  1079. part.Parent=nil
  1080. part2.Parent=nil
  1081. x:Destroy()
  1082. end))
  1083. end
  1084. ----------------------------------------------------
  1085.  
  1086. rsi = game:GetService'RunService'
  1087. plrs = game:GetService'Players'
  1088. lp = plrs.LocalPlayer
  1089. c = lp.Character
  1090. root = lp.Character.HumanoidRootPart
  1091. human = c.Humanoid
  1092. FPS = 0
  1093. inf = 0
  1094. opos1 = Vector3.new()
  1095. opos2 = Vector3.new()
  1096. opos3 = Vector3.new()
  1097. waves = Instance.new("Model", c)
  1098. res = Instance.new("Model", c)
  1099. local function a()
  1100. local t=tick();
  1101. local l=t%1*3;
  1102. local t=.5*math.pi*(l%1);
  1103. if l<1 then
  1104. return Color3.new(1,1-math.cos(t),1-math.sin(t));
  1105. elseif l<2 then
  1106. return Color3.new(1-math.sin(t),1,1-math.cos(t));
  1107. else
  1108. return Color3.new(1-math.cos(t),1-math.sin(t),1);
  1109. end;
  1110. end;
  1111. speedParts = function()
  1112.  
  1113. for i = 1, 4 do
  1114. local pos = Vector3.new(math.sin(math.rad(inf + 360 * i)) * 2, math.sin(math.rad(inf + 260 * i) + math.pi / 2) * 2, -c.HumanoidRootPart.Velocity / 5) * (math.sin(tick()) + 2)
  1115. local CFramepos = root.CFrame:toWorldSpace(CFrame.new(pos)).p
  1116. local opos
  1117. if i == 1 then
  1118. opos = opos1
  1119. elseif i == 2 then
  1120. opos = opos2
  1121. else
  1122. opos = opos3
  1123. end
  1124. if human.MoveDirection ~= Vector3.new(0, 0, 0) then
  1125. local e
  1126. if #res:children() <= 3 then
  1127. e = Instance.new("Part")
  1128. else
  1129. e = res:FindFirstChild("Trail")
  1130. end
  1131. e.Parent = waves
  1132. e.Anchored = true
  1133. e.CanCollide = false
  1134. e.Transparency = 0
  1135. e.Material = "Neon"
  1136. e.Name = "Trail"
  1137. e.Color = a();
  1138. e.Size = Vector3.new(.2, (CFramepos - opos).magnitude, .2)
  1139. e.CFrame = CFrame.new((CFramepos + opos) / 2, opos) * CFrame.Angles(math.pi / 2, 0, 0)
  1140. end
  1141. if i == 1 then
  1142. opos1 = CFramepos
  1143. elseif i == 2 then
  1144. opos2 = CFramepos
  1145. else
  1146. opos3 = CFramepos
  1147. end
  1148. end
  1149. end
  1150.  
  1151.  
  1152. local player = game.Players.LocalPlayer
  1153. local pchar = player.Character
  1154. local mouse = player:GetMouse()
  1155. local cam = workspace.CurrentCamera
  1156.  
  1157. local rad = math.rad
  1158.  
  1159. local keysDown = {}
  1160. local flySpeed = 70
  1161. local MAX_FLY_SPEED = 350
  1162.  
  1163. local canFly = false
  1164. local flyToggled = false
  1165.  
  1166. local forward, side = 0, 0
  1167. local lastForward, lastSide = 0, 0
  1168.  
  1169. local floatBP = Instance.new("BodyPosition")
  1170. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  1171. local flyBV = Instance.new("BodyVelocity")
  1172. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  1173. local turnBG = Instance.new("BodyGyro")
  1174. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  1175.  
  1176. mouse.KeyDown:connect(function(key)
  1177. keysDown[key] = true
  1178.  
  1179.  
  1180.  
  1181. if key == "f" then
  1182. flyToggled = not flyToggled
  1183.  
  1184. if not flyToggled then
  1185. stanceToggle = "Normal"
  1186. floatBP.Parent = nil
  1187. flyBV.Parent = nil
  1188. turnBG.Parent = nil
  1189. root.Velocity = Vector3.new()
  1190. pchar.Humanoid.PlatformStand = false
  1191. end
  1192. end
  1193.  
  1194. end)
  1195. mouse.KeyUp:connect(function(key)
  1196. keysDown[key] = nil
  1197. end)
  1198.  
  1199. local function updateFly()
  1200.  
  1201. if not flyToggled then return end
  1202.  
  1203. lastForward = forward
  1204. lastSide = side
  1205.  
  1206. forward = 0
  1207. side = 0
  1208.  
  1209. if keysDown.w then
  1210. forward = forward + 1
  1211. end
  1212. if keysDown.s then
  1213. forward = forward - 1
  1214. end
  1215. if keysDown.a then
  1216. side = side - 1
  1217. end
  1218. if keysDown.d then
  1219. side = side + 1
  1220. end
  1221.  
  1222. canFly = (forward ~= 0 or side ~= 0)
  1223.  
  1224. if canFly then
  1225. stanceToggle = "Floating"
  1226. turnBG.Parent = root
  1227. floatBP.Parent = nil
  1228. flyBV.Parent = root
  1229.  
  1230. flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  1231. if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  1232. else
  1233. floatBP.position = root.Position
  1234. floatBP.Parent = root
  1235.  
  1236. flySpeed = flySpeed - 1
  1237. if flySpeed < 0 then flySpeed = 0 end
  1238. end
  1239.  
  1240. local camCF = cam.CoordinateFrame
  1241. local in_forward = canFly and forward or lastForward
  1242. local in_side = canFly and side or lastSide
  1243.  
  1244. flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
  1245. in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  1246.  
  1247. turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,
  1248. 0)
  1249. end
  1250.  
  1251. game:service'RunService'.RenderStepped:connect(function()
  1252. if flyToggled then
  1253. pchar.Humanoid.PlatformStand = true
  1254. end
  1255. updateFly()
  1256. end)
  1257. rsi.RenderStepped:connect(function()
  1258. if flyToggled then
  1259. FPS = 1 / rsi.RenderStepped:wait()
  1260. for i, v in pairs (waves:children()) do
  1261. v.Transparency = v.Transparency + .05 / (FPS / 60)
  1262. if v.Transparency >= .98 then
  1263. v.Transparency = 1
  1264. v.Parent = res
  1265. end
  1266. end
  1267. inf = inf + (8 + root.Velocity.magnitude / 15) / (FPS / 60)
  1268. speedParts()
  1269. end
  1270. end)
  1271. -------------------------------
  1272. pts = {4, 4.2, 4.4, 4.6, 4.8, 5, 5.2, 5.4}
  1273. local pancho = false
  1274. mouse.KeyDown:connect(function(key)
  1275. if key == "x" then
  1276. if rainbowHands == false then
  1277. pancho = false
  1278. if Debounces.CanAttack == true then
  1279. Debounces.CanAttack = false
  1280. Debounces.NoIdl = true
  1281. Debounces.on = true
  1282. Debounces.ks = true
  1283. larm.Touched:connect(function(ht)
  1284. hit = ht.Parent
  1285.  
  1286. if ht and hit:IsA("Model") then
  1287. if hit:FindFirstChild("Humanoid") then
  1288. if hit.Name ~= p.Name then
  1289. if Debounces.Slapping == true and Debounces.Slapped == false then
  1290. Debounces.Slapped = true
  1291. hit:BreakJoints()
  1292. if Debounces.ks==true then
  1293. z = Instance.new("Sound",hed)
  1294. z.SoundId = "rbxassetid://169380525"
  1295. z.Volume = 1
  1296. z:Play()
  1297. z1 = Instance.new("Sound",char)
  1298. z1.SoundId = "rbxassetid://261010715"
  1299. z1.Pitch = pts[math.random(1,#pts)]
  1300. z1.Volume = 1
  1301. z2 = Instance.new("Sound",char)
  1302. z2.SoundId = "rbxassetid://261010715"
  1303. z2.Pitch = z1.Pitch
  1304. z2.Volume = 1
  1305. z3 = Instance.new("Sound",char)
  1306. z3.SoundId = "rbxassetid://261010715"
  1307. z3.Pitch = z1.Pitch
  1308. z3.Volume = 1
  1309. z1:Play()
  1310. z2:Play()
  1311. z3:Play()
  1312. Debounces.ks=false
  1313. end
  1314. hit:FindFirstChild("Humanoid"):TakeDamage(100)
  1315.  
  1316. hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 90
  1317. wait(.5)
  1318. Debounces.Slapped = false
  1319. z:Destroy()
  1320. z1:Destroy()
  1321. z2:Destroy()
  1322. z3:Destroy()
  1323. end
  1324. end
  1325. end
  1326. elseif ht and hit:IsA("Hat") then
  1327. if hit.Parent.Name ~= p.Name then
  1328. if hit.Parent:FindFirstChild("Humanoid") then
  1329. if Debounces.Slapping == true and Debounces.Slapped == false then
  1330. Debounces.Slapped = true
  1331. if Debounces.ks==true then
  1332. z = Instance.new("Sound",hed)
  1333. z.SoundId = "rbxassetid://169380525"
  1334. z.Volume = 1
  1335. z:Play()
  1336. z1 = Instance.new("Sound",char)
  1337. z1.SoundId = "rbxassetid://261010715"
  1338. z1.Pitch = pts[math.random(1,#pts)]
  1339. z1.Volume = 1
  1340. z2 = Instance.new("Sound",char)
  1341. z2.SoundId = "rbxassetid://261010715"
  1342. z2.Pitch = z1.Pitch
  1343. z2.Volume = 1
  1344. z3 = Instance.new("Sound",char)
  1345. z3.SoundId = "rbxassetid://261010715"
  1346. z3.Pitch = z1.Pitch
  1347. z3.Volume = 1
  1348. z1:Play()
  1349. z2:Play()
  1350. z3:Play()
  1351. Debounces.ks=false
  1352. end
  1353. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
  1354. hit:FindFirstChild("Torso"):BreakJoints()
  1355. wait(.5)
  1356. Debounces.Slapped = false
  1357. z:Destroy()
  1358. z1:Destroy()
  1359. z2:Destroy()
  1360. z3:Destroy()
  1361. end
  1362. end
  1363. end
  1364. end
  1365. end)
  1366. for i = 1, 14 do
  1367. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3, 0.5, -.3) * CFrame.Angles(math.rad(50), 0, math.rad(40)), 0.5)
  1368. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(40)), 0.5)
  1369. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.5)
  1370. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.5)
  1371. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5)
  1372. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5)
  1373. if Debounces.on==false then break end
  1374. rs:wait(2)
  1375. end
  1376. Debounces.Slapping = true
  1377. for i = 1, 20 do
  1378. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3, 0.7, .3) * CFrame.Angles(math.rad(50), 0, math.rad(-110)), 0.6)
  1379. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(40)), 0.6)
  1380. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(0)), 0.6)
  1381. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.6)
  1382. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
  1383. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
  1384. if Debounces.on==false then break end
  1385. rs:wait(2)
  1386. end
  1387. Debounces.Slapping = false
  1388. if Debounces.CanAttack == false then
  1389. Debounces.CanAttack = true
  1390. Debounces.NoIdl = false
  1391. Debounces.on = false
  1392. end
  1393. end
  1394. end
  1395. end
  1396. end)
  1397. -------------------------------
  1398. Charging = false
  1399. mouse.KeyDown:connect(function(key)
  1400. if key == "r" then
  1401. if Charging == false then
  1402. Charging = true
  1403. if Debounces.CanAttack == true then
  1404. Debounces.CanAttack = false
  1405. Debounces.NoIdl = true
  1406. Debounces.on = true
  1407. for i = 1,20 do
  1408. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2)
  1409. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2)
  1410. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  1411. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  1412. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
  1413. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
  1414. if Debounces.on == false then break end
  1415. rs:wait()
  1416. end
  1417. --[[for i = 1,20 do
  1418. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4)
  1419. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4)
  1420. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
  1421. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4)
  1422. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
  1423. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
  1424. if Debounces.on == false then break end
  1425. rs:wait()
  1426. end]]--
  1427. pt=Instance.new('Part',torso)
  1428. pt.Anchored=true
  1429. pt.CanCollide=false
  1430. pt.Locked = true
  1431. pt.FormFactor='Custom'
  1432. pt.Size=Vector3.new(1,1,1)
  1433. pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
  1434. pt.Transparency=.6
  1435. pt.BrickColor=BrickColor.new('Really black')
  1436. msh=Instance.new('SpecialMesh',pt)
  1437. msh.MeshId='http://www.roblox.com/asset/?id=20329976'
  1438. msh.Scale=Vector3.new(8,4,8)
  1439. pt2=pt:clone()
  1440. pt2.Parent = torso
  1441. pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
  1442. pt2.BrickColor=BrickColor.new("Royal purple")
  1443. msh2=msh:clone()
  1444. msh2.Parent=pt2
  1445. msh2.Scale=Vector3.new(10,5,10)
  1446.  
  1447. custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
  1448.  
  1449. bl = Instance.new("Part", char)
  1450. bl.Locked = true
  1451. bl.Name = "Shell"
  1452. bl.BrickColor = BrickColor.new("Really black")
  1453. bl.Anchored = true
  1454. bl.CanCollide = false
  1455. bl.Transparency = 0
  1456. bl.Reflectance = 0
  1457. bl.BottomSurface = 0
  1458. bl.TopSurface = 0
  1459. bl.Shape = 0
  1460. blm = Instance.new("SpecialMesh",bl)
  1461. blm.MeshType = "Sphere"
  1462. blm.Scale = Vector3.new(1,1,1)
  1463. blm.MeshId = "rbxassetid://9982590"
  1464.  
  1465. coroutine.resume(coroutine.create(function()
  1466. for i=1, math.huge, 4 do
  1467. if Charging == true then
  1468. rs:wait()
  1469. bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  1470. blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1)
  1471. bl.Transparency = bl.Transparency + 0.005
  1472. pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
  1473. pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
  1474. msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05)
  1475. msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05)
  1476. elseif Charging == false then break
  1477. end
  1478. end
  1479. end))
  1480.  
  1481. repeat
  1482. local p = Instance.new('Part',torso)
  1483. p.formFactor = 'Custom'
  1484. p.Size = Vector3.new(1,1,1)
  1485. p.BrickColor = workspace.Base.BrickColor
  1486. p.CanCollide = false
  1487. p.Transparency = 0
  1488. p.Anchored = true
  1489. p.Locked=true
  1490. p.Material = workspace.Base.Material
  1491. s = math.random(1,40)/10
  1492. local m = Instance.new("BlockMesh",p)
  1493. m.Scale = Vector3.new(s,s,s)
  1494. p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random())
  1495. --[[coroutine.wrap(function()
  1496. wait(2)
  1497. while Charging == true do
  1498. wait(2)
  1499. GroundWave1()
  1500. wait(2)
  1501. end
  1502. end)()]]--
  1503. Spawn(function()
  1504. while rs:wait() do
  1505. if Charging == true then
  1506. rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50)))
  1507. larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30)))
  1508. hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0))
  1509. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  1510. lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10)))
  1511. rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20)))
  1512. elseif Charging == false then break
  1513. end
  1514. end
  1515. end)
  1516. Spawn(function()
  1517. while rs:wait() do
  1518. if p.Transparency >= 1 then p:Destroy() break end
  1519. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  1520. p.Transparency = p.Transparency+0.01
  1521. end
  1522. end)
  1523. wait(.3)
  1524. until Charging == false
  1525. end
  1526. end
  1527. end
  1528. end)
  1529. ----------------------------------------------------
  1530. function spawnHair()
  1531. local m = Instance.new("Model")
  1532. m.Name = "Hair"
  1533. p1 = Instance.new("Part", m)
  1534. colc = math.random(1,7)
  1535. p1.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1536. p1.FormFactor = Enum.FormFactor.Symmetric
  1537. p1.Size = Vector3.new(1, 1, 1)
  1538. p1.CFrame = CFrame.new(-2.49043155, 8.24595642, -3.40113306, -5.48362732e-006, -0.978699088, 0.205299795, 3.27825546e-007, -0.205299854, -0.978699148, 1, -5.28991222e-006, 1.48639083e-006)
  1539. p1.CanCollide = false
  1540. p1.Locked = true
  1541. p1.BottomSurface = Enum.SurfaceType.Smooth
  1542. p1.TopSurface = Enum.SurfaceType.Smooth
  1543. b1 = Instance.new("SpecialMesh", p1)
  1544. b1.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1545. b1.TextureId = ""
  1546. b1.MeshType = Enum.MeshType.FileMesh
  1547. b1.Name = "Mesh"
  1548. b1.VertexColor = Vector3.new(0, 0, 0)
  1549. b1.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  1550. p2 = Instance.new("Part", m)
  1551. p2.BrickColor = BrickColor.new("Pastel brown")
  1552. p2.Transparency = 1
  1553. p2.Name = "Head"
  1554. p2.FormFactor = Enum.FormFactor.Symmetric
  1555. p2.Size = Vector3.new(2, 1, 1)
  1556. p2.CFrame = CFrame.new(-1.70008016, 8.14794922, -3.40013027, 4.24603923e-006, 7.4505806e-008, -1, -1.50268988e-007, 1, 1.49011612e-008, 1.00000012, 6.79109462e-008, 4.23316806e-006)
  1557. p2.CanCollide = false
  1558. p2.Locked = true
  1559. p2.TopSurface = Enum.SurfaceType.Smooth
  1560. b2 = Instance.new("SpecialMesh", p2)
  1561. b2.MeshType = Enum.MeshType.Head
  1562. b2.Name = "Mesh"
  1563. b2.Scale = Vector3.new(1.25, 1.25, 1.25)
  1564. p3 = Instance.new("Part", m)
  1565. p3.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1566. p3.FormFactor = Enum.FormFactor.Symmetric
  1567. p3.Size = Vector3.new(2, 2, 2)
  1568. p3.CFrame = CFrame.new(-1.70003617, 8.71796131, -3.4000442, 2.57710985e-006, 6.95607483e-008, -1.00000012, -1.20466638e-007, 1, 9.95640903e-009, 1.00000024, 3.81086345e-008, 2.56423846e-006)
  1569. p3.CanCollide = false
  1570. p3.Locked = true
  1571. p3.BottomSurface = Enum.SurfaceType.Smooth
  1572. p3.TopSurface = Enum.SurfaceType.Smooth
  1573. b3 = Instance.new("SpecialMesh", p3)
  1574. b3.MeshId = "http://www.roblox.com/asset/?id=16627529"
  1575. b3.TextureId = ""
  1576. b3.MeshType = Enum.MeshType.FileMesh
  1577. b3.Name = "Mesh"
  1578. b3.VertexColor = Vector3.new(0, 0, 0)
  1579. b3.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  1580. p4 = Instance.new("Part", m)
  1581. p4.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1582. p4.FormFactor = Enum.FormFactor.Symmetric
  1583. p4.Size = Vector3.new(1, 1, 1)
  1584. p4.CFrame = CFrame.new(-1.77981007, 8.84795475, -3.40016508, 5.79576135e-006, 7.9450956e-008, -1.00000012, -1.80071311e-007, 1, 1.98458743e-008, 1.00000024, 9.77132402e-008, 5.78289018e-006)
  1585. p4.CanCollide = false
  1586. p4.Locked = true
  1587. p4.BottomSurface = Enum.SurfaceType.Smooth
  1588. p4.TopSurface = Enum.SurfaceType.Smooth
  1589. b4 = Instance.new("SpecialMesh", p4)
  1590. b4.MeshId = "http://www.roblox.com/asset/?id=19326912"
  1591. b4.TextureId = ""
  1592. b4.MeshType = Enum.MeshType.FileMesh
  1593. b4.Name = "Mesh"
  1594. b4.VertexColor = Vector3.new(0, 0, 0)
  1595. p5 = Instance.new("Part", m)
  1596. p5.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1597. p5.FormFactor = Enum.FormFactor.Symmetric
  1598. p5.Size = Vector3.new(1, 1, 1)
  1599. p5.CFrame = CFrame.new(-1.70003772, 8.46796131, -3.40004301, -3.43517968e-007, 2.98088111e-007, -1, -1.00421907e-007, 1, 2.38484063e-007, 1.00000012, 1.80640072e-008, -3.56389592e-007)
  1600. p5.CanCollide = false
  1601. p5.Locked = true
  1602. p5.BottomSurface = Enum.SurfaceType.Smooth
  1603. p5.TopSurface = Enum.SurfaceType.Smooth
  1604. b5 = Instance.new("SpecialMesh", p5)
  1605. b5.MeshId = "http://www.roblox.com/asset/?id=45916884"
  1606. b5.TextureId = ""
  1607. b5.MeshType = Enum.MeshType.FileMesh
  1608. b5.Name = "Mesh"
  1609. b5.VertexColor = Vector3.new(0, 0, 0)
  1610. b5.Scale = Vector3.new(1, 0.899999976, 1)
  1611. p6 = Instance.new("Part", m)
  1612. p6.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1613. p6.FormFactor = Enum.FormFactor.Symmetric
  1614. p6.Size = Vector3.new(1, 1, 1)
  1615. p6.CFrame = CFrame.new(-1.89967656, 8.58795834, -3.44990659, -5.81936433e-007, 5.36502284e-007, -0.99999994, -1.3998249e-007, 1, 4.76898265e-007, 1, 5.76247672e-008, -5.94808171e-007)
  1616. p6.CanCollide = false
  1617. p6.Locked = true
  1618. p6.BottomSurface = Enum.SurfaceType.Smooth
  1619. p6.TopSurface = Enum.SurfaceType.Smooth
  1620. b6 = Instance.new("SpecialMesh", p6)
  1621. b6.MeshId = "http://www.roblox.com/asset/?id=62246019"
  1622. b6.TextureId = ""
  1623. b6.MeshType = Enum.MeshType.FileMesh
  1624. b6.Name = "Mesh"
  1625. b6.VertexColor = Vector3.new(0, 0, 0)
  1626. p7 = Instance.new("Part", m)
  1627. p7.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1628. p7.FormFactor = Enum.FormFactor.Symmetric
  1629. p7.Size = Vector3.new(1, 1, 1)
  1630. p7.CFrame = CFrame.new(-1.89918542, 8.31796837, -3.50097537, -4.62727087e-007, 5.36502228e-007, -0.999999881, -1.39982518e-007, 1, 4.76898208e-007, 0.99999994, 5.76247459e-008, -4.75598938e-007)
  1631. p7.CanCollide = false
  1632. p7.Locked = true
  1633. p7.BottomSurface = Enum.SurfaceType.Smooth
  1634. p7.TopSurface = Enum.SurfaceType.Smooth
  1635. b7 = Instance.new("SpecialMesh", p7)
  1636. b7.MeshId = "http://www.roblox.com/asset/?id=76056263"
  1637. b7.TextureId = ""
  1638. b7.MeshType = Enum.MeshType.FileMesh
  1639. b7.Name = "Mesh"
  1640. b7.VertexColor = Vector3.new(0, 0, 0)
  1641. p8 = Instance.new("Part", m)
  1642. p8.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1643. p8.FormFactor = Enum.FormFactor.Symmetric
  1644. p8.Size = Vector3.new(1, 1, 1)
  1645. p8.CFrame = CFrame.new(-2.62433338, 7.66397905, -3.4010179, -1.17798254e-006, -0.805111349, 0.593123376, -2.5008859e-007, -0.593123615, -0.805111527, 0.999999881, -9.58229293e-007, 4.4941558e-007)
  1646. p8.CanCollide = false
  1647. p8.Locked = true
  1648. p8.BottomSurface = Enum.SurfaceType.Smooth
  1649. p8.TopSurface = Enum.SurfaceType.Smooth
  1650. b8 = Instance.new("SpecialMesh", p8)
  1651. b8.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1652. b8.TextureId = ""
  1653. b8.MeshType = Enum.MeshType.FileMesh
  1654. b8.Name = "Mesh"
  1655. b8.VertexColor = Vector3.new(0, 0, 0)
  1656. b8.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  1657. p9 = Instance.new("Part", m)
  1658. p9.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1659. p9.FormFactor = Enum.FormFactor.Symmetric
  1660. p9.Size = Vector3.new(2, 1, 2)
  1661. p9.CFrame = CFrame.new(-1.76505995, 8.56096649, -3.40065479, -9.73168881e-007, -0.0995008349, -0.995037436, -1.70322267e-007, 0.995037675, -0.0995009243, 1, 1.13823972e-007, -6.80968242e-007)
  1662. p9.CanCollide = false
  1663. p9.Locked = true
  1664. p9.BottomSurface = Enum.SurfaceType.Smooth
  1665. p9.TopSurface = Enum.SurfaceType.Smooth
  1666. b9 = Instance.new("SpecialMesh", p9)
  1667. b9.MeshId = "http://www.roblox.com/asset/?id=12259089"
  1668. b9.TextureId = ""
  1669. b9.MeshType = Enum.MeshType.FileMesh
  1670. b9.Name = "Mesh"
  1671. b9.VertexColor = Vector3.new(0, 0, 0)
  1672. b9.Scale = Vector3.new(1.01999998, 1.04999995, 1.04999995)
  1673. p10 = Instance.new("Part", m)
  1674. p10.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1675. p10.FormFactor = Enum.FormFactor.Symmetric
  1676. p10.Size = Vector3.new(1, 1, 1)
  1677. p10.CFrame = CFrame.new(-2.0207715, 9.06097031, -3.39961624, -1.10652763e-006, -0.683569431, -0.729885519, -2.85231891e-007, 0.729885638, -0.68356967, 1.00000012, -3.22293062e-007, -8.40051371e-007)
  1678. p10.CanCollide = false
  1679. p10.Locked = true
  1680. p10.BottomSurface = Enum.SurfaceType.Smooth
  1681. p10.TopSurface = Enum.SurfaceType.Smooth
  1682. b10 = Instance.new("SpecialMesh", p10)
  1683. b10.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1684. b10.TextureId = ""
  1685. b10.MeshType = Enum.MeshType.FileMesh
  1686. b10.Name = "Mesh"
  1687. b10.VertexColor = Vector3.new(0, 0, 0)
  1688. b10.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  1689. p11 = Instance.new("Part", m)
  1690. p11.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1691. p11.FormFactor = Enum.FormFactor.Symmetric
  1692. p11.Size = Vector3.new(1, 1, 1)
  1693. p11.CFrame = CFrame.new(-2.16468835, 8.78595829, -3.40089417, -1.41617738e-006, -0.989475727, -0.144699216, -4.36450762e-007, 0.144699067, -0.989476085, 1.00000024, -9.47996682e-007, -7.38401468e-007)
  1694. p11.CanCollide = false
  1695. p11.Locked = true
  1696. p11.BottomSurface = Enum.SurfaceType.Smooth
  1697. p11.TopSurface = Enum.SurfaceType.Smooth
  1698. b11 = Instance.new("SpecialMesh", p11)
  1699. b11.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1700. b11.TextureId = ""
  1701. b11.MeshType = Enum.MeshType.FileMesh
  1702. b11.Name = "Mesh"
  1703. b11.VertexColor = Vector3.new(0, 0, 0)
  1704. b11.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  1705. p12 = Instance.new("Part", m)
  1706. p12.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1707. p12.FormFactor = Enum.FormFactor.Custom
  1708. p12.Size = Vector3.new(1, 3.5, 1)
  1709. p12.CFrame = CFrame.new(-3.74216318, 6.74288082, -3.40101933, -1.20476273e-006, -0.553697288, 0.832718134, -3.31002866e-007, -0.832718611, -0.553697169, 1.00000036, -8.7345768e-007, 3.69213154e-007)
  1710. p12.CanCollide = false
  1711. p12.Locked = true
  1712. p12.BottomSurface = Enum.SurfaceType.Smooth
  1713. p12.TopSurface = Enum.SurfaceType.Smooth
  1714. b12 = Instance.new("SpecialMesh", p12)
  1715. b12.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1716. b12.TextureId = ""
  1717. b12.MeshType = Enum.MeshType.FileMesh
  1718. b12.Name = "Mesh"
  1719. b12.VertexColor = Vector3.new(0, 0, 0)
  1720. b12.Scale = Vector3.new(1, 3, 1.29999995)
  1721. p13 = Instance.new("Part", m)
  1722. p13.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1723. p13.FormFactor = Enum.FormFactor.Custom
  1724. p13.Size = Vector3.new(1, 2, 1)
  1725. p13.CFrame = CFrame.new(-3.32689047, 6.86741829, -3.40101862, -9.81709945e-007, -0.319307148, 0.947651446, -5.6545997e-007, -0.947651923, -0.31930691, 1.00000048, -8.39551717e-007, 1.79318391e-007)
  1726. p13.CanCollide = false
  1727. p13.Locked = true
  1728. p13.BottomSurface = Enum.SurfaceType.Smooth
  1729. p13.TopSurface = Enum.SurfaceType.Smooth
  1730. b13 = Instance.new("SpecialMesh", p13)
  1731. b13.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1732. b13.TextureId = ""
  1733. b13.MeshType = Enum.MeshType.FileMesh
  1734. b13.Name = "Mesh"
  1735. b13.VertexColor = Vector3.new(0, 0, 0)
  1736. b13.Scale = Vector3.new(1, 3, 1.29999995)
  1737. p14 = Instance.new("Part", m)
  1738. p14.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1739. p14.FormFactor = Enum.FormFactor.Custom
  1740. p14.Size = Vector3.new(1, 2, 1)
  1741. p14.CFrame = CFrame.new(-3.02689028, 7.96740961, -3.40101862, -1.33478545e-006, -0.750354111, 0.661036491, -5.20037702e-008, -0.661037207, -0.750354171, 1.0000006, -6.31296757e-007, 2.01137496e-007)
  1742. p14.CanCollide = false
  1743. p14.Locked = true
  1744. p14.BottomSurface = Enum.SurfaceType.Smooth
  1745. p14.TopSurface = Enum.SurfaceType.Smooth
  1746. b14 = Instance.new("SpecialMesh", p14)
  1747. b14.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1748. b14.TextureId = ""
  1749. b14.MeshType = Enum.MeshType.FileMesh
  1750. b14.Name = "Mesh"
  1751. b14.VertexColor = Vector3.new(0, 0, 0)
  1752. b14.Scale = Vector3.new(1, 3, 1.29999995)
  1753. p15 = Instance.new("Part", m)
  1754. p15.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1755. p15.FormFactor = Enum.FormFactor.Custom
  1756. p15.Size = Vector3.new(1, 2.5, 1)
  1757. p15.CFrame = CFrame.new(-2.96531463, 7.75924349, -2.90101862, 0.342019022, -0.520305753, 0.782499552, -1.1920929e-007, -0.832718909, -0.553697407, 0.939693451, 0.189374983, -0.284806281)
  1758. p15.CanCollide = false
  1759. p15.Locked = true
  1760. p15.BottomSurface = Enum.SurfaceType.Smooth
  1761. p15.TopSurface = Enum.SurfaceType.Smooth
  1762. b15 = Instance.new("SpecialMesh", p15)
  1763. b15.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1764. b15.TextureId = ""
  1765. b15.MeshType = Enum.MeshType.FileMesh
  1766. b15.Name = "Mesh"
  1767. b15.VertexColor = Vector3.new(0, 0, 0)
  1768. b15.Scale = Vector3.new(1, 3, 1.29999995)
  1769. p16 = Instance.new("Part", m)
  1770. p16.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1771. p16.FormFactor = Enum.FormFactor.Custom
  1772. p16.Size = Vector3.new(1, 2.5, 1)
  1773. p16.CFrame = CFrame.new(-2.96531439, 7.75924349, -3.80101967, -0.258820295, -0.534830391, 0.804343879, -1.78813934e-007, -0.832718968, -0.553697228, 0.96592629, -0.143308073, 0.215523779)
  1774. p16.CanCollide = false
  1775. p16.Locked = true
  1776. p16.BottomSurface = Enum.SurfaceType.Smooth
  1777. p16.TopSurface = Enum.SurfaceType.Smooth
  1778. b16 = Instance.new("SpecialMesh", p16)
  1779. b16.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1780. b16.TextureId = ""
  1781. b16.MeshType = Enum.MeshType.FileMesh
  1782. b16.Name = "Mesh"
  1783. b16.VertexColor = Vector3.new(0, 0, 0)
  1784. b16.Scale = Vector3.new(1, 3, 1.29999995)
  1785. p17 = Instance.new("Part", m)
  1786. p17.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1787. p17.FormFactor = Enum.FormFactor.Custom
  1788. p17.Size = Vector3.new(1, 2.4000001, 1)
  1789. p17.CFrame = CFrame.new(-2.69075108, 7.07788849, -3.40101933, -1.13248825e-006, -0.319307148, 0.947651625, -1.1920929e-006, -0.947652161, -0.319306791, 1.0000006, -1.54972076e-006, 1.04308128e-007)
  1790. p17.CanCollide = false
  1791. p17.Locked = true
  1792. p17.BottomSurface = Enum.SurfaceType.Smooth
  1793. p17.TopSurface = Enum.SurfaceType.Smooth
  1794. b17 = Instance.new("SpecialMesh", p17)
  1795. b17.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1796. b17.TextureId = ""
  1797. b17.MeshType = Enum.MeshType.FileMesh
  1798. b17.Name = "Mesh"
  1799. b17.VertexColor = Vector3.new(0, 0, 0)
  1800. b17.Scale = Vector3.new(1, 3, 1.29999995)
  1801. p18 = Instance.new("Part", m)
  1802. p18.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1803. p18.FormFactor = Enum.FormFactor.Custom
  1804. p18.Size = Vector3.new(2, 2, 2)
  1805. p18.CFrame = CFrame.new(-1.70003319, 8.71796608, -3.40004444, -2.37434961e-006, 1.78813934e-007, 1.00000036, -2.35242567e-007, 1.00000072, 3.27825546e-007, -1.0000006, 7.95440158e-009, -2.91315405e-006)
  1806. p18.CanCollide = false
  1807. p18.Locked = true
  1808. p18.BottomSurface = Enum.SurfaceType.Smooth
  1809. p18.TopSurface = Enum.SurfaceType.Smooth
  1810. b18 = Instance.new("SpecialMesh", p18)
  1811. b18.MeshId = "http://www.roblox.com/asset/?id=16627529"
  1812. b18.TextureId = ""
  1813. b18.MeshType = Enum.MeshType.FileMesh
  1814. b18.Name = "Mesh"
  1815. b18.VertexColor = Vector3.new(0, 0, 0)
  1816. b18.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  1817. w1 = Instance.new("Weld", p1)
  1818. w1.Name = "Head_Weld"
  1819. w1.Part0 = p1
  1820. w1.C0 = CFrame.new(3.40111661, -0.744508088, 8.58160019, -5.48362732e-006, 3.27825546e-007, 1, -0.978699088, -0.205299854, -5.30481339e-006, 0.205299824, -0.978699148, 1.49011612e-006)
  1821. w1.Part1 = p2
  1822. w1.C1 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006)
  1823. w2 = Instance.new("Weld", p2)
  1824. w2.Name = "Part_Weld"
  1825. w2.Part0 = p2
  1826. w2.C0 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006)
  1827. w2.Part1 = p3
  1828. w2.C1 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006)
  1829. w3 = Instance.new("Weld", p3)
  1830. w3.Name = "Part_Weld"
  1831. w3.Part0 = p3
  1832. w3.C0 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006)
  1833. w3.Part1 = p4
  1834. w3.C1 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006)
  1835. w4 = Instance.new("Weld", p4)
  1836. w4.Name = "Part_Weld"
  1837. w4.Part0 = p4
  1838. w4.C0 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006)
  1839. w4.Part1 = p5
  1840. w4.C1 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007)
  1841. w5 = Instance.new("Weld", p5)
  1842. w5.Name = "Part_Weld"
  1843. w5.Part0 = p5
  1844. w5.C0 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007)
  1845. w5.Part1 = p6
  1846. w5.C1 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007)
  1847. w6 = Instance.new("Weld", p6)
  1848. w6.Name = "Part_Weld"
  1849. w6.Part0 = p6
  1850. w6.C0 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007)
  1851. w6.Part1 = p7
  1852. w6.C1 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007)
  1853. w7 = Instance.new("Weld", p7)
  1854. w7.Name = "Part_Weld"
  1855. w7.Part0 = p7
  1856. w7.C0 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007)
  1857. w7.Part1 = p8
  1858. w7.C1 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007)
  1859. w8 = Instance.new("Weld", p8)
  1860. w8.Name = "Part_Weld"
  1861. w8.Part0 = p8
  1862. w8.C0 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007)
  1863. w8.Part1 = p9
  1864. w8.C1 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007)
  1865. w9 = Instance.new("Weld", p9)
  1866. w9.Name = "Part_Weld"
  1867. w9.Part0 = p9
  1868. w9.C0 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007)
  1869. w9.Part1 = p10
  1870. w9.C1 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007)
  1871. w10 = Instance.new("Weld", p10)
  1872. w10.Name = "Part_Weld"
  1873. w10.Part0 = p10
  1874. w10.C0 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007)
  1875. w10.Part1 = p11
  1876. w10.C1 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007)
  1877. w11 = Instance.new("Weld", p11)
  1878. w11.Name = "Part_Weld"
  1879. w11.Part0 = p11
  1880. w11.C0 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007)
  1881. w11.Part1 = p12
  1882. w11.C1 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007)
  1883. w12 = Instance.new("Weld", p12)
  1884. w12.Name = "Part_Weld"
  1885. w12.Part0 = p12
  1886. w12.C0 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007)
  1887. w12.Part1 = p13
  1888. w12.C1 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007)
  1889. w13 = Instance.new("Weld", p13)
  1890. w13.Name = "Part_Weld"
  1891. w13.Part0 = p13
  1892. w13.C0 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007)
  1893. w13.Part1 = p14
  1894. w13.C1 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007)
  1895. w14 = Instance.new("Weld", p14)
  1896. w14.Name = "Part_Weld"
  1897. w14.Part0 = p14
  1898. w14.C0 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007)
  1899. w14.Part1 = p15
  1900. w14.C1 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775)
  1901. w15 = Instance.new("Weld", p15)
  1902. w15.Name = "Part_Weld"
  1903. w15.Part0 = p15
  1904. w15.C0 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775)
  1905. w15.Part1 = p16
  1906. w15.C1 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928)
  1907. w16 = Instance.new("Weld", p16)
  1908. w16.Name = "Part_Weld"
  1909. w16.Part0 = p16
  1910. w16.C0 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928)
  1911. w16.Part1 = p17
  1912. w16.C1 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007)
  1913. w17 = Instance.new("Weld", p17)
  1914. w17.Name = "Part_Weld"
  1915. w17.Part0 = p17
  1916. w17.C0 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007)
  1917. w17.Part1 = p18
  1918. w17.C1 = CFrame.new(-3.40004683, -8.71796036, 1.70002675, -2.6504224e-006, -7.89943471e-008, -1, -2.47197018e-008, 1, -7.89942831e-008, 1, 2.47194887e-008, -2.6504224e-006)
  1919. m.Parent = char
  1920. m:MakeJoints()
  1921. ----------------------------------------------------
  1922. local cor = Instance.new("Part", char.Hair)
  1923. cor.Name = "Link"
  1924. cor.Locked = true
  1925. cor.BottomSurface = 0
  1926. cor.CanCollide = false
  1927. cor.Size = Vector3.new(1, 9, 1)
  1928. cor.Transparency = 1
  1929. cor.TopSurface = 0
  1930. corw = Instance.new("Weld", cor)
  1931. corw.Part0 = hed
  1932. corw.Part1 = cor
  1933. corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1934. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1935. weld1 = Instance.new("Weld", char.Hair)
  1936. weld1.Part0 = cor
  1937. weld1.Part1 = char.Hair.Head
  1938. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1939. end
  1940. ----------------------------------------------------
  1941. local rainbowHands = false
  1942. mouse.KeyDown:connect(function(key)
  1943. if key == "t" then
  1944. if Grab == false then
  1945. if rainbowssl == true then
  1946. if rainbowHands == true then
  1947. if d0arm[3] ~= "true" then
  1948. rainbowHands = false
  1949. d0arm[3] = "true"
  1950. do2()
  1951. end
  1952. elseif rainbowHands == false then
  1953. if d0arm[3] ~= "false" then
  1954. d0arm[3] = "false"
  1955. d0arm[1].Enabled = false
  1956. d0arm[2].Enabled = false
  1957. end
  1958. end
  1959. end
  1960. end
  1961. end
  1962. end)
  1963. ----------------------------------------------------
  1964.  
  1965. mouse.KeyDown:connect(function(key)
  1966. if key == "c" then
  1967.  
  1968.  
  1969. if rainbowHands == false then
  1970. if d0arm[3] == "true" then
  1971. d0arm[3] = "false"
  1972. d0arm[1].Enabled = false
  1973. d0arm[2].Enabled = false
  1974. end
  1975. if Debounces.CanAttack == true then
  1976. Debounces.CanAttack = false
  1977. Debounces.NoIdl = true
  1978. end
  1979. equipanim()
  1980. Debounces.CanAttack = true
  1981. Debounces.NoIdl = false
  1982. rainbowHands = true
  1983. z = Instance.new("Sound",hed)
  1984. z.SoundId = "rbxassetid://169380525"
  1985. z.Volume = 1
  1986. z:Play()
  1987.  
  1988. else
  1989. rainbowHands = false
  1990. end
  1991. end
  1992. end)
  1993. Player = game:GetService("Players").LocalPlayer
  1994. Character = Player.Character
  1995. PlayerGui = Player.PlayerGui
  1996. Backpack = Player.Backpack
  1997. Torso = Character.Torso
  1998. Head = Character.Head
  1999. Humanoid = Character.Humanoid
  2000. LeftArm = Character["Left Arm"]
  2001. LeftLeg = Character["Left Leg"]
  2002. RightArm = Character["Right Arm"]
  2003. RightLeg = Character["Right Leg"]
  2004. LS = Torso["Left Shoulder"]
  2005. LH = Torso["Left Hip"]
  2006. RS = Torso["Right Shoulder"]
  2007. RH = Torso["Right Hip"]
  2008. Neck = Torso.Neck
  2009. it = Instance.new
  2010. vt = Vector3.new
  2011. cf = CFrame.new
  2012. euler = CFrame.fromEulerAnglesXYZ
  2013. angles = CFrame.Angles
  2014. mr = math.rad
  2015. mr2 = math.random
  2016. RootPart = Character.HumanoidRootPart
  2017. RootJoint = RootPart.RootJoint
  2018. RootCF = euler(-1.57, 0, 3.14)
  2019. attack = false
  2020. attackdebounce = false
  2021. MMouse = Player:GetMouse()
  2022. combo = 0
  2023. local hitfloor, posfloor = nil, nil
  2024. local Effects = {}
  2025. local Weapon = {}
  2026. local Welds = {}
  2027. local Saber = {}
  2028. local Buster = {}
  2029. local decreaseatk = 0
  2030. local decreasedef = 0
  2031. local decreasemvmt = 0
  2032. local manainc = 16
  2033. local handle = nil
  2034. local floating = false
  2035. local testpart = it("Part")
  2036. testpart.Anchored = true
  2037. local Mode = "Normal"
  2038. local cbuster = false
  2039. local cshoot = false
  2040. local cdebounce = false
  2041. local sbreaker = false
  2042. local shockshoot = false
  2043. local shockdebounce = false
  2044. local TehM = nil
  2045. local sblazing = false
  2046. local starshoot = false
  2047. local stardebounce = false
  2048. local busterlaser = false
  2049. local sbreakerII = false
  2050. local galacblazing = false
  2051. local prising = false
  2052. local move1 = "(Z)\nChaos Buster"
  2053. local move2 = "(X)\nShocker Breaker"
  2054. local move3 = "(C)\nStar Blazing"
  2055. local move4 = "(V)\n"
  2056. player = nil
  2057. RSH = nil
  2058. LSH = nil
  2059.  
  2060. TorsoColor = Torso.BrickColor
  2061. NewCol = BrickColor.new("Ghost grey").Color
  2062. NewCol2 = BrickColor.new("Smoky grey").Color
  2063. NewCol3 = BrickColor.new("Pearl").Color
  2064.  
  2065.  
  2066. local Neons = {BrickColor.new("Bright red"), BrickColor.new("Bright orange"), BrickColor.new("Bright yellow"), BrickColor.new("Bright green"), BrickColor.new("Bright blue"), BrickColor.new("Royal purple"), BrickColor.new("Bright violet")}
  2067.  
  2068.  
  2069. ArtificialHB = Instance.new("BindableEvent", script)
  2070. ArtificialHB.Name = "Heartbeat"
  2071.  
  2072. script:WaitForChild("Heartbeat")
  2073.  
  2074. frame = 1 / 40
  2075. tf = 0
  2076. allowframeloss = true
  2077. tossremainder = false
  2078. lastframe = tick()
  2079. script.Heartbeat:Fire()
  2080.  
  2081. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2082. tf = tf + s
  2083. if tf >= frame then
  2084. if allowframeloss then
  2085. script.Heartbeat:Fire()
  2086. lastframe = tick()
  2087. else
  2088. for i = 1, math.floor(tf / frame) do
  2089. script.Heartbeat:Fire()
  2090. end
  2091. lastframe = tick()
  2092. end
  2093. if tossremainder then
  2094. tf = 0
  2095. else
  2096. tf = tf - frame * math.floor(tf / frame)
  2097. end
  2098. end
  2099. end)
  2100.  
  2101. function swait(num)
  2102. if num == 0 or num == nil then
  2103. ArtificialHB.Event:wait()
  2104. else
  2105. for i = 0, num do
  2106. ArtificialHB.Event:wait()
  2107. end
  2108. end
  2109. end
  2110.  
  2111.  
  2112.  
  2113.  
  2114. local Stats = Instance.new("BoolValue")
  2115. Stats.Name = "Stats"
  2116. Stats.Parent = Character
  2117. local Atk = Instance.new("NumberValue")
  2118. Atk.Name = "Damage"
  2119. Atk.Parent = Stats
  2120. Atk.Value = 1
  2121. local Def = Instance.new("NumberValue")
  2122. Def.Name = "Defense"
  2123. Def.Parent = Stats
  2124. Def.Value = 1
  2125. local Mvmt = Instance.new("NumberValue")
  2126. Mvmt.Name = "Movement"
  2127. Mvmt.Parent = Stats
  2128. Mvmt.Value = 1
  2129. local Block = Instance.new("BoolValue")
  2130. Block.Name = "Block"
  2131. Block.Parent = Stats
  2132. Block.Value = false
  2133. local Stun = Instance.new("NumberValue")
  2134. Stun.Name = "Stun"
  2135. Stun.Parent = Stats
  2136. Stun.Value = 0
  2137. local StunT = Instance.new("NumberValue")
  2138. StunT.Name = "StunThreshold"
  2139. StunT.Parent = Stats
  2140. StunT.Value = 80
  2141. local Rooted = Instance.new("BoolValue")
  2142. Rooted.Name = "Rooted"
  2143. Rooted.Parent = Stats
  2144. Rooted.Value = false
  2145. local Stunned = Instance.new("BoolValue")
  2146. Stunned.Name = "Stunned"
  2147. Stunned.Parent = Stats
  2148. Stunned.Value = false
  2149. local Stagger = Instance.new("BoolValue")
  2150. Stagger.Name = "Stagger"
  2151. Stagger.Parent = Stats
  2152. Stagger.Value = false
  2153. local StaggerHit = Instance.new("BoolValue")
  2154. StaggerHit.Name = "StaggerHit"
  2155. StaggerHit.Parent = Stats
  2156. StaggerHit.Value = false
  2157. local RecentEnemy = Instance.new("ObjectValue")
  2158. RecentEnemy.Name = "RecentEnemy"
  2159. RecentEnemy.Parent = Stats
  2160. RecentEnemy.Value = nil
  2161. local Decrease = Instance.new("BoolValue")
  2162. Decrease.Name = "Decrease"
  2163. Decrease.Parent = Stats
  2164. Decrease.Value = false
  2165. local mana = Instance.new("NumberValue")
  2166. mana.Name = "Mana"
  2167. mana.Parent = Stats
  2168. mana.Value = 0
  2169. local passive1 = Instance.new("NumberValue", Decrease)
  2170. passive1.Name = "DecreaseMvmt"
  2171. passive1.Value = -0.1
  2172. local passive2 = Instance.new("NumberValue", Decrease)
  2173. passive2.Name = "DecreaseDef"
  2174. passive2.Value = 0
  2175. NoOutline = function(Part)
  2176. Part.TopSurface = 10
  2177. end
  2178.  
  2179. part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  2180. local fp = it("Part")
  2181. fp.formFactor = formfactor
  2182. fp.Parent = parent
  2183. fp.Reflectance = reflectance
  2184. fp.Transparency = transparency
  2185. fp.CanCollide = false
  2186. fp.Locked = true
  2187. fp.BrickColor = brickcolor
  2188. fp.Name = name
  2189. fp.Size = size
  2190. fp.Position = Torso.Position
  2191. NoOutline(fp)
  2192. fp.Material = "Neon"
  2193. fp:BreakJoints()
  2194. return fp
  2195. end
  2196.  
  2197. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  2198. local mesh = it(Mesh)
  2199. mesh.Parent = part
  2200. if Mesh == "SpecialMesh" then
  2201. mesh.MeshType = meshtype
  2202. if meshid ~= "nil" then
  2203. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  2204. end
  2205. end
  2206. mesh.Offset = offset
  2207. mesh.Scale = scale
  2208. return mesh
  2209. end
  2210.  
  2211. weld = function(parent, part0, part1, c0)
  2212. local weld = it("Motor")
  2213. weld.Parent = parent
  2214. weld.Part0 = part0
  2215. weld.Part1 = part1
  2216. weld.C0 = c0
  2217. return weld
  2218. end
  2219.  
  2220.  
  2221.  
  2222. AesthPart = function(model, wldpar, reflec, trans, col, name, neon, meshh, mshtype, mshtxt, x1, y1, z1, ceef)
  2223. prt = part(3, model, reflec, trans, BrickColor.new(col), name, vt())
  2224. prt.Material = neon
  2225. msh = mesh(meshh, prt, mshtype, mshtxt, vt(0, 0, 0), vt(x1, y1, z1))
  2226. wld = weld(handle, prt, wldpar, ceef)
  2227. v = it("NumberValue", prt)
  2228. v.Value = trans
  2229. v.Name = "MainTransparency"
  2230. return prt, msh, wld
  2231. end
  2232.  
  2233. local nr = NumberRange.new
  2234. local ns = NumberSequence.new
  2235. local cs = ColorSequence.new
  2236. local nsk = NumberSequenceKeypoint.new
  2237. particle = function(parent, col1, col2, lightemis, size, texture, transparency, zoffset, accel, drag, ltp, velinher, emisdir, enabled, lifetime, rate, rotation, rotspeed, speed, velspread)
  2238. local fp = it("ParticleEmitter")
  2239. fp.Parent = parent
  2240. fp.Color = cs(col1, col2)
  2241. fp.LightEmission = lightemis
  2242. fp.Size = size
  2243. fp.Texture = texture
  2244. fp.Transparency = transparency
  2245. fp.ZOffset = zoffset
  2246. fp.Acceleration = accel
  2247. fp.Drag = drag
  2248. fp.LockedToPart = ltp
  2249. fp.VelocityInheritance = velinher
  2250. fp.EmissionDirection = emisdir
  2251. fp.Enabled = enabled
  2252. fp.Lifetime = lifetime
  2253. fp.Rate = rate
  2254. fp.Rotation = rotation
  2255. fp.RotSpeed = rotspeed
  2256. fp.Speed = speed
  2257. fp.VelocitySpread = velspread
  2258. return fp
  2259. end
  2260. local modelzorz = Instance.new("Model")
  2261. modelzorz.Parent = Character
  2262. modelzorz.Name = "Chaos Saber"
  2263. RainbowVals = function(parent, sval, bval)
  2264. d = it("NumberValue", parent)
  2265. d.Name = "Size"
  2266. d.Value = sval
  2267. b = it("NumberValue", parent)
  2268. b.Name = "Weld"
  2269. b.Value = bval
  2270. return d, b
  2271. end
  2272.  
  2273. rmain1, rmrmsh1, rmwld1 = AesthPart(model3, handle4, 1, 0, NewCol, "RainbowMain", "Neon", "BlockMesh", "nil", "nil", 0, 0, 0, euler(0, 0, 0) * cf(0, 0, 0))
  2274. rmain1a, rmrmsh1a, rmwld1a = AesthPart(model3, handle5, 1, 0, NewCol, "RainbowMaina", "Neon", "BlockMesh", "nil", "nil", 0, 0, 0, euler(0, 0, 0) * cf(0, 0, 0))
  2275. rainbow1, rmsh1, rwld1 = AesthPart(model3, rmain1, 0, 0, Neons[7].Color, "Rainbow1", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3, euler(0, mr(90), 0) * cf(-1.55, 0, 0.1))
  2276. rainbow1a, rmsh1a, rwld1a = AesthPart(model3, rmain1a, 0, 0, Neons[7].Color, "Rainbow1a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3, euler(0, mr(90), 0) * cf(-1.55, 0, -0.1))
  2277. rainbow2, rmsh2, rwld2 = AesthPart(model3, rmain1, 0, 0, Neons[6].Color, "Rainbow2", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(-0.875, 0, 0.1))
  2278. rainbow2a, rmsh2a, rwld2a = AesthPart(model3, rmain1a, 0, 0, Neons[6].Color, "Rainbow2a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(-0.875, 0, -0.1))
  2279. rainbow3, rmsh3, rwld3 = AesthPart(model3, rmain1, 0, 0, Neons[5].Color, "Rainbow3", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(-0.125, 0, 0.1))
  2280. rainbow3a, rmsh3a, rwld3a = AesthPart(model3, rmain1a, 0, 0, Neons[5].Color, "Rainbow3a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(-0.125, 0, -0.1))
  2281. rainbow4, rmsh4, rwld4 = AesthPart(model3, rmain1, 0, 0, Neons[4].Color, "Rainbow4", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 4, euler(0, mr(90), 0) * cf(0.65, 0, 0.1))
  2282. rainbow4a, rmsh4a, rwld4a = AesthPart(model3, rmain1a, 0, 0, Neons[4].Color, "Rainbow4a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 4, euler(0, mr(90), 0) * cf(0.65, 0, -0.1))
  2283. rainbow5, rmsh5, rwld5 = AesthPart(model3, rmain1, 0, 0, Neons[3].Color, "Rainbow5", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(1.425, 0, 0.1))
  2284. rainbow5a, rmsh5a, rwld5a = AesthPart(model3, rmain1a, 0, 0, Neons[3].Color, "Rainbow5a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(1.425, 0, -0.1))
  2285. rainbow6, rmsh6, rwld6 = AesthPart(model3, rmain1, 0, 0, Neons[2].Color, "Rainbow6", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(2.175, 0, 0.1))
  2286. rainbow6a, rmsh6a, rwld6a = AesthPart(model3, rmain1a, 0, 0, Neons[2].Color, "Rainbow6a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(2.175, 0, -0.1))
  2287. rainbow7, rmsh7, rwld7 = AesthPart(model3, rmain1, 0, 0, Neons[1].Color, "Rainbow7", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 2.99, euler(0, mr(90), 0) * cf(2.85, 0, 0.1))
  2288. rainbow7a, rmsh7a, rwld7a = AesthPart(model3, rmain1a, 0, 0, Neons[1].Color, "Rainbow7a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 2.99, euler(0, mr(90), 0) * cf(2.85, 0, -0.1))
  2289. local hitbox = part(3, nil, 0, 1, BrickColor.new("Black"), "Hitbox", vt())
  2290. hitbox.Anchored = true
  2291. local hitboxCF = cf(0, 0, 0)
  2292. sizeseq = ns({nsk(0, 0.3), nsk(0.25, 1), nsk(0.6, 0.2), nsk(1, 0)})
  2293. transseq = ns({nsk(0, 0), nsk(0.8, 0.5), nsk(1, 1)})
  2294. local starsparti = particle(Torso, Color3.new(1, 0, 0), Color3.new(0.3921568627451, 0.3921568627451, 1), 0.5, sizeseq, "http://www.roblox.com/asset/?id=146120327", transseq, 0, vt(0, 0, 0), 0, false, 0, "Top", false, nr(1, 1), 40, nr(-360, 360), nr(-200, 200), nr(8), 180)
  2295. starsparti.Parent = Torso
  2296. sizeseq = ns({nsk(0, 1), nsk(0.7, 6), nsk(1, 7)})
  2297. transseq = ns({nsk(0, 0), nsk(1, 1)})
  2298. local lparti1 = particle(Torso, Color3.new(1, 0, 0), Color3.new(0.3921568627451, 0.3921568627451, 1), 1, sizeseq, "http://www.roblox.com/asset/?id=243098098", transseq, 0, vt(0, 0, 0), 0, false, 0, "Top", false, nr(0.2, 0.2), 500, nr(-360, 360), nr(0, 0), nr(0), 0)
  2299. lparti1.Parent = Torso
  2300. sizeseq = ns({nsk(0, 0.5), nsk(1, 0.5)})
  2301. transseq = ns({nsk(0, 0), nsk(1, 1)})
  2302. local sparti = particle(Torso, Color3.new(1, 0, 0), Color3.new(0.3921568627451, 0.3921568627451, 1), 1, sizeseq, "http://www.roblox.com/asset/?id=82057200", transseq, 0, vt(0, 0, 0), 0, false, 0, "Top", false, nr(1, 1), 50, nr(-360, 360), nr(400, 500), nr(5), 180)
  2303. sparti.Parent = Torso
  2304. local effects = it("Model", modelzorz)
  2305. effects.Name = "Effects"
  2306. hboxpos = Instance.new("BodyPosition", nil)
  2307. hboxpos.P = 2000
  2308. hboxpos.D = 100
  2309. hboxpos.maxForce = Vector3.new(545000, 545000, 545000)
  2310.  
  2311. local bodvel = Instance.new("BodyVelocity")
  2312. local bg = Instance.new("BodyGyro")
  2313. so = function(id, par, vol, pit)
  2314. local sou = Instance.new("Sound", par or workspace)
  2315. sou.Volume = vol
  2316. sou.Pitch = pit or 1
  2317. sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
  2318. coroutine.resume(coroutine.create(function(Sound)
  2319. swait()
  2320. Sound:play()
  2321. end
  2322. ), sou)
  2323. game:GetService("Debris"):AddItem(sou, 6)
  2324. end
  2325.  
  2326.  
  2327.  
  2328.  
  2329. rayCast = function(Pos, Dir, Max, Ignore)
  2330. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2331. end
  2332.  
  2333.  
  2334.  
  2335.  
  2336.  
  2337. MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2338. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2339. prt.Anchored = true
  2340. prt.CFrame = cframe
  2341. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2342. game:GetService("Debris"):AddItem(prt, 10)
  2343. if Type == 1 or Type == nil then
  2344. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  2345. else
  2346. if Type == 2 then
  2347. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  2348. else
  2349. if Type == 3 then
  2350. table.insert(Effects, {prt, "Block3", delay, x3, y3, z3, msh, prt.CFrame})
  2351. else
  2352. if Type == 4 then
  2353. table.insert(Effects, {prt, "Block4", delay, x3, y3, z3, msh, 1})
  2354. end
  2355. end
  2356. end
  2357. end
  2358. end
  2359.  
  2360. MagicBlock2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2361. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2362. prt.Material = "Neon"
  2363. prt.Anchored = true
  2364. prt.CFrame = cframe
  2365. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2366. game:GetService("Debris"):AddItem(prt, 10)
  2367. if Type == 1 or Type == nil then
  2368. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  2369. else
  2370. if Type == 2 then
  2371. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  2372. else
  2373. if Type == 3 then
  2374. table.insert(Effects, {prt, "Block3", delay, x3, y3, z3, msh, prt.CFrame})
  2375. end
  2376. end
  2377. end
  2378. end
  2379.  
  2380. MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2381. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2382. prt.Material = "Neon"
  2383. prt.Anchored = true
  2384. prt.CFrame = cframe
  2385. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  2386. game:GetService("Debris"):AddItem(prt, 10)
  2387. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2388. end
  2389.  
  2390. MagicCircle2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, push)
  2391. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2392. prt.Anchored = true
  2393. prt.CFrame = cframe
  2394. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  2395. game:GetService("Debris"):AddItem(prt, 10)
  2396. table.insert(Effects, {prt, "Blood", delay, x3, y3, z3, msh, push})
  2397. end
  2398.  
  2399. MagicCylinder = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2400. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2401. prt.Material = "Neon"
  2402. prt.Anchored = true
  2403. prt.CFrame = cframe
  2404. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2405. game:GetService("Debris"):AddItem(prt, 10)
  2406. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2407. end
  2408.  
  2409. MagicHead = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2410. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2411. prt.Anchored = true
  2412. prt.CFrame = cframe
  2413. local msh = mesh("SpecialMesh", prt, "Head", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  2414. game:GetService("Debris"):AddItem(prt, 10)
  2415. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2416. end
  2417.  
  2418. ClangEffect = function(brickcolor, cframe, duration, decrease, size, power)
  2419. local prt = part(3, effects, 0, 1, brickcolor, "Effect", vt())
  2420. prt.Anchored = true
  2421. prt.CFrame = cframe
  2422. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(5, 5, 5))
  2423. game:GetService("Debris"):AddItem(prt, 10)
  2424. table.insert(Effects, {prt, "CylinderClang", duration, decrease, size, power, prt.CFrame, nil})
  2425. end
  2426.  
  2427. MagicWave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2428. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2429. prt.Anchored = true
  2430. prt.CFrame = cframe
  2431. local msh = mesh("SpecialMesh", prt, "FileMesh", "20329976", vt(0, 0, 0), vt(x1, y1, z1))
  2432. game:GetService("Debris"):AddItem(prt, 10)
  2433. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2434. end
  2435.  
  2436. MagicSpecial = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2437. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2438. prt.Anchored = true
  2439. prt.CFrame = cframe
  2440. local msh = mesh("SpecialMesh", prt, "FileMesh", "24388358", vt(0, 0, 0), vt(x1, y1, z1))
  2441. game:GetService("Debris"):AddItem(prt, 10)
  2442. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2443. end
  2444.  
  2445. BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  2446. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2447. prt.Anchored = true
  2448. prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2449. game:GetService("Debris"):AddItem(prt, 10)
  2450. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  2451. local num = math.random(10, 50) / 1000
  2452. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  2453. end
  2454.  
  2455. MagicStar = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2456. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2457. prt.Material = "Neon"
  2458. prt.Anchored = true
  2459. prt.CFrame = cframe
  2460. local msh = mesh("SpecialMesh", prt, "FileMesh", "45428961", vt(0, 0, 0), vt(x1, y1, z1))
  2461. game:GetService("Debris"):AddItem(prt, 10)
  2462. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2463. end
  2464. ----------------------------------------------------
  2465. mouse.KeyDown:connect(function(key)
  2466. if key == "p" then
  2467. if myVars[5] == "ssl3" then
  2468. print("Bash ran.")
  2469. Debounces.CanAttack = false
  2470. Debounces.NoIdl = true
  2471. Bash()
  2472. Debounces.CanAttack = true
  2473. Debounces.NoIdl = false
  2474. end
  2475. end
  2476. end)
  2477. ----------------------------------------------------
  2478. function makeSwordUpgrade()
  2479.  
  2480. end
  2481. makeSwordUpgrade()
  2482. ----------------------------------------------------
  2483. Grab = false
  2484. local humanoidR = nil
  2485. mouse.KeyDown:connect(function(key)
  2486. if key == "z" then
  2487. humanoidR = nil
  2488. Debounces.on = true
  2489. Debounces.NoIdl = true
  2490. Debounces.ks = true
  2491. if Grab == false then
  2492. gp = nil
  2493. for i = 1, 20 do
  2494. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
  2495. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-80)), 0.2)
  2496. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
  2497. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
  2498. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
  2499. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
  2500. if Debounces.on == false then break end
  2501. rs:wait(2)
  2502. end
  2503. con1=larm.Touched:connect(function(hit) -- this is grab
  2504. ht = hit.Parent
  2505. hum1=ht:FindFirstChild('Humanoid')
  2506. if hum1 ~= nil then
  2507. if Debounces.ks==true then
  2508. z = Instance.new("Sound",hed)
  2509. z.SoundId = "rbxassetid://169380525"
  2510. z.Volume = 1
  2511. z:Play()
  2512. Debounces.ks=false
  2513. end
  2514.  
  2515. humanoidR = hum1
  2516. hum1.PlatformStand=true
  2517. gp = ht
  2518. Grab = true
  2519. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0))
  2520. asd.Parent = larm
  2521. asd.Name = "asd"
  2522. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
  2523. stanceToggle = "Grabbed"
  2524.  
  2525. end
  2526. end)
  2527. for i = 1, 20 do
  2528. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
  2529. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2)
  2530. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2)
  2531. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2)
  2532. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
  2533. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
  2534. if Debounces.on == false then break end
  2535. rs:wait(2)
  2536. end
  2537. con1:disconnect()
  2538. Debounces.on = false
  2539. Debounces.NoIdl = false
  2540.  
  2541. elseif Grab == true then
  2542. Grab = false
  2543. for i = 1, 16 do
  2544. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3)
  2545. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-50)), 0.3)
  2546. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
  2547. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3)
  2548. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3)
  2549. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
  2550. if Debounces.on == false then end
  2551. rs:wait()
  2552. end
  2553. if gp ~= nil then
  2554. for i,v in pairs(larm:GetChildren()) do
  2555. if v.Name == "asd" and v:IsA("Weld") then
  2556. v:Remove()
  2557. end
  2558. end
  2559. for i = 1, 16 do
  2560. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3)
  2561. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.4)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.3)
  2562. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3)
  2563. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
  2564. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(80), math.rad(30), math.rad(-20)), 0.3)
  2565. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(70), math.rad(-15), math.rad(20)), 0.3)
  2566. if Debounces.on == false then end
  2567. rs:wait()
  2568. end
  2569. stanceToggle = "Normal"
  2570. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  2571. bv.maxForce = Vector3.new(400000, 400000, 400000)
  2572. bv.P = 125000
  2573. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  2574. ht=nil
  2575. Debounces.on = false
  2576. Debounces.NoIdl = false
  2577. elseif ht == nil then wait()
  2578. Grab = false
  2579. humanoidR.PlatformStand = true
  2580. Debounces.on = false
  2581. Debounces.NoIdl = false
  2582. end
  2583. end
  2584. end
  2585. end)
  2586. -------------------------------------------------
  2587. givePower = function()
  2588. humanoidR.Health = 0
  2589. end
  2590. -------------------------------------------------
  2591. myVars[4] = "Normal"
  2592. mouse.KeyDown:connect(function(key)
  2593. if key == "v" then
  2594. if myVars[4] == "Normal" then
  2595. if Debounces.CanAttack == true then
  2596. Debounces.CanAttack = false
  2597. Debounces.NoIdl = true
  2598. Debounces.on = true
  2599. char.Humanoid.WalkSpeed = 0.1
  2600. myVars[4] = "Sitting"
  2601. sitting()
  2602. end
  2603. elseif myVars[4] == "Sitting" then
  2604. print("STOPPED SITTING_")
  2605. char.Humanoid.WalkSpeed = 16
  2606. myVars[4] = "Normal"
  2607. Debounces.CanAttack = true
  2608. Debounces.NoIdl = false
  2609. Debounces.on = false
  2610. end
  2611. end
  2612. end)
  2613. -------------------------------BEAMSTUFF
  2614.  
  2615. startBloxxy()
  2616.  
  2617.  
  2618. local Humanoid=char.Humanoid
  2619. local m=Instance.new('Model',char)
  2620. local it=Instance.new
  2621. local attacktype=1
  2622. local vt=Vector3.new
  2623. local cf=CFrame.new
  2624. local euler=CFrame.fromEulerAnglesXYZ
  2625. local angles=CFrame.Angles
  2626. function NoOutline(Part)
  2627. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2628. end
  2629. local RootPart = char.HumanoidRootPart
  2630.  
  2631.  
  2632.  
  2633.  
  2634. local mouse=Player:GetMouse()
  2635.  
  2636. local player=p
  2637. local ch=char
  2638. local attack = false
  2639. local attackdebounce = false
  2640. player=nil
  2641. local cam = workspace.CurrentCamera
  2642. local ZTarget = nil
  2643. local RocketTarget = nil
  2644. local Targetting = false
  2645.  
  2646.  
  2647. local Neoncol = {BrickColor.new("Bright red"), BrickColor.new("Bright orange"), BrickColor.new("Bright yellow"), BrickColor.new("Bright green"), BrickColor.new("Bright blue"), BrickColor.new("Royal purple"), BrickColor.new("Bright violet")}
  2648.  
  2649.  
  2650. function swaito(num)
  2651. if num==0 or num==nil then
  2652. game:service'RunService'.Heartbeat:wait(0)
  2653. else
  2654. for i=0,num do
  2655. game:service'RunService'.Heartbeat:wait(0)
  2656. end
  2657. end
  2658. end
  2659.  
  2660. function nooutline(part)
  2661. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  2662. end
  2663.  
  2664. function parto(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  2665. local fp=it("Part")
  2666. fp.formFactor=formfactor
  2667. fp.Parent=parent
  2668. fp.Reflectance=reflectance
  2669. fp.Transparency=transparency
  2670. fp.CanCollide=false
  2671. fp.Locked=true
  2672. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  2673. fp.Name=name
  2674. fp.Size=size
  2675. fp.Position=Character.Torso.Position
  2676. nooutline(fp)
  2677. fp.Material=material
  2678. fp:BreakJoints()
  2679. return fp
  2680. end
  2681.  
  2682. function mesho(Mesh,part,meshtype,meshid,offset,scale)
  2683. local mesh=it(Mesh)
  2684. mesh.Parent=part
  2685. if Mesh=="SpecialMesh" then
  2686. mesh.MeshType=meshtype
  2687. mesh.MeshId=meshid
  2688. end
  2689. mesh.Offset=offset
  2690. mesh.Scale=scale
  2691. return mesh
  2692. end
  2693.  
  2694. function weldo(parent,part0,part1,c0,c1)
  2695. local weld=it("Weld")
  2696. weld.Parent=parent
  2697. weld.Part0=part0
  2698. weld.Part1=part1
  2699. weld.C0=c0
  2700. weld.C1=c1
  2701. return weld
  2702. end
  2703.  
  2704.  
  2705.  
  2706.  
  2707. local function CFrameFromTopBack(at, top, back)
  2708. local right = top:Cross(back)
  2709. return CFrame.new(at.x, at.y, at.z,
  2710. right.x, top.x, back.x,
  2711. right.y, top.y, back.y,
  2712. right.z, top.z, back.z)
  2713. end
  2714.  
  2715. so = function(id,par,vol,pit)
  2716. coroutine.resume(coroutine.create(function()
  2717. local sou = Instance.new("Sound",par or workspace)
  2718. sou.Volume=vol
  2719. sou.Pitch=pit or 1
  2720. sou.SoundId=id
  2721. swait()
  2722. sou:play()
  2723. game:GetService("Debris"):AddItem(sou,6)
  2724. end))
  2725. end
  2726.  
  2727. function Triangle(a, b, c)
  2728. local edg1 = (c-a):Dot((b-a).unit)
  2729. local edg2 = (a-b):Dot((c-b).unit)
  2730. local edg3 = (b-c):Dot((a-c).unit)
  2731. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  2732. a, b, c = a, b, c
  2733. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  2734. a, b, c = b, c, a
  2735. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  2736. a, b, c = c, a, b
  2737. else
  2738. assert(false, "unreachable")
  2739. end
  2740.  
  2741. local len1 = (c-a):Dot((b-a).unit)
  2742. local len2 = (b-a).magnitude - len1
  2743. local width = (a + (b-a).unit*len1 - c).magnitude
  2744.  
  2745. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  2746.  
  2747. local list = {}
  2748.  
  2749. local TrailColor = ("Dark grey")
  2750.  
  2751. if len1 > 0.01 then
  2752. local w1 = Instance.new('WedgePart', m)
  2753. game:GetService("Debris"):AddItem(w1,5)
  2754. w1.Material = "Neon"
  2755. w1.FormFactor = 'Custom'
  2756. w1.BrickColor = BrickColor.new(TrailColor)
  2757. w1.Transparency = 0
  2758. w1.Reflectance = 0
  2759. w1.Material = "Neon"
  2760. w1.CanCollide = false
  2761. NoOutline(w1)
  2762. local sz = Vector3.new(0.2, width, len1)
  2763. w1.Size = sz
  2764. local sp = Instance.new("SpecialMesh",w1)
  2765. sp.MeshType = "Wedge"
  2766. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  2767. w1:BreakJoints()
  2768. w1.Anchored = true
  2769. w1.Parent = workspace
  2770. w1.Transparency = 0.7
  2771. table.insert(fx,{w1,"Disappear",.01})
  2772. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  2773. table.insert(list,w1)
  2774. end
  2775.  
  2776. if len2 > 0.01 then
  2777. local w2 = Instance.new('WedgePart', m)
  2778. game:GetService("Debris"):AddItem(w2,5)
  2779. w2.Material = "Neon"
  2780. w2.FormFactor = 'Custom'
  2781. w2.BrickColor = BrickColor.new(TrailColor)
  2782. w2.Transparency = 0
  2783. w2.Reflectance = 0
  2784. w2.Material = "Neon"
  2785. w2.CanCollide = false
  2786. NoOutline(w2)
  2787. local sz = Vector3.new(0.2, width, len2)
  2788. w2.Size = sz
  2789. local sp = Instance.new("SpecialMesh",w2)
  2790. sp.MeshType = "Wedge"
  2791. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  2792. w2:BreakJoints()
  2793. w2.Anchored = true
  2794. w2.Parent = workspace
  2795. w2.Transparency = 0.7
  2796. table.insert(fx,{w2,"Disappear",.01})
  2797. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  2798. table.insert(list,w2)
  2799. end
  2800. return unpack(list)
  2801. end
  2802.  
  2803. function clerp(a,b,t)
  2804. local qa = {QuaternionFromCFrame(a)}
  2805. local qb = {QuaternionFromCFrame(b)}
  2806. local ax, ay, az = a.x, a.y, a.z
  2807. local bx, by, bz = b.x, b.y, b.z
  2808. local _t = 1-t
  2809. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  2810. end
  2811.  
  2812. function QuaternionFromCFrame(cf)
  2813. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2814. local trace = m00 + m11 + m22
  2815. if trace > 0 then
  2816. local s = math.sqrt(1 + trace)
  2817. local recip = 0.5/s
  2818. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  2819. else
  2820. local i = 0
  2821. if m11 > m00 then
  2822. i = 1
  2823. end
  2824. if m22 > (i == 0 and m00 or m11) then
  2825. i = 2
  2826. end
  2827. if i == 0 then
  2828. local s = math.sqrt(m00-m11-m22+1)
  2829. local recip = 0.5/s
  2830. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  2831. elseif i == 1 then
  2832. local s = math.sqrt(m11-m22-m00+1)
  2833. local recip = 0.5/s
  2834. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  2835. elseif i == 2 then
  2836. local s = math.sqrt(m22-m00-m11+1)
  2837. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  2838. end
  2839. end
  2840. end
  2841.  
  2842. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2843. local xs, ys, zs = x + x, y + y, z + z
  2844. local wx, wy, wz = w*xs, w*ys, w*zs
  2845. local xx = x*xs
  2846. local xy = x*ys
  2847. local xz = x*zs
  2848. local yy = y*ys
  2849. local yz = y*zs
  2850. local zz = z*zs
  2851. 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))
  2852. end
  2853.  
  2854. function QuaternionSlerp(a, b, t)
  2855. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  2856. local startInterp, finishInterp;
  2857. if cosTheta >= 0.0001 then
  2858. if (1 - cosTheta) > 0.0001 then
  2859. local theta = math.acos(cosTheta)
  2860. local invSinTheta = 1/math.sin(theta)
  2861. startInterp = math.sin((1-t)*theta)*invSinTheta
  2862. finishInterp = math.sin(t*theta)*invSinTheta
  2863. else
  2864. startInterp = 1-t
  2865. finishInterp = t
  2866. end
  2867. else
  2868. if (1+cosTheta) > 0.0001 then
  2869. local theta = math.acos(-cosTheta)
  2870. local invSinTheta = 1/math.sin(theta)
  2871. startInterp = math.sin((t-1)*theta)*invSinTheta
  2872. finishInterp = math.sin(t*theta)*invSinTheta
  2873. else
  2874. startInterp = t-1
  2875. finishInterp = t
  2876. end
  2877. end
  2878. 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
  2879. end
  2880.  
  2881. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2882. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2883. end
  2884.  
  2885.  
  2886. Damagefunco=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  2887. if hit.Parent==nil then
  2888. return
  2889. end
  2890. local h=hit.Parent:FindFirstChild("Humanoid")
  2891. for _,v in pairs(hit.Parent:children()) do
  2892. if v:IsA("Humanoid") then
  2893. h=v
  2894. end
  2895. end
  2896. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  2897. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  2898. end
  2899. if hit.Parent.className=="Hat" then
  2900. hit=hit.Parent.Parent:findFirstChild("Head")
  2901. end
  2902. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  2903. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  2904. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  2905. return
  2906. end]]
  2907. -- hs(hit,1.2)
  2908. local c=Instance.new("ObjectValue")
  2909. c.Name="creator"
  2910. c.Value=game:service("Players").LocalPlayer
  2911. c.Parent=h
  2912. game:GetService("Debris"):AddItem(c,.5)
  2913. local Damage=math.random(minim,maxim)
  2914. -- h:TakeDamage(Damage)
  2915. local blocked=false
  2916. local block=hit.Parent:findFirstChild("Block")
  2917. if block~=nil then
  2918. print(block.className)
  2919. if block.className=="NumberValue" then
  2920. if block.Value>0 then
  2921. blocked=true
  2922. if decreaseblock==nil then
  2923. block.Value=block.Value-1
  2924. end
  2925. end
  2926. end
  2927. if block.className=="IntValue" then
  2928. if block.Value>0 then
  2929. blocked=true
  2930. if decreaseblock~=nil then
  2931. block.Value=block.Value-1
  2932. end
  2933. end
  2934. end
  2935. end
  2936. if blocked==false then
  2937. -- h:TakeDamage(Damage)
  2938. h.Health=h.Health-Damage
  2939. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  2940. else
  2941. h.Health=h.Health-(Damage/2)
  2942. ShowDamage((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)
  2943. end
  2944. if Type=="Knockdown" then
  2945. local hum=hit.Parent.Humanoid
  2946. hum.PlatformStand=true
  2947. coroutine.resume(coroutine.create(function(HHumanoid)
  2948. swait(1)
  2949. HHumanoid.PlatformStand=false
  2950. end),hum)
  2951. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  2952. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  2953. local bodvol=Instance.new("BodyVelocity")
  2954. bodvol.velocity=angle*knockback
  2955. bodvol.P=5000
  2956. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  2957. bodvol.Parent=hit
  2958. local rl=Instance.new("BodyAngularVelocity")
  2959. rl.P=3000
  2960. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  2961. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2962. rl.Parent=hit
  2963. game:GetService("Debris"):AddItem(bodvol,.5)
  2964. game:GetService("Debris"):AddItem(rl,.5)
  2965. elseif Type=="Normal" then
  2966. local vp=Instance.new("BodyVelocity")
  2967. vp.P=500
  2968. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  2969. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  2970. if KnockbackType==1 then
  2971. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  2972. elseif KnockbackType==2 then
  2973. vp.velocity=Property.CFrame.lookVector*knockback
  2974. end
  2975. if knockback>0 then
  2976. vp.Parent=hit.Parent.Torso
  2977. end
  2978. game:GetService("Debris"):AddItem(vp,.5)
  2979. elseif Type=="Up" then
  2980. local bodyVelocity=Instance.new("BodyVelocity")
  2981. bodyVelocity.velocity=vt(0,60,0)
  2982. bodyVelocity.P=5000
  2983. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  2984. bodyVelocity.Parent=hit
  2985. game:GetService("Debris"):AddItem(bodyVelocity,1)
  2986. local rl=Instance.new("BodyAngularVelocity")
  2987. rl.P=3000
  2988. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  2989. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  2990. rl.Parent=hit
  2991. game:GetService("Debris"):AddItem(rl,.5)
  2992. elseif Type=="Snare" then
  2993. local bp=Instance.new("BodyPosition")
  2994. bp.P=2000
  2995. bp.D=100
  2996. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2997. bp.position=hit.Parent.Torso.Position
  2998. bp.Parent=hit.Parent.Torso
  2999. game:GetService("Debris"):AddItem(bp,1)
  3000. elseif Type=="Target" then
  3001. local Targetting = false
  3002. if Targetting==false then
  3003. ZTarget=hit.Parent.Torso
  3004. coroutine.resume(coroutine.create(function(Part)
  3005. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  3006. swait(5)
  3007. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  3008. end),ZTarget)
  3009. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  3010. local targetgui=Instance.new("BillboardGui")
  3011. targetgui.Parent=ZTarget
  3012. targetgui.Size=UDim2.new(10,100,10,100)
  3013. local targ=Instance.new("ImageLabel")
  3014. targ.Parent=targetgui
  3015. targ.BackgroundTransparency=1
  3016. targ.Image="rbxassetid://4834067"
  3017. targ.Size=UDim2.new(1,0,1,0)
  3018. cam.CameraType="Scriptable"
  3019. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  3020. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  3021. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  3022. Targetting=true
  3023. RocketTarget=ZTarget
  3024. for i=1,Property do
  3025. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  3026. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  3027. swait()
  3028. end
  3029. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  3030. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  3031. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  3032. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  3033. end
  3034. Targetting=false
  3035. RocketTarget=nil
  3036. targetgui.Parent=nil
  3037. cam.CameraType="Custom"
  3038. end
  3039. end
  3040. local debounce=Instance.new("BoolValue")
  3041. debounce.Name="DebounceHit"
  3042. debounce.Parent=hit.Parent
  3043. debounce.Value=true
  3044. game:GetService("Debris"):AddItem(debounce,Delay)
  3045. c=Instance.new("ObjectValue")
  3046. c.Name="creator"
  3047. c.Value=Player
  3048. c.Parent=h
  3049. game:GetService("Debris"):AddItem(c,.5)
  3050. end
  3051. end
  3052.  
  3053. Damagefunc2o=function(Part,hit,Damage,Knockback)
  3054. if attackdebounce == false then
  3055. -- attackdebounce = true
  3056. coroutine.resume(coroutine.create(function()
  3057. wait(0.1)
  3058. attackdebounce = false
  3059. end))
  3060. if hit.Parent==nil then
  3061. return
  3062. end
  3063. local blocked=false
  3064. local h=hit.Parent:FindFirstChild("Humanoid")
  3065. if h~=nil and hit.Parent:FindFirstChild("Torso")~=nil then
  3066. Damage=Damage
  3067. local c=it("ObjectValue")
  3068. c.Name="creator"
  3069. c.Value=game.Players.LocalPlayer
  3070. c.Parent=h
  3071. game:GetService("Debris"):AddItem(c,.5)
  3072. -- print(c.Value)
  3073. --[[ if math.random(0,99)+math.random()<=7.8 then
  3074. CRIT=true
  3075. Damage=Damage*2
  3076. s=it("Sound")
  3077. s.SoundId="http://www.roblox.com/asset/?id=2801263"
  3078. s.Volume=1
  3079. s.Pitch=2
  3080. s.Parent=hit
  3081. s.PlayOnRemove=true
  3082. s.Parent=nil
  3083.  
  3084. end]]
  3085. Damage=Damage+math.random(0,10)
  3086. -- Blood(hit.CFrame*cf(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  3087. blocked=false
  3088. local block=hit.Parent:findFirstChild("Block")
  3089. if block~=nil then
  3090. print("herp")
  3091. if block.Value>0 then
  3092. blocked=true
  3093. block.Value=block.Value-3
  3094. print(block.Value)
  3095. end
  3096. end
  3097. if blocked==false then
  3098. -- h:TakeDamage(Damage)
  3099. h.Health=h.Health-Damage
  3100. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("New Yeller").Color)
  3101. else
  3102. h:TakeDamage(1)
  3103. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("New Yeller").Color)
  3104. end
  3105. --if blocked==false then
  3106. local angle = (hit.Position-(Torso.Position+Vector3.new(0,0,0))).unit
  3107. print(angle)
  3108. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  3109. local rl=Instance.new("BodyAngularVelocity")
  3110. rl.P=3000
  3111. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  3112. rl.angularvelocity=Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3113. rl.Parent=hit
  3114. coroutine.resume(coroutine.create(function(vel)
  3115. wait(0.5)
  3116. vel:Remove()
  3117. end),rl)
  3118. --end
  3119. local bodyVelocity=Instance.new("BodyVelocity")
  3120. bodyVelocity.velocity=angle*40+Vector3.new(0,0,0)
  3121. bodyVelocity.P=5000
  3122. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  3123. bodyVelocity.Parent=hit
  3124. coroutine.resume(coroutine.create(function(Vel)
  3125. wait(0.2)
  3126. Vel:Remove()
  3127. end),bodyVelocity)
  3128. c=it("ObjectValue")
  3129. c.Name="creator"
  3130. c.Value=Player
  3131. c.Parent=h
  3132. game:GetService("Debris"):AddItem(c,.5)
  3133. end
  3134. end
  3135. end
  3136.  
  3137.  
  3138. function ShowDamage(Pos, Text, Time, Color)
  3139. local Rate = (1 / 30)
  3140. local Pos = (Pos or Vector3.new(0, 0, 0))
  3141. local Text = (Text or "")
  3142. local Time = (Time or 2)
  3143. local Color = (Color or Color3.new(1, 0, 0))
  3144. local EffectPart = parto("Custom",workspace,"Neon",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  3145. EffectPart.Anchored = true
  3146. local BillboardGui = Instance.new("BillboardGui")
  3147. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  3148. BillboardGui.Adornee = EffectPart
  3149. local TextLabel = Instance.new("TextLabel")
  3150. TextLabel.BackgroundTransparency = 1
  3151. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  3152. TextLabel.Text = Text
  3153. TextLabel.TextColor3 = Color
  3154. TextLabel.TextScaled = true
  3155. TextLabel.Font = Enum.Font.ArialBold
  3156. TextLabel.Parent = BillboardGui
  3157. BillboardGui.Parent = EffectPart
  3158. game.Debris:AddItem(EffectPart, (Time + 0.1))
  3159. EffectPart.Parent = game:GetService("Workspace")
  3160. Delay(0, function()
  3161. local Frames = (Time / Rate)
  3162. for Frame = 1, Frames do
  3163. wait(Rate)
  3164. local Percent = (Frame / Frames)
  3165. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  3166. TextLabel.TextTransparency = Percent
  3167. end
  3168. if EffectPart and EffectPart.Parent then
  3169. EffectPart:Destroy()
  3170. end
  3171. end)
  3172. end
  3173.  
  3174.  
  3175. function MagniDamageo(Hit,Part,magni,mindam,maxdam,knock,Type)
  3176. for _,c in pairs(workspace:children()) do
  3177. local hum=c:findFirstChild("Humanoid")
  3178. if hum~=nil then
  3179. local head=c:findFirstChild("Torso")
  3180. if head~=nil then
  3181. local targ=head.Position-Part.Position
  3182. local mag=targ.magnitude
  3183. if mag<=magni and c.Name~=p.Name then
  3184. Damagefunco(Hit,head,mindam,maxdam,knock,Type,RootPart,.2,1,3)
  3185. end
  3186. end
  3187. end
  3188. end
  3189. end
  3190.  
  3191.  
  3192. local fx={}
  3193. function MagicBlocko(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3194. local prt=parto(3,workspace,"Neon",0,0,brickcolor,"Effect",vt())
  3195. prt.Anchored=true
  3196. prt.CFrame=cframe
  3197. msh=mesho("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3198. game:GetService("Debris"):AddItem(prt,5)
  3199. table.insert(fx,{prt,"Block1",delay,x3,y3,z3}) --part, type, delay
  3200. end
  3201.  
  3202. function MagicCylindero(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3203. local prt=parto(3,workspace,"Neon",0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  3204. prt.Anchored=true
  3205. prt.CFrame=cframe
  3206. msh=mesho("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  3207. game:GetService("Debris"):AddItem(prt,2)
  3208. coroutine.resume(coroutine.create(function(Part,Mesh)
  3209. for i=0,1,delay do
  3210. swait()
  3211. Part.CFrame=Part.CFrame
  3212. Part.Transparency=i
  3213. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3214. end
  3215. Part.Parent=nil
  3216. end),prt,msh)
  3217. end
  3218.  
  3219.  
  3220. function MagicCylinder2o(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3221. local prt=parto(3,Character,"Neon",0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  3222. prt.Anchored=true
  3223. prt.CFrame=cframe
  3224. msh=mesho("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3225. game:GetService("Debris"):AddItem(prt,5)
  3226. --table.insert(fx,{prt,"Cylinder",delay,x3,y3,z3})
  3227. fx[#fx+1]={prt,"Cylinder",delay,x3,y3,z3} --part, type, delay
  3228. --[[coroutine.resume(coroutine.create(function(Part,Mesh)
  3229. for i=0,1,delay do
  3230. wait()
  3231. Part.CFrame=Part.CFrame
  3232. Part.Transparency=i
  3233. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3234. end
  3235. Part.Parent=nil
  3236. end),prt,msh)]]
  3237. end
  3238.  
  3239.  
  3240. function MagicRingo(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3241. local prt=parto(3,workspace,"Neon",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3242. prt.Anchored=true
  3243. prt.CFrame=cframe
  3244. msh=mesho("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  3245. game:GetService("Debris"):AddItem(prt,2)
  3246. coroutine.resume(coroutine.create(function(Part,Mesh,num)
  3247. for i=0,1,delay do
  3248. swaito()
  3249. Part.Transparency=i
  3250. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3251. end
  3252. Part.Parent=nil
  3253. end),prt,msh,(math.random(0,1)+math.random())/5)
  3254. end
  3255.  
  3256. function MagicCircleo(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3257. local prt=parto(3,workspace,"Neon",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3258. prt.Anchored=true
  3259. prt.CFrame=cframe
  3260. prt.CanCollide = false
  3261. msh=mesho("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3262. game:GetService("Debris"):AddItem(prt,2)
  3263. coroutine.resume(coroutine.create(function(Part,Mesh)
  3264. for i=0,1,delay do
  3265. swaito()
  3266. Part.CFrame=Part.CFrame
  3267. Part.Transparency=i
  3268. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3269. end
  3270. Part.Parent=nil
  3271. end),prt,msh)
  3272. end
  3273.  
  3274. function attackone()
  3275. attack = true
  3276. for i = 0,1,0.1 do
  3277. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  3278. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  3279. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  3280. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  3281. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  3282. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  3283. end
  3284. so("http://roblox.com/asset/?id=268192025",Barrel2A,1,1)
  3285. so("http://roblox.com/asset/?id=268191996",Barrel2A,1,1)
  3286. so("http://roblox.com/asset/?id=268191976",Barrel2A,1,1)
  3287. ShootCannon()
  3288. ShootCannon()
  3289. ShootCannon()
  3290. for i = 0,1,0.1 do
  3291. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  3292. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  3293. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  3294. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  3295. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  3296. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  3297. end
  3298. attack = false
  3299. end
  3300.  
  3301. function attacktwo()
  3302. attack = true
  3303. for i = 0,1,0.1 do
  3304. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  3305. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  3306. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  3307. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  3308. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  3309. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  3310. end
  3311. so("http://roblox.com/asset/?id=268192025",Barrel2A,1,1)
  3312. so("http://roblox.com/asset/?id=268191996",Barrel2A,1,1)
  3313. so("http://roblox.com/asset/?id=268191976",Barrel2A,1,1)
  3314. ShootCannon2()
  3315. ShootCannon2()
  3316. ShootCannon2()
  3317. for i = 0,1,0.1 do
  3318. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  3319. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  3320. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  3321. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  3322. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  3323. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  3324. end
  3325. attack = false
  3326. end
  3327.  
  3328. local cannonSh = false
  3329. RocketTarget = RootPart
  3330. function ShootCannon()
  3331. cannonSh = true
  3332. local colr = math.random(1,7)
  3333. so("rbxassetid://263623156",rarm,.5,1)
  3334. so("rbxassetid://263610152",rarm,.5,1)
  3335. so("rbxassetid://263623139",rarm,.5,1)
  3336. local MainPos=rarm.CFrame.p
  3337. local MainPos2=mouse.Hit.p
  3338. local MouseLook=cf((MainPos+MainPos2)/2,MainPos2)
  3339. --[[local mag=(MainPos-pos).magnitude
  3340. MagicCylindero(Neoncol[colr],CFrame.new((MainPos+pos)/2,pos)*angles(1.57,0,0),1,mag*5,1,0.5,0,0.5,0.05)]]
  3341. num=30
  3342. coroutine.resume(coroutine.create(function()
  3343. repeat
  3344. wait()
  3345. local hit,pos = rayCast(MainPos,MouseLook.lookVector,10,RocketTarget.Parent)
  3346. local mag=(MainPos-pos).magnitude
  3347. MagicCylinder2o(Neoncol[colr],CFrame.new((MainPos+pos)/2,pos)*angles(1.57,0,0),3,mag*5,3,1.5,0,1.5,0.1)
  3348. MainPos=MainPos+(MouseLook.lookVector*10)
  3349. num=num-1
  3350. if hit~=nil then
  3351. num=0
  3352. local ref=parto(3,workspace,"Neon",0,1,Neoncol[col],"Reference",vt())
  3353. ref.Anchored=true
  3354. ref.CFrame=cf(pos)
  3355. MagniDamageo(ref,hit,1,30,50,1,"Normal")
  3356. so("rbxassetid://263610039",ref,1,1)
  3357. so("rbxassetid://263610111",ref,1,1)
  3358. MagicBlocko(Neoncol[colr],cf(pos),20,20,20,5,5,5,0.05)
  3359. game:GetService("Debris"):AddItem(ref,1)
  3360. MagniDamageo(ref,ref,15,1000,1000,10,"Normal")
  3361. explosion = Instance.new("Explosion", game.Workspace)
  3362. explosion.BlastRadius = 5
  3363. explosion.Position = ref.Position
  3364. explosion.BlastPressure = 100000
  3365. explosion.DestroyJointRadiusPercent = 10 -- neck welds won't be destroyed
  3366. explosion.ExplosionType = "CratersAndDebris"
  3367. end
  3368. until num<=0
  3369. end))
  3370. cannonSh = false
  3371. end
  3372.  
  3373.  
  3374. RocketTarget = RootPart
  3375. function ShootCannon2()
  3376. cannonSh = true
  3377. local colr = math.random(1,7)
  3378. so("rbxassetid://263623156",larm,.5,1)
  3379. so("rbxassetid://263610152",larm,.5,1)
  3380. so("rbxassetid://263623139",larm,.5,1)
  3381. local MainPos=larm.CFrame.p
  3382. local MainPos2=mouse.Hit.p
  3383. local MouseLook=cf((MainPos+MainPos2)/2,MainPos2)
  3384. --[[local mag=(MainPos-pos).magnitude
  3385. MagicCylindero(Neoncol[colr],CFrame.new((MainPos+pos)/2,pos)*angles(1.57,0,0),1,mag*5,1,0.5,0,0.5,0.05)]]
  3386. num=30
  3387. coroutine.resume(coroutine.create(function()
  3388. repeat
  3389. wait()
  3390. local hit,pos = rayCast(MainPos,MouseLook.lookVector,10,RocketTarget.Parent)
  3391. local mag=(MainPos-pos).magnitude
  3392. MagicCylinder2o(Neoncol[colr],CFrame.new((MainPos+pos)/2,pos)*angles(1.57,0,0),3,mag*5,3,1.5,0,1.5,0.1)
  3393. MainPos=MainPos+(MouseLook.lookVector*10)
  3394. num=num-1
  3395. if hit~=nil then
  3396. num=0
  3397. local ref=parto(3,workspace,"Neon",0,1,Neoncol[col],"Reference",vt())
  3398. ref.Anchored=true
  3399. ref.CFrame=cf(pos)
  3400. MagniDamageo(ref,hit,1,30,50,1,"Normal")
  3401. so("rbxassetid://263610039",ref,1,1)
  3402. so("rbxassetid://263610111",ref,1,1)
  3403. MagicBlocko(Neoncol[colr],cf(pos),20,20,20,5,5,5,0.05)
  3404. game:GetService("Debris"):AddItem(ref,1)
  3405. MagniDamageo(ref,ref,15,1000,1000,10,"Normal")
  3406. explosion = Instance.new("Explosion", game.Workspace)
  3407. explosion.BlastRadius = 5
  3408. explosion.Position = ref.Position
  3409. explosion.BlastPressure = 100000
  3410. explosion.DestroyJointRadiusPercent = 10 -- neck welds won't be destroyed
  3411. explosion.ExplosionType = "CratersAndDebris"
  3412. end
  3413. until num<=0
  3414. end))
  3415. cannonSh = false
  3416. end
  3417.  
  3418.  
  3419. function BeamBlast()
  3420. if cannonSh == false then
  3421. local colr = math.random(1,7)
  3422. local n=2
  3423. for i = 0,1,0.05 do
  3424.  
  3425.  
  3426. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  3427. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  3428.  
  3429. end
  3430. local orb=parto(3,Character,"Neon",0,1,Neoncol[colr],"Orb",vt())
  3431. local omsh=mesho("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(15,15,15))
  3432. local owld=weldo(orb,orb,Torso,cf(0,-1.5,8),cf(0,0,0))
  3433. so("http://roblox.com/asset/?id=169445572",orb,1,0.9)
  3434. so("http://roblox.com/asset/?id=169380495",orb,1,0.6)
  3435. so("http://roblox.com/asset/?id=203691346",orb,1,0.9)
  3436. for i=1,0.3,-0.01 do
  3437. colr = math.random(1,7)
  3438. wait()
  3439. orb.Transparency=i
  3440. omsh.Scale=omsh.Scale+vt(0.5,0.5,0.5)
  3441. MagicBlocko(BrickColor.new("Really black"),orb.CFrame,15,15,15,2,2,2,0.1)
  3442. local ef=parto(3,workspace,"Neon",0,0,Neoncol[colr],"Effect",vt())
  3443. ef.Anchored=true
  3444. local emsh=mesho("SpecialMesh",ef,"Sphere","",vt(0,0,0),vt(2,math.random(1000,1500)/100,2))
  3445. local ceef=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,math.random(10,20),0)
  3446. ef.CFrame=orb.CFrame*ceef
  3447. game:GetService("Debris"):AddItem(ef,2)
  3448. coroutine.resume(coroutine.create(function(Part,Mesh)
  3449. for i=0,1,0.1 do
  3450. wait()
  3451. Part.Transparency=i
  3452. Part.CFrame=Part.CFrame*cf(0,-1,0)
  3453. end
  3454. Part.Parent=nil
  3455. end),ef,emsh)
  3456. end
  3457. local Pos=cf(orb.Position,Player:GetMouse().Hit.p).lookVector
  3458. wait(.5)
  3459. orb.Parent=nil
  3460. colr = math.random(1,7)
  3461. local hit,pos = rayCast(orb.Position,Pos,999,Character)
  3462. local mag=(orb.Position-pos).magnitude
  3463. MagicCircleo(Neoncol[colr],cf(pos),15,15,15,8,8,8,0.02)
  3464. MagicBlocko(Neoncol[colr],cf(pos),15,15,15,8,8,8,0.02)
  3465. MagicCylindero(Neoncol[colr],CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0),10,mag*5,10,0.5,0,0.5,0.01)
  3466. for i=1,2 do
  3467. colr = math.random(1,7)
  3468. MagicRingo(Neoncol[colr],cf(pos)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),3,3,3,1,1,1,0.04)
  3469. end
  3470. for i=1,5 do
  3471. colr = math.random(1,7)
  3472. local tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(mag/5)*(i/2),0)
  3473. MagicRingo(Neoncol[colr],tehcf*euler(1.57,0,0),1,1,1,0.5,0.5,0.5,0.01)
  3474. end
  3475. for i=0,5 do
  3476. colr = math.random(1,7)
  3477. local tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(-mag/5)*(i/2),0)
  3478. MagicRingo(Neoncol[colr],tehcf*euler(1.57,0,0),1,1,1,0.5,0.5,0.5,0.01)
  3479. end
  3480. local ref=parto(3,workspace,"Neon",0,1,Neoncol[colr],"Effect",vt())
  3481. ref.CFrame=cf(pos)
  3482. so("http://roblox.com/asset/?id=203691378",Torso,1,0.7)
  3483. so("http://roblox.com/asset/?id=169445602",Torso,1,0.7)
  3484. so("http://www.roblox.com/Asset?ID=203691282",Torso,1,.8)
  3485. coroutine.resume(coroutine.create(function(Part)
  3486. Part.Parent=nil
  3487. end),ref)
  3488. if hit~=nil then
  3489. MagniDamage(Part,hit,30,1000,1000,0,"Normal")
  3490. end
  3491. explosion = Instance.new("Explosion", game.Workspace)
  3492. explosion.BlastRadius = 15
  3493. explosion.Position = ref.Position
  3494. explosion.BlastPressure = 100000
  3495. explosion.DestroyJointRadiusPercent = 30 -- neck welds won't be destroyed
  3496. explosion.ExplosionType = "CratersAndDebris"
  3497. local n=2
  3498. for i = 0,1,0.03 do
  3499.  
  3500. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  3501. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  3502. end
  3503. end
  3504.  
  3505. Debounces.CanAttack = true
  3506. Debounces.NoIdl = false
  3507. end
  3508.  
  3509. mouse.Button1Down:connect(function()
  3510. if Melee == true then
  3511. if rainbowHands == true then
  3512. if attack == false and attacktype == 1 then
  3513. attacktype = 2
  3514. attackone()
  3515. elseif attack == false and attacktype == 2 then
  3516. attacktype = 1
  3517. attacktwo()
  3518. end
  3519. elseif d0arm[3] == "true" then
  3520. lBeam1()
  3521. end
  3522. else
  3523. if rainbowHands == true then
  3524. if attack == false then
  3525. attacktwo()
  3526. end
  3527. end
  3528. end
  3529. end)
  3530. local slashing = false
  3531. mouse.KeyUp:connect(function(key)
  3532. if key == "q" then
  3533. if Melee == true then
  3534. if rainbowssl ~= true then
  3535. if rainbowHands == true then
  3536. Debounces.CanAttack = false
  3537. Debounces.NoIdl = true
  3538. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  3539. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  3540. BeamBlast()
  3541. end
  3542. elseif Melee == false then
  3543. if sword2 ~= true then
  3544. Debounces.CanAttack = false
  3545. Debounces.NoIdl = true
  3546. --Debounces.on = true
  3547. slashing = true
  3548. for i = 1, 20 do
  3549. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad (60),math.rad(70),math.rad(70)), 0.2)
  3550. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0) *CFrame.Angles(math.rad(-20),math.rad(0),math.rad (-40)), 0.2)
  3551. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50), math.rad(0)), 0.2)
  3552. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(-.4, -1, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.2)
  3553. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2)
  3554. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2)
  3555. rs:wait(2)
  3556. end
  3557. for i = 1, 20 do
  3558. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.65, 0) * CFrame.Angles(math.rad(-40),math.rad(-20),math.rad(40)), 0.3)
  3559. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.65, -.3) * CFrame.Angles(math.rad(65),math.rad(-20),math.rad(30)), 0.3)
  3560. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-9),math.rad(35), math.rad(0)), 0.3)
  3561. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(0), math.rad(-65), math.rad(0)), 0.3)
  3562. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3)
  3563. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3)
  3564. rs:wait(2)
  3565. end
  3566. for i = 1, 26 do
  3567. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad (90),math.rad(-40),math.rad(80)), 0.35)
  3568. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad (- 70)), 0.35)
  3569. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-90), math.rad(0)), 0.35)
  3570. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.35)
  3571. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.35)
  3572. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.35)
  3573. --cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles (math.rad(0), math.rad(-30), math.rad(0)), 0.35)
  3574. rs:wait(2)
  3575. end
  3576. --cor.Weld.C1 = CFrame.Angles(0,0,0)
  3577. slashing = false
  3578. if Debounces.CanAttack == false then
  3579. Debounces.CanAttack = true
  3580. Debounces.NoIdl = false
  3581. --Debounces.on = false
  3582. end
  3583. else
  3584. Debounces.CanAttack = false
  3585. Debounces.NoIdl = true
  3586. --Debounces.on = true
  3587.  
  3588.  
  3589. if Debounces.CanAttack == false then
  3590. Debounces.CanAttack = true
  3591. Debounces.NoIdl = false
  3592. --Debounces.on = false
  3593. end
  3594.  
  3595. end
  3596. else
  3597. if Debounces.CanAttack == true then
  3598. Debounces.CanAttack = false
  3599. Debounces.NoIdl = true
  3600. sslAttack1()
  3601. Debounces.CanAttack = true
  3602. Debounces.NoIdl = false
  3603. end
  3604. end
  3605. end
  3606. end
  3607. end)
  3608. -- Magic effects
  3609. local magic = {}
  3610. magic.grid = function(cff,x,y,z,col)
  3611. local prt = part(3, workspace, 0, 0, col, "Part", vt(1, 1, 1))
  3612. prt.Anchored = true
  3613. local xval = math.random()
  3614. local yval = math.random()
  3615. local zval = math.random()
  3616. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(xval, yval, zval))
  3617. coroutine.resume(coroutine.create(function(Part, Mesh, Frame, xvaal, yvaal, zvaal)
  3618. Part.CFrame = Frame * cf(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  3619. for i = 1, 8 do
  3620. wait()
  3621. xvaal = xvaal - 0.1
  3622. yvaal = yvaal - 0.1
  3623. zvaal = zvaal - 0.1
  3624. Mesh.Scale = vt(xvaal, yvaal, zvaal)
  3625. Part.Transparency = Part.Transparency + 0.09
  3626. end
  3627. Part.Parent = nil
  3628. end), prt, msh, cff, xval, yval, zval)
  3629. end
  3630. magic.stravant = function(brickcolor, cframe, x, y, z, x1, y1, z1, delay)
  3631. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3632. prt.Anchored = true
  3633. prt.CFrame = cframe * cf(x, y, z)
  3634. local msh = mesh("SpecialMesh", prt, "FileMesh", "168892363", vt(0, 0, 0), vt(x1, y1, z1))
  3635. game:GetService("Debris"):AddItem(prt, 5)
  3636. coroutine.resume(coroutine.create(function(Part, Mesh, ex, why, zee)
  3637. local num = random()
  3638. local num2 = random(-3, 2) + random()
  3639. local numm = 0
  3640. for i = 0, 1, delay * 2 do
  3641. wait()
  3642. Part.CFrame = cframe * euler(0, numm * num * 10, 0) * cf(ex, why, zee) * cf(-i * 10, num2, 0)
  3643. Part.Transparency = i
  3644. numm = numm + 0.01
  3645. end
  3646. Part.Parent = nil
  3647. Mesh.Parent = nil
  3648. end), prt, msh, x, y, z)
  3649. end
  3650. magic.block = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, parent)
  3651. local prt = part(3, parent or workspace, 0, 0, brickcolor, "Effect", vt())
  3652. prt.Anchored = true
  3653. prt.CFrame = cframe
  3654. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3655. game:GetService("Debris"):AddItem(prt, 5)
  3656. if Type == 1 or Type == nil then
  3657. block1(prt, delay, x3, y3, z3, msh)
  3658. elseif Type == 2 then
  3659. block2(prt, delay, x3, y3, z3, msh)
  3660. end
  3661. end
  3662. -------------------------------
  3663.  
  3664.  
  3665.  
  3666. function attack1()
  3667. --con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  3668. slashing = true
  3669. Debounces.CanAttack = false
  3670. Debounces.NoIdl = true
  3671. --[[for i=0,1,0.2 do
  3672. swait()
  3673. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(2,0,1),.4)
  3674. rarm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3675. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.3,0.5,-.3)*euler(.4,0,.2)*euler(0,-.2,0),.4)
  3676. larm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3677. --rleg.Weld.C0=clerp(rleg.Weld.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.5,0),.4)
  3678. --lleg.Weld.C0=clerp(lleg.Weld.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.5,0),.4)
  3679. end
  3680. for i=0,1,0.3 do
  3681. swait()
  3682. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.2,0.5,-.3)*euler(.2,0,-.2)*euler(0,-.5,0),.4)
  3683. rarm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3684. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.4,0,-.2),.4)
  3685. larm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3686. --rleg.Weld.C0=clerp(rleg.Weld.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.5,0),.4)
  3687. --lleg.Weld.C0=clerp(lleg.Weld.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.5,0),.4)
  3688. end
  3689. for i=0,1,0.2 do
  3690. swait()
  3691. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1,0.5,-.5)*euler(.6,0,-1)*euler(0,-.7,0),.4)
  3692. rarm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3693. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.4,0,-.2),.4)
  3694. larm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3695. --rleg.Weld.C0=clerp(rleg.Weld.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.5,0),.4)
  3696. --lleg.Weld.C0=clerp(lleg.Weld.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.5,0),.4)
  3697. end]]
  3698. for i=0,1,0.2 do
  3699. swait()
  3700. --[[
  3701. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  3702. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  3703. local h = 5
  3704. 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)
  3705. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3706. 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)
  3707. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3708. scfr = blcf
  3709. elseif not scfr then
  3710. scfr = blcf
  3711. end]]
  3712. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(-90),math.rad(-90))*angles(math.rad(90),0,math.rad(0)),.4)
  3713. end
  3714. for i=0,1,0.2 do
  3715. swait()
  3716. --[[local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  3717. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  3718. local h = 5
  3719. 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)
  3720. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3721. 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)
  3722. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3723. scfr = blcf
  3724. elseif not scfr then
  3725. scfr = blcf
  3726. end]]
  3727. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1,0.5,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-100))*angles(math.rad(-75),0,math.rad(0)),.4)
  3728. --handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.4)
  3729. end
  3730. slashing = false
  3731. Debounces.CanAttack = true
  3732. Debounces.NoIdl = false
  3733. end
  3734.  
  3735. function attack2()
  3736. slashing = true
  3737. Debounces.CanAttack = false
  3738. Debounces.NoIdl = true
  3739. for i=0,1,0.2 do
  3740. swait()
  3741. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1,0.5,-.5)*euler(1.57,0,-1)*euler(0,1.2,0),.4)
  3742. rarm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3743. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.8,0,-.4),.4)
  3744. larm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3745. end
  3746. for i=0,1,0.3 do
  3747. swait()
  3748. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1.3,0,1)*euler(0,1.6,0),.4)
  3749. rarm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3750. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.2,0,-.2),.4)
  3751. larm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3752. end
  3753. for i=0,1,0.2 do
  3754. swait()
  3755. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1,0,.8)*euler(0,1.3,0),.4)
  3756. rarm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3757. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.2,0,-.2),.4)
  3758. larm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3759. end
  3760. slashing = false
  3761. Debounces.CanAttack = true
  3762. Debounces.NoIdl = false
  3763. end
  3764.  
  3765.  
  3766. function attack3()
  3767. slashing = true
  3768. Debounces.CanAttack = false
  3769. Debounces.NoIdl = true
  3770. for i = 0, 1, 0.16 do
  3771. swait()
  3772. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.4)
  3773. rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, -0.2) * angles(0, 1.3, 1.3), 0.4)
  3774. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-1.3, 0.4, 0.3) * angles(-0.6, 0, -0.5), 0.4)
  3775. end
  3776. coroutine.resume(coroutine.create(function()
  3777. for i = 0, 4, 0.2 do
  3778. swait()
  3779. rarm.Weld.C0 = clerp(rarm.Weld.C0, cf(0, 0, 0) * angles(math.rad(0 + 360 * i), math.rad(-60), math.rad(0)), 0.5)
  3780. end
  3781. end
  3782. ))
  3783. for i = 0, 1, 0.05 do
  3784. swait()
  3785. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.4)
  3786. rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, -0.2) * angles(math.rad(0), math.rad(0), math.rad(100)), 0.4)
  3787. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-1.3, 0.4, 0.3) * angles(0.8, 0, -0.5), 0.4)
  3788. end
  3789. slashing = false
  3790. Debounces.CanAttack = true
  3791. Debounces.NoIdl = false
  3792. end
  3793. -------------------------------------
  3794.  
  3795. -------------------------------------
  3796. myVars[5] = "normal"
  3797.  
  3798. myVars[8] = 0
  3799. mouse.Button1Down:connect(function()
  3800. if rainbowHands == false then
  3801. if myVars[5] == "normal" then
  3802. if sword2 == true then
  3803. if myVars[1] ~= "att1" then
  3804. if myVars[2] ~= "att2" then
  3805. if Debounces.CanAttack == true then
  3806. myVars[1] = "att1"
  3807. attack1()
  3808. end
  3809.  
  3810. elseif myVars[2] == "att2" then
  3811. if Debounces.CanAttack == true then
  3812. myVars[1] = "none"
  3813. myVars[2] = "none"
  3814. attack3()
  3815. end
  3816. end
  3817. elseif myVars[2] ~= "att2" then
  3818. if Debounces.CanAttack == true then
  3819. myVars[1] = "none"
  3820. myVars[2] = "att2"
  3821. attack2()
  3822. end
  3823. end
  3824. end
  3825. elseif myVars[5] == "ssl3" then
  3826. if myVars[7] == true then
  3827. Debounces.CanAttack = false
  3828. Debounces.NoIdl = true
  3829. if myVars[8] == 0 then
  3830. vAttackOne()
  3831. myVars[8] = 1
  3832. Debounces.CanAttack = true
  3833. Debounces.NoIdl = false
  3834. return true
  3835. elseif myVars[8] == 1 then
  3836. vAttackTwo()
  3837. myVars[8] = 2
  3838. Debounces.CanAttack = true
  3839. Debounces.NoIdl = false
  3840. return true
  3841. elseif myVars[8] == 2 then
  3842. vAttackThree()
  3843. myVars[8] = 0
  3844. Debounces.CanAttack = true
  3845. Debounces.NoIdl = false
  3846. return true
  3847. end
  3848. end
  3849. elseif myVars[5] == "ssl3_1" then
  3850. if myVars[7] == true then
  3851. Debounces.CanAttack = false
  3852. Debounces.NoIdl = true
  3853. if myVars[8] == 0 then
  3854. vAttackOne()
  3855. myVars[8] = 1
  3856. Debounces.CanAttack = true
  3857. Debounces.NoIdl = false
  3858. return true
  3859. elseif myVars[8] == 1 then
  3860. vAttackTwo()
  3861. myVars[8] = 2
  3862. Debounces.CanAttack = true
  3863. Debounces.NoIdl = false
  3864. return true
  3865. elseif myVars[8] == 2 then
  3866. vAttackThree()
  3867. myVars[8] = 0
  3868. Debounces.CanAttack = true
  3869. Debounces.NoIdl = false
  3870. return true
  3871. end
  3872. end
  3873. end
  3874. end
  3875. end)
  3876.  
  3877. function testFunc()
  3878. for i = 0, 1, 0.1 do
  3879. swait()
  3880. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), .2)
  3881. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2, 0.3, -.5) * angles(math.rad(0), math.rad(170), math.rad(90)), .25)
  3882. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.3, -.7) * angles(math.rad(0), math.rad(-170), math.rad(-110)), .25)
  3883. end
  3884. for i = 0, 1, 0.13 do
  3885. swait()
  3886. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(-90), math.rad(0)), .3)
  3887. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3, 0.5, -.4) * angles(math.rad(120), math.rad(0), math.rad(10)), .3)
  3888. end
  3889. end
  3890.  
  3891. local prref = part(3, nil, 0, 1, BrickColor.new("Black"), "Reference", vt())
  3892. prref.Anchored = true
  3893. -------------------------------
  3894. local powerHand = false
  3895. local randPower = math.random(1,2)
  3896. mouse.KeyUp:connect(function(key)
  3897. if key == "t" then
  3898. if powerHand == false then
  3899. if Grab == true then
  3900. if Debounces.CanAttack == true then
  3901. Debounces.CanAttack = false
  3902. Debounces.on = true
  3903. Debounces.NoIdl = true
  3904. powerHand = true
  3905. for i = 1, 10 do
  3906. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(160),math.rad(20),math.rad(20)), 0.92)
  3907. wait(0.5)
  3908. end
  3909. getDiscoMan(humanoidR)
  3910. powerHand = false
  3911. Debounces.CanAttack = true
  3912. Debounces.on = false
  3913. Debounces.NoIdl = false
  3914. humanoidR = nil
  3915. end
  3916. else
  3917. if myVars[3] == "claw" then
  3918. if Debounces.CanAttack == true then
  3919. Debounces.CanAttack = false
  3920. Debounces.on = true
  3921. Debounces.NoIdl = true
  3922. bird()
  3923. Debounces.CanAttack = true
  3924. Debounces.on = false
  3925. Debounces.NoIdl = false
  3926. end
  3927. end
  3928.  
  3929. end
  3930. end
  3931. end
  3932. end)
  3933. mouse.KeyUp:connect(function(key)
  3934. if key == "x" then
  3935. if powerHand == false then
  3936. if Grab == true then
  3937. if Debounces.CanAttack == true then
  3938. Debounces.CanAttack = false
  3939. Debounces.on = true
  3940. Debounces.NoIdl = true
  3941. powerHand = true
  3942. for i = 1, 10 do
  3943. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(160),math.rad(20),math.rad(20)), 0.92)
  3944. wait(0.5)
  3945. end
  3946. getFreeze(humanoidR)
  3947. powerHand = false
  3948. Debounces.CanAttack = true
  3949. Debounces.on = false
  3950. Debounces.NoIdl = false
  3951. humanoidR = nil
  3952. end
  3953. end
  3954. end
  3955. end
  3956. end)
  3957.  
  3958. -------------------------------
  3959. mouse.KeyUp:connect(function(key)
  3960. if key == "r" then
  3961. if Charging == true then
  3962. Charging = false
  3963. pt:Destroy()
  3964. pt2:Destroy()
  3965. bl:Destroy()
  3966. if Debounces.CanAttack == false then
  3967. Debounces.CanAttack = true
  3968. Debounces.NoIdl = false
  3969. Debounces.on = false
  3970. end
  3971. end
  3972. end
  3973. end)
  3974.  
  3975. ----------------------------------------------------
  3976.  
  3977. function equipHands()
  3978. for i = 0, 1, 0.1 do
  3979. swait()
  3980. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), .2)
  3981. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2, 0.3, -.5) * angles(math.rad(0), math.rad(170), math.rad(90)), .25)
  3982. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.3, -.7) * angles(math.rad(0), math.rad(-170), math.rad(-110)), .25)
  3983.  
  3984. end
  3985. --CreateSound("http://roblox.com/asset/?id=346134880", Torso, 1, .9)
  3986. for i = 0, 1, 0.1 do
  3987. swait()
  3988. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), .2)
  3989. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2, 0.3, -.5) * angles(math.rad(0), math.rad(170), math.rad(95)), .34)
  3990. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1, 0.3, -.7) * angles(math.rad(0), math.rad(-170), math.rad(-120)), .34)
  3991.  
  3992. end
  3993. for i = 0, 1, 0.1 do
  3994. swait()
  3995. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), .2)
  3996. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2, 0.3, -.7) * angles(math.rad(0), math.rad(170), math.rad(110)), .25)
  3997. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.3, -.5) * angles(math.rad(0), math.rad(-170), math.rad(-90)), .25)
  3998.  
  3999. end
  4000. for i = 0, 1, 0.1 do
  4001. swait()
  4002. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), .2)
  4003. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1, 0.3, -.7) * angles(math.rad(0), math.rad(170), math.rad(120)), .34)
  4004. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.3, -.7) * angles(math.rad(0), math.rad(-180), math.rad(-95)), .34)
  4005.  
  4006. end
  4007. end
  4008.  
  4009. function sslBurst1()
  4010. for i = 0, 1, 0.1 do
  4011. swait()
  4012. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), .2)
  4013. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2, 0.3, -.5) * angles(math.rad(0), math.rad(170), math.rad(90)), .25)
  4014. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.3, -.7) * angles(math.rad(0), math.rad(-170), math.rad(-110)), .25)
  4015.  
  4016. end
  4017. colc = math.random(1,7)
  4018. local fx = Instance.new("Part",torso)
  4019. fx.Anchored = true
  4020. fx.Material = "Neon"
  4021. fx.CanCollide = false
  4022. fx.Locked = true
  4023. fx.Transparency = 1
  4024. fx.Material = "Neon"
  4025. fx.Size = Vector3.new(1,1,1)
  4026. fx.TopSurface = "SmoothNoOutlines"
  4027. fx.BottomSurface = "SmoothNoOutlines"
  4028. fx.BrickColor = Neonsc[colc]
  4029. fxm = Instance.new("SpecialMesh",fx)
  4030. fxm.MeshType = "Sphere"
  4031. fxm.Scale = Vector3.new(1,1,1)
  4032.  
  4033. for i = 1, 20 do
  4034. colc = math.random(1,7)
  4035. fx.BrickColor = Neonsc[colc]
  4036. fx.Transparency = fx.Transparency - (1/20)
  4037. fx.CFrame = torso.CFrame
  4038. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  4039. wait(0.0000001)
  4040. end
  4041.  
  4042.  
  4043. rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50)))
  4044. larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30)))
  4045. hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0))
  4046. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  4047. lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10)))
  4048. rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20)))
  4049. ssl3Appear()
  4050.  
  4051. for i = 1, 20 do wait(0.0000001)
  4052. colc = math.random(1,7)
  4053. fx.BrickColor = Neonsc[colc]
  4054. fx.Transparency = fx.Transparency + (1/20)
  4055. fx.CFrame = torso.CFrame
  4056. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  4057. end
  4058. end
  4059.  
  4060.  
  4061. ---------------SSL3-MODE-1-ATTACKS-START-------------------------
  4062. function trail(p,t,h)
  4063. Spawn(function()
  4064. local blcf = p.CFrame
  4065. local scfr = blcf
  4066. for i=1,t do
  4067. local blcf = p.CFrame
  4068. if scfr and (p.Position-scfr.p).magnitude > .1 then
  4069. 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)
  4070. if a then game.Debris:AddItem(a,1) end
  4071. if b then game.Debris:AddItem(b,1) end
  4072. 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)
  4073. if a then game.Debris:AddItem(a,1) end
  4074. if b then game.Debris:AddItem(b,1) end
  4075. scfr = blcf
  4076. elseif not scfr then
  4077. scfr = blcf
  4078. end
  4079. game:service'RunService'.RenderStepped:wait()
  4080. end
  4081. scfr=nil
  4082. end)
  4083. end
  4084. function lBeam1()
  4085. function partypoison(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  4086. local fp=Instance.new("Part")
  4087. fp.formFactor=formfactor
  4088. fp.Parent=parent
  4089. fp.Reflectance=reflectance
  4090. fp.Transparency=transparency
  4091. fp.CanCollide=false
  4092. fp.Locked=true
  4093. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  4094. fp.Name=name
  4095. fp.Size=size
  4096. fp.Position=Character.Torso.Position
  4097. nooutline(fp)
  4098. fp.Material=material
  4099. fp:BreakJoints()
  4100. return fp
  4101. end
  4102. function meshypoison(Mesh,part,meshtype,meshid,offset,scale)
  4103. local mesh=Instance.new(Mesh)
  4104. mesh.Parent=part
  4105. if Mesh=="SpecialMesh" then
  4106. mesh.MeshType=meshtype
  4107. mesh.MeshId=meshid
  4108. end
  4109. mesh.Offset=offset
  4110. mesh.Scale=scale
  4111. return mesh
  4112. end
  4113.  
  4114. function weldypoison(parent,part0,part1,c0,c1)
  4115. local weld=Instance.new("Weld")
  4116. weld.Parent=parent
  4117. weld.Part0=part0
  4118. weld.Part1=part1
  4119. weld.C0=c0
  4120. weld.C1=c1
  4121. return weld
  4122. end
  4123. function Shockwave(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  4124. local prt = partypoison(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  4125. prt.Anchored = true
  4126. prt.CFrame = cframe
  4127. prt.Material = "Neon"
  4128. local msh = meshypoison("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  4129. game:GetService("Debris"):AddItem(prt, 2)
  4130. coroutine.resume(coroutine.create(function(Part, Mesh)
  4131. for i = 0, 1, delay do
  4132. swait()
  4133. Part.CFrame = Part.CFrame
  4134. Part.Transparency = i
  4135. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  4136. end
  4137. Part.Parent = nil
  4138. end), prt, msh)
  4139. end
  4140. for i=0,1,0.2 do
  4141. swait()
  4142. Shockwave(BrickColor.new("Lime green"),CFrame.new(rarm.Position),1,1,1,1,1,1,0.075)
  4143. end
  4144. end
  4145.  
  4146. function Bash()
  4147.  
  4148. function MagicWaveBASH(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4149. local prt=part(3,F2,0,0,brickcolor,"Effect",vt())
  4150. prt.Anchored=true
  4151. prt.CFrame=cframe
  4152. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  4153. game:GetService("Debris"):AddItem(prt,5)
  4154. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3})
  4155. end
  4156.  
  4157.  
  4158.  
  4159. for i=0,1,0.1 do
  4160. swait()
  4161. --torso.Weld.C0=clerp(torso.Weld.C0,necko*euler(0,0,1)*euler(0.5,0,0),.3)
  4162. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-1.4),.3)
  4163. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1,0.5,-0.5)*euler(1.4,-1.4,0)*euler(-.6,0,0),.3)
  4164. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(1,-1,0)*euler(.5,0,0),.3)
  4165. end
  4166. torso.Velocity=RootPart.CFrame.lookVector*600
  4167. MagicWave(Color4,RootPart.CFrame*euler(1.57,0,0),1,1,1,1,1,1,0.05)
  4168. torso.Velocity=RootPart.CFrame.lookVector*0
  4169. for i=0,1,0.1 do
  4170. swait()
  4171. --torso.Weld.C0=clerp(torso.Weld.C0,necko*euler(0,0,1.4)*euler(-0.2,0,0),.3)
  4172. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-1.4),.3)
  4173. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1,0.5,-0.5)*euler(3,-1.4,0)*euler(-.6,0,0),.3)
  4174. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(2.3,-1.4,0)*euler(.5,0,0),.3)
  4175. end
  4176. for i=0,1,0.2 do
  4177. swait()
  4178. --torso.Weld.C0=clerp(torso.Weld.C0,necko*euler(0,0,1.4)*euler(0.4,0,0),.45)
  4179. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.3)*euler(0,0,-1.4),.45)
  4180. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(.5,0.2,-0.5)*euler(3,-1.4,0)*euler(-2.7,0,0),.45)
  4181. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.2,0.1,-0.3)*euler(0,-1.4,0)*euler(.5,0,0),.45)
  4182. end
  4183. local ref=part(3,workspace,0,1,BrickColor.new("Dark indigo"),"Effect",vt())
  4184. ref.Anchored=true
  4185. ref.CFrame=cf(pos)
  4186. game:GetService("Debris"):AddItem(ref,3)
  4187.  
  4188. MagicWaveBASH(Neonsc[colc],cf(pos),1,1,1,.7,.7,.7,0.05)
  4189. MagniDamage(ref,10,40,80,math.random(100,600),"Up")
  4190. swait(10)
  4191. print("Bash_1 ran.")
  4192. end
  4193.  
  4194. vAttackOne = function()
  4195. local RbxUtility = LoadLibrary("RbxUtility")
  4196. local Create = RbxUtility.Create
  4197.  
  4198.  
  4199.  
  4200. function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
  4201. for i, v in pairs(hit:GetChildren()) do
  4202. if v:IsA("Humanoid") and hit.Name ~= Character.Name then
  4203. local find = v:FindFirstChild("DebounceHit")
  4204. if not find then
  4205. if v.Parent:findFirstChild("Head") then
  4206. local BillG = Create("BillboardGui"){
  4207. Parent = v.Parent.Head,
  4208. Size = UDim2.new(1, 0, 1, 0),
  4209. Adornee = v.Parent.Head,
  4210. StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)),
  4211. }
  4212. local TL = Create("TextLabel"){
  4213. Parent = BillG,
  4214. Size = UDim2.new(3, 3, 3, 3),
  4215. BackgroundTransparency = 1,
  4216. Text = tostring(damage).."-",
  4217. TextColor3 = Color1.Color,
  4218. TextStrokeColor3 = Color2.Color,
  4219. TextStrokeTransparency = 0,
  4220. TextXAlignment = Enum.TextXAlignment.Center,
  4221. TextYAlignment = Enum.TextYAlignment.Center,
  4222. FontSize = Enum.FontSize.Size18,
  4223. Font = "ArialBold",
  4224. }
  4225. coroutine.resume(coroutine.create(function()
  4226. swait(1)
  4227. for i = 0, 1, .1 do
  4228. swait(.1)
  4229. BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0)
  4230. end
  4231. BillG:Destroy()
  4232. end))
  4233. end
  4234. v.Health = v.Health - damage
  4235. local bool = Create("BoolValue"){
  4236. Parent = v,
  4237. Name = "DebounceHit",
  4238. }
  4239. game:GetService("Debris"):AddItem(bool, cooldown)
  4240. end
  4241. end
  4242. end
  4243. end
  4244. if myVars[5] == "ssl3" then
  4245. local Con1 = myVars[6].Hitbox.Touched:connect(function(hit)
  4246. Damage(hit.Parent, math.random(1000, 4500), .1, BrickColor.new("Really black"), BrickColor.new("Mid gray"), "rbxassetid://199149186" ,1)
  4247. end)
  4248. for i = 1, 10 do
  4249. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.6, 0.9, -0.62)*CFrame.Angles(math.rad(170),math.rad(20),math.rad(-60)), 0.56)
  4250. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0.2)*CFrame.Angles(math.rad(-30),math.rad(-10),math.rad(-20)), 0.5)
  4251. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2)*CFrame.Angles(math.rad(10),math.rad(-46),0), 0.47)
  4252. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-8), math.rad(46), 0), 0.55)
  4253. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(20), math.rad(-10)), 0.43)
  4254. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(12), math.rad(-20), math.rad(10)), 0.43)
  4255. rs:wait()
  4256. end
  4257.  
  4258. for i = 1, 10 do
  4259. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, .3)*CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(50)), 0.67)
  4260. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4, 0.7, -0.3)*CFrame.Angles(math.rad(80),math.rad(-10),math.rad(-20)), 0.58)
  4261. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2)*CFrame.Angles(math.rad(-14),math.rad(40),0), 0.54)
  4262. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(-40), 0), 0.66)
  4263. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(12), math.rad(20), math.rad(-10)), 0.5)
  4264. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-20), math.rad(10)), 0.5)
  4265. rs:wait()
  4266. end
  4267. Con1:disconnect()
  4268. elseif myVars[5] == "ssl3_1" then
  4269. print("RUN_SSL31")
  4270. myVars[11].Parent=myVars[10]
  4271. myVars[11].Size=vt(1,6,1)
  4272. myVars[11].Transparency=1
  4273. myVars[11].CFrame=myVars[10].prtd7.CFrame
  4274. local con1=myVars[11].Touched:connect(function(hit) Damagefunc(hit,30,60,math.random(10000,10000),"Lifesteal",RootPart,.5,1) end)
  4275. for i=0,1,0.1 do
  4276. swait()
  4277. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*euler(0.4,0,-1),.3)
  4278. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1.4,-0.5,1)*euler(.3,0,.5),.3)
  4279. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(.7,0,-0.7),.3)
  4280. end
  4281. for i=0,1,0.08 do
  4282. swait()
  4283. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*euler(0.2,0,1),.3)
  4284. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1,0.5,-0.5)*euler(1.4,-0.5,1)*euler(1.3,0,-1.7),.3)
  4285. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.7,0,-0.7),.3)
  4286. end
  4287. con1:disconnect()
  4288. end
  4289. end
  4290.  
  4291. vAttackTwo = function()
  4292.  
  4293. if myVars[5] == "ssl3" then
  4294. local Con1 = myVars[6].Hitbox.Touched:connect(function(hit)
  4295. Damage(hit.Parent, math.random(1000, 4500), .1, BrickColor.new("Really black"), BrickColor.new("Mid gray"), "rbxassetid://199149186" ,1)
  4296. end)
  4297. for i = 1, 5 do
  4298. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.25, 0.9, 0)*CFrame.Angles(math.rad(170),math.rad(20),math.rad(60)), 0.8)
  4299. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0.17)*CFrame.Angles(math.rad(-30),math.rad(-10),math.rad(-20)), 0.8)
  4300. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2)*CFrame.Angles(math.rad(-10),math.rad(46),0), 0.8)
  4301. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(8), math.rad(-46), 0), 0.8)
  4302. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(20), math.rad(-10)), 0.8)
  4303. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(12), math.rad(-20), math.rad(10)), 0.8)
  4304. --if Debounces.on == false then break end
  4305. rs:wait()
  4306. end
  4307. for i = 1, 10 do
  4308. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.8, 0.5, -0.35)*CFrame.Angles(math.rad(0),math.rad(-15),math.rad(-50)), 0.77)
  4309. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4, 0.6, -0.35)*CFrame.Angles(math.rad(-50),math.rad(10),math.rad(-20)), 0.58)
  4310. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2)*CFrame.Angles(math.rad(-14),math.rad(-40),0), 0.54)
  4311. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-9), math.rad(40), 0), 0.66)
  4312. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(12), math.rad(20), math.rad(-10)), 0.5)
  4313. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-20), math.rad(10)), 0.5)
  4314. rs:wait()
  4315. end
  4316. Con1:disconnect()
  4317. elseif myVars[5] == "ssl3_1" then
  4318. myVars[11].Parent=myVars[10]
  4319. myVars[11].Size=vt(1,6,1)
  4320. myVars[11].Transparency=1
  4321. myVars[11].CFrame=myVars[10].prtd7.CFrame
  4322. local con1=myVars[11].Touched:connect(function(hit) Damagefunc(hit,30,60,math.random(10000,10000),"Lifesteal",RootPart,.5,1) end)
  4323. for i=0,1,0.1 do
  4324. swait()
  4325. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.4)*euler(0.1,0,1.2),.3)
  4326. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1,0.5,-0.5)*euler(1.4,-1.2,.6)*euler(1.1,0,-1.7),.3)
  4327. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.7,0,-0.7),.3)
  4328. end
  4329. for i=0,1,0.1 do
  4330. swait()
  4331. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.4)*euler(0.1,0,-0.8),.3)
  4332. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1.4,-.8,.6)*euler(0.5,0,.5),.3)
  4333. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.7,0,-0.7),.3)
  4334. end
  4335. con1:disconnect()
  4336. end
  4337. end
  4338.  
  4339.  
  4340.  
  4341. vAttackThree = function()
  4342. if myVars[5] == "ssl3" then
  4343. for i = 1, 10 do
  4344. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.95, 1.1, -0.15)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-50)), 0.63)
  4345. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-0.95, 1.1, -0.15)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(50)), 0.63)
  4346. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.1)*CFrame.Angles(math.rad(10),math.rad(0),0), 0.54)
  4347. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(0), 0), 0.66)
  4348. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.5)
  4349. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  4350.  
  4351. rs:wait()
  4352. end
  4353. for i = 1, 10 do
  4354. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(20), 0, math.rad(40)), 0.7)
  4355. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(20), 0, math.rad(-40)), 0.7)
  4356. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-40), 0, 0), 0.7)
  4357. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), 0, 0), 0.7)
  4358. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -.1) * CFrame.Angles(math.rad(-16), 0, 0), 0.7)
  4359. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-16), 0, 0), 0.7)
  4360. rs:wait()
  4361. end
  4362. MagniDamageo(myVars[6].Hitbox,myVars[6].Hitbox,20,20,30,0,"Knockdown")
  4363. local hit,pos=rayCast(myVars[6].Hitbox.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,char)
  4364. if hit~=nil then
  4365. print("test1")
  4366. local ref2=parto(3,workspace,"Neon",0,1,BrickColor.new("Black"),"Effect",vt())
  4367. print("test2")
  4368. ref2.Anchored=true
  4369. print("test3")
  4370. ref2.CFrame=cf(pos)
  4371. print("test4")
  4372. game:GetService("Debris"):AddItem(ref2,3)
  4373. print("test5")
  4374.  
  4375. local Con1 = myVars[6].Hitbox.Touched:connect(function(hit)
  4376. Damage(hit.Parent, math.random(1000, 4500), .1, BrickColor.new("Really black"), BrickColor.new("Mid gray"), "rbxassetid://199149186" ,1)
  4377. end)
  4378. for i=1,10 do
  4379. local Col=Neonsc[colc]
  4380. colc = math.random(1,7)
  4381. local groundpart=parto(3,workspace,"Neon",0.5,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  4382. groundpart.Anchored=true
  4383. groundpart.CanCollide=false
  4384. groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4385. game:GetService("Debris"):AddItem(groundpart,5)
  4386. end
  4387. colc = math.random(1,7)
  4388. BlastEffect(Neonsc[colc],cf(pos),1,1,1,.7,.7,.7)
  4389. colc = math.random(1,7)
  4390. MagicCircleo(Neonsc[colc],cf(pos),3,3,3,5,5,5,0.05)
  4391. MagniDamageo(ref2,ref2,10,10,20,math.random(10,20),"Knockdown")
  4392. Con1:disconnect()
  4393. end
  4394. else
  4395.  
  4396. myVars[11].Parent=myVars[10]
  4397. myVars[11].Size=vt(1,6,1)
  4398. myVars[11].Transparency=1
  4399. myVars[11].CFrame=myVars[10].prtd7.CFrame
  4400. local con1=myVars[11].Touched:connect(function(hit) Damagefunc(hit,30,60,math.random(10000,10000),"Lifesteal",RootPart,.5,1) end)
  4401. for i=0,1,0.1 do
  4402. swait()
  4403. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*euler(0.1,0,-0.2),.3)
  4404. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(2.9,-1.8,0)*euler(.5,0,0),.3)
  4405. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-0.4,0,-0.2),.3)
  4406. end
  4407. for i=0,1,0.15 do
  4408. swait()
  4409. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.8)*euler(0.5,0,0.6),.4)
  4410. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1.55,-1.5,0)*euler(.3,0,0),.4)
  4411. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-0.4,0,-0.2),.4)
  4412. end
  4413. con1:disconnect()
  4414. end
  4415. end
  4416.  
  4417.  
  4418.  
  4419.  
  4420. ---------------SSL3-MODE-1-ATTACKS-END-------------------------
  4421.  
  4422. --------------SSL3-WEAPONS-START-------------------------------
  4423. function ssl3()
  4424.  
  4425. --[[for i=0.1, 1, 0.1 do
  4426. print("anim1")
  4427. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20)), 0.2)
  4428. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.5, -.54) * CFrame.Angles(math.rad(88), 0, math.rad(48)), 0.6)
  4429. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  4430. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3)
  4431. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3)
  4432. end
  4433. wait(1)
  4434. rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50)))
  4435. larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30)))
  4436. hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0))
  4437. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  4438. lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10)))
  4439. rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20)))
  4440.  
  4441. colc = math.random(1,7)
  4442. local fx = Instance.new("Part",torso)
  4443. fx.Anchored = true
  4444. fx.Material = "Neon"
  4445. fx.CanCollide = false
  4446. fx.Locked = true
  4447. fx.Transparency = 1
  4448. fx.Material = "Neon"
  4449. fx.Size = Vector3.new(1,1,1)
  4450. fx.TopSurface = "SmoothNoOutlines"
  4451. fx.BottomSurface = "SmoothNoOutlines"
  4452. fx.BrickColor = Neonsc[colc]
  4453. fxm = Instance.new("SpecialMesh",fx)
  4454. fxm.MeshType = "Sphere"
  4455. fxm.Scale = Vector3.new(1,1,1)
  4456.  
  4457. for i = 1, 20 do
  4458. colc = math.random(1,7)
  4459. fx.BrickColor = Neonsc[colc]
  4460. fx.Transparency = fx.Transparency - (1/20)
  4461. fx.CFrame = torso.CFrame
  4462. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  4463. wait(0.0000001)
  4464. end
  4465.  
  4466.  
  4467. if char.Hair ~= nil then
  4468. for i,v in pairs(char:children()) do
  4469. if v == char.Hair then
  4470. v:Destroy()
  4471. break
  4472. end
  4473. end
  4474. end
  4475. for i = 1, 20 do wait(0.0000001)
  4476. colc = math.random(1,7)
  4477. fx.BrickColor = Neonsc[colc]
  4478. fx.Transparency = fx.Transparency + (1/20)
  4479. fx.CFrame = torso.CFrame
  4480. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  4481. end]]
  4482.  
  4483. local num = 0
  4484. for i=0,1,0.1 do
  4485. swait()
  4486. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.3,0.5,0.2)*euler(3.4,0,0),.3)
  4487. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(0,0,0),.3)
  4488. end
  4489. for i=0,1,0.1 do
  4490. swait()
  4491. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  4492. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1.3,0,0),.3)
  4493. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1,0.5,-0.5)*euler(1.4,-1.57,0)*euler(1.2,0,0),.3)
  4494. end
  4495. for i=0.1, 1, 0.1 do
  4496. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20)), 0.2)
  4497. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.5, -.54) * CFrame.Angles(math.rad(88), 0, math.rad(48)), 0.6)
  4498. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  4499. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3)
  4500. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3)
  4501. end
  4502. num=0
  4503. for i=0,1,0.01 do
  4504. swait()
  4505. if num>=10 then
  4506. num=0
  4507. colc = math.random(1, 7)
  4508. MagicWave(Neonsc[colc],cf(torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05)
  4509. end
  4510. for i=1,2 do
  4511. if math.random(1,5)==1 then
  4512. colc = math.random(1, 7)
  4513. --MagicBlock(Neonsc[colc],RightArm.CFrame*cf(math.random(-100,100)/100,-math.random(0,700)/100,math.random(-100,100)/100),math.random(30,80)/100,math.random(30,80)/100,math.random(30,80)/100,.5,.5,.5,0.05)
  4514. else
  4515. colc = math.random(1, 7)
  4516. --MagicBlock(Neonsc[colc],RightArm.CFrame*cf(math.random(-100,100)/100,-math.random(0,700)/100,math.random(-100,100)/100),math.random(30,80)/100,math.random(30,80)/100,math.random(30,80)/100,.5,.5,.5,0.05)
  4517. end
  4518. end
  4519. num=num+1
  4520. end
  4521. for i=1,4 do
  4522. colc = math.random(1, 7)
  4523. --MagicBlock(Neonsc[colc],RightArm.CFrame*cf(0,-.5-math.random(0,500)/100,0),2,2,2,.5,.5,.5,0.05)
  4524. end
  4525. colc = math.random(1, 7)
  4526. MagicWave(Neonsc[colc],cf(torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,.5,.3,.5,0.01)
  4527. --[[model2.Parent=Character
  4528. for i=1,#DBlade do
  4529. DBlade[i].Parent=model2
  4530. DBladeWelds[i].Parent=DBlade[1]
  4531. end]]
  4532. for i=0,1,0.1 do
  4533. swait()
  4534. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-0.4),.3)
  4535. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1.2,-0.5,1),.3)
  4536. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(1.4,0.5,-1.3),.3)
  4537. end
  4538. swait(10)
  4539. colc = math.random(1,7)
  4540. local fx = Instance.new("Part",torso)
  4541. fx.Anchored = true
  4542. fx.Material = "Neon"
  4543. fx.CanCollide = false
  4544. fx.Locked = true
  4545. fx.Transparency = 1
  4546. fx.Material = "Neon"
  4547. fx.Size = Vector3.new(1,1,1)
  4548. fx.TopSurface = "SmoothNoOutlines"
  4549. fx.BottomSurface = "SmoothNoOutlines"
  4550. fx.BrickColor = Neonsc[colc]
  4551. fxm = Instance.new("SpecialMesh",fx)
  4552. fxm.MeshType = "Sphere"
  4553. fxm.Scale = Vector3.new(1,1,1)
  4554.  
  4555. for i = 1, 20 do
  4556. colc = math.random(1,7)
  4557. fx.BrickColor = Neonsc[colc]
  4558. fx.Transparency = fx.Transparency - (1/20)
  4559. fx.CFrame = torso.CFrame
  4560. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  4561. wait(0.0000000001)
  4562. end
  4563.  
  4564.  
  4565. if char.Hair ~= nil then
  4566. for i,v in pairs(char:children()) do
  4567. if v == char.Hair then
  4568. v:Destroy()
  4569. break
  4570. end
  4571. end
  4572. end
  4573. for i = 1, 20 do wait(0.0000001)
  4574. colc = math.random(1,7)
  4575. fx.BrickColor = Neonsc[colc]
  4576. fx.Transparency = fx.Transparency + (1/20)
  4577. fx.CFrame = torso.CFrame
  4578. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  4579. end
  4580. end
  4581.  
  4582. function ssl3Appear()
  4583.  
  4584. if myVars[5] == "ssl3_1" then
  4585. print("ssl3RAN")
  4586.  
  4587. function part_1(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  4588. local fp=it("Part")
  4589. fp.formFactor=formfactor
  4590. fp.Parent=parent
  4591. fp.Reflectance=reflectance
  4592. fp.Transparency=1
  4593. fp.CanCollide=false
  4594. fp.Locked=true
  4595. fp.BrickColor=brickcolor
  4596. fp.Name=name
  4597. fp.Size=size
  4598. fp.Position=Torso.Position
  4599. NoOutline(fp)
  4600. fp.Material="Neon"
  4601. fp:BreakJoints()
  4602. return fp
  4603. end
  4604.  
  4605. function mesh_1(Mesh,part,meshtype,meshid,offset,scale)
  4606. local mesh=it(Mesh)
  4607. mesh.Parent=part
  4608. if Mesh=="SpecialMesh" then
  4609. mesh.MeshType=meshtype
  4610. mesh.MeshId=meshid
  4611. end
  4612. mesh.Offset=offset
  4613. mesh.Scale=scale
  4614. return mesh
  4615. end
  4616.  
  4617. function weld_1(parent,part0,part1,c0)
  4618. local weld=it("Weld")
  4619. weld.Parent=parent
  4620. weld.Part0=part0
  4621. weld.Part1=part1
  4622. weld.C0=c0
  4623. return weld
  4624. end
  4625. local model2=Instance.new("Model")
  4626. model2.Parent=nil
  4627. model2.Name="Demon Blade"
  4628. DBlade={}
  4629. DBladeWelds={}
  4630.  
  4631. colc = math.random(1, 7)
  4632. prtd1=part_1(3,model2,0,0.4,Neons[colc],"DPart1",vt())
  4633. colc = math.random(1, 7)
  4634. prtd2=part_1(3,model2,0,0,Neons[colc],"DPart2",vt())
  4635. prtd3=part_1(3,model2,0,0,Neons[colc],"DPart3",vt())
  4636. colc = math.random(1, 7)
  4637. prtd4=part_1(3,model2,0,0,Neons[colc],"DPart4",vt())
  4638. prtd5=part_1(3,model2,0,0,Neons[colc],"DPart5",vt())
  4639. colc = math.random(1, 7)
  4640. prtd6=part_1(3,model2,0,0,Neons[colc],"DPart6",vt())
  4641. prtd7=part_1(3,model2,0.8,0,Neons[colc],"DPart7",vt())
  4642. prtd8=part_1(3,model2,0.8,0,Neons[colc],"DPart8",vt())
  4643. colc = math.random(1, 7)
  4644. prtd9=part_1(3,model2,0.5,0.2,Neons[colc],"DPart9",vt())
  4645. prtd10=part_1(3,model2,0.5,0.2,Neons[colc],"DPart10",vt())
  4646. prtd11=part_1(3,model2,0.5,0,Neons[colc],"DPart11",vt())
  4647. colc = math.random(1, 7)
  4648. prtd12=part_1(3,model2,0,0,Neons[colc],"DPart12",vt())
  4649. for _,c in pairs(model2:children()) do
  4650. if c.className=="Part" then
  4651. table.insert(DBlade,c)
  4652. print(c)
  4653. end
  4654. end
  4655.  
  4656.  
  4657.  
  4658. mshd1=mesh_1("BlockMesh",prtd1,"","",vt(0,0,0),vt(5.01,3,5.01))
  4659. mshd2=mesh_1("BlockMesh",prtd2,"","",vt(0,0,0),vt(5.1,3,5.1))
  4660. mshd3=mesh_1("SpecialMesh",prtd3,"Wedge","",vt(0,0,0),vt(5.05,4,3))
  4661. mshd4=mesh_1("SpecialMesh",prtd4,"Wedge","",vt(0,0,0),vt(5.05,4,3))
  4662. mshd5=mesh_1("SpecialMesh",prtd5,"Wedge","",vt(0,0,0),vt(5.5,6,6))
  4663. mshd6=mesh_1("SpecialMesh",prtd6,"Wedge","",vt(0,0,0),vt(5.5,6,6))
  4664. mshd7=mesh_1("BlockMesh",prtd7,"","",vt(0,0,0),vt(3,20,1))
  4665. mshd8=mesh_1("SpecialMesh",prtd8,"Wedge","",vt(0,0,0),vt(1,3,5))
  4666. mshd9=mesh_1("BlockMesh",prtd9,"","",vt(0,0,0),vt(4.5,20,.1))
  4667. mshd10=mesh_1("SpecialMesh",prtd10,"Wedge","",vt(0,0,0),vt(.1,4.5,8))
  4668. mshd11=mesh_1("CylinderMesh",prtd11,"","",vt(0,0,0),vt(4,5.8,4))
  4669. mshd12=mesh_1("CylinderMesh",prtd12,"","",vt(0,0,0),vt(3,5.9,3))
  4670.  
  4671.  
  4672. wldd1=weld_1(prtd1,prtd1,RightArm,euler(0,0,0)*cf(0,.21,0))
  4673. wldd2=weld_1(prtd1,prtd2,prtd1,euler(0,0,0)*cf(0,.5,0))
  4674. wldd3=weld_1(prtd1,prtd3,prtd2,euler(0,1.57,0)*cf(.21,-.6,0))
  4675. wldd4=weld_1(prtd1,prtd4,prtd2,euler(0,-1.57,0)*cf(-.21,-.6,0))
  4676. wldd5=weld_1(prtd1,prtd5,prtd2,euler(0,-1.57,0)*cf(.1,-.1,0))
  4677. wldd6=weld_1(prtd1,prtd6,prtd5,euler(0,0,3.14)*cf(0,1.2,0))
  4678. wldd7=weld_1(prtd1,prtd7,prtd2,euler(0,0,0)*cf(0,2.5,0))
  4679. wldd8=weld_1(prtd1,prtd8,prtd7,euler(1.57,1.57,0)*cf(0,2.5,0))
  4680. wldd9=weld_1(prtd1,prtd9,prtd7,euler(0,0,0)*cf(0,0,0))
  4681. wldd10=weld_1(prtd1,prtd10,prtd8,euler(0,0,0)*cf(0,0,0.3))
  4682. wldd11=weld_1(prtd1,prtd11,prtd1,euler(1.57,0,0)*cf(0,1,0))
  4683. wldd12=weld_1(prtd1,prtd12,prtd11,euler(0,0,0)*cf(0,0,0))
  4684. for _,c in pairs(prtd1:children()) do
  4685. if c.className=="Weld" then
  4686. table.insert(DBladeWelds,c)
  4687. print(c)
  4688. end
  4689. end
  4690.  
  4691. local hitbox2=part_1(3,nil,0,1,BrickColor.new("Black"),"Hitbox",vt(1,1,1))
  4692.  
  4693. model2.Parent=char
  4694. for i=1,#DBlade do
  4695. DBlade[i].Parent=model2
  4696. DBladeWelds[i].Parent=DBlade[1]
  4697. end
  4698. myVars[10] = model2
  4699. myVars[11] = hitbox2
  4700.  
  4701. for i = 1, 10 do wait()
  4702. for i,v in pairs(myVars[10]:GetChildren()) do
  4703. if v:IsA("Part") or v:IsA("WedgePart") then
  4704. if v.Name ~= "HitBox" then
  4705. v.Transparency = v.Transparency - 0.1
  4706. end
  4707. end
  4708. end
  4709. end
  4710. --[[local mei = Instance.new('Model', char)
  4711. mei.Name = "WeaponModel"
  4712.  
  4713. local RbxUtility = LoadLibrary("RbxUtility")
  4714. local Create = RbxUtility.Create
  4715.  
  4716.  
  4717. function RemoveOutlines(part)
  4718. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  4719. end
  4720.  
  4721. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  4722. local Part = Create("Part"){
  4723. Parent = Parent,
  4724. Reflectance = Reflectance,
  4725. Transparency = 1,
  4726. CanCollide = false,
  4727. Locked = true,
  4728. BrickColor = BrickColor.new(tostring(BColor)),
  4729. Name = Name,
  4730. Size = Size,
  4731. Material = Material,
  4732. }
  4733. RemoveOutlines(Part)
  4734. return Part
  4735. end
  4736.  
  4737. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  4738. local Msh = Create(Mesh){
  4739. Parent = Part,
  4740. Offset = OffSet,
  4741. Scale = Scale,
  4742. }
  4743. if Mesh == "SpecialMesh" then
  4744. Msh.MeshType = MeshType
  4745. Msh.MeshId = MeshId
  4746. end
  4747. return Msh
  4748. end
  4749.  
  4750. function CreateWeld(Parent, Part0, Part1, C0, C1)
  4751. local Weld = Create("Weld"){
  4752. Parent = Parent,
  4753. Part0 = Part0,
  4754. Part1 = Part1,
  4755. C0 = C0,
  4756. C1 = C1,
  4757. }
  4758. return Weld
  4759. end
  4760.  
  4761.  
  4762.  
  4763. HandleL = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "HandleL", Vector3.new(1, 2, 1.01999998))
  4764. colc = math.random(1,7)
  4765. HandleLWeld = CreateWeld(mei, char["Left Arm"], HandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00849914551, 0.00999999046, 6.77108765e-005, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  4766. EffectPrt1 = CreatePart(mei, Enum.Material.Neon, 0, 0.30000001192093, "Really black", "EffectPrt1", Vector3.new(0.600000024, 0.600000024, 0.400000036))
  4767. EffectPrt1Weld = CreateWeld(mei, HandleL, EffectPrt1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00999355316, -0.499996185, -0.509780884, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  4768. CreateMesh("SpecialMesh", EffectPrt1, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4769. EffectPrt2 = CreatePart(mei, Enum.Material.Neon, 0.30000001192093, 0, myVars[6][colc], "EffectPrt2", Vector3.new(0.600000024, 0.600000024, 0.400000036))
  4770. colc = math.random(1,7)
  4771. EffectPrt2Weld = CreateWeld(mei, HandleL, EffectPrt2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0100440979, 0.499996185, 0.509773254, 4.06801701e-005, 8.90720813e-008, 1, 2.13165718e-014, -1, 8.90720813e-008, 1, -3.60215091e-012, -4.06801701e-005))
  4772. CreateMesh("SpecialMesh", EffectPrt2, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=18430887", Vector3.new(0, 0, 0), Vector3.new(0.379999906, 0.399999678, 2.21999955))
  4773. HitboxL = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "HitboxL", Vector3.new(1.20000005, 1.39999998, 1.01999998))
  4774. colc = math.random(1,7)
  4775. HitboxLWeld = CreateWeld(mei, HandleL, HitboxL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999908447, 0.699999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  4776. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.75, 0.200000003, 0.200000003))
  4777. colc = math.random(1,7)
  4778. PartWeld = CreateWeld(mei, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.12071991, 0.312129974, -0.409996033, 0.965925872, 0.258819103, 0, -0.258819103, 0.965925872, 0, 0, 0, 1))
  4779. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.200000003, 0.200000003, 1.01999998))
  4780. colc = math.random(1,7)
  4781. PartWeld = CreateWeld(mei, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.354278564, 0.31212616, 0, 0.965925872, 0.258819103, 0, -0.258819103, 0.965925872, 0, 0, 0, 1))
  4782. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.600000024, 0.200000003, 1.01999998))
  4783. colc = math.random(1,7)
  4784. PartWeld = CreateWeld(mei, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.200004578, 0.899998903, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  4785. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.75, 0.200000003, 0.200000003))
  4786. colc = math.random(1,7)
  4787. PartWeld = CreateWeld(mei, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.12071991, 0.312129974, 0.410003662, 0.965925872, 0.258819103, 0, -0.258819103, 0.965925872, 0, 0, 0, 1))
  4788. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.200000003, 1.20000005, 1.00999999))
  4789. colc = math.random(1,7)
  4790. PartWeld = CreateWeld(mei, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.409751892, -0.412899256, 0.00154209137, -1, -5.71118512e-008, 0, -5.71118512e-008, 1, 1.6609139e-008, -9.48578645e-016, 1.6609139e-008, -1))
  4791. Part = CreatePart(mei, Enum.Material.Neon, 0, 0.19999998807907, "Really black", "Part", Vector3.new(0.400000036, 0.400000036, 0.400000006))
  4792. PartWeld = CreateWeld(mei, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0105276108, -0.491856098, -0.509765625, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  4793. CreateMesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4794. ThunderHoleL = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "ThunderHoleL", Vector3.new(0.200000003, 1.05000007, 0.200000003))
  4795. ThunderHoleLWeld = CreateWeld(mei, HandleL, ThunderHoleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.699999809, -0.000227928162, 0.228645325, 0, -1, 0, 0, 0, -1, 1, -0, 0))
  4796. CreateMesh("CylinderMesh", ThunderHoleL, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4797. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  4798. WedgeWeld = CreateWeld(mei, HandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.21999836, 0.600001812, 0.62865448, 0, 0, -1, 0, 1, 0, 1, 0, 0))
  4799. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4800. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.600000024, 0.200000003))
  4801. WedgeWeld = CreateWeld(mei, HandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.232361794, 0.0286483765, 1.10000181, -5.96046448e-008, 1.07931243e-007, 1, 1, 5.49689858e-008, 5.96046412e-008, -5.49689787e-008, 1, -1.07931243e-007))
  4802. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4803. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  4804. WedgeWeld = CreateWeld(mei, HandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.21999836, -0.528648376, 1.10000181, 0, 0, -1, -1, -5.96046377e-008, 0, -5.96046377e-008, 1, 0))
  4805. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4806. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.600000024, 0.200000003))
  4807. WedgeWeld = CreateWeld(mei, HandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.21999836, 0.0286483765, 1.10000181, -5.96046448e-008, 1.07931243e-007, 1, 1, 5.49689858e-008, 5.96046412e-008, -5.49689787e-008, 1, -1.07931243e-007))
  4808. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4809. Wedge = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Wedge", Vector3.new(1.01999998, 1.80999994, 0.619999945))
  4810. WedgeWeld = CreateWeld(mei, HandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.104995966, -0.199783325, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  4811. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4812. Wedge = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Wedge", Vector3.new(1.03999996, 1.00999999, 1.01999998))
  4813. WedgeWeld = CreateWeld(mei, HandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.494999886, -0.018661499, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  4814. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4815. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  4816. WedgeWeld = CreateWeld(mei, HandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.232361794, 0.600001812, 0.62865448, 0, 0, -1, 0, 1, 0, 1, 0, 0))
  4817. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4818. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  4819. WedgeWeld = CreateWeld(mei, HandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.232361794, -0.528648376, 1.10000181, 0, 0, -1, -1, -5.96046377e-008, 0, -5.96046377e-008, 1, 0))
  4820. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4821. HandleR = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "HandleR", Vector3.new(1, 2, 1.01999998))
  4822. colc = math.random(1,7)
  4823. HandleRWeld = CreateWeld(mei, char["Right Arm"], HandleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00468444824, 0.0100209713, -0.00353145599, -1, -5.71118512e-008, 0, -5.71118512e-008, 1, 1.6609139e-008, -9.48578645e-016, 1.6609139e-008, -1))
  4824. Barrel1 = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "Barrel1", Vector3.new(0.600000024, 1.20000005, 0.400000036))
  4825. colc = math.random(1,7)
  4826. Barrel1Weld = CreateWeld(mei, HandleR, Barrel1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.299865723, 0.599565029, 0.718658447, -1.49011612e-007, -6.73397207e-015, -1, 0, 1, -7.10542736e-015, 1, 0, -1.49011612e-007))
  4827. CreateMesh("SpecialMesh", Barrel1, Enum.MeshType.FileMesh, "rbxassetid://433397018", Vector3.new(0, 0, 0), Vector3.new(0.00999999978, 0.00999999978, 0.00999999978))
  4828. Barrel2 = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "Barrel2", Vector3.new(0.600000024, 1.20000005, 0.400000036))
  4829. colc = math.random(1,7)
  4830. Barrel2Weld = CreateWeld(mei, HandleR, Barrel2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.300126076, 0.599565029, 0.718658447, -1.49011612e-007, -6.73397207e-015, -1, 0, 1, -7.10542736e-015, 1, 0, -1.49011612e-007))
  4831. CreateMesh("SpecialMesh", Barrel2, Enum.MeshType.FileMesh, "rbxassetid://433397018", Vector3.new(0, 0, 0), Vector3.new(0.00999999978, 0.00999999978, 0.00999999978))
  4832. Choke1 = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "Choke1", Vector3.new(0.600000024, 0.400000006, 0.400000036))
  4833. colc = math.random(1,7)
  4834. Choke1Weld = CreateWeld(mei, HandleR, Choke1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.297118187, 1.39956522, 0.718673706, -1.49011612e-007, -6.73397207e-015, -1, 0, 1, -7.10542736e-015, 1, 0, -1.49011612e-007))
  4835. CreateMesh("SpecialMesh", Choke1, Enum.MeshType.FileMesh, "rbxassetid://433397231", Vector3.new(0, 0, 0), Vector3.new(0.00999999978, 0.00999999978, 0.00999999978))
  4836. Choke2 = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "Choke2", Vector3.new(0.600000024, 0.400000006, 0.400000036))
  4837. colc = math.random(1,7)
  4838. Choke2Weld = CreateWeld(mei, HandleR, Choke2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.303283691, 1.3995651, 0.718673706, -1.49011612e-007, -6.73397207e-015, -1, 0, 1, -7.10542736e-015, 1, 0, -1.49011612e-007))
  4839. CreateMesh("SpecialMesh", Choke2, Enum.MeshType.FileMesh, "rbxassetid://433397231", Vector3.new(0, 0, 0), Vector3.new(0.00999999978, 0.00999999978, 0.00999999978))
  4840. HitboxR = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "HitboxR", Vector3.new(1.20000005, 0.99999994, 1.01999998))
  4841. colc = math.random(1,7)
  4842. HitboxRWeld = CreateWeld(mei, HandleR, HitboxR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.100006104, 0.700003862, 0, 1, 0, 0, 0, 1, 5.41750795e-023, 0, 5.41750795e-023, 1))
  4843. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.75, 0.200000003, 0.200000003))
  4844. colc = math.random(1,7)
  4845. PartWeld = CreateWeld(mei, HandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.120735168, 0.312120438, 0.40998745, 0.965925872, 0.258819222, -5.53058896e-008, -0.258819222, 0.965925872, 3.094436e-008, 6.14303701e-008, -1.55757274e-008, 1))
  4846. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.400000006, 0.819999993, 1.01999998))
  4847. colc = math.random(1,7)
  4848. PartWeld = CreateWeld(mei, HandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.718658447, -0.4104321, -1.43051147e-005, 1, 0, 0, 0, 1, 5.41750795e-023, 0, 5.41750795e-023, 1))
  4849. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.600000024, 0.200000003, 1.01999998))
  4850. colc = math.random(1,7)
  4851. PartWeld = CreateWeld(mei, HandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199996948, 0.900001049, 0, 1, 0, 0, 0, 1, 5.41750795e-023, 0, 5.41750795e-023, 1))
  4852. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.409999996, 2.01999998, 1.01999998))
  4853. colc = math.random(1,7)
  4854. PartWeld = CreateWeld(mei, HandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.313659668, -0.00999617577, 0, 1, 0, 0, 0, 1, 5.41750795e-023, 0, 5.41750795e-023, 1))
  4855. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.75, 0.200000003, 0.200000003))
  4856. colc = math.random(1,7)
  4857. PartWeld = CreateWeld(mei, HandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.120735168, 0.312120438, -0.410010338, 0.965925872, 0.258819222, -5.53058896e-008, -0.258819222, 0.965925872, 3.094436e-008, 6.14303701e-008, -1.55757274e-008, 1))
  4858. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.409999967, 0.200000003, 1.01999998))
  4859. colc = math.random(1,7)
  4860. PartWeld = CreateWeld(mei, HandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0863342285, -0.919991493, -3.05175781e-005, 1, 0, 0, 0, 1, 5.41750795e-023, 0, 5.41750795e-023, 1))
  4861. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.200000003, 0.200000003, 1.01999998))
  4862. colc = math.random(1,7)
  4863. PartWeld = CreateWeld(mei, HandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.354248047, 0.312124252, -1.43051147e-005, 0.965925872, 0.258819222, -5.53058896e-008, -0.258819222, 0.965925872, 3.094436e-008, 6.14303701e-008, -1.55757274e-008, 1))
  4864. ThunderHoleR = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "ThunderHoleR", Vector3.new(0.200000003, 1.05000007, 0.200000003))
  4865. ThunderHoleRWeld = CreateWeld(mei, HandleR, ThunderHoleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.700005054, -0.000213623047, 0.228675842, -1.0658141e-014, -1, -1.0658141e-014, 9.48578222e-016, 1.0658141e-014, -1, 1, -1.0658141e-014, 9.48578116e-016))
  4866. CreateMesh("CylinderMesh", ThunderHoleR, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4867. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  4868. WedgeWeld = CreateWeld(mei, HandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.232376099, 0.600004911, 0.628646851, 9.48580657e-016, -3.19744231e-014, -1, 0, 1, -3.19744231e-014, 1, 0, 9.48580551e-016))
  4869. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4870. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.600000024, 0.200000003))
  4871. WedgeWeld = CreateWeld(mei, HandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.219985962, 0.0286712646, 1.10000277, -3.12924385e-007, 1.07931264e-007, 1, 1, 5.49689787e-008, 3.12924385e-007, -5.49689467e-008, 1, -1.07931285e-007))
  4872. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4873. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  4874. WedgeWeld = CreateWeld(mei, HandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.232376099, -0.528656006, 1.100003, 9.48580657e-016, -3.19744231e-014, -1, -1, -5.9604659e-008, -9.48578539e-016, -5.9604659e-008, 1, -3.19744231e-014))
  4875. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4876. Wedge = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Wedge", Vector3.new(1.01999998, 0.200000003, 0.400000006))
  4877. colc = math.random(1,7)
  4878. WedgeWeld = CreateWeld(mei, HandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.43051147e-005, -0.920844555, 0.718658447, 9.48580657e-016, -3.19744231e-014, -1, 0, 1, -3.19744231e-014, 1, 0, 9.48580551e-016))
  4879. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4880. Wedge = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Wedge", Vector3.new(1.03999996, 1.00999999, 1.01999998))
  4881. colc = math.random(1,7)
  4882. WedgeWeld = CreateWeld(mei, HandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.495002031, -0.0186691284, -9.48580657e-016, 3.19744231e-014, 1, 0, 1, -3.19744231e-014, -1, 0, -9.48580551e-016))
  4883. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4884. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.600000024, 0.200000003))
  4885. colc = math.random(1,7)
  4886. WedgeWeld = CreateWeld(mei, HandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.232390404, 0.0286712646, 1.100003, -3.12924385e-007, 1.07931264e-007, 1, 1, 5.49689787e-008, 3.12924385e-007, -5.49689467e-008, 1, -1.07931285e-007))
  4887. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4888. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  4889. WedgeWeld = CreateWeld(mei, HandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.219985962, -0.528671265, 1.100003, 9.48580657e-016, -3.19744231e-014, -1, -1, -5.9604659e-008, -9.48578539e-016, -5.9604659e-008, 1, -3.19744231e-014))
  4890. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4891. colc = math.random(1,7)
  4892. Wedge = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Wedge", Vector3.new(1.01999998, 0.200000003, 0.400000006))
  4893. colc = math.random(1,7)
  4894. WedgeWeld = CreateWeld(mei, HandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.43051147e-005, -0.100847006, 0.718658447, 2.45555211e-015, -5.96046306e-008, 1, -1.42108547e-014, -1, -5.96046306e-008, 1, -1.42108547e-014, -2.45555296e-015))
  4895. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4896. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  4897. WedgeWeld = CreateWeld(mei, HandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.220002174, 0.600004911, 0.628662109, 9.48580657e-016, -3.19744231e-014, -1, 0, 1, -3.19744231e-014, 1, 0, 9.48580551e-016))
  4898. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4899. Wedge = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Wedge", Vector3.new(1.00999999, 0.410000026, 0.410000026))
  4900. colc = math.random(1,7)
  4901. WedgeWeld = CreateWeld(mei, HandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00409030914, 0.623651981, 0.0869140625, 7.5121838e-016, 3.45568019e-009, -1, -5.9604659e-008, -1, -3.45568019e-009, -1, 5.9604659e-008, -5.45243684e-016))
  4902. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4903.  
  4904. myVars[6] = mei
  4905. for i = 1, 10 do wait()
  4906. for i,v in pairs(mei:GetChildren()) do
  4907. if v:IsA("Part") or v:IsA("WedgePart") then
  4908. if v.Name ~= "HitBox" then
  4909. v.Transparency = v.Transparency - 0.1
  4910. end
  4911. end
  4912. end
  4913. end]]
  4914.  
  4915.  
  4916.  
  4917. return true
  4918. elseif myVars[5] == "ssl3" then
  4919.  
  4920. local RbxUtility = LoadLibrary("RbxUtility")
  4921. local Create = RbxUtility.Create
  4922. RemoveOutlines = function(part)
  4923. part.TopSurface = 10
  4924. end
  4925.  
  4926. CFuncs = {
  4927. Part = {new = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  4928. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = 1, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  4929. RemoveOutlines(Part)
  4930. return Part
  4931. end}
  4932. ,
  4933. Mesh = {new = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  4934. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  4935. if Mesh == "SpecialMesh" then
  4936. Msh.MeshType = MeshType
  4937. Msh.MeshId = MeshId
  4938. end
  4939. return Msh
  4940. end}
  4941. ,
  4942. Mesh = {new = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  4943. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  4944. if Mesh == "SpecialMesh" then
  4945. Msh.MeshType = MeshType
  4946. Msh.MeshId = MeshId
  4947. end
  4948. return Msh
  4949. end}
  4950. ,
  4951. Weld = {new = function(Parent, Part0, Part1, C0, C1)
  4952. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  4953. return Weld
  4954. end}
  4955. }
  4956. myVars[11] = {"Bright red", "Bright orange", "Bright yellow", "Bright green", "Bright blue", "Royal purple", "Bright violet"}
  4957.  
  4958. colc = math.random(1,7)
  4959. local mei = Instance.new("Model", char)
  4960. mei.Name = "WeaponModel"
  4961. Handleer = CFuncs.Part.new(mei, Enum.Material.SmoothPlastic, 0, 1, myVars[11][colc], "Handle", Vector3.new(1, 2, 1))
  4962. colc = math.random(1,7)
  4963. HandleerWeld = CFuncs.Weld.new(mei, char["Right Arm"], Handleer, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  4964. Hitbox = CFuncs.Part.new(mei, Enum.Material.SmoothPlastic, 0, 1, myVars[11][colc], "Hitbox", Vector3.new(1, 0.400000095, 1))
  4965. colc = math.random(1,7)
  4966. HitboxWeld = CFuncs.Weld.new(mei, Handleer, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 1.20000029, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  4967. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(1.13000011, 0.2700001, 0.680000067))
  4968. colc = math.random(1,7)
  4969. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00628662109, 0.935291767, 0.234018803, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  4970. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(1.09000015, 0.310000271, 0.530000091))
  4971. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00628662109, 0.335297108, 0.288942814, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  4972. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.200000003, 0.200000003, 0.560000002))
  4973. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0128860474, 1.12596655, -0.359955788, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  4974. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(0.229999989, 0.200000003, 0.590000033))
  4975. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0138702393, 1.11102057, -0.360497475, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  4976. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(1.11000013, 0.200000003, 0.530000091))
  4977. colc = math.random(1,7)
  4978. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0020904541, -0.151069164, 0.29600811, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  4979. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.680000186, 0.220000178, 0.280000031))
  4980. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00286865234, -0.366393089, -0.562141895, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  4981. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.410000265, 0.530000031, 0.840000033))
  4982. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00244140625, -0.782339096, -0.21243906, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  4983. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.54000026, 0.630000114, 0.900000036))
  4984. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00863647461, -0.714685917, -0.176069736, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  4985. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.24000001, 0.919999957, 0.420000017))
  4986. colc = math.random(1,7)
  4987. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.027633667, 0.210770607, -0.377646923, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  4988. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(1.24000001, 1.13, 0.219999999))
  4989. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0117416382, -0.15815258, -0.230055332, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  4990. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.870000243, 0.2700001, 0.860000014))
  4991. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00363922119, 0.975282192, 0.0139846802, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  4992. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(0.200000003, 1.62000012, 0.400000095))
  4993. colc = math.random(1,7)
  4994. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.238723755, 0.107399464, 0.364008427, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  4995. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.490000248, 0.540000081, 0.420000017))
  4996. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0136032104, 0.850343227, -0.406029224, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  4997. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(1.11000013, 0.210000008, 0.530000091))
  4998. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0108261108, 0.336452961, 0.291498661, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  4999. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0,myVars[11][colc], "Part", Vector3.new(1.21000004, 1.63999999, 0.300000012))
  5000. colc = math.random(1,7)
  5001. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00877380371, 0.0478525162, -0.226531029, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  5002. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(1.13000011, 1.88000023, 0.680000067))
  5003. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00626373291, 0.130330086, -0.225958824, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  5004. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.379999936, 0.379999936, 0.379999936))
  5005. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.851072311, 0.585458279, 0.0115356445, 3.42726736e-07, 1, -3.37138971e-07, -1.93715223e-07, 5.81145912e-07, -1.00000286, -1, -3.87430191e-07, -1.56462249e-07))
  5006. CFuncs.Mesh.new("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5007. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.200000003, 1, 0.420000017))
  5008. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.131408691, 0.0903525352, -0.406013012, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  5009. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.79000026, 0.340000153, 0.49000001))
  5010. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00364685059, -0.359667778, -0.441084862, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  5011. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(0.200000003, 1.77000022, 0.420000106))
  5012. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.19871521, 0.0216679573, 0.355883121, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  5013. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(1.13000011, 0.329999983, 1.1400001))
  5014. colc = math.random(1,7)
  5015. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0093460083, -0.835298538, 0.0032749176, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  5016. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(0.910000026, 0.47999987, 0.580000043))
  5017. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00074005127, -0.35460186, -0.276175022, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  5018. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(1.23000002, 0.340000063, 0.229999989))
  5019. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00450134277, 0.662789822, -0.228302002, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  5020. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(1.09000015, 0.310000271, 0.530000091))
  5021. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00623321533, -0.154727459, 0.288996696, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  5022. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(0.490000248, 0.520000041, 0.420000017))
  5023. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0135955811, -0.396072388, -0.850289822, 1.00000012, -1.01476926e-05, 4.99935777e-06, -4.65661287e-06, 1.56459919e-07, 1.00000286, -1.0818243e-05, -1.00000012, 1.15297803e-06))
  5024. CFuncs.Mesh.new("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5025. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.200000003, 1.05000007, 0.420000017))
  5026. colc = math.random(1,7)
  5027. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.158599854, 0.0553216934, -0.405974865, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  5028. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(0.629999995, 2.07999992, 0.899999976))
  5029. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0092010498, 0.0362443924, -0.120284081, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  5030. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.750000298, 0.250000089, 0.74000001))
  5031. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00680541992, 1.00405645, 0.0256195068, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  5032. myVars[6] = mei
  5033. for i = 1, 10 do wait()
  5034. for i,v in pairs(myVars[6]:GetChildren()) do
  5035. if v:IsA("Part") or v:IsA("WedgePart") then
  5036. if v.Name ~= "HitBox" then
  5037. v.Transparency = v.Transparency - 0.1
  5038. end
  5039. end
  5040. end
  5041. end
  5042. end
  5043. end
  5044.  
  5045.  
  5046.  
  5047.  
  5048. function ssl3Vanish()
  5049. if myVars[5] == "ssl3" then
  5050. for i = 1, 10 do wait()
  5051. for i,v in pairs(myVars[6]:GetChildren()) do
  5052. if v:IsA("Part") or v:IsA("WedgePart") then
  5053. if v.Name ~= "HitBox" then
  5054. v.Transparency = v.Transparency + 0.1
  5055. end
  5056. end
  5057. end
  5058. end
  5059. elseif myVars[5] == "ssl3_1" then
  5060. for i = 1, 10 do wait()
  5061. for i,v in pairs(myVars[10]:GetChildren()) do
  5062. if v:IsA("Part") or v:IsA("WedgePart") then
  5063. if v.Name ~= "HitBox" then
  5064. v.Transparency = v.Transparency + 0.1
  5065. end
  5066. end
  5067. end
  5068. end
  5069. end
  5070. end
  5071.  
  5072. --------------SSL3 WEAPONS END-------------------------------
  5073. local iris = nil
  5074. function upgradeSword()
  5075. local colorscheme = {"Gold","New yeller","Really black","Daisy orange","Black"}
  5076. local render = game:GetService("RunService").RenderStepped
  5077. local bltb = {}
  5078.  
  5079. TorsoColor=Torso.BrickColor
  5080.  
  5081.  
  5082.  
  5083.  
  5084.  
  5085. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  5086. local fp=it("Part")
  5087. fp.formFactor=formfactor
  5088. fp.Parent=parent
  5089. fp.Reflectance=reflectance
  5090. fp.Transparency=transparency
  5091. fp.CanCollide=false
  5092. fp.Locked=true
  5093. fp.BrickColor=brickcolor
  5094. fp.Name=name
  5095. fp.Size=size
  5096. fp.Position=Torso.Position
  5097. NoOutline(fp)
  5098. fp.Material="SmoothPlastic"
  5099. fp:BreakJoints()
  5100. return fp
  5101. end
  5102.  
  5103. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  5104. local mesh=it(Mesh)
  5105. mesh.Parent=part
  5106. if Mesh=="SpecialMesh" then
  5107. mesh.MeshType=meshtype
  5108. if meshid~="nil" then
  5109. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  5110. end
  5111. end
  5112. mesh.Offset=offset
  5113. mesh.Scale=scale
  5114. return mesh
  5115. end
  5116.  
  5117. function weld(parent,part0,part1,c0)
  5118. local weld=it("Weld")
  5119. weld.Parent=parent
  5120. weld.Part0=part0
  5121. weld.Part1=part1
  5122. weld.C0=c0
  5123. return weld
  5124. end
  5125.  
  5126.  
  5127. function Rainbow(hue)
  5128. local section = hue % 1 * 3
  5129. local secondary = 0.5 * math.pi * (section % 1)
  5130. if section < 1 then
  5131. return Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  5132. elseif section < 2 then
  5133. return Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  5134. else
  5135. return Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  5136. end
  5137. end
  5138.  
  5139.  
  5140. function UpdatePart(pt,clr)
  5141. pt.BrickColor = BrickColor.new(clr)
  5142. end
  5143.  
  5144. local Color1=Torso.BrickColor
  5145.  
  5146.  
  5147.  
  5148. nooutline = function(part)
  5149. part.TopSurface = 10
  5150. end
  5151.  
  5152.  
  5153. part2 = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  5154. local fp = it("Part")
  5155. fp.formFactor = formfactor
  5156. fp.Parent = parent
  5157. fp.Reflectance = reflectance
  5158. fp.Transparency = transparency
  5159. fp.CanCollide = false
  5160. fp.Locked = true
  5161. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  5162. fp.Name = name
  5163. fp.Size = size
  5164. fp.Position = Character.Torso.Position
  5165. nooutline(fp)
  5166. fp.Material = material
  5167. fp:BreakJoints()
  5168. return fp
  5169. end
  5170. --<----------------------------------S w o r d C r e a t i o n---------------------------------->--
  5171.  
  5172. user=game:service'Players'.localPlayer
  5173. char=user.Character
  5174. mouse=user:GetMouse()
  5175. m=Instance.new('Model',char)
  5176. iris = m
  5177. game:service'Lighting'.Outlines=false
  5178.  
  5179.  
  5180. local Handle = Instance.new("Part", m)
  5181. Handle:BreakJoints()
  5182. Handle.TopSurface = "Smooth"
  5183. Handle.Transparency = 0 Handle.Material = "Neon"
  5184. Handle.Name = 'Handle'
  5185. Handle.BottomSurface = "Smooth"
  5186. Handle.FormFactor = "Custom" Handle.CanCollide = false
  5187. Handle.BrickColor = BrickColor.new("Really black")
  5188. Handle.Size = Vector3.new(0.337107092, 1.12369001, 0.337107033)
  5189. local Handleweld = Instance.new("ManualWeld")
  5190. Handleweld.Part0 = Character["Right Arm"]
  5191. Handleweld.Part1 = Handle Handleweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5192. Handleweld.C1 = CFrame.new(-0.000732421875, -0.0344696045, -0.945665836, -0.999993205, 0, 0, 0, 0, -1, 0, -0.999993086, 0)
  5193. Handleweld.Parent = Character["Right Arm"]
  5194.  
  5195. local HandleMesh = Instance.new("CylinderMesh",Handle)
  5196. HandleMesh.Name = "Mesh"
  5197. HandleMesh.Offset = Vector3.new(0, 0, 0)
  5198. HandleMesh.Scale = Vector3.new(1, 1, 1)
  5199.  
  5200. local Part = Instance.new("Part", m)
  5201. Part:BreakJoints()
  5202. Part.TopSurface = "Smooth"
  5203. Part.Material = "Neon"
  5204. Part.Transparency = 0 Part.Name = 'Part'
  5205. Part.BottomSurface = "Smooth"
  5206. Part.FormFactor = "Custom" Part.CanCollide = false
  5207. Part.BrickColor = BrickColor.new("Really black")
  5208. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  5209. local Partweld = Instance.new("ManualWeld")
  5210. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5211. 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)
  5212. Partweld.Parent = Part
  5213. local PartMesh = Instance.new("BlockMesh",Part)
  5214. PartMesh.Name = "Mesh"
  5215. PartMesh.Offset = Vector3.new(0, 0, 0)
  5216. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  5217.  
  5218. local Part = Instance.new("Part", m)
  5219. Part:BreakJoints()
  5220. Part.TopSurface = "Smooth"
  5221. Part.Material = "Neon"
  5222. Part.Transparency = 0 Part.Name = 'Part1'
  5223. Part.BottomSurface = "Smooth"
  5224. Part.FormFactor = "Custom" Part.CanCollide = false
  5225. Part.BrickColor = BrickColor.new("Cyan")
  5226. Part.Size = Vector3.new(0.337107092, 0.224738032, 0.337107033)
  5227. local Partweld = Instance.new("ManualWeld")
  5228. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5229. Partweld.C1 = CFrame.new(-4.00543213e-005, 0.674224854, -1.33514404e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5230. Partweld.Parent = Part
  5231. local PartMesh = Instance.new("SpecialMesh",Part)
  5232. PartMesh.MeshId = ""
  5233. PartMesh.MeshType = Enum.MeshType.Sphere PartMesh.Name = "Mesh"
  5234. PartMesh.Offset = Vector3.new(0, 0, 0)
  5235. PartMesh.Scale = Vector3.new(1, 1, 1)
  5236.  
  5237. table.insert(bltb, Part)
  5238.  
  5239. local Part = Instance.new("Part", m)
  5240. Part:BreakJoints()
  5241. Part.TopSurface = "Smooth"
  5242. Part.Material = "Neon"
  5243. Part.Transparency = 0 Part.Name = 'Part'
  5244. Part.BottomSurface = "Smooth"
  5245. Part.FormFactor = "Custom" Part.CanCollide = false
  5246. Part.BrickColor = BrickColor.new("Really black")
  5247. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  5248. local Partweld = Instance.new("ManualWeld")
  5249. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5250. Partweld.C1 = CFrame.new(0, -0.730434418, 7.62939453e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5251. Partweld.Parent = Part
  5252. local PartMesh = Instance.new("CylinderMesh",Part)
  5253. PartMesh.Name = "Mesh"
  5254. PartMesh.Offset = Vector3.new(0, 0, 0)
  5255. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  5256.  
  5257.  
  5258.  
  5259. local Part = Instance.new("Part", m)
  5260. Part:BreakJoints()
  5261. Part.TopSurface = "Smooth"
  5262. Part.Material = "Neon"
  5263. Part.Transparency = 0 Part.Name = 'Part'
  5264. Part.BottomSurface = "Smooth"
  5265. Part.FormFactor = "Custom" Part.CanCollide = false
  5266. Part.BrickColor = BrickColor.new("Really black")
  5267. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  5268. local Partweld = Instance.new("ManualWeld")
  5269. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5270. Partweld.C1 = CFrame.new(0, -0.730434418, 7.62939453e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5271. Partweld.Parent = Part
  5272. local PartMesh = Instance.new("CylinderMesh",Part)
  5273. PartMesh.Name = "Mesh"
  5274. PartMesh.Offset = Vector3.new(0, 0, 0)
  5275. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  5276.  
  5277. local Part = Instance.new("Part", m)
  5278. Part:BreakJoints()
  5279. Part.TopSurface = "Smooth"
  5280. Part.Material = "Neon"
  5281. Part.Transparency = 0 Part.Name = 'Part2'
  5282. Part.BottomSurface = "Smooth"
  5283. Part.FormFactor = "Custom" Part.CanCollide = false
  5284. Part.BrickColor = BrickColor.new("Cyan")
  5285. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  5286. local Partweld = Instance.new("ManualWeld")
  5287. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5288. Partweld.C1 = CFrame.new(0, -0.955184937, -0.179762959, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5289. Partweld.Parent = Part
  5290. local PartMesh = Instance.new("CylinderMesh",Part)
  5291. PartMesh.Name = "Mesh"
  5292. PartMesh.Offset = Vector3.new(0, 0, 0)
  5293. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  5294.  
  5295. table.insert(bltb, Part)
  5296.  
  5297. local Part = Instance.new("Part", m)
  5298. Part:BreakJoints()
  5299. Part.TopSurface = "Smooth"
  5300. Part.Material = "Neon"
  5301. Part.Transparency = 0 Part.Name = 'Part'
  5302. Part.BottomSurface = "Smooth"
  5303. Part.FormFactor = "Custom" Part.CanCollide = false
  5304. Part.BrickColor = BrickColor.new("Really black")
  5305. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  5306. local Partweld = Instance.new("ManualWeld")
  5307. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5308. 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)
  5309. Partweld.Parent = Part
  5310. local PartMesh = Instance.new("BlockMesh",Part)
  5311. PartMesh.Name = "Mesh"
  5312. PartMesh.Offset = Vector3.new(0, 0, 0)
  5313. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  5314.  
  5315. local Part = Instance.new("Part", m)
  5316. Part:BreakJoints()
  5317. Part.TopSurface = "Smooth"
  5318. Part.Material = "Neon"
  5319. Part.Transparency = 0 Part.Name = 'Part'
  5320. Part.BottomSurface = "Smooth"
  5321. Part.FormFactor = "Custom" Part.CanCollide = false
  5322. Part.BrickColor = BrickColor.new("Really black")
  5323. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  5324. local Partweld = Instance.new("ManualWeld")
  5325. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5326. Partweld.C1 = CFrame.new(0.597281575, -0.842823029, -0.00578403473, -0.258815438, 0, 0.965912819, 0, 1, 0, -0.965912819, 0, -0.258815438)
  5327. Partweld.Parent = Part
  5328. local PartMesh = Instance.new("BlockMesh",Part)
  5329. PartMesh.Name = "Mesh"
  5330. PartMesh.Offset = Vector3.new(0, 0, 0)
  5331. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  5332.  
  5333. local Part = Instance.new("Part", m)
  5334. Part:BreakJoints()
  5335. Part.TopSurface = "Smooth"
  5336. Part.Material = "Neon"
  5337. Part.Transparency = 0.5 Part.Name = 'Part3'
  5338. Part.BottomSurface = "Smooth"
  5339. Part.FormFactor = "Custom" Part.CanCollide = false
  5340. Part.BrickColor = BrickColor.new("Cyan")
  5341. Part.Size = Vector3.new(0.200000003, 4.62046242, 0.449476063)
  5342. local Partweld = Instance.new("ManualWeld")
  5343. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5344. Partweld.C1 = CFrame.new(3.24249268e-005, -3.32155609, -4.76837158e-007, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5345. Partweld.Parent = Part
  5346. local PartMesh = Instance.new("BlockMesh",Part)
  5347. PartMesh.Name = "Mesh"
  5348. PartMesh.Offset = Vector3.new(0, 0, 0)
  5349. PartMesh.Scale = Vector3.new(0.230356485, 1, 1)
  5350.  
  5351. table.insert(bltb, Part)
  5352.  
  5353. local Part = Instance.new("Part", m)
  5354. Part:BreakJoints()
  5355. Part.TopSurface = "Smooth"
  5356. Part.Material = "Neon"
  5357. Part.Transparency = 0 Part.Name = 'Part'
  5358. Part.BottomSurface = "Smooth"
  5359. Part.FormFactor = "Custom" Part.CanCollide = false
  5360. Part.BrickColor = BrickColor.new("Really black")
  5361. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  5362. local Partweld = Instance.new("ManualWeld")
  5363. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5364. Partweld.C1 = CFrame.new(0.597218513, -0.842823029, 0.00602054596, 0.258815646, 0, 0.9659127, 0, 1, 0, -0.9659127, 0, 0.258815646)
  5365. Partweld.Parent = Part
  5366. local PartMesh = Instance.new("BlockMesh",Part)
  5367. PartMesh.Name = "Mesh"
  5368. PartMesh.Offset = Vector3.new(0, 0, 0)
  5369. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  5370.  
  5371. local Part = Instance.new("Part", m)
  5372. Part:BreakJoints()
  5373. Part.TopSurface = "Smooth"
  5374. Part.Material = "Neon"
  5375. Part.Transparency = 0 Part.Name = 'Part4'
  5376. Part.BottomSurface = "Smooth"
  5377. Part.FormFactor = "Custom" Part.CanCollide = false
  5378. Part.BrickColor = BrickColor.new("Cyan")
  5379. Part.Size = Vector3.new(0.337107092, 1.12369001, 0.200000003)
  5380. local Partweld = Instance.new("ManualWeld")
  5381. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5382. Partweld.C1 = CFrame.new(0, 0, -0.123583317, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5383. Partweld.Parent = Part
  5384. local PartMesh = Instance.new("CylinderMesh",Part)
  5385. PartMesh.Name = "Mesh"
  5386. PartMesh.Offset = Vector3.new(0, 0, 0)
  5387. PartMesh.Scale = Vector3.new(1, 1, 0.561845064)
  5388.  
  5389. table.insert(bltb, Part)
  5390.  
  5391. local Part = Instance.new("Part", m)
  5392. Part:BreakJoints()
  5393. Part.TopSurface = "Smooth"
  5394. Part.Material = "Neon"
  5395. Part.Transparency = 0 Part.Name = 'Part'
  5396. Part.BottomSurface = "Smooth"
  5397. Part.FormFactor = "Custom" Part.CanCollide = false
  5398. Part.BrickColor = BrickColor.new("Really black")
  5399. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  5400. local Partweld = Instance.new("ManualWeld")
  5401. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5402. 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)
  5403. Partweld.Parent = Part
  5404. local PartMesh = Instance.new("BlockMesh",Part)
  5405. PartMesh.Name = "Mesh"
  5406. PartMesh.Offset = Vector3.new(0, 0, 0)
  5407. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  5408.  
  5409. local Part = Instance.new("Part", m)
  5410. Part:BreakJoints()
  5411. Part.TopSurface = "Smooth"
  5412. Part.Material = "Neon"
  5413. Part.Transparency = 0 Part.Name = 'Part5'
  5414. Part.BottomSurface = "Smooth"
  5415. Part.FormFactor = "Custom" Part.CanCollide = false
  5416. Part.BrickColor = BrickColor.new("Cyan")
  5417. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  5418. local Partweld = Instance.new("ManualWeld")
  5419. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5420. Partweld.C1 = CFrame.new(0, -0.842823029, -0.230328798, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5421. Partweld.Parent = Part
  5422. local PartMesh = Instance.new("CylinderMesh",Part)
  5423. PartMesh.Name = "Mesh"
  5424. PartMesh.Offset = Vector3.new(0, 0, 0)
  5425. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  5426.  
  5427. table.insert(bltb, Part)
  5428.  
  5429. local Part = Instance.new("Part", m)
  5430. Part:BreakJoints()
  5431. Part.TopSurface = "Smooth"
  5432. Part.Material = "Neon"
  5433. Part.Transparency = 0 Part.Name = 'Part6'
  5434. Part.BottomSurface = "Smooth"
  5435. Part.FormFactor = "Custom" Part.CanCollide = false
  5436. Part.BrickColor = BrickColor.new("Cyan")
  5437. Part.Size = Vector3.new(0.337107092, 0.200000003, 0.337107033)
  5438. local Partweld = Instance.new("ManualWeld")
  5439. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5440. Partweld.C1 = CFrame.new(0, -0.618034363, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5441. Partweld.Parent = Part
  5442. local PartMesh = Instance.new("CylinderMesh",Part)
  5443. PartMesh.Name = "Mesh"
  5444. PartMesh.Offset = Vector3.new(0, 0, 0)
  5445. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  5446.  
  5447. table.insert(bltb, Part)
  5448.  
  5449. local Part = Instance.new("Part", m)
  5450. Part:BreakJoints()
  5451. Part.TopSurface = "Smooth"
  5452. Part.Material = "Neon"
  5453. Part.Transparency = 0 Part.Name = 'Part'
  5454. Part.BottomSurface = "Smooth"
  5455. Part.FormFactor = "Custom" Part.CanCollide = false
  5456. Part.BrickColor = BrickColor.new("Really black")
  5457. Part.Size = Vector3.new(0.200000003, 4.60922527, 0.224738017)
  5458. local Partweld = Instance.new("ManualWeld")
  5459. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5460. Partweld.C1 = CFrame.new(0, -3.3159256, -1.14440918e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5461. Partweld.Parent = Part
  5462. local PartMesh = Instance.new("BlockMesh",Part)
  5463. PartMesh.Name = "Mesh"
  5464. PartMesh.Offset = Vector3.new(0, 0, 0)
  5465. PartMesh.Scale = Vector3.new(0.561845124, 1, 1)
  5466.  
  5467. local Part = Instance.new("Part", m)
  5468. Part:BreakJoints()
  5469. Part.TopSurface = "Smooth"
  5470. Part.Material = "Neon"
  5471. Part.Transparency = 0 Part.Name = 'Part7'
  5472. Part.BottomSurface = "Smooth"
  5473. Part.FormFactor = "Custom" Part.CanCollide = false
  5474. Part.BrickColor = BrickColor.new("Cyan")
  5475. Part.Size = Vector3.new(0.337107092, 0.200000003, 0.337107033)
  5476. local Partweld = Instance.new("ManualWeld")
  5477. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5478. Partweld.C1 = CFrame.new(0, 0.618049622, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5479. Partweld.Parent = Part
  5480. local PartMesh = Instance.new("CylinderMesh",Part)
  5481. PartMesh.Name = "Mesh"
  5482. PartMesh.Offset = Vector3.new(0, 0, 0)
  5483. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  5484.  
  5485. table.insert(bltb, Part)
  5486.  
  5487. local Part = Instance.new("Part", m)
  5488. Part:BreakJoints()
  5489. Part.TopSurface = "Smooth"
  5490. Part.Material = "Neon"
  5491. Part.Transparency = 0 Part.Name = 'Part8'
  5492. Part.BottomSurface = "Smooth"
  5493. Part.FormFactor = "Custom" Part.CanCollide = false
  5494. Part.BrickColor = BrickColor.new("Cyan")
  5495. Part.Size = Vector3.new(0.337107092, 1.12369001, 0.200000003)
  5496. local Partweld = Instance.new("ManualWeld")
  5497. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5498. Partweld.C1 = CFrame.new(0, 0, 0.117978811, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5499. Partweld.Parent = Part
  5500. local PartMesh = Instance.new("CylinderMesh",Part)
  5501. PartMesh.Name = "Mesh"
  5502. PartMesh.Offset = Vector3.new(0, 0, 0)
  5503. PartMesh.Scale = Vector3.new(1, 1, 0.561845064)
  5504.  
  5505. table.insert(bltb, Part)
  5506.  
  5507. local Part = Instance.new("Part", m)
  5508. Part:BreakJoints()
  5509. Part.TopSurface = "Smooth"
  5510. Part.Material = "Neon"
  5511. Part.Transparency = 0 Part.Name = 'Part'
  5512. Part.BottomSurface = "Smooth"
  5513. Part.FormFactor = "Custom" Part.CanCollide = false
  5514. Part.BrickColor = BrickColor.new("Really black")
  5515. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.561845005)
  5516. local Partweld = Instance.new("ManualWeld")
  5517. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5518. Partweld.C1 = CFrame.new(0, -0.842823029, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5519. Partweld.Parent = Part
  5520. local PartMesh = Instance.new("CylinderMesh",Part)
  5521. PartMesh.Name = "Mesh"
  5522. PartMesh.Offset = Vector3.new(0, 0, 0)
  5523. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  5524.  
  5525. local Part = Instance.new("Part", m)
  5526. Part:BreakJoints()
  5527. Part.TopSurface = "Smooth"
  5528. Part.Material = "Neon"
  5529. Part.Transparency = 0 Part.Name = 'Part9'
  5530. Part.BottomSurface = "Smooth"
  5531. Part.FormFactor = "Custom" Part.CanCollide = false
  5532. Part.BrickColor = BrickColor.new("Cyan")
  5533. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  5534. local Partweld = Instance.new("ManualWeld")
  5535. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5536. 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)
  5537. Partweld.Parent = Part
  5538. local PartMesh = Instance.new("BlockMesh",Part)
  5539. PartMesh.Name = "Mesh"
  5540. PartMesh.Offset = Vector3.new(0, 0, 0)
  5541. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  5542.  
  5543. table.insert(bltb, Part)
  5544.  
  5545. local Part = Instance.new("Part", m)
  5546. Part:BreakJoints()
  5547. Part.TopSurface = "Smooth"
  5548. Part.Material = "Neon"
  5549. Part.Transparency = 0 Part.Name = 'Part'
  5550. Part.BottomSurface = "Smooth"
  5551. Part.FormFactor = "Custom" Part.CanCollide = false
  5552. Part.BrickColor = BrickColor.new("Really black")
  5553. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  5554. local Partweld = Instance.new("ManualWeld")
  5555. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5556. 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)
  5557. Partweld.Parent = Part
  5558. local PartMesh = Instance.new("BlockMesh",Part)
  5559. PartMesh.Name = "Mesh"
  5560. PartMesh.Offset = Vector3.new(0, 0, 0)
  5561. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  5562.  
  5563. local Part = Instance.new("Part", m)
  5564. Part:BreakJoints()
  5565. Part.TopSurface = "Smooth"
  5566. Part.Material = "Neon"
  5567. Part.Transparency = 0 Part.Name = 'Part'
  5568. Part.BottomSurface = "Smooth"
  5569. Part.FormFactor = "Custom" Part.CanCollide = false
  5570. Part.BrickColor = BrickColor.new("Really black")
  5571. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  5572. local Partweld = Instance.new("ManualWeld")
  5573. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5574. 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)
  5575. Partweld.Parent = Part
  5576. local PartMesh = Instance.new("BlockMesh",Part)
  5577. PartMesh.Name = "Mesh"
  5578. PartMesh.Offset = Vector3.new(0, 0, 0)
  5579. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  5580.  
  5581. local Part = Instance.new("Part", m)
  5582. Part:BreakJoints()
  5583. Part.TopSurface = "Smooth"
  5584. Part.Material = "Neon"
  5585. Part.Transparency = 0 Part.Name = 'Part'
  5586. Part.BottomSurface = "Smooth"
  5587. Part.FormFactor = "Custom" Part.CanCollide = false
  5588. Part.BrickColor = BrickColor.new("Really black")
  5589. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  5590. local Partweld = Instance.new("ManualWeld")
  5591. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5592. Partweld.C1 = CFrame.new(0, -0.842823029, -0.393235803, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5593. Partweld.Parent = Part
  5594. local PartMesh = Instance.new("BlockMesh",Part)
  5595. PartMesh.Name = "Mesh"
  5596. PartMesh.Offset = Vector3.new(0, 0, 0)
  5597. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  5598.  
  5599. local Part = Instance.new("Part", m)
  5600. Part:BreakJoints()
  5601. Part.TopSurface = "Smooth"
  5602. Part.Material = "Neon"
  5603. Part.Transparency = 0 Part.Name = 'Part10'
  5604. Part.BottomSurface = "Smooth"
  5605. Part.FormFactor = "Custom" Part.CanCollide = false
  5606. Part.BrickColor = BrickColor.new("Cyan")
  5607. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  5608. local Partweld = Instance.new("ManualWeld")
  5609. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5610. 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)
  5611. Partweld.Parent = Part
  5612. local PartMesh = Instance.new("BlockMesh",Part)
  5613. PartMesh.Name = "Mesh"
  5614. PartMesh.Offset = Vector3.new(0, 0, 0)
  5615. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  5616.  
  5617. table.insert(bltb, Part)
  5618.  
  5619. local Part = Instance.new("Part", m)
  5620. Part:BreakJoints()
  5621. Part.TopSurface = "Smooth"
  5622. Part.Material = "Neon"
  5623. Part.Transparency = 0 Part.Name = 'Part11'
  5624. Part.BottomSurface = "Smooth"
  5625. Part.FormFactor = "Custom" Part.CanCollide = false
  5626. Part.BrickColor = BrickColor.new("Cyan")
  5627. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  5628. local Partweld = Instance.new("ManualWeld")
  5629. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5630. Partweld.C1 = CFrame.new(0, -0.730434418, 0.174170732, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5631. Partweld.Parent = Part
  5632. local PartMesh = Instance.new("CylinderMesh",Part)
  5633. PartMesh.Name = "Mesh"
  5634. PartMesh.Offset = Vector3.new(0, 0, 0)
  5635. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  5636.  
  5637. table.insert(bltb, Part)
  5638.  
  5639. local Part = Instance.new("Part", m)
  5640. Part:BreakJoints()
  5641. Part.TopSurface = "Smooth"
  5642. Part.Material = "Neon"
  5643. Part.Transparency = 0 Part.Name = 'Part12'
  5644. Part.BottomSurface = "Smooth"
  5645. Part.FormFactor = "Custom" Part.CanCollide = false
  5646. Part.BrickColor = BrickColor.new("Cyan")
  5647. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  5648. local Partweld = Instance.new("ManualWeld")
  5649. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5650. Partweld.C1 = CFrame.new(-0.59340477, -0.842823029, 0.00790405273, -0.258815557, 0, -0.9659127, 0, 1, 0, 0.9659127, 0, -0.258815557)
  5651. Partweld.Parent = Part
  5652. local PartMesh = Instance.new("BlockMesh",Part)
  5653. PartMesh.Name = "Mesh"
  5654. PartMesh.Offset = Vector3.new(0, 0, 0)
  5655. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  5656.  
  5657. table.insert(bltb, Part)
  5658.  
  5659. local Part = Instance.new("Part", m)
  5660. Part:BreakJoints()
  5661. Part.TopSurface = "Smooth"
  5662. Part.Material = "Neon"
  5663. Part.Transparency = 0 Part.Name = 'Part13'
  5664. Part.BottomSurface = "Smooth"
  5665. Part.FormFactor = "Custom" Part.CanCollide = false
  5666. Part.BrickColor = BrickColor.new("Cyan")
  5667. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.382054657)
  5668. local Partweld = Instance.new("ManualWeld")
  5669. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5670. 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)
  5671. Partweld.Parent = Part
  5672. local PartMesh = Instance.new("BlockMesh",Part)
  5673. PartMesh.Name = "Mesh"
  5674. PartMesh.Offset = Vector3.new(0, 0, 0)
  5675. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 1)
  5676.  
  5677. table.insert(bltb, Part)
  5678.  
  5679. local Part = Instance.new("Part", m)
  5680. Part:BreakJoints()
  5681. Part.TopSurface = "Smooth"
  5682. Part.Material = "Neon"
  5683. Part.Transparency = 0 Part.Name = 'Part14'
  5684. Part.BottomSurface = "Smooth"
  5685. Part.FormFactor = "Custom" Part.CanCollide = false
  5686. Part.BrickColor = BrickColor.new("Cyan")
  5687. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  5688. local Partweld = Instance.new("ManualWeld")
  5689. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5690. Partweld.C1 = CFrame.new(0.598263144, -0.842823029, 0.00432395935, -0.258815438, 0, 0.965912819, 0, 1, 0, -0.965912819, 0, -0.258815438)
  5691. Partweld.Parent = Part
  5692. local PartMesh = Instance.new("BlockMesh",Part)
  5693. PartMesh.Name = "Mesh"
  5694. PartMesh.Offset = Vector3.new(0, 0, 0)
  5695. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  5696.  
  5697. table.insert(bltb, Part)
  5698.  
  5699. local Part = Instance.new("Part", m)
  5700. Part:BreakJoints()
  5701. Part.TopSurface = "Smooth"
  5702. Part.Material = "Neon"
  5703. Part.Transparency = 0 Part.Name = 'Part15'
  5704. Part.BottomSurface = "Smooth"
  5705. Part.FormFactor = "Custom" Part.CanCollide = false
  5706. Part.BrickColor = BrickColor.new("Cyan")
  5707. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.449476063)
  5708. local Partweld = Instance.new("ManualWeld")
  5709. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5710. Partweld.C1 = CFrame.new(0, -0.842823029, 0.398794174, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5711. Partweld.Parent = Part
  5712. local PartMesh = Instance.new("BlockMesh",Part)
  5713. PartMesh.Name = "Mesh"
  5714. PartMesh.Offset = Vector3.new(0, 0, 0)
  5715. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 1)
  5716.  
  5717. table.insert(bltb, Part)
  5718.  
  5719. local Part = Instance.new("Part", m)
  5720. Part:BreakJoints()
  5721. Part.TopSurface = "Smooth"
  5722. Part.Material = "Neon"
  5723. Part.Transparency = 0 Part.Name = 'Part16'
  5724. Part.BottomSurface = "Smooth"
  5725. Part.FormFactor = "Custom" Part.CanCollide = false
  5726. Part.BrickColor = BrickColor.new("Cyan")
  5727. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  5728. local Partweld = Instance.new("ManualWeld")
  5729. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5730. Partweld.C1 = CFrame.new(0, -0.955184937, 0.174145699, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5731. Partweld.Parent = Part
  5732. local PartMesh = Instance.new("CylinderMesh",Part)
  5733. PartMesh.Name = "Mesh"
  5734. PartMesh.Offset = Vector3.new(0, 0, 0)
  5735. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  5736.  
  5737. table.insert(bltb, Part)
  5738.  
  5739. local Part = Instance.new("Part", m)
  5740. Part:BreakJoints()
  5741. Part.TopSurface = "Smooth"
  5742. Part.Material = "Neon"
  5743. Part.Transparency = 0.5 Part.Name = 'Part17'
  5744. Part.BottomSurface = "Smooth"
  5745. Part.FormFactor = "Custom" Part.CanCollide = false
  5746. Part.BrickColor = BrickColor.new("Cyan")
  5747. Part.Size = Vector3.new(0.200000003, 1.01132107, 0.449476063)
  5748. local Partweld = Instance.new("ManualWeld")
  5749. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5750. 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)
  5751. Partweld.Parent = Part
  5752. local PartMesh = Instance.new("SpecialMesh",Part)
  5753. PartMesh.MeshId = ""
  5754. PartMesh.MeshType = Enum.MeshType.Wedge PartMesh.Name = "Mesh"
  5755. PartMesh.Offset = Vector3.new(0, 0, 0)
  5756. PartMesh.Scale = Vector3.new(0.221366972, 1, 1)
  5757.  
  5758. table.insert(bltb, Part)
  5759.  
  5760. local Part = Instance.new("Part", m)
  5761. Part:BreakJoints()
  5762. Part.TopSurface = "Smooth"
  5763. Part.Material = "Neon"
  5764. Part.Transparency = 0 Part.Name = 'Part'
  5765. Part.BottomSurface = "Smooth"
  5766. Part.FormFactor = "Custom" Part.CanCollide = false
  5767. Part.BrickColor = BrickColor.new("Really black")
  5768. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  5769. local Partweld = Instance.new("ManualWeld")
  5770. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5771. Partweld.C1 = CFrame.new(0, -0.955184937, -2.38418579e-007, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5772. Partweld.Parent = Part
  5773. local PartMesh = Instance.new("CylinderMesh",Part)
  5774. PartMesh.Name = "Mesh"
  5775. PartMesh.Offset = Vector3.new(0, 0, 0)
  5776. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  5777.  
  5778. local Part = Instance.new("Part", m)
  5779. Part:BreakJoints()
  5780. Part.TopSurface = "Smooth"
  5781. Part.Material = "Neon"
  5782. Part.Transparency = 0 Part.Name = 'Part18'
  5783. Part.BottomSurface = "Smooth"
  5784. Part.FormFactor = "Custom" Part.CanCollide = false
  5785. Part.BrickColor = BrickColor.new("Cyan")
  5786. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  5787. local Partweld = Instance.new("ManualWeld")
  5788. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5789. Partweld.C1 = CFrame.new(0, -0.842823029, 0.230348349, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5790. Partweld.Parent = Part
  5791. local PartMesh = Instance.new("CylinderMesh",Part)
  5792. PartMesh.Name = "Mesh"
  5793. PartMesh.Offset = Vector3.new(0, 0, 0)
  5794. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  5795.  
  5796. table.insert(bltb, Part)
  5797.  
  5798. local Part = Instance.new("Part", m)
  5799. Part:BreakJoints()
  5800. Part.TopSurface = "Smooth"
  5801. Part.Material = "Neon"
  5802. Part.Transparency = 0 Part.Name = 'Part19'
  5803. Part.BottomSurface = "Smooth"
  5804. Part.FormFactor = "Custom" Part.CanCollide = false
  5805. Part.BrickColor = BrickColor.new("Cyan")
  5806. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  5807. local Partweld = Instance.new("ManualWeld")
  5808. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5809. Partweld.C1 = CFrame.new(0, -0.730434418, -0.179762959, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5810. Partweld.Parent = Part
  5811. local PartMesh = Instance.new("CylinderMesh",Part)
  5812. PartMesh.Name = "Mesh"
  5813. PartMesh.Offset = Vector3.new(0, 0, 0)
  5814. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  5815.  
  5816. table.insert(bltb, Part)
  5817.  
  5818. local hitbox = Instance.new("Part", m)
  5819. hitbox:BreakJoints()
  5820. hitbox.TopSurface = "Smooth"
  5821. hitbox.Material = "Neon"
  5822. hitbox.Transparency = 1 hitbox.Name = 'hitbox'
  5823. hitbox.BottomSurface = "Smooth"
  5824. hitbox.FormFactor = "Custom" hitbox.CanCollide = false
  5825. hitbox.BrickColor = BrickColor.new("Really black")
  5826. hitbox.Size = Vector3.new(0.200000003, 5.60922527, 0.624738038)
  5827. local hitboxweld = Instance.new("ManualWeld")
  5828. hitboxweld.Part0 = Handle hitboxweld.Part1 = hitbox hitboxweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5829. hitboxweld.C1 = CFrame.new(0, -3.8159256, -1.12056732e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5830. hitboxweld.Parent = hitbox
  5831. local hitboxMesh = Instance.new("BlockMesh",hitbox)
  5832. hitboxMesh.Name = "Mesh"
  5833. hitboxMesh.Offset = Vector3.new(0, 0, 0)
  5834. hitboxMesh.Scale = Vector3.new(0.561845124, 1, 1)
  5835.  
  5836. local Wedge = Instance.new("WedgePart", m)
  5837. Wedge:BreakJoints()
  5838. Wedge.TopSurface = "Smooth"
  5839. Wedge.Material = "Neon"
  5840. Wedge.Transparency = 0 Wedge.Name = 'Wedge'
  5841. Wedge.BottomSurface = "Smooth"
  5842. Wedge.FormFactor = "Custom" Wedge.CanCollide = false
  5843. Wedge.BrickColor = BrickColor.new("Really black")
  5844. Wedge.Size = Vector3.new(0.200000003, 0.561845124, 0.224738076)
  5845. local Wedgeweld = Instance.new("ManualWeld")
  5846. Wedgeweld.Part0 = Handle Wedgeweld.Part1 = Wedge Wedgeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5847. 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)
  5848. Wedgeweld.Parent = Wedge
  5849. local WedgeMesh = Instance.new("SpecialMesh",Wedge)
  5850. WedgeMesh.MeshId = ""
  5851. WedgeMesh.MeshType = Enum.MeshType.Wedge WedgeMesh.Name = "Mesh"
  5852. WedgeMesh.Offset = Vector3.new(0, 0, 0)
  5853. WedgeMesh.Scale = Vector3.new(0.561845124, 1, 1)
  5854.  
  5855.  
  5856.  
  5857. EffectPart2 = part2(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Institutional white", "EffectPart2", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  5858. 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))
  5859. EffectPart = part2(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Institutional white", "EffectPart", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  5860. 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))
  5861. mesh("BlockMesh", EffectPart, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5862.  
  5863.  
  5864.  
  5865. coroutine.resume(coroutine.create(function()
  5866. while wait() do
  5867. for i,v in pairs(bltb) do
  5868. if v:IsA("Part") or v:IsA("WedgePart") then
  5869. UpdatePart(v,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  5870.  
  5871. end
  5872. end
  5873. end
  5874. end)) --work
  5875.  
  5876.  
  5877.  
  5878.  
  5879.  
  5880.  
  5881. end
  5882.  
  5883. function removeSword()
  5884. for i = 1, 10 do wait()
  5885. for i,v in pairs(iris:GetChildren()) do
  5886. if v:IsA("Part") or v:IsA("WedgePart") then
  5887. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  5888. v.Transparency = v.Transparency + 0.1
  5889. end
  5890. end
  5891. end
  5892. end
  5893. end
  5894. -----------------------------------------------------
  5895. local blade1Tip = nil
  5896. local blade1cor0 = nil
  5897.  
  5898. local m = Instance.new("Model")
  5899. m.Name = "Genkadda"
  5900. function makeSword()
  5901. p1 = Instance.new("Part", m)
  5902. p1.Material = "Neon"
  5903. colc = math.random(1,7)
  5904. p1.BrickColor = Neonsc[colc]
  5905. p1.Name = "BladePart"
  5906. p1.FormFactor = Enum.FormFactor.Symmetric
  5907. p1.Size = Vector3.new(1, 1, 1)
  5908. p1.CFrame = CFrame.new(103.003883, 10.755723, -7.61905956, 5.61699271e-005, -7.1823597e-006, 0.999998987, -0.984785616, -0.173714966, 3.55839729e-005, 0.173720747, -0.984761655, 5.9530139e-006)
  5909. p1.CanCollide = false
  5910. p1.Locked = true
  5911. p1.Elasticity = 0
  5912. p1.BottomSurface = Enum.SurfaceType.Smooth
  5913. p1.TopSurface = Enum.SurfaceType.Smooth
  5914. b1 = Instance.new("BlockMesh", p1)
  5915. b1.Name = "Mesh"
  5916. b1.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  5917. p2 = Instance.new("Part", m)
  5918. p2.Material = "Neon"
  5919. colc = math.random(1,7)
  5920. p2.BrickColor = Neonsc[colc]
  5921. p2.FormFactor = Enum.FormFactor.Symmetric
  5922. p2.Size = Vector3.new(1, 1, 1)
  5923. p2.CFrame = CFrame.new(103.00399, 10.7255898, -6.52608919, 0.00135809346, 0.00169118668, -0.999996662, 0.965820193, 0.259168088, 0.0017684648, 0.259154975, -0.965800881, -0.00130418094)
  5924. p2.CanCollide = false
  5925. p2.Locked = true
  5926. p2.Elasticity = 0
  5927. p2.BottomSurface = Enum.SurfaceType.Smooth
  5928. p2.TopSurface = Enum.SurfaceType.Smooth
  5929. b2 = Instance.new("BlockMesh", p2)
  5930. b2.Name = "Mesh"
  5931. b2.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  5932. p3 = Instance.new("Part", m)
  5933. p3.Material = "Neon"
  5934. colc = math.random(1,7)
  5935. p3.BrickColor = Neonsc[colc]
  5936. p3.FormFactor = Enum.FormFactor.Symmetric
  5937. p3.Size = Vector3.new(1, 2, 1)
  5938. p3.CFrame = CFrame.new(103.004028, 11.1456547, -6.819067, 1.43263023e-005, -2.88564479e-006, 0.999998987, -0.882936299, -0.469471544, -7.18829688e-006, 0.469469696, -0.882911503, 1.35099981e-005)
  5939. p3.CanCollide = false
  5940. p3.Locked = true
  5941. p3.Elasticity = 0
  5942. p3.BottomSurface = Enum.SurfaceType.Smooth
  5943. p3.TopSurface = Enum.SurfaceType.Smooth
  5944. b3 = Instance.new("BlockMesh", p3)
  5945. b3.Name = "Mesh"
  5946. b3.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  5947. p4 = Instance.new("Part", m)
  5948. p4.Material = "Neon"
  5949. colc = math.random(1,7)
  5950. p4.BrickColor = Neonsc[colc]
  5951. p4.Name = "BladePart"
  5952. p4.FormFactor = Enum.FormFactor.Symmetric
  5953. p4.Size = Vector3.new(1, 1, 1)
  5954. p4.CFrame = CFrame.new(103.003372, 10.965373, -6.66876507, 1.57370523e-005, -6.04354591e-006, 0.999996603, -0.965898931, -0.25886938, -7.14969246e-006, 0.258875549, -0.965874314, 1.58735529e-005)
  5955. p4.CanCollide = false
  5956. p4.Locked = true
  5957. p4.Elasticity = 0
  5958. p4.BottomSurface = Enum.SurfaceType.Smooth
  5959. p4.TopSurface = Enum.SurfaceType.Smooth
  5960. b4 = Instance.new("BlockMesh", p4)
  5961. b4.Name = "Mesh"
  5962. b4.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  5963. p5 = Instance.new("Part", m)
  5964. p5.Material = "Neon"
  5965. colc = math.random(1,7)
  5966. p5.BrickColor = Neonsc[colc]
  5967. p5.Name = "Hilt"
  5968. p5.FormFactor = Enum.FormFactor.Custom
  5969. p5.Size = Vector3.new(1, 0.400000006, 1.60000014)
  5970. p5.CFrame = CFrame.new(103.003395, 11.0653381, -6.1687479, -0.99999404, 5.54991711e-005, -0.000617815298, -0.000594727404, -0.000124425016, 0.999983907, 2.66434654e-005, 0.999962509, 0.000109782166)
  5971. p5.CanCollide = false
  5972. p5.Locked = true
  5973. p5.BottomSurface = Enum.SurfaceType.Smooth
  5974. p5.TopSurface = Enum.SurfaceType.Smooth
  5975. b5 = Instance.new("BlockMesh", p5)
  5976. b5.Name = "Mesh"
  5977. b5.Scale = Vector3.new(0.299999923, 0.399999917, 0.799999952)
  5978. p6 = Instance.new("Part", m)
  5979. p6.Material = "Neon"
  5980. colc = math.random(1,7)
  5981. p6.BrickColor = Neonsc[colc]
  5982. p6.Name = "Handle"
  5983. p6.FormFactor = Enum.FormFactor.Custom
  5984. p6.Size = Vector3.new(1.29999995, 1, 1)
  5985. p6.CFrame = CFrame.new(103.000061, 11.0688219, -5.5480547, -1.23393656e-005, -1.36360759e-005, 0.999994218, 5.37017331e-006, 0.999984086, -9.45257489e-006, -0.999962509, -9.28580994e-006, 1.64470257e-005)
  5986. p6.CanCollide = false
  5987. p6.Locked = true
  5988. p6.BottomSurface = Enum.SurfaceType.Smooth
  5989. p6.TopSurface = Enum.SurfaceType.Smooth
  5990. b6 = Instance.new("SpecialMesh", p6)
  5991. b6.MeshType = Enum.MeshType.Cylinder
  5992. b6.Name = "Mesh"
  5993. b6.Scale = Vector3.new(1, 0.200000003, 0.200000003)
  5994. p7 = Instance.new("Part", m)
  5995. p7.Material = "Neon"
  5996. colc = math.random(1,7)
  5997. p7.BrickColor = Neonsc[colc]
  5998. p7.FormFactor = Enum.FormFactor.Symmetric
  5999. p7.Size = Vector3.new(1, 1, 1)
  6000. p7.CFrame = CFrame.new(103.000099, 11.0688391, -4.79808855, -0.000332629686, 0.00429873355, -0.99998492, -4.5920292e-006, 0.999974728, 0.00432178052, 0.999962449, -8.49941443e-006, -0.000361445156)
  6001. p7.CanCollide = false
  6002. p7.Locked = true
  6003. b7 = Instance.new("SpecialMesh", p7)
  6004. b7.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  6005. b7.TextureId = ""
  6006. b7.MeshType = Enum.MeshType.FileMesh
  6007. b7.Name = "Mesh"
  6008. b7.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
  6009. p8 = Instance.new("Part", m)
  6010. p8.Material = "Neon"
  6011. colc = math.random(1,7)
  6012. p8.BrickColor = Neonsc[colc]
  6013. p8.Name = "BladePart"
  6014. p8.FormFactor = Enum.FormFactor.Symmetric
  6015. p8.Size = Vector3.new(1, 1, 1)
  6016. p8.CFrame = CFrame.new(103.003326, 10.6254845, -8.59870911, -2.92104669e-005, -1.10579058e-005, 0.999994218, -0.996175766, -0.0871899351, -5.3152442e-005, 0.0872026458, -0.996152997, 2.03179661e-005)
  6017. p8.CanCollide = false
  6018. p8.Locked = true
  6019. p8.Elasticity = 0
  6020. p8.BottomSurface = Enum.SurfaceType.Smooth
  6021. p8.TopSurface = Enum.SurfaceType.Smooth
  6022. b8 = Instance.new("BlockMesh", p8)
  6023. b8.Name = "Mesh"
  6024. b8.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  6025. p9 = Instance.new("Part", m)
  6026. p9.Material = "Neon"
  6027. colc = math.random(1,7)
  6028. p9.BrickColor = Neonsc[colc]
  6029. p9.Name = "BladePart"
  6030. p9.FormFactor = Enum.FormFactor.Symmetric
  6031. p9.Size = Vector3.new(1, 1, 1)
  6032. p9.CFrame = CFrame.new(103.003311, 10.625597, -9.51878738, -2.59891603e-005, -1.34348729e-005, 0.999994218, -0.996185422, 0.087079078, -4.78096408e-005, -0.0870626047, -0.996165276, 1.31400229e-005)
  6033. p9.CanCollide = false
  6034. p9.Locked = true
  6035. p9.Elasticity = 0
  6036. p9.BottomSurface = Enum.SurfaceType.Smooth
  6037. p9.TopSurface = Enum.SurfaceType.Smooth
  6038. b9 = Instance.new("BlockMesh", p9)
  6039. b9.Name = "Mesh"
  6040. b9.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  6041. p10 = Instance.new("Part", m)
  6042. p10.Material = "Neon"
  6043. colc = math.random(1,7)
  6044. p10.BrickColor = Neonsc[colc]
  6045. p10.Name = "BladeTip"
  6046. p10.FormFactor = Enum.FormFactor.Symmetric
  6047. p10.Size = Vector3.new(1, 1, 2)
  6048. p10.CFrame = CFrame.new(103.00309, 11.1081867, -11.6109829, -0.999994099, -0.000455793255, 4.643387e-005, 0.00045133481, -0.965918779, -0.25878337, 0.000134008093, -0.258763671, 0.965901971)
  6049. p10.CanCollide = false
  6050. p10.Locked = true
  6051. p10.Elasticity = 0
  6052. p10.BottomSurface = Enum.SurfaceType.Smooth
  6053. p10.TopSurface = Enum.SurfaceType.Smooth
  6054. b10 = Instance.new("SpecialMesh", p10)
  6055. b10.MeshType = Enum.MeshType.Wedge
  6056. b10.Name = "Mesh"
  6057. b10.Scale = Vector3.new(0.119999997, 0.299999923, 0.699999928)
  6058. p11 = Instance.new("Part", m)
  6059. p11.Material = "Neon"
  6060. colc = math.random(1,7)
  6061. p11.BrickColor = Neonsc[colc]
  6062. p11.Name = "BladePart"
  6063. p11.FormFactor = Enum.FormFactor.Symmetric
  6064. p11.Size = Vector3.new(1, 1, 1)
  6065. p11.CFrame = CFrame.new(103.003296, 10.7956495, -10.4587727, 2.83485351e-005, -1.54050977e-005, 0.999994218, -0.96592474, 0.258761972, 8.27970416e-006, -0.258742362, -0.965907693, 2.1241216e-005)
  6066. p11.CanCollide = false
  6067. p11.Locked = true
  6068. p11.Elasticity = 0
  6069. p11.BottomSurface = Enum.SurfaceType.Smooth
  6070. p11.TopSurface = Enum.SurfaceType.Smooth
  6071. b11 = Instance.new("BlockMesh", p11)
  6072. b11.Name = "Mesh"
  6073. b11.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  6074. p12 = Instance.new("Part", m)
  6075. p12.Material = "Neon"
  6076. colc = math.random(1,7)
  6077. p12.BrickColor = Neonsc[colc]
  6078. p12.Name = "BladeTip2"
  6079. p12.FormFactor = Enum.FormFactor.Custom
  6080. p12.Size = Vector3.new(1, 1, 2.4000001)
  6081. p12.CFrame = CFrame.new(102.999977, 10.6319504, -10.4398403, -0.999994218, -5.5769262e-005, 6.55075928e-005, 4.61044419e-006, 0.882887006, 0.469551951, -0.000112806956, 0.469529003, -0.882874727)
  6082. p12.CanCollide = false
  6083. p12.Locked = true
  6084. p12.Elasticity = 0
  6085. p12.BottomSurface = Enum.SurfaceType.Smooth
  6086. p12.TopSurface = Enum.SurfaceType.Smooth
  6087. b12 = Instance.new("SpecialMesh", p12)
  6088. b12.MeshType = Enum.MeshType.Wedge
  6089. b12.Name = "Mesh"
  6090. b12.Scale = Vector3.new(0.119999997, 0.239999995, 0.699999928)
  6091. p13 = Instance.new("Part", m)
  6092. p13.Material = "Neon"
  6093. p13.BrickColor = BrickColor.new("Medium stone grey")
  6094. p13.Transparency = 1
  6095. p13.Name = "HitBox"
  6096. p13.FormFactor = Enum.FormFactor.Custom
  6097. p13.Size = Vector3.new(6.0999999, 0.400000006, 1.5999999)
  6098. p13.CFrame = CFrame.new(103.009995, 10.9988394, -9.2679081, 1.22519814e-005, -0.999994218, 1.36361559e-005, -5.27501106e-006, 9.45320426e-006, -0.999984264, 0.999962687, -1.65344682e-005, 9.20891762e-006)
  6099. p13.CanCollide = false
  6100. p13.Locked = true
  6101. p13.BottomSurface = Enum.SurfaceType.Smooth
  6102. p13.TopSurface = Enum.SurfaceType.Smooth
  6103. w1 = Instance.new("Weld", p1)
  6104. w1.Name = "Part_Weld"
  6105. w1.Part0 = p1
  6106. w1.C0 = CFrame.new(11.9124546, -5.63626003, -103.00383, 4.33940659e-005, -0.984795153, 0.173719674, 1.85460614e-009, -0.173719659, -0.984795094, 1, 4.27345876e-005, -7.53657105e-006)
  6107. w1.Part1 = p2
  6108. w1.C1 = CFrame.new(-8.80891991, -9.26009178, 102.975845, 0.00136663229, 0.965830803, 0.259170175, 0.00170310249, 0.25916782, -0.965830863, -0.999997616, 0.00176132878, -0.00129072159)
  6109. w2 = Instance.new("Weld", p2)
  6110. w2.Name = "Part_Weld"
  6111. w2.Part0 = p2
  6112. w2.C0 = CFrame.new(-8.80891991, -9.26009178, 102.975845, 0.00136663229, 0.965830803, 0.259170175, 0.00170310249, 0.25916782, -0.965830863, -0.999997616, 0.00176132878, -0.00129072159)
  6113. w2.Part1 = p3
  6114. w2.C1 = CFrame.new(13.0439634, -0.78926897, -103.003448, -4.37113883e-008, -0.88294369, 0.469478935, 0, -0.469478935, -0.88294369, 1, -3.85946954e-008, 2.05215755e-008)
  6115. w3 = Instance.new("Weld", p3)
  6116. w3.Name = "BladePart_Weld"
  6117. w3.Part0 = p3
  6118. w3.C0 = CFrame.new(13.0439634, -0.78926897, -103.003448, -4.37113883e-008, -0.88294369, 0.469478935, 0, -0.469478935, -0.88294369, 1, -3.85946954e-008, 2.05215755e-008)
  6119. w3.Part1 = p4
  6120. w3.C1 = CFrame.new(12.3193283, -3.60437131, -103.003067, 2.38418579e-006, -0.965907753, 0.258877277, 0, -0.258874893, -0.965907753, 0.999997616, 0, 2.38418579e-006)
  6121. w4 = Instance.new("Weld", p4)
  6122. w4.Name = "Hilt_Weld"
  6123. w4.Part0 = p4
  6124. w4.C0 = CFrame.new(12.3193283, -3.60437131, -103.003067, 2.38418579e-006, -0.965907753, 0.258877277, 0, -0.258874893, -0.965907753, 0.999997616, 0, 2.38418579e-006)
  6125. w4.Part1 = p5
  6126. w4.C1 = CFrame.new(103.010277, 6.16758585, -11.003541, -0.999999821, -0.00060418935, 4.31301851e-005, 4.32021443e-005, -0.000119086159, 1, -0.000604184228, 0.999999821, 0.000119112243)
  6127. w5 = Instance.new("Weld", p5)
  6128. w5.Name = "Handle_Weld"
  6129. w5.Part0 = p5
  6130. w5.C0 = CFrame.new(103.010277, 6.16758585, -11.003541, -0.999999821, -0.00060418935, 4.31301851e-005, 4.32021443e-005, -0.000119086159, 1, -0.000604184228, 0.999999821, 0.000119112243)
  6131. w5.Part1 = p6
  6132. w5.C1 = CFrame.new(-5.54999733, -11.0699978, -103, -4.37113883e-008, 2.98366913e-008, -1, 0, 1, 2.98366913e-008, 1, 1.3042032e-015, -4.37113883e-008)
  6133. w6 = Instance.new("Weld", p6)
  6134. w6.Name = "Part_Weld"
  6135. w6.Part0 = p6
  6136. w6.C0 = CFrame.new(-5.54999733, -11.0699978, -103, -4.37113883e-008, 2.98366913e-008, -1, 0, 1, 2.98366913e-008, 1, 1.3042032e-015, -4.37113883e-008)
  6137. w6.Part1 = p7
  6138. w6.C1 = CFrame.new(4.83552647, -11.5140886, 102.949669, -0.000344927335, 7.4505806e-007, 0.99999994, 0.00431239465, 0.999990702, 7.4505806e-007, -0.999990642, 0.00431239465, -0.000344927335)
  6139. w7 = Instance.new("Weld", p7)
  6140. w7.Name = "BladePart_Weld"
  6141. w7.Part0 = p7
  6142. w7.C0 = CFrame.new(4.83552647, -11.5140886, 102.949669, -0.000344927335, 7.4505806e-007, 0.99999994, 0.00431239465, 0.999990702, 7.4505806e-007, -0.999990642, 0.00431239465, -0.000344927335)
  6143. w7.Part1 = p8
  6144. w7.C1 = CFrame.new(11.3406382, -7.6414094, -103.0028, -4.38670977e-005, -0.996191144, 0.0871966407, 1.91451011e-009, -0.0871966407, -0.996191144, 1, -4.36998489e-005, 3.82696771e-006)
  6145. w8 = Instance.new("Weld", p8)
  6146. w8.Name = "BladePart_Weld"
  6147. w8.Part0 = p8
  6148. w8.C0 = CFrame.new(11.3406382, -7.6414094, -103.0028, -4.38670977e-005, -0.996191144, 0.0871966407, 1.91451011e-009, -0.0871966407, -0.996191144, 1, -4.36998489e-005, 3.82696771e-006)
  6149. w8.Part1 = p9
  6150. w8.C1 = CFrame.new(9.76131344, -10.4100504, -103.002922, -3.85031162e-005, -0.996201694, -0.0870751292, 1.47589729e-009, 0.0870751366, -0.996201754, 1, -3.83570004e-005, -3.35119148e-006)
  6151. w9 = Instance.new("Weld", p9)
  6152. w9.Name = "BladeTip_Weld"
  6153. w9.Part0 = p9
  6154. w9.C0 = CFrame.new(9.76131344, -10.4100504, -103.002922, -3.85031162e-005, -0.996201694, -0.0870751292, 1.47589729e-009, 0.0870751366, -0.996201754, 1, -3.83570004e-005, -3.35119148e-006)
  6155. w9.Part1 = p10
  6156. w9.C1 = CFrame.new(102.999939, 7.7735939, 14.0892649, -0.999999881, 0.000441889424, 0.000150508567, -0.000465785735, -0.965935588, -0.258782327, 3.10284122e-005, -0.258782327, 0.965935647)
  6157. w10 = Instance.new("Weld", p10)
  6158. w10.Name = "BladePart_Weld"
  6159. w10.Part0 = p10
  6160. w10.C0 = CFrame.new(102.999939, 7.7735939, 14.0892649, -0.999999881, 0.000441889424, 0.000150508567, -0.000465785735, -0.965935588, -0.258782327, 3.10284122e-005, -0.258782327, 0.965935647)
  6161. w10.Part1 = p11
  6162. w10.C1 = CFrame.new(7.72030354, -12.8984127, -103.003448, 1.83585671e-005, -0.965941429, -0.258760989, 3.25545535e-010, 0.258760959, -0.96594137, 1, 1.77332167e-005, 4.7507956e-006)
  6163. w11 = Instance.new("Weld", p11)
  6164. w11.Name = "BladeTip2_Weld"
  6165. w11.Part0 = p11
  6166. w11.C0 = CFrame.new(7.72030354, -12.8984127, -103.003448, 1.83585671e-005, -0.965941429, -0.258760989, 3.25545535e-010, 0.258760959, -0.96594137, 1, 1.77332167e-005, 4.7507956e-006)
  6167. w11.Part1 = p12
  6168. w11.C1 = CFrame.new(102.999031, -4.47981405, -14.2206001, -1, -4.84334305e-006, -9.63198472e-005, -4.95036402e-005, 0.882903397, 0.469554722, 8.27668991e-005, 0.469554722, -0.882903397)
  6169. w12 = Instance.new("Weld", p12)
  6170. w12.Name = "HitBox_Weld"
  6171. w12.Part0 = p12
  6172. w12.C0 = CFrame.new(102.999031, -4.47981405, -14.2206001, -1, -4.84334305e-006, -9.63198472e-005, -4.95036402e-005, 0.882903397, 0.469554722, 8.27668991e-005, 0.469554722, -0.882903397)
  6173. w12.Part1 = p13
  6174. w12.C1 = CFrame.new(9.27000427, 103.009995, 10.9999933, -4.37113883e-008, -4.37113883e-008, 1, -1, 1.91068547e-015, -4.37113883e-008, 0, -1, -4.37113883e-008)
  6175. w13 = Instance.new("Weld", p13)
  6176. w13.Name = "Weld"
  6177. w13.Part0 = p13
  6178. w13.C0 = CFrame.new(9.27000427, 103.009995, 10.9999933, -4.37113883e-008, -4.37113883e-008, 1, -1, 1.91068547e-015, -4.37113883e-008, 0, -1, -4.37113883e-008)
  6179. m.Parent = char
  6180. m:MakeJoints()
  6181. ----------------------------------------------------
  6182. local cor = Instance.new("Part", char.Genkadda)
  6183. cor.Name = "Thingy"
  6184. cor.Locked = true
  6185. cor.BottomSurface = 0
  6186. cor.CanCollide = false
  6187. cor.Size = Vector3.new(1, 9, 1)
  6188. cor.Transparency = 1
  6189. cor.TopSurface = 0
  6190. corw = Instance.new("Weld", cor)
  6191. corw.Part0 = rarm
  6192. corw.Part1 = cor
  6193. corw.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(90))
  6194. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  6195. weld1 = Instance.new("Weld", char.Genkadda)
  6196. weld1.Part0 = cor
  6197. weld1.Part1 = char.Genkadda.Handle
  6198. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  6199. blade1Tip = cor
  6200. end
  6201.  
  6202. --[[makeSword()
  6203. ----------------------------------------------------
  6204. ]]
  6205. blocks = {}
  6206. last_block = nil
  6207. function ezBlock(type, name, cframe, size, rotation, material, parent, BrickColor, transparency,
  6208.  
  6209. weldToThis, formFactor)
  6210. block = Instance.new(type, parent)
  6211. block.Name = name
  6212. block.FormFactor=formFactor
  6213. block.Size = size
  6214. block.CanCollide = false
  6215. block.Anchored = false
  6216. block.BrickColor = BrickColor
  6217. block.Transparency=transparency
  6218. block.TopSurface = 'SmoothNoOutlines'
  6219. block.BottomSurface = 'SmoothNoOutlines'
  6220. block.FrontSurface = 'SmoothNoOutlines'
  6221. block.BackSurface = 'SmoothNoOutlines'
  6222. block.LeftSurface = 'SmoothNoOutlines'
  6223. block.RightSurface = 'SmoothNoOutlines'
  6224. block.Material = material
  6225. block.formFactor = 'Custom'
  6226. block.CFrame = cframe
  6227.  
  6228. if weldToThis then
  6229. stick(weldToThis, block)
  6230. elseif last_block ~= nil then
  6231. stick(block, last_block)
  6232. last_block = block
  6233. else
  6234. last_block = block
  6235. end
  6236. table.insert(blocks, block)
  6237.  
  6238. return #blocks
  6239. end
  6240. --[[
  6241. ----------------------------------------------------
  6242. for i, v in pairs(blocks) do
  6243. v.Parent = char.Genkadda
  6244. end
  6245. ----------------------------------------------------
  6246. local LastCFr = nil
  6247. local Trails = Instance.new("Model",char)
  6248. local Trail = {}
  6249. local Tip = char.Genkadda.BladeTip --blocks[test]
  6250. local number = 0
  6251. local num2 = 1
  6252. ]]
  6253.  
  6254.  
  6255. function startBloxFX()
  6256. local eff2 = Instance.new("Part", char)
  6257. eff2.Size = Vector3.new(10, 10, 10)
  6258. eff2.Transparency = 0
  6259. eff2.Material = "Neon"
  6260. eff2.Anchored = true
  6261. eff2.CanCollide = false
  6262. eff2.CFrame = char.Torso.CFrame
  6263. eff2eff = Instance.new("SelectionBox", eff2)
  6264. eff2eff.Adornee = eff2
  6265.  
  6266. local Hair = Instance.new("Part", char)
  6267. Hair.Name = "Hair"
  6268. Hair.Material = "Neon"
  6269. Hair.Size = Vector3.new(2, 0.8, 2.4)
  6270. Hold = Instance.new("Weld", char.Head)
  6271. Hold.Part0 = char.Head
  6272. Hold.Part1 = Hair
  6273. Hold.C0 = CFrame.new(-0.1, 0.8, 0)
  6274. local Mesh = Instance.new("SpecialMesh", Hair)
  6275. Mesh.MeshType = "FileMesh"
  6276. Mesh.Scale = Vector3.new(1.2, 1, 1)
  6277. Mesh.MeshId = ("http://www.roblox.com/asset/?id=145283773 ")
  6278. Mesh.TextureId = ("http://www.roblox.com/asset/?id=151460207")
  6279. -----------------------------------BLOXFUNC_
  6280. p1 = Instance.new("Part", m)
  6281. p1.Material = "Neon"
  6282. colc = math.random(1,7)
  6283. p1.BrickColor = Neonsc[colc]
  6284. p1.Name = "BladePart"
  6285. p1.FormFactor = Enum.FormFactor.Symmetric
  6286. p1.Size = Vector3.new(1, 1, 1)
  6287. p1.CFrame = CFrame.new(103.003883, 10.755723, -7.61905956, 5.61699271e-005, -7.1823597e-006, 0.999998987, -0.984785616, -0.173714966, 3.55839729e-005, 0.173720747, -0.984761655, 5.9530139e-006)
  6288. p1.CanCollide = false
  6289. p1.Locked = true
  6290. p1.Elasticity = 0
  6291. p1.BottomSurface = Enum.SurfaceType.Smooth
  6292. p1.TopSurface = Enum.SurfaceType.Smooth
  6293. b1 = Instance.new("BlockMesh", p1)
  6294. b1.Name = "Mesh"
  6295. b1.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  6296. p2 = Instance.new("Part", m)
  6297. p2.Material = "Neon"
  6298. colc = math.random(1,7)
  6299. p2.BrickColor = Neonsc[colc]
  6300. p2.FormFactor = Enum.FormFactor.Symmetric
  6301. p2.Size = Vector3.new(1, 1, 1)
  6302. p2.CFrame = CFrame.new(103.00399, 10.7255898, -6.52608919, 0.00135809346, 0.00169118668, -0.999996662, 0.965820193, 0.259168088, 0.0017684648, 0.259154975, -0.965800881, -0.00130418094)
  6303. p2.CanCollide = false
  6304. p2.Locked = true
  6305. p2.Elasticity = 0
  6306. p2.BottomSurface = Enum.SurfaceType.Smooth
  6307. p2.TopSurface = Enum.SurfaceType.Smooth
  6308. b2 = Instance.new("BlockMesh", p2)
  6309. b2.Name = "Mesh"
  6310. b2.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  6311. p3 = Instance.new("Part", m)
  6312. p3.Material = "Neon"
  6313. colc = math.random(1,7)
  6314. p3.BrickColor = Neonsc[colc]
  6315. p3.FormFactor = Enum.FormFactor.Symmetric
  6316. p3.Size = Vector3.new(1, 2, 1)
  6317. p3.CFrame = CFrame.new(103.004028, 11.1456547, -6.819067, 1.43263023e-005, -2.88564479e-006, 0.999998987, -0.882936299, -0.469471544, -7.18829688e-006, 0.469469696, -0.882911503, 1.35099981e-005)
  6318. p3.CanCollide = false
  6319. p3.Locked = true
  6320. p3.Elasticity = 0
  6321. p3.BottomSurface = Enum.SurfaceType.Smooth
  6322. p3.TopSurface = Enum.SurfaceType.Smooth
  6323. b3 = Instance.new("BlockMesh", p3)
  6324. b3.Name = "Mesh"
  6325. b3.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  6326. p4 = Instance.new("Part", m)
  6327. p4.Material = "Neon"
  6328. colc = math.random(1,7)
  6329. p4.BrickColor = Neonsc[colc]
  6330. p4.Name = "BladePart"
  6331. p4.FormFactor = Enum.FormFactor.Symmetric
  6332. p4.Size = Vector3.new(1, 1, 1)
  6333. p4.CFrame = CFrame.new(103.003372, 10.965373, -6.66876507, 1.57370523e-005, -6.04354591e-006, 0.999996603, -0.965898931, -0.25886938, -7.14969246e-006, 0.258875549, -0.965874314, 1.58735529e-005)
  6334. p4.CanCollide = false
  6335. p4.Locked = true
  6336. p4.Elasticity = 0
  6337. p4.BottomSurface = Enum.SurfaceType.Smooth
  6338. p4.TopSurface = Enum.SurfaceType.Smooth
  6339. b4 = Instance.new("BlockMesh", p4)
  6340. b4.Name = "Mesh"
  6341. b4.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  6342. p5 = Instance.new("Part", m)
  6343. p5.Material = "Neon"
  6344. colc = math.random(1,7)
  6345. p5.BrickColor = Neonsc[colc]
  6346. p5.Name = "Hilt"
  6347. p5.FormFactor = Enum.FormFactor.Custom
  6348. p5.Size = Vector3.new(1, 0.400000006, 1.60000014)
  6349. p5.CFrame = CFrame.new(103.003395, 11.0653381, -6.1687479, -0.99999404, 5.54991711e-005, -0.000617815298, -0.000594727404, -0.000124425016, 0.999983907, 2.66434654e-005, 0.999962509, 0.000109782166)
  6350. p5.CanCollide = false
  6351. p5.Locked = true
  6352. p5.BottomSurface = Enum.SurfaceType.Smooth
  6353. p5.TopSurface = Enum.SurfaceType.Smooth
  6354. b5 = Instance.new("BlockMesh", p5)
  6355. b5.Name = "Mesh"
  6356. b5.Scale = Vector3.new(0.299999923, 0.399999917, 0.799999952)
  6357. p6 = Instance.new("Part", m)
  6358. p6.Material = "Neon"
  6359. colc = math.random(1,7)
  6360. p6.BrickColor = Neonsc[colc]
  6361. p6.Name = "Handle"
  6362. p6.FormFactor = Enum.FormFactor.Custom
  6363. p6.Size = Vector3.new(1.29999995, 1, 1)
  6364. p6.CFrame = CFrame.new(103.000061, 11.0688219, -5.5480547, -1.23393656e-005, -1.36360759e-005, 0.999994218, 5.37017331e-006, 0.999984086, -9.45257489e-006, -0.999962509, -9.28580994e-006, 1.64470257e-005)
  6365. p6.CanCollide = false
  6366. p6.Locked = true
  6367. p6.BottomSurface = Enum.SurfaceType.Smooth
  6368. p6.TopSurface = Enum.SurfaceType.Smooth
  6369. b6 = Instance.new("SpecialMesh", p6)
  6370. b6.MeshType = Enum.MeshType.Cylinder
  6371. b6.Name = "Mesh"
  6372. b6.Scale = Vector3.new(1, 0.200000003, 0.200000003)
  6373. p7 = Instance.new("Part", m)
  6374. p7.Material = "Neon"
  6375. colc = math.random(1,7)
  6376. p7.BrickColor = Neonsc[colc]
  6377. p7.FormFactor = Enum.FormFactor.Symmetric
  6378. p7.Size = Vector3.new(1, 1, 1)
  6379. p7.CFrame = CFrame.new(103.000099, 11.0688391, -4.79808855, -0.000332629686, 0.00429873355, -0.99998492, -4.5920292e-006, 0.999974728, 0.00432178052, 0.999962449, -8.49941443e-006, -0.000361445156)
  6380. p7.CanCollide = false
  6381. p7.Locked = true
  6382. b7 = Instance.new("SpecialMesh", p7)
  6383. b7.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  6384. b7.TextureId = ""
  6385. b7.MeshType = Enum.MeshType.FileMesh
  6386. b7.Name = "Mesh"
  6387. b7.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
  6388. p8 = Instance.new("Part", m)
  6389. p8.Material = "Neon"
  6390. colc = math.random(1,7)
  6391. p8.BrickColor = Neonsc[colc]
  6392. p8.Name = "BladePart"
  6393. p8.FormFactor = Enum.FormFactor.Symmetric
  6394. p8.Size = Vector3.new(1, 1, 1)
  6395. p8.CFrame = CFrame.new(103.003326, 10.6254845, -8.59870911, -2.92104669e-005, -1.10579058e-005, 0.999994218, -0.996175766, -0.0871899351, -5.3152442e-005, 0.0872026458, -0.996152997, 2.03179661e-005)
  6396. p8.CanCollide = false
  6397. p8.Locked = true
  6398. p8.Elasticity = 0
  6399. p8.BottomSurface = Enum.SurfaceType.Smooth
  6400. p8.TopSurface = Enum.SurfaceType.Smooth
  6401. b8 = Instance.new("BlockMesh", p8)
  6402. b8.Name = "Mesh"
  6403. b8.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  6404. p9 = Instance.new("Part", m)
  6405. p9.Material = "Neon"
  6406. colc = math.random(1,7)
  6407. p9.BrickColor = Neonsc[colc]
  6408. p9.Name = "BladePart"
  6409. p9.FormFactor = Enum.FormFactor.Symmetric
  6410. p9.Size = Vector3.new(1, 1, 1)
  6411. p9.CFrame = CFrame.new(103.003311, 10.625597, -9.51878738, -2.59891603e-005, -1.34348729e-005, 0.999994218, -0.996185422, 0.087079078, -4.78096408e-005, -0.0870626047, -0.996165276, 1.31400229e-005)
  6412. p9.CanCollide = false
  6413. p9.Locked = true
  6414. p9.Elasticity = 0
  6415. p9.BottomSurface = Enum.SurfaceType.Smooth
  6416. p9.TopSurface = Enum.SurfaceType.Smooth
  6417. b9 = Instance.new("BlockMesh", p9)
  6418. b9.Name = "Mesh"
  6419. b9.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  6420. p10 = Instance.new("Part", m)
  6421. p10.Material = "Neon"
  6422. colc = math.random(1,7)
  6423. p10.BrickColor = Neonsc[colc]
  6424. p10.Name = "BladeTip"
  6425. p10.FormFactor = Enum.FormFactor.Symmetric
  6426. p10.Size = Vector3.new(1, 1, 2)
  6427. p10.CFrame = CFrame.new(103.00309, 11.1081867, -11.6109829, -0.999994099, -0.000455793255, 4.643387e-005, 0.00045133481, -0.965918779, -0.25878337, 0.000134008093, -0.258763671, 0.965901971)
  6428. p10.CanCollide = false
  6429. p10.Locked = true
  6430. p10.Elasticity = 0
  6431. p10.BottomSurface = Enum.SurfaceType.Smooth
  6432. p10.TopSurface = Enum.SurfaceType.Smooth
  6433. b10 = Instance.new("SpecialMesh", p10)
  6434. b10.MeshType = Enum.MeshType.Wedge
  6435. b10.Name = "Mesh"
  6436. b10.Scale = Vector3.new(0.119999997, 0.299999923, 0.699999928)
  6437. p11 = Instance.new("Part", m)
  6438. p11.Material = "Neon"
  6439. colc = math.random(1,7)
  6440. p11.BrickColor = Neonsc[colc]
  6441. p11.Name = "BladePart"
  6442. p11.FormFactor = Enum.FormFactor.Symmetric
  6443. p11.Size = Vector3.new(1, 1, 1)
  6444. p11.CFrame = CFrame.new(103.003296, 10.7956495, -10.4587727, 2.83485351e-005, -1.54050977e-005, 0.999994218, -0.96592474, 0.258761972, 8.27970416e-006, -0.258742362, -0.965907693, 2.1241216e-005)
  6445. p11.CanCollide = false
  6446. p11.Locked = true
  6447. p11.Elasticity = 0
  6448. p11.BottomSurface = Enum.SurfaceType.Smooth
  6449. p11.TopSurface = Enum.SurfaceType.Smooth
  6450. b11 = Instance.new("BlockMesh", p11)
  6451. b11.Name = "Mesh"
  6452. b11.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  6453. p12 = Instance.new("Part", m)
  6454. p12.Material = "Neon"
  6455. colc = math.random(1,7)
  6456. p12.BrickColor = Neonsc[colc]
  6457. p12.Name = "BladeTip2"
  6458. p12.FormFactor = Enum.FormFactor.Custom
  6459. p12.Size = Vector3.new(1, 1, 2.4000001)
  6460. p12.CFrame = CFrame.new(102.999977, 10.6319504, -10.4398403, -0.999994218, -5.5769262e-005, 6.55075928e-005, 4.61044419e-006, 0.882887006, 0.469551951, -0.000112806956, 0.469529003, -0.882874727)
  6461. p12.CanCollide = false
  6462. p12.Locked = true
  6463. p12.Elasticity = 0
  6464. p12.BottomSurface = Enum.SurfaceType.Smooth
  6465. p12.TopSurface = Enum.SurfaceType.Smooth
  6466. b12 = Instance.new("SpecialMesh", p12)
  6467. b12.MeshType = Enum.MeshType.Wedge
  6468. b12.Name = "Mesh"
  6469. b12.Scale = Vector3.new(0.119999997, 0.239999995, 0.699999928)
  6470. p13 = Instance.new("Part", m)
  6471. p13.Material = "Neon"
  6472. p13.BrickColor = BrickColor.new("Medium stone grey")
  6473. p13.Transparency = 1
  6474. p13.Name = "HitBox"
  6475. p13.FormFactor = Enum.FormFactor.Custom
  6476. p13.Size = Vector3.new(6.0999999, 0.400000006, 1.5999999)
  6477. p13.CFrame = CFrame.new(103.009995, 10.9988394, -9.2679081, 1.22519814e-005, -0.999994218, 1.36361559e-005, -5.27501106e-006, 9.45320426e-006, -0.999984264, 0.999962687, -1.65344682e-005, 9.20891762e-006)
  6478. p13.CanCollide = false
  6479. p13.Locked = true
  6480. p13.BottomSurface = Enum.SurfaceType.Smooth
  6481. p13.TopSurface = Enum.SurfaceType.Smooth
  6482. w1 = Instance.new("Weld", p1)
  6483. w1.Name = "Part_Weld"
  6484. w1.Part0 = p1
  6485. w1.C0 = CFrame.new(11.9124546, -5.63626003, -103.00383, 4.33940659e-005, -0.984795153, 0.173719674, 1.85460614e-009, -0.173719659, -0.984795094, 1, 4.27345876e-005, -7.53657105e-006)
  6486. w1.Part1 = p2
  6487. w1.C1 = CFrame.new(-8.80891991, -9.26009178, 102.975845, 0.00136663229, 0.965830803, 0.259170175, 0.00170310249, 0.25916782, -0.965830863, -0.999997616, 0.00176132878, -0.00129072159)
  6488. w2 = Instance.new("Weld", p2)
  6489. w2.Name = "Part_Weld"
  6490. w2.Part0 = p2
  6491. w2.C0 = CFrame.new(-8.80891991, -9.26009178, 102.975845, 0.00136663229, 0.965830803, 0.259170175, 0.00170310249, 0.25916782, -0.965830863, -0.999997616, 0.00176132878, -0.00129072159)
  6492. w2.Part1 = p3
  6493. w2.C1 = CFrame.new(13.0439634, -0.78926897, -103.003448, -4.37113883e-008, -0.88294369, 0.469478935, 0, -0.469478935, -0.88294369, 1, -3.85946954e-008, 2.05215755e-008)
  6494. w3 = Instance.new("Weld", p3)
  6495. w3.Name = "BladePart_Weld"
  6496. w3.Part0 = p3
  6497. w3.C0 = CFrame.new(13.0439634, -0.78926897, -103.003448, -4.37113883e-008, -0.88294369, 0.469478935, 0, -0.469478935, -0.88294369, 1, -3.85946954e-008, 2.05215755e-008)
  6498. w3.Part1 = p4
  6499. w3.C1 = CFrame.new(12.3193283, -3.60437131, -103.003067, 2.38418579e-006, -0.965907753, 0.258877277, 0, -0.258874893, -0.965907753, 0.999997616, 0, 2.38418579e-006)
  6500. w4 = Instance.new("Weld", p4)
  6501. w4.Name = "Hilt_Weld"
  6502. w4.Part0 = p4
  6503. w4.C0 = CFrame.new(12.3193283, -3.60437131, -103.003067, 2.38418579e-006, -0.965907753, 0.258877277, 0, -0.258874893, -0.965907753, 0.999997616, 0, 2.38418579e-006)
  6504. w4.Part1 = p5
  6505. w4.C1 = CFrame.new(103.010277, 6.16758585, -11.003541, -0.999999821, -0.00060418935, 4.31301851e-005, 4.32021443e-005, -0.000119086159, 1, -0.000604184228, 0.999999821, 0.000119112243)
  6506. w5 = Instance.new("Weld", p5)
  6507. w5.Name = "Handle_Weld"
  6508. w5.Part0 = p5
  6509. w5.C0 = CFrame.new(103.010277, 6.16758585, -11.003541, -0.999999821, -0.00060418935, 4.31301851e-005, 4.32021443e-005, -0.000119086159, 1, -0.000604184228, 0.999999821, 0.000119112243)
  6510. w5.Part1 = p6
  6511. w5.C1 = CFrame.new(-5.54999733, -11.0699978, -103, -4.37113883e-008, 2.98366913e-008, -1, 0, 1, 2.98366913e-008, 1, 1.3042032e-015, -4.37113883e-008)
  6512. w6 = Instance.new("Weld", p6)
  6513. w6.Name = "Part_Weld"
  6514. w6.Part0 = p6
  6515. w6.C0 = CFrame.new(-5.54999733, -11.0699978, -103, -4.37113883e-008, 2.98366913e-008, -1, 0, 1, 2.98366913e-008, 1, 1.3042032e-015, -4.37113883e-008)
  6516. w6.Part1 = p7
  6517. w6.C1 = CFrame.new(4.83552647, -11.5140886, 102.949669, -0.000344927335, 7.4505806e-007, 0.99999994, 0.00431239465, 0.999990702, 7.4505806e-007, -0.999990642, 0.00431239465, -0.000344927335)
  6518. w7 = Instance.new("Weld", p7)
  6519. w7.Name = "BladePart_Weld"
  6520. w7.Part0 = p7
  6521. w7.C0 = CFrame.new(4.83552647, -11.5140886, 102.949669, -0.000344927335, 7.4505806e-007, 0.99999994, 0.00431239465, 0.999990702, 7.4505806e-007, -0.999990642, 0.00431239465, -0.000344927335)
  6522. w7.Part1 = p8
  6523. w7.C1 = CFrame.new(11.3406382, -7.6414094, -103.0028, -4.38670977e-005, -0.996191144, 0.0871966407, 1.91451011e-009, -0.0871966407, -0.996191144, 1, -4.36998489e-005, 3.82696771e-006)
  6524. w8 = Instance.new("Weld", p8)
  6525. w8.Name = "BladePart_Weld"
  6526. w8.Part0 = p8
  6527. w8.C0 = CFrame.new(11.3406382, -7.6414094, -103.0028, -4.38670977e-005, -0.996191144, 0.0871966407, 1.91451011e-009, -0.0871966407, -0.996191144, 1, -4.36998489e-005, 3.82696771e-006)
  6528. w8.Part1 = p9
  6529. w8.C1 = CFrame.new(9.76131344, -10.4100504, -103.002922, -3.85031162e-005, -0.996201694, -0.0870751292, 1.47589729e-009, 0.0870751366, -0.996201754, 1, -3.83570004e-005, -3.35119148e-006)
  6530. w9 = Instance.new("Weld", p9)
  6531. w9.Name = "BladeTip_Weld"
  6532. w9.Part0 = p9
  6533. w9.C0 = CFrame.new(9.76131344, -10.4100504, -103.002922, -3.85031162e-005, -0.996201694, -0.0870751292, 1.47589729e-009, 0.0870751366, -0.996201754, 1, -3.83570004e-005, -3.35119148e-006)
  6534. w9.Part1 = p10
  6535. w9.C1 = CFrame.new(102.999939, 7.7735939, 14.0892649, -0.999999881, 0.000441889424, 0.000150508567, -0.000465785735, -0.965935588, -0.258782327, 3.10284122e-005, -0.258782327, 0.965935647)
  6536. w10 = Instance.new("Weld", p10)
  6537. w10.Name = "BladePart_Weld"
  6538. w10.Part0 = p10
  6539. w10.C0 = CFrame.new(102.999939, 7.7735939, 14.0892649, -0.999999881, 0.000441889424, 0.000150508567, -0.000465785735, -0.965935588, -0.258782327, 3.10284122e-005, -0.258782327, 0.965935647)
  6540. w10.Part1 = p11
  6541. w10.C1 = CFrame.new(7.72030354, -12.8984127, -103.003448, 1.83585671e-005, -0.965941429, -0.258760989, 3.25545535e-010, 0.258760959, -0.96594137, 1, 1.77332167e-005, 4.7507956e-006)
  6542. w11 = Instance.new("Weld", p11)
  6543. w11.Name = "BladeTip2_Weld"
  6544. w11.Part0 = p11
  6545. w11.C0 = CFrame.new(7.72030354, -12.8984127, -103.003448, 1.83585671e-005, -0.965941429, -0.258760989, 3.25545535e-010, 0.258760959, -0.96594137, 1, 1.77332167e-005, 4.7507956e-006)
  6546. w11.Part1 = p12
  6547. w11.C1 = CFrame.new(102.999031, -4.47981405, -14.2206001, -1, -4.84334305e-006, -9.63198472e-005, -4.95036402e-005, 0.882903397, 0.469554722, 8.27668991e-005, 0.469554722, -0.882903397)
  6548. w12 = Instance.new("Weld", p12)
  6549. w12.Name = "HitBox_Weld"
  6550. w12.Part0 = p12
  6551. w12.C0 = CFrame.new(102.999031, -4.47981405, -14.2206001, -1, -4.84334305e-006, -9.63198472e-005, -4.95036402e-005, 0.882903397, 0.469554722, 8.27668991e-005, 0.469554722, -0.882903397)
  6552. w12.Part1 = p13
  6553. w12.C1 = CFrame.new(9.27000427, 103.009995, 10.9999933, -4.37113883e-008, -4.37113883e-008, 1, -1, 1.91068547e-015, -4.37113883e-008, 0, -1, -4.37113883e-008)
  6554. w13 = Instance.new("Weld", p13)
  6555. w13.Name = "Weld"
  6556. w13.Part0 = p13
  6557. w13.C0 = CFrame.new(9.27000427, 103.009995, 10.9999933, -4.37113883e-008, -4.37113883e-008, 1, -1, 1.91068547e-015, -4.37113883e-008, 0, -1, -4.37113883e-008)
  6558. m.Parent = char
  6559. m:MakeJoints()
  6560. ----------------------------------------------------
  6561. local cor = Instance.new("Part", char.Genkadda)
  6562. cor.Name = "Thingy"
  6563. cor.Locked = true
  6564. cor.BottomSurface = 0
  6565. cor.CanCollide = false
  6566. cor.Size = Vector3.new(1, 9, 1)
  6567. cor.Transparency = 1
  6568. cor.TopSurface = 0
  6569. corw = Instance.new("Weld", cor)
  6570. corw.Part0 = rarm
  6571. corw.Part1 = cor
  6572. corw.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(90))
  6573. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  6574. weld1 = Instance.new("Weld", char.Genkadda)
  6575. weld1.Part0 = cor
  6576. weld1.Part1 = char.Genkadda.Handle
  6577. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  6578. blade1Tip = p13
  6579. blade1cor0 = corw
  6580. --blade1cor0.C0 = CFrame.new(-1, 3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90))
  6581. --blade1cor0.C1 = CFrame.new(-1, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  6582. ----------------------------------------------------BLOXFUNC_SWORD_END
  6583. ----------------------------------------------------
  6584. for i, v in pairs(blocks) do
  6585. v.Parent = char.Genkadda
  6586. end
  6587. ----------------------------------------------------
  6588. local LastCFr = nil
  6589. local Trails = Instance.new("Model",char)
  6590. local Trail = {}
  6591. local Tip = char.Genkadda.BladeTip --blocks[test]
  6592. local number = 0
  6593. local num2 = 1
  6594. -------VANISH
  6595. for i = 1, 10 do wait()
  6596. for i,v in pairs(char.Genkadda:GetChildren()) do
  6597. if v:IsA("Part") or v:IsA("WedgePart") then
  6598. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  6599. v.Transparency = v.Transparency + 0.1
  6600. end
  6601. end
  6602. end
  6603. end
  6604.  
  6605. ----------
  6606.  
  6607. --Vanish()
  6608. ----------APPEAR
  6609. for i = 1, 10 do wait()
  6610. for i,v in pairs(char.Genkadda:GetChildren()) do
  6611. if v:IsA("Part") or v:IsA("WedgePart") then
  6612. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  6613. v.Transparency = v.Transparency - 0.1
  6614. end
  6615. end
  6616. end
  6617. end
  6618. ---------------------
  6619. --Appear()
  6620. for i = 1, 30 do
  6621. colc = math.random(1,7)
  6622. eff2.CFrame = char.Torso.CFrame * CFrame.Angles(math.random(), math.random(), math.random())
  6623. eff2.BrickColor = Neonsc[colc]
  6624. eff2eff.Color = BrickColor.Random()
  6625. wait()
  6626. end
  6627.  
  6628. -------VANISH
  6629. for i = 1, 10 do wait()
  6630. for i,v in pairs(char.Genkadda:GetChildren()) do
  6631. if v:IsA("Part") or v:IsA("WedgePart") then
  6632. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  6633. v.Transparency = v.Transparency + 0.1
  6634. end
  6635. end
  6636. end
  6637. end
  6638.  
  6639. ----------
  6640. --Vanish()
  6641.  
  6642. eff2:Remove()
  6643. newMode = false
  6644. end
  6645.  
  6646.  
  6647. ---------------------------------
  6648.  
  6649. startBloxFX()
  6650.  
  6651. function Vanish()
  6652. for i = 1, 10 do wait()
  6653. for i,v in pairs(char.Genkadda:GetChildren()) do
  6654. if v:IsA("Part") or v:IsA("WedgePart") then
  6655. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  6656. v.Transparency = v.Transparency + 0.1
  6657. end
  6658. end
  6659. end
  6660. end
  6661. end
  6662. ----------------------------------------------------
  6663. function Appear()
  6664. for i = 1, 10 do wait()
  6665. for i,v in pairs(char.Genkadda:GetChildren()) do
  6666. if v:IsA("Part") or v:IsA("WedgePart") then
  6667. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  6668. v.Transparency = v.Transparency - 0.1
  6669. end
  6670. end
  6671. end
  6672. end
  6673. end
  6674. ---------------------------------
  6675. local clawPart1 = { }
  6676. Melee = true
  6677. mouse.KeyDown:connect(function(key)
  6678. if key == "m" then
  6679. if rainbowssl == false then
  6680. if Melee == false then
  6681. powerHand = true
  6682. rainbowHands = true
  6683. Melee = true
  6684. if sword2 ~= true then
  6685. Vanish()
  6686. else
  6687. sword2 = false
  6688. removeSword()
  6689. end
  6690. stanceToggle = "Melee"
  6691. rainbowHands = false
  6692. powerHand = false
  6693. elseif Melee == true then
  6694. powerHand = true
  6695. rainbowHands = true
  6696. Melee = false
  6697. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  6698. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  6699. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  6700. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  6701. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  6702. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  6703. Appear()
  6704. stanceToggle = "Normal"
  6705. rainbowHands = false
  6706. powerHand = false
  6707. end
  6708. elseif rainbowssl == true then
  6709. if Melee == false then
  6710. if myVars[5] == "normal" then
  6711. powerHand = true
  6712. rainbowHands = true
  6713. Melee = true
  6714. if clawPart1 == nil then
  6715. char.Humanoid.Health = 0
  6716. end
  6717. for i, v in ipairs(clawPart1) do
  6718. v:Destroy()
  6719. end
  6720.  
  6721. myVars[3] = "none"
  6722. wait(1)
  6723. stanceToggle = "Melee"
  6724. rainbowHands = false
  6725. powerHand = false
  6726. else
  6727. if myVars[5] == "ssl3" then
  6728. Melee = true
  6729. powerHand = true
  6730. rainbowHands = true
  6731. myVars[7] = false
  6732. ssl3Vanish()
  6733. print("ssl3vanish")
  6734. wait(1)
  6735. rainbowHands = false
  6736. powerHand = false
  6737. elseif myVars[5] == "ssl3_1" then
  6738. rainbowHands = true
  6739. ssl3Vanish()
  6740. myVars[5] = "ssl3"
  6741. print("ssl3vanish_1")
  6742. wait(1)
  6743. rainbowHands = false
  6744. end
  6745. end
  6746. elseif Melee == true then
  6747. if myVars[5] == "normal" then
  6748. powerHand = true
  6749. rainbowHands = true
  6750. Melee = false
  6751. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  6752. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  6753. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  6754. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  6755. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  6756. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  6757. makeClaw()
  6758. myVars[3] = "claw"
  6759. wait(1)
  6760. stanceToggle = "Normal"
  6761. rainbowHands = false
  6762. powerHand = false
  6763. else
  6764. powerHand = true
  6765. rainbowHands = true
  6766. Melee = false
  6767. ssl3Appear()
  6768. myVars[7] = true
  6769. print("ssl3Made")
  6770. wait(1)
  6771. rainbowHands = false
  6772. --equipHands()
  6773. powerHand = false
  6774. return true
  6775. end
  6776. end
  6777. end
  6778. end
  6779. end)
  6780. ----------------------------------------------------
  6781.  
  6782.  
  6783. mouse.KeyDown:connect(function(key)
  6784. if key == "u" then
  6785. if Melee == false then
  6786. if Debounces.CanAttack == true then
  6787. Debounces.CanAttack = false
  6788. Debounces.NoIdl = true
  6789. Debounces.on = true
  6790. if myVars[5] == "normal" then
  6791. swordPowerUp = true
  6792. blade1cor0.C0 = CFrame.new(-2, -5, -0.5) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  6793. blade1cor0.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  6794.  
  6795. for i = 1, 10 do
  6796. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(160),math.rad(20),math.rad(20)), 0.92)
  6797. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(160),math.rad(20),math.rad(20)), 0.92)
  6798. wait(0.5)
  6799. end
  6800. local eff3 = Instance.new("Part", char)
  6801. eff3.Size = Vector3.new(20, 20, 20)
  6802. eff3.Transparency = 0
  6803. eff3.Material = "Neon"
  6804. eff3.Anchored = true
  6805. eff3.CanCollide = false
  6806. eff3.Shape = "Ball"
  6807. eff3.CFrame = blade1Tip.CFrame
  6808. for i = 1, 40 do
  6809. eff3.Size = eff3.Size - Vector3.new(0.5, 0.5, 0.5)
  6810. eff3.CFrame = blade1Tip.CFrame * CFrame.Angles(math.random(), math.random(), math.random())
  6811. eff3.BrickColor = BrickColor.Random()
  6812. wait()
  6813. end
  6814. Vanish()
  6815. eff3:Remove()
  6816. blade1cor0.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(90))
  6817. blade1cor0.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  6818. upgradeSword()
  6819. sword2 = true
  6820. swordPowerUp = false
  6821. Debounces.CanAttack = true
  6822. Debounces.NoIdl = false
  6823. Debounces.on = false
  6824. elseif myVars[5] == "ssl3" then
  6825. powerHand = true
  6826. rainbowHands = true
  6827. Melee = true
  6828. --ssl3Vanish()
  6829. print("ssl3vanish")
  6830. wait(1)
  6831. rainbowHands = false
  6832. powerHand = false
  6833. myVars[5] = "ssl3_1"
  6834. myVars[7] = true
  6835. myVars[8] = 0
  6836. rainbowHands = true
  6837. Melee = false
  6838. sslBurst1()
  6839. print("ssl3Made")
  6840. wait(1)
  6841. rainbowHands = false
  6842. equipHands()
  6843. Debounces.CanAttack = true
  6844. Debounces.NoIdl = false
  6845. Debounces.on = false
  6846. end
  6847. end
  6848. end
  6849. end
  6850. end)
  6851. ----------------------------------------------------
  6852. local ballAtt = 0
  6853. mouse.KeyDown:connect(function(key)
  6854. if key == "g" then
  6855. if rainbowHands == true then
  6856. if Debounces.CanAttack == true then
  6857. Debounces.CanAttack = false
  6858. Debounces.NoIdl = true
  6859. Debounces.on = true
  6860. if ballAtt == 1 then
  6861. ballAtt = 2
  6862. elseif ballAtt == 2 then
  6863. ballAtt = 1
  6864. end
  6865. if ballAtt == 0 then
  6866. ballAtt = 1
  6867. end
  6868. local shell = Instance.new("Part",torso)
  6869. shell.BrickColor = Neonsc[colc]
  6870. shell.Anchored = true
  6871. shell.CanCollide = false
  6872. shell.Locked = true
  6873. shell.TopSurface = "SmoothNoOutlines"
  6874. shell.BottomSurface = "SmoothNoOutlines"
  6875. shell.Size = Vector3.new(1,1,1)
  6876. shellm = Instance.new("SpecialMesh",shell)
  6877. shellm.MeshType = "Sphere"
  6878. shellm.Scale = Vector3.new(1,1,1)
  6879. local shell2 = Instance.new("Part",torso)
  6880. shell2.BrickColor = Neonsc[colc]
  6881. shell2.Anchored = true
  6882. shell2.CanCollide = false
  6883. shell2.Locked = true
  6884. shell2.TopSurface = "SmoothNoOutlines"
  6885. shell2.BottomSurface = "SmoothNoOutlines"
  6886. shell2.Size = Vector3.new(1,1,1)
  6887. shellm2 = Instance.new("SpecialMesh",shell2)
  6888. shellm2.MeshType = "Sphere"
  6889. shellm2.Scale = Vector3.new(1,1,1)
  6890.  
  6891. function FindNearestTorso(Position,Distance,SinglePlayer)
  6892. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  6893. local List = {}
  6894. for i,v in pairs(workspace:GetChildren())do
  6895. if v:IsA("Model")then
  6896. if v:findFirstChild("Torso")then
  6897. if v ~= char then
  6898. if(v.Torso.Position -Position).magnitude <= Distance then
  6899. table.insert(List,v)
  6900. end
  6901. end
  6902. end
  6903. end
  6904. end
  6905. return List
  6906. end
  6907.  
  6908. Shell = function()
  6909. local X = Instance.new("Part",char)
  6910. local O = Instance.new("ObjectValue",X)
  6911. O.Name = "creator"
  6912. X.Locked = true
  6913. X.Name = "Shell"
  6914. X.Anchored = false
  6915. X.CanCollide = false
  6916. X.Transparency = 0
  6917. X.Reflectance = 100
  6918. X.BottomSurface = 0
  6919. X.TopSurface = 0
  6920. X.Shape = 0
  6921. local V = Instance.new("ObjectValue",X)
  6922. V.Value = char
  6923. V.Name = "creator"
  6924. X.BrickColor = Neonsc[colc]
  6925. X.Size = Vector3.new(1,1,1)
  6926. X.Material = "Neon"
  6927. local Z = Instance.new("SpecialMesh",X)
  6928. Z.MeshType = "Sphere"
  6929. Z.Scale = Vector3.new(1,1,1)
  6930. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  6931. local bv = Instance.new("BodyVelocity",X)
  6932. bv.maxForce = Vector3.new(99999,99999,99999)
  6933. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  6934. bv.velocity = root.CFrame.lookVector*65
  6935. Explode = X.Touched:connect(function(hit)
  6936. if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then
  6937. local cf = X.CFrame
  6938. bv:Destroy()
  6939. --if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") and hit:IsA("BasePart}") == false then
  6940. -- hit:Destroy()
  6941. --end
  6942. X.Anchored = true
  6943. Z:Remove()
  6944. Explode:disconnect()
  6945. X.Size = Vector3.new(3,3,3)
  6946. X.Touched:connect(function(hit) end)
  6947. X.CanCollide = false
  6948. for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do
  6949. if v:FindFirstChild('Humanoid') then
  6950. v.Humanoid:TakeDamage(1000)
  6951. end
  6952. end
  6953. for i = 1, (40) do rs:wait()
  6954. X.Transparency = X.Transparency + (1/40)
  6955. X.Size = X.Size + Vector3.new(1,1,1)
  6956. X.CFrame = cf
  6957. end
  6958. X:Destroy()
  6959. end
  6960. end)
  6961. end
  6962. if ballAtt == 1 then
  6963. Shell()
  6964. shell.Transparency = 0
  6965. shell2.Transparency = 1
  6966. for i = 1, 10 do
  6967. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  6968. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  6969. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  6970. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  6971. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  6972. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  6973. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  6974. if Debounces.on == false then break end
  6975. rs:wait()
  6976. end
  6977. shell.Transparency = 1
  6978. shell2.Transparency = 1
  6979. end
  6980. if ballAtt == 2 then
  6981. Shell()
  6982. shell.Transparency = 1
  6983. shell2.Transparency = 0
  6984. for i = 1, 10 do
  6985. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  6986. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  6987. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  6988. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  6989. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  6990. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  6991. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  6992. if Debounces.on == false then break end
  6993. rs:wait()
  6994. end
  6995. shell2.Transparency = 1
  6996. end
  6997. if Debounces.CanAttack == false then
  6998. Debounces.CanAttack = true
  6999. Debounces.NoIdl = false
  7000. Debounces.on = false
  7001. end
  7002. end
  7003. else
  7004. if myVars[3] == "claw" then
  7005. if Debounces.CanAttack == true then
  7006. Debounces.CanAttack = false
  7007. Debounces.NoIdl = true
  7008. Debounces.on = true
  7009. fistBomb()
  7010. Debounces.CanAttack = true
  7011. Debounces.NoIdl = false
  7012. Debounces.on = false
  7013. end
  7014. end
  7015. end
  7016. end
  7017. end)
  7018. function BlastEffect(brickcolor,cframe,x1,y1,z1,x2,y2,z2)
  7019. local prt=parto(3,workspace,"Neon",0.5,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7020. prt.Anchored=true
  7021. prt.CFrame = cframe
  7022. local msh=mesho("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  7023. coroutine.resume(coroutine.create(function()
  7024. for i=0,1,0.05 do
  7025. wait()
  7026. prt.Transparency=i
  7027. msh.Scale=msh.Scale+vt(x2,y2,z2)
  7028. end
  7029. prt.Parent=nil
  7030. end))
  7031. end
  7032.  
  7033. function fistBomb()
  7034. for i = 0,1,0.1 do
  7035. swait()
  7036. --torso.Weld.C0 = clerp(torso.Weld.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  7037. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
  7038. rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(0), math.rad(0)), 0.3)
  7039. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  7040. clawPart1[6].C0=clerp(clawPart1[6].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  7041. clawPart1[7].C0=clerp(clawPart1[7].C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  7042. clawPart1[8].C0=clerp(clawPart1[8].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  7043. clawPart1[9].C0=clerp(clawPart1[9].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  7044. clawPart1[10].C0=clerp(clawPart1[10].C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  7045. end
  7046. MagniDamageo(clawPart1[11],clawPart1[11],20,20,30,0,"Knockdown")
  7047. local hit,pos=rayCast(clawPart1[11].Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,char)
  7048. if hit~=nil then
  7049. print("test1")
  7050. local ref2=parto(3,workspace,"Neon",0,1,BrickColor.new("Black"),"Effect",vt())
  7051. print("test2")
  7052. ref2.Anchored=true
  7053. print("test3")
  7054. ref2.CFrame=cf(pos)
  7055. print("test4")
  7056. game:GetService("Debris"):AddItem(ref2,3)
  7057. print("test5")
  7058. for i=1,10 do
  7059. local Col=BrickColor.new("New Yeller")
  7060. local groundpart=parto(3,workspace,"Neon",0.5,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  7061. groundpart.Anchored=true
  7062. groundpart.CanCollide=false
  7063. groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  7064. game:GetService("Debris"):AddItem(groundpart,5)
  7065. end
  7066. BlastEffect(BrickColor.new("New Yeller"),cf(pos),1,1,1,.7,.7,.7)
  7067. MagicCircleo(BrickColor.new("New Yeller"),cf(pos),3,3,3,5,5,5,0.05)
  7068. MagniDamageo(ref2,ref2,10,10,20,math.random(10,20),"Knockdown")
  7069. end
  7070. for i = 0,1,0.1 do
  7071. swait()
  7072. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
  7073. rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(0)), 0.5)
  7074. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.3)
  7075. clawPart1[6].C0=clerp(clawPart1[6].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  7076. clawPart1[7].C0=clerp(clawPart1[7].C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  7077. clawPart1[8].C0=clerp(clawPart1[8].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  7078. clawPart1[9].C0=clerp(clawPart1[9].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  7079. clawPart1[10].C0=clerp(clawPart1[10].C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  7080. end
  7081. end
  7082.  
  7083.  
  7084. function modeChange()
  7085. colc = math.random(1,7)
  7086. local fx = Instance.new("Part",torso)
  7087. fx.Anchored = true
  7088. fx.Material = "Neon"
  7089. fx.CanCollide = false
  7090. fx.Locked = true
  7091. fx.Transparency = 1
  7092. fx.Material = "Neon"
  7093. fx.Size = Vector3.new(1,1,1)
  7094. fx.TopSurface = "SmoothNoOutlines"
  7095. fx.BottomSurface = "SmoothNoOutlines"
  7096. fx.BrickColor = Neonsc[colc]
  7097. fxm = Instance.new("SpecialMesh",fx)
  7098. fxm.MeshType = "Sphere"
  7099. fxm.Scale = Vector3.new(1,1,1)
  7100. for i = 1, 20 do rs:wait()
  7101. fx.BrickColor = Neonsc[colc]
  7102. fx.Transparency = fx.Transparency - (1/20)
  7103. fx.CFrame = torso.CFrame
  7104. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  7105. rs:wait()
  7106. end
  7107.  
  7108. for i = 1, 20 do rs:wait()
  7109. fx.BrickColor = Neonsc[colc]
  7110. fx.CFrame = torso.CFrame
  7111. end
  7112.  
  7113. if char.Hair == nil then
  7114. spawnHair()
  7115. end
  7116. for i,v in pairs(char:children()) do
  7117. if v == char.Hair then
  7118. v:Destroy()
  7119. break
  7120. end
  7121. end
  7122.  
  7123. if rainbowssl == true then
  7124. spawnHair()
  7125. else
  7126. local Hair = Instance.new("Part", char)
  7127. Hair.Name = "Hair"
  7128. Hair.Material = "Neon"
  7129. Hair.Size = Vector3.new(2, 0.8, 2.4)
  7130. Hold = Instance.new("Weld", char.Head)
  7131. Hold.Part0 = char.Head
  7132. Hold.Part1 = Hair
  7133. Hold.C0 = CFrame.new(-0.1, 0.8, 0)
  7134. local Mesh = Instance.new("SpecialMesh", Hair)
  7135. Mesh.MeshType = "FileMesh"
  7136. Mesh.Scale = Vector3.new(1.2, 1, 1)
  7137. Mesh.MeshId = ("http://www.roblox.com/asset/?id=145283773 ")
  7138. Mesh.TextureId = ("http://www.roblox.com/asset/?id=151460207")
  7139. end
  7140.  
  7141.  
  7142. for i = 1, 20 do rs:wait()
  7143. fx.BrickColor = Neonsc[colc]
  7144. fx.Transparency = fx.Transparency + (1/20)
  7145. fx.CFrame = torso.CFrame
  7146. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  7147. rs:wait()
  7148. end
  7149.  
  7150. end
  7151. ----------------------------------------------------
  7152. myVars[5] = "normal"
  7153. mouse.KeyDown:connect(function(key)
  7154. if key == "n" then
  7155. if rainbowssl == true then
  7156.  
  7157. if myVars[5] == "ssl3" then
  7158. myVars[5] = "Normal"
  7159. rainbowssl = false
  7160. newMode = true
  7161. if Debounces.CanAttack == false then
  7162. Debounces.CanAttack = true
  7163. Debounces.NoIdl = false
  7164. end
  7165. modeChange()
  7166. wait(1)
  7167. newMode = false
  7168. return true
  7169. else
  7170. if Debounces.CanAttack == true then
  7171. Debounces.CanAttack = false
  7172. Debounces.NoIdl = true
  7173. myVars[5] = "ssl3"
  7174. ssl3()
  7175. print(myVars[5])
  7176. Debounces.CanAttack = true
  7177. Debounces.NoIdl = false
  7178. return true
  7179. end
  7180. end
  7181. elseif rainbowssl == false then
  7182. if rainbowHands == true then
  7183. newMode = true
  7184. if Debounces.CanAttack == true then
  7185. Debounces.CanAttack = false
  7186. Debounces.NoIdl = true
  7187. end
  7188. wait(1)
  7189. rainbowssl = true
  7190. modeChange()
  7191. newMode = false
  7192. Debounces.CanAttack = true
  7193. Debounces.NoIdl = false
  7194. end
  7195. end
  7196. end
  7197. end)
  7198. -------------------------------
  7199.  
  7200.  
  7201. ------------------------------------------------------
  7202.  
  7203. Magik = function()
  7204. Spawn(function()
  7205. --if stanceToggle == "Normal" or stanceToggle == "Melee" then
  7206. local function lerp(a,b,c)
  7207. return a+(b-a)*c
  7208. end
  7209. local function rndRange(rng)
  7210. return math.random(-rng*1000,rng*1000)/1000
  7211. end
  7212. local magik = Instance.new("Part", larm)
  7213. local Colors = {"Royal purple", "Really black"}
  7214. magik.Anchored = true
  7215. magik.Locked = true
  7216. magik.FormFactor = "Custom"
  7217. magik.Size = Vector3.new(1.2, 1.2, 1.2)
  7218. magik.TopSurface = "Smooth"
  7219. magik.BottomSurface = "Smooth"
  7220. magik.Transparency = 0
  7221. magik.CanCollide = false
  7222. magik.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  7223. local mr = math.rad
  7224. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  7225. local cf = larm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  7226. magik.CFrame = cf
  7227. for i = 0, 1, .05 do
  7228. local newTrans = lerp(0.5, 1, i)
  7229. local ns = lerp(1,1.2,i)
  7230. magik.Transparency = newTrans
  7231. magik.Size = Vector3.new(ns,ns,ns)
  7232. magik.CFrame = cf
  7233. rs:wait()
  7234. end
  7235. magik:Destroy()
  7236. --elseif stanceToggle ~= "Normal" or stanceToggle ~= "Melee" then
  7237. --wait()
  7238. -- end
  7239. end)
  7240. end
  7241. ----------------------------------------------------
  7242. Magik2 = function()
  7243. Spawn(function()
  7244. --if stanceToggle == "Melee" then
  7245. local function lerp(a,b,c)
  7246. return a+(b-a)*c
  7247. end
  7248. local function rndRange(rng)
  7249. return math.random(-rng*1000,rng*1000)/1000
  7250. end
  7251. local magik2 = Instance.new("Part", rarm)
  7252. local Colors = {"Royal purple", "Really black"}
  7253. magik2.Anchored = true
  7254. magik2.Locked = true
  7255. magik2.FormFactor = "Custom"
  7256. magik2.Size = Vector3.new(1.2, 1.2, 1.2)
  7257. magik2.TopSurface = "Smooth"
  7258. magik2.BottomSurface = "Smooth"
  7259. magik2.Transparency = 0
  7260. magik2.CanCollide = false
  7261. magik2.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  7262. local mr = math.rad
  7263. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  7264. local cf = rarm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  7265. magik2.CFrame = cf
  7266. for i = 0, 1, .05 do
  7267. local newTrans = lerp(0.5, 1, i)
  7268. local ns = lerp(1,1.2,i)
  7269. magik2.Transparency = newTrans
  7270. magik2.Size = Vector3.new(ns,ns,ns)
  7271. magik2.CFrame = cf
  7272. rs:wait()
  7273. end
  7274. magik2:Destroy()
  7275. --elseif stanceToggle ~= "Melee" then
  7276. --wait()
  7277. --end
  7278. end)
  7279. end
  7280. ----------------------------------------------------
  7281. Magik3 = function()
  7282. Spawn(function()
  7283. --if stanceToggle == "Devil" then
  7284. local function lerp(a,b,c)
  7285. return a+(b-a)*c
  7286. end
  7287. local function rndRange(rng)
  7288. return math.random(-rng*1000,rng*1000)/1000
  7289. end
  7290. local magik3 = Instance.new("Part", rarm)
  7291. local Colors = {"Really red", "Really black"}
  7292. magik3.Anchored = true
  7293. magik3.Locked = true
  7294. magik3.FormFactor = "Custom"
  7295. magik3.Size = Vector3.new(1.2, 1.2, 1.2)
  7296. magik3.TopSurface = "Smooth"
  7297. magik3.BottomSurface = "Smooth"
  7298. magik3.Transparency = 0
  7299. magik3.CanCollide = false
  7300. magik3.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  7301. local mr = math.rad
  7302. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  7303. local cf = rarm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  7304. magik3.CFrame = cf
  7305. for i = 0, 1, .05 do
  7306. local newTrans = lerp(0.5, 1, i)
  7307. local ns = lerp(1,1.2,i)
  7308. magik3.Transparency = newTrans
  7309. magik3.Size = Vector3.new(ns,ns,ns)
  7310. magik3.CFrame = cf
  7311. rs:wait()
  7312. end
  7313. magik3:Destroy()
  7314. --elseif stanceToggle ~= "Devil" then
  7315. --wait()
  7316. --end
  7317. end)
  7318. end
  7319. ----------------------------------------------------
  7320. Magik4 = function()
  7321. Spawn(function()
  7322. --if stanceToggle == "Devil" then
  7323. local function lerp(a,b,c)
  7324. return a+(b-a)*c
  7325. end
  7326. local function rndRange(rng)
  7327. return math.random(-rng*1000,rng*1000)/1000
  7328. end
  7329. local magik4 = Instance.new("Part", larm)
  7330. local Colors = {"Really red", "Really black"}
  7331. magik4.Anchored = true
  7332. magik4.Locked = true
  7333. magik4.FormFactor = "Custom"
  7334. magik4.Size = Vector3.new(1.2, 1.2, 1.2)
  7335. magik4.TopSurface = "Smooth"
  7336. magik4.BottomSurface = "Smooth"
  7337. magik4.Transparency = 0
  7338. magik4.CanCollide = false
  7339. magik4.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  7340. local mr = math.rad
  7341. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  7342. local cf = larm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  7343. magik4.CFrame = cf
  7344. for i = 0, 1, .05 do
  7345. local newTrans = lerp(0.5, 1, i)
  7346. local ns = lerp(1,1.2,i)
  7347. magik4.Transparency = newTrans
  7348. magik4.Size = Vector3.new(ns,ns,ns)
  7349. magik4.CFrame = cf
  7350. rs:wait()
  7351. end
  7352. magik4:Destroy()
  7353. --elseif stanceToggle ~= "Devil" then
  7354. --wait()
  7355. --end
  7356. end)
  7357. end
  7358. ----------------------------------------------------
  7359. mouse.KeyDown:connect(function(key)
  7360. if key == "e" then
  7361. if Debounces.CanAttack == true then
  7362. Debounces.CanAttack = false
  7363. Debounces.on = true
  7364. Debounces.NoIdl = true
  7365. pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
  7366. z = Instance.new("Sound", rarm)
  7367. z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  7368. z.Volume = .6
  7369. z.Pitch = pt[math.random(1,#pt)]
  7370. z.Looped = false
  7371. z:Play()
  7372. Debounces.RPunch = true
  7373. Debounces.LPunch = true
  7374. Debounces.ks = true
  7375. Debounces.ks2 = true
  7376. for i = 1, 3 do
  7377. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  7378. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  7379. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  7380. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  7381. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  7382. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  7383. if Debounces.on == false then break end
  7384. wait()
  7385. end
  7386. z2 = Instance.new("Sound", larm)
  7387. z2.SoundId = "http://www.roblox.com/asset/?id=206083107"
  7388. z2.Volume = .6
  7389. z2.Pitch = pt[math.random(1,#pt)]
  7390. z2.Looped = false
  7391. z2:Play()
  7392. for i = 1, 3 do
  7393. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  7394. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  7395. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  7396. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  7397. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  7398. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  7399. if Debounces.on == false then break end
  7400. wait()
  7401. end
  7402. z3 = Instance.new("Sound", rarm)
  7403. z3.SoundId = "http://www.roblox.com/asset/?id=206083107"
  7404. z3.Volume = 0.6
  7405. z3.Pitch = pt[math.random(1,#pt)]
  7406. z3.Looped = false
  7407. z3:Play()
  7408. for i = 1, 3 do
  7409. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  7410. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  7411. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  7412. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  7413. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  7414. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  7415. if Debounces.on == false then break end
  7416. wait()
  7417. end
  7418. z4 = Instance.new("Sound", larm)
  7419. z4.SoundId = "http://www.roblox.com/asset/?id=206083107"
  7420. z4.Volume = .6
  7421. z4.Pitch = pt[math.random(1,#pt)]
  7422. z4.Looped = false
  7423. z4:Play()
  7424. for i = 1, 3 do
  7425. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  7426. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  7427. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  7428. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  7429. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  7430. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  7431. if Debounces.on == false then break end
  7432. wait()
  7433. end
  7434. z5 = Instance.new("Sound", rarm)
  7435. z5.SoundId = "http://www.roblox.com/asset/?id=206083107"
  7436. z5.Volume = .6
  7437. z5.Pitch = pt[math.random(1,#pt)]
  7438. z5.Looped = false
  7439. z5:Play()
  7440. for i = 1, 3 do
  7441. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  7442. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  7443. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  7444. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  7445. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  7446. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  7447. if Debounces.on == false then break end
  7448. wait()
  7449. end
  7450. z6 = Instance.new("Sound", larm)
  7451. z6.SoundId = "http://www.roblox.com/asset/?id=206083107"
  7452. z6.Volume = .6
  7453. z6.Pitch = pt[math.random(1,#pt)]
  7454. z6.Looped = false
  7455. z6:Play()
  7456. for i = 1, 3 do
  7457. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  7458. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  7459. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  7460. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  7461. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  7462. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  7463. if Debounces.on == false then break end
  7464. wait()
  7465. end
  7466. z7 = Instance.new("Sound", rarm)
  7467. z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  7468. z7.Volume = .6
  7469. z7.Pitch = pt[math.random(1,#pt)]
  7470. z7.Looped = false
  7471. z7:Play()
  7472. for i = 1, 3 do
  7473. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  7474. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  7475. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  7476. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  7477. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  7478. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  7479. if Debounces.on == false then break end
  7480. wait()
  7481. end
  7482. z8 = Instance.new("Sound", larm)
  7483. z8.SoundId = "http://www.roblox.com/asset/?id=206083107"
  7484. z8.Volume = .6
  7485. z8.Pitch = pt[math.random(1,#pt)]
  7486. z8.Looped = false
  7487. z8:Play()
  7488. for i = 1, 3 do
  7489. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  7490. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  7491. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  7492. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  7493. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  7494. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  7495. if Debounces.on == false then break end
  7496. wait()
  7497. end
  7498. z9 = Instance.new("Sound", rarm)
  7499. z9.SoundId = "http://www.roblox.com/asset/?id=206083107"
  7500. z9.Volume = 0.6
  7501. z9.Pitch = pt[math.random(1,#pt)]
  7502. z9.Looped = false
  7503. z9:Play()
  7504. for i = 1, 3 do
  7505. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  7506. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  7507. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  7508. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  7509. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  7510. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  7511. if Debounces.on == false then break end
  7512. wait()
  7513. end
  7514. z10 = Instance.new("Sound", larm)
  7515. z10.SoundId = "http://www.roblox.com/asset/?id=206083107"
  7516. z10.Volume = .6
  7517. z10.Pitch = pt[math.random(1,#pt)]
  7518. z10.Looped = false
  7519. z10:Play()
  7520. for i = 1, 3 do
  7521. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  7522. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  7523. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  7524. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  7525. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  7526. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  7527. if Debounces.on == false then break end
  7528. wait()
  7529. end
  7530. z:Destroy()
  7531. z2:Destroy()
  7532. z3:Destroy()
  7533. z4:Destroy()
  7534. z5:Destroy()
  7535. z6:Destroy()
  7536. z7:Destroy()
  7537. z8:Destroy()
  7538. z9:Destroy()
  7539. z10:Destroy()
  7540. Debounces.LPunch = false
  7541. Debounces.RPunch = false
  7542. Debounces.ks = false
  7543. Debounces.ks2 = false
  7544. if Debounces.CanAttack == false then
  7545. Debounces.CanAttack = true
  7546. Debounces.on = false
  7547. Debounces.NoIdl = false
  7548. end
  7549. end
  7550. end
  7551. end)
  7552. -------------------------------
  7553.  
  7554.  
  7555. do2 = function()
  7556. local sbref1 = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  7557. local sbrwld1 = weld(sbref1, sbref1, LeftArm, cf(0, 1, 0))
  7558. local sbref2 = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  7559. local sbrwld2 = weld(sbref2, sbref2, RightArm, cf(0, 1, 0))
  7560. local da1 = lparti1:Clone()
  7561. local da2 = lparti1:Clone()
  7562. da1.Parent = sbref1
  7563. da2.Parent = sbref2
  7564. da1.Enabled = true
  7565. da2.Enabled = true
  7566. d0arm[1] = da1
  7567. d0arm[2] = da2
  7568.  
  7569.  
  7570. end
  7571.  
  7572.  
  7573. function makeClaw()
  7574. local m = Instance.new("Model",char)
  7575. m.Name = "WeaponModel"
  7576. ------------------------------------------------------
  7577.  
  7578. function NoOutlineo(Part)
  7579. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  7580. end
  7581.  
  7582. function swaito(num)
  7583. if num==0 or num==nil then
  7584. game:service'RunService'.Heartbeat:wait(0)
  7585. else
  7586. for i=0,num do
  7587. game:service'RunService'.Heartbeat:wait(0)
  7588. end
  7589. end
  7590. end
  7591.  
  7592. function nooutlineo(part)
  7593. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  7594. end
  7595.  
  7596. function partio(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  7597. local fp=it("Part")
  7598. fp.formFactor=formfactor
  7599. fp.Parent=parent
  7600. fp.Reflectance=reflectance
  7601. fp.Transparency=transparency
  7602. fp.CanCollide=false
  7603. fp.Locked=true
  7604. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  7605. fp.Name=name
  7606. fp.Size=size
  7607. fp.Position=Character.Torso.Position
  7608. nooutlineo(fp)
  7609. fp.Material=material
  7610. fp:BreakJoints()
  7611. return fp
  7612. end
  7613.  
  7614. function mesho(Mesh,part,meshtype,meshid,offset,scale)
  7615. local mesh=it(Mesh)
  7616. mesh.Parent=part
  7617. if Mesh=="SpecialMesh" then
  7618. mesh.MeshType=meshtype
  7619. mesh.MeshId=meshid
  7620. end
  7621. mesh.Offset=offset
  7622. mesh.Scale=scale
  7623. return mesh
  7624. end
  7625.  
  7626. function weldio(parent,part0,part1,c0,c1)
  7627. local weld=it("Weld")
  7628. weld.Parent=parent
  7629. weld.Part0=part0
  7630. weld.Part1=part1
  7631. weld.C0=c0
  7632. weld.C1=c1
  7633. return weld
  7634. end
  7635.  
  7636.  
  7637. local function CFrameFromTopBack(at, top, back)
  7638. local right = top:Cross(back)
  7639. return CFrame.new(at.x, at.y, at.z,
  7640. right.x, top.x, back.x,
  7641. right.y, top.y, back.y,
  7642. right.z, top.z, back.z)
  7643. end
  7644.  
  7645.  
  7646. Handle0=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Handle0",Vector3.new(1, 0.800000012, 1))
  7647.  
  7648. Handle0weld=weldio(m,rarm,Handle0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-8.96453857e-005, 0.000481128693, -1.83582306e-005, 1, 1.92410751e-014, -4.42007258e-005, -1.93349195e-014, 0.999999881, -2.12312026e-012, 4.42007258e-005, 2.12312091e-012, 1))
  7649. Hitbox=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Hitbox",Vector3.new(1.60000002, 3.4000001, 1))
  7650. Hitboxweld=weldio(m,Handle0,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300050735, 0.100232601, 3.57627869e-007, 1, 1.06558363e-014, -4.67116479e-009, -1.06558363e-014, 1, -7.35089073e-017, 4.67116479e-009, 7.35089073e-017, 1))
  7651. Part1=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1, 0.200000003, 1))
  7652. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(8.20159912e-005, 1.10002291, 1.57356262e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254525e-014, 0.999996662, -2.14035647e-012, -4.41999473e-005, 2.14036427e-012, 1))
  7653. Part2=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  7654. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, -0.699694633, 0.410015702, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  7655. Part3=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  7656. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, -0.699361324, -0.40998435, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
  7657. Part4=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.800000012, 0.620000005))
  7658. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409914017, 0.000346660614, 1.57356262e-005, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  7659. Part5=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  7660. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409914017, 0.700180769, 1.57356262e-005, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  7661. Part6=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.800000012, 0.200000003))
  7662. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.000400543213, 0.410015702, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  7663. Part7=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.800000012, 0.620000005))
  7664. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410078049, 0.000326633453, 1.57356262e-005, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  7665. Part8=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.800000012, 0.200000003))
  7666. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.000392436981, -0.40998435, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  7667. Part9=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  7668. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.700207949, 0.410015702, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  7669. Part10=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  7670. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410078049, -0.699380398, 1.56164169e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
  7671. Part11=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  7672. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.4100914, 0.700154781, 1.57356262e-005, 1, -1.93349195e-014, 4.42007258e-005, 1.92409124e-014, 0.999991417, 2.12310291e-012, -4.42007258e-005, -2.12312026e-012, 1))
  7673. Part12=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  7674. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.700230837, -0.40998435, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  7675. Part13=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 2, 1))
  7676. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699924469, 4.14848328e-005, 2.16960907e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
  7677. Part14=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1, 1.39999998, 0.200000003))
  7678. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.57356262e-005, -0.299851894, 0.999885559, -4.41999473e-005, -5.95854743e-008, 1, -2.60350986e-012, 1, 5.95854743e-008, -1, 3.01648321e-014, -4.41999473e-005))
  7679. --mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  7680. Part15=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1, 0.600000024, 0.200000003))
  7681. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.57356262e-005, -0.700007677, 0.999902725, 4.41999473e-005, -2.13950775e-012, -1, -2.65373322e-014, -1, 2.13950667e-012, -1, 2.64427677e-014, -4.41999473e-005))
  7682. --mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  7683. Part16=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 1.39999998, 0.399999976))
  7684. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.848457336, -0.300411701, -0.141453743, 0.707042813, -1.50516166e-012, -0.707170904, 1.1783393e-014, 1, -2.11664583e-012, 0.707170904, 1.48822632e-012, 0.707042813))
  7685. Part17=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  7686. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.6998806, -0.499980569, -0.399654627, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
  7687. --mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.404000014, 0.400000006, 0.995999992))
  7688. Part18=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  7689. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699882507, 0.500019133, 1.00034523, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
  7690. --mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.404000014, 0.400000006, 0.560000002))
  7691. Part19=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  7692. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699882507, 0.500019133, -0.399654627, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
  7693. --mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.404000014, 0.400000006, 0.995999992))
  7694. Part20=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  7695. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409921646, -0.699380398, 1.57356262e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
  7696. Part21=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1, 0.200000003, 0.400000006))
  7697. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.56164169e-005, -1.10002637, 0.699918747, 4.41999473e-005, -2.14036427e-012, -1, -1.23254932e-014, -1, 2.14036362e-012, -1, 1.22308889e-014, -4.41999473e-005))
  7698. --mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  7699. Part22=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1, 0.200000003, 0.200000003))
  7700. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.16960907e-005, -0.599924088, 1.49999762, 4.41999473e-005, -2.14036427e-012, -1, 1, -1.22308889e-014, 4.41999473e-005, -1.23254932e-014, -1, 2.14036362e-012))
  7701. --mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  7702. Part23=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 1.39999998, 0.399999976))
  7703. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.141283035, -0.300261259, -0.848459244, 0.707067847, -1.51049073e-012, -0.70714587, 1.20093924e-014, 1, -2.12403055e-012, 0.70714587, 1.49334115e-012, 0.707067847))
  7704. Part24=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  7705. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.6998806, -0.499980569, 1.00034523, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
  7706. --mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.403999984, 0.399999976, 0.560000002))
  7707. Part25=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1, 0.200000003, 0.400000006))
  7708. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.16960907e-005, -0.79992485, 1.19999647, 4.41999473e-005, -2.14036427e-012, -1, 0.999999821, 2.980231e-008, 4.419994e-005, 2.980231e-008, -0.999999821, 3.45762416e-012))
  7709.  
  7710. --mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  7711. Part26=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.400000006, 1))
  7712. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599924088, -1.19995832, 2.16960907e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
  7713. Finger1Connector=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Finger1Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  7714. Finger1Connectorweld=weldio(m,Handle0,Finger1Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.399971008, 1.29990399, 0.200015664, 1, 1.78782017e-007, 4.41999473e-005, -1.7878321e-007, 0.999993324, -1.00110302e-011, -4.41999473e-005, 2.10883698e-012, 1))
  7715. Finger2Connector=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Finger2Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  7716. Finger2Connectorweld=weldio(m,Handle0,Finger2Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399934769, 1.29982674, 0.400015712, 1, 2.97982776e-008, 4.41999473e-005, -2.97984766e-008, 0.999993324, -3.43642345e-012, -4.41999473e-005, 2.11934723e-012, 1))
  7717. Finger3Connector=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Finger3Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  7718. Finger3Connectorweld=weldio(m,Handle0,Finger3Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399934769, 1.29971194, 0.140015721, 1, 8.93768473e-008, 4.421228e-005, -8.93774441e-008, 0.999993324, -1.82566007e-012, -4.421228e-005, -2.12587717e-012, 1))
  7719. Finger4Connector=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Finger4Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  7720. Finger4Connectorweld=weldio(m,Handle0,Finger4Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399930954, 1.29973722, -0.119984269, 1, 8.93806842e-008, 4.421228e-005, -8.9381281e-008, 0.999993324, -1.82601091e-012, -4.421228e-005, -2.12569589e-012, 1))
  7721. Finger5Connector=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Finger5Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  7722. colc = math.random(1,7)
  7723. Finger5Connectorweld=weldio(m,Handle0,Finger5Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399984121, -1.29981911, -0.399932861, -4.41701486e-005, 5.95858012e-008, 1, 4.58027785e-008, -0.999993324, 5.95882241e-008, 1, 4.58051019e-008, 4.41701486e-005))
  7724. Finger1=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,Neonsc[colc],"Finger1",Vector3.new(0.200000003, 0.400000006, 0.200000003))
  7725. colc = math.random(1,7)
  7726. Finger1weld=weldio(m,Finger1Connector,Finger1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.10351563e-005, 0.100007057, 0, 1, 2.06483719e-011, -5.55111512e-017, -2.54232191e-011, 0.999986649, 4.50594423e-016, 5.55111512e-017, -4.49727061e-016, 1))
  7727. Finger2=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,Neonsc[colc],"Finger2",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  7728. colc = math.random(1,7)
  7729. Finger2weld=weldio(m,Finger2Connector,Finger2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.199999213, 1.1920929e-007, 1, 8.77520279e-013, 0, -1.67332814e-012, 0.999986649, 1.50920942e-016, 0, -1.50053581e-016, 1))
  7730. Finger3=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,Neonsc[colc],"Finger3",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  7731. colc = math.random(1,7)
  7732. Finger3weld=weldio(m,Finger3Connector,Finger3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.200001121, 1.1920929e-007, 1, 2.64321898e-012, -4.35207426e-013, -5.03064257e-012, 0.999986649, -1.23739232e-016, 4.35207426e-013, 2.38535383e-016, 1))
  7733. Finger4=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,Neonsc[colc],"Finger4",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  7734. colc = math.random(1,7)
  7735. Finger4weld=weldio(m,Finger4Connector,Finger4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.199998736, 1.1920929e-007, 1, 2.64321898e-012, -4.35207426e-013, -5.03064257e-012, 0.999986649, -1.23732138e-016, 4.35207426e-013, 2.38539513e-016, 1))
  7736. Finger5=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,Neonsc[colc],"Finger5",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  7737. colc = math.random(1,7)
  7738. Finger5weld=weldio(m,Finger5Connector,Finger5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.38418579e-007, -0.199927688, 9.53674316e-006, 1, -3.86535248e-012, -7.77482967e-010, 5.45696821e-012, 0.999986649, -1.35540613e-012, 7.77477638e-010, 2.57749442e-012, 1))
  7739. colc = math.random(1,7)
  7740. ------------------------------------------------
  7741. Handle0.Transparency=1
  7742. Part1.Transparency=1 --1
  7743. Part2.Transparency=1 --2
  7744. Part3.Transparency=1 --3
  7745. Part4.Transparency=1 --4
  7746. Part5.Transparency=1 --5
  7747. Part6.Transparency=1 --6
  7748. Part7.Transparency=1
  7749. Part8.Transparency=1
  7750. Part9.Transparency=1
  7751. Part10.Transparency=1
  7752. Part11.Transparency=1 --11
  7753. Part12.Transparency=1
  7754. Part13.Transparency=1
  7755. Part14.Transparency=1
  7756. Part15.Transparency=1
  7757. Part16.Transparency=1
  7758. Part17.Transparency=1
  7759. Part18.Transparency=1
  7760. Part19.Transparency=1
  7761. Part20.Transparency=1
  7762. Part21.Transparency=1
  7763. Part22.Transparency=1
  7764. Part23.Transparency=1
  7765. Part24.Transparency=1
  7766. Part25.Transparency=1
  7767. Part26.Transparency=1 --25
  7768. Finger1Connector.Transparency=1
  7769. Finger2Connector.Transparency=1
  7770. Finger3Connector.Transparency=1
  7771. Finger4Connector.Transparency=1
  7772. Finger5Connector.Transparency=1
  7773. Hitbox.Transparency=1
  7774. clawPart1[1] = Finger1
  7775. clawPart1[2] = Finger2
  7776. clawPart1[3] = Finger3
  7777. clawPart1[4] = Finger4
  7778. clawPart1[5] = Finger5
  7779. clawPart1[6] = Finger1weld
  7780. clawPart1[7] = Finger2weld
  7781. clawPart1[8] = Finger3weld
  7782. clawPart1[9] = Finger4weld
  7783. clawPart1[10] = Finger5weld
  7784. clawPart1[11] = Hitbox
  7785. end
  7786.  
  7787. function bird()
  7788. for i = 0,1,0.1 do
  7789. swait()
  7790. rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-130), math.rad(-170)), 0.3)
  7791. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3)
  7792. clawPart1[6].C0=clerp(clawPart1[6].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  7793. clawPart1[7].C0=clerp(clawPart1[7].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  7794. clawPart1[8].C0=clerp(clawPart1[8].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  7795. clawPart1[9].C0=clerp(clawPart1[9].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  7796. clawPart1[10].C0=clerp(clawPart1[10].C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  7797. end
  7798. for i = 0,1,0.01 do
  7799. swait()
  7800. rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-130), math.rad(-150)), 0.3)
  7801. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3)
  7802. clawPart1[6].C0=clerp(clawPart1[6].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  7803. clawPart1[7].C0=clerp(clawPart1[7].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  7804. clawPart1[8].C0=clerp(clawPart1[8].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  7805. clawPart1[9].C0=clerp(clawPart1[9].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  7806. clawPart1[10].C0=clerp(clawPart1[10].C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  7807. end
  7808.  
  7809.  
  7810. clawPart1[6].C0=clerp(clawPart1[6].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  7811. clawPart1[7].C0=clerp(clawPart1[7].C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  7812. clawPart1[8].C0=clerp(clawPart1[8].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  7813. clawPart1[9].C0=clerp(clawPart1[9].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  7814. clawPart1[10].C0=clerp(clawPart1[10].C0,cf(0,-0.1,0)*angles(math.rad(-50),math.rad(0),math.rad(0)),.3)
  7815. end
  7816. --------------------------------
  7817. equipanim = function()
  7818.  
  7819. local colin = 1
  7820. local colnumer = 0
  7821. for i = 0, 1, 0.1 do
  7822. swait()
  7823. colnumer = colnumer + 1
  7824.  
  7825. if #Neonsc - 1 < colin and (colnumer) % 2 == 0 then
  7826. colin = 1
  7827. end
  7828.  
  7829. if (colnumer) % 2 == 0 then
  7830. colin = colin + 1
  7831. end
  7832.  
  7833. MagicBlock2(Neonsc[colin], LeftArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  7834. MagicBlock2(Neonsc[colin], RightArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  7835.  
  7836. rarm.Weld.C0 = clerp(rarm.Weld.C0, cf(1.2, 0.7, 0.4) * euler(2.9, 0, 0) * euler(0, 0, 0.5) * euler(0, 1.5, 0), 0.25)
  7837. larm.Weld.C0 = clerp(larm.Weld.C0, cf(-1.2, 0.7, -0.4) * euler(2.9, 0, 0) * euler(0, 0, -0.5) * euler(0, -1.5, 0), 0.25)
  7838.  
  7839. end
  7840. --colc = math.random(1,7)
  7841. MagicCircleo(Neonsc[colin], LeftArm.CFrame * cf(0, -1, 0), 10, 10, 10, 4, 4, 4, 0.1, 1)
  7842. --colc = math.random(1,7)
  7843. MagicCircleo(Neonsc[colin], RightArm.CFrame * cf(0, -1, 0), 10, 10, 10, 4, 4, 4, 0.1, 1)
  7844.  
  7845.  
  7846. end
  7847. ----------------------------------
  7848. function GetParts(obj)
  7849. for i, v in pairs(obj:GetChildren())do
  7850. if ( v:IsA'BasePart' ) then
  7851. if v.Name ~= "Trail" then
  7852. Instance.new("ForceField", v);
  7853. end
  7854. end
  7855. GetParts(v);
  7856. end
  7857. end
  7858.  
  7859. GetParts(char);
  7860. ----------------------------------------------------
  7861.  
  7862.  
  7863. ----------------------------------------------------
  7864. p13.Touched:connect(function(ht)
  7865. hit = ht.Parent
  7866. if ht and hit:IsA("Model") then
  7867. if hit:FindFirstChild("Humanoid") then
  7868. if hit.Name ~= p.Name then
  7869. if slashing == true then
  7870. hit:FindFirstChild("Humanoid"):TakeDamage(1000)
  7871. wait(.3)
  7872. end
  7873. end
  7874. end
  7875. elseif ht and hit:IsA("Hat") then
  7876. if hit.Parent.Name ~= p.Name then
  7877. if hit.Parent:FindFirstChild("Humanoid") then
  7878. if slashing == true then
  7879. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(1000)
  7880. wait(.3)
  7881. end
  7882. end
  7883. end
  7884. end
  7885. end)
  7886. ----------------------------------------------------
  7887. mouse.KeyDown:connect(function(key)
  7888. if string.byte(key) == 52 then
  7889. char.Humanoid.WalkSpeed = 60
  7890. end
  7891. end)
  7892. mouse.KeyUp:connect(function(key)
  7893. if string.byte(key) == 52 then
  7894. char.Humanoid.WalkSpeed = 8
  7895. end
  7896. end)
  7897. -------------------------------
  7898. local animpose = "Idle"
  7899. local lastanimpose = "Idle"
  7900. local grab = false
  7901. local sine = 0
  7902. local change = 1
  7903. local val = 0
  7904. local ffing = false
  7905. -------------------------------
  7906. game:GetService("RunService").RenderStepped:connect(function()
  7907. --[[if char.Humanoid.Jump == true then
  7908. jump = true
  7909. else
  7910. jump = false
  7911. end]]
  7912. char.Humanoid.FreeFalling:connect(function(f)
  7913. if f then
  7914. ffing = true
  7915. else
  7916. ffing = false
  7917. end
  7918. end)
  7919. sine = sine + change
  7920. if jumpn == true then
  7921. animpose = "Jumping"
  7922. elseif ffing == true then
  7923. animpose = "Freefalling"
  7924. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  7925. animpose = "Idle"
  7926. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  7927. animpose = "Walking"
  7928. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  7929. animpose = "Running"
  7930. end
  7931. if animpose ~= lastanimpose then
  7932. sine = 0
  7933. if Debounces.NoIdl == false then
  7934. if animpose == "Idle" then
  7935. for i = 1, 2 do
  7936.  
  7937. if myVars[5] ~= "ssl3_1" then
  7938. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4)
  7939. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4)
  7940. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  7941. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  7942. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  7943. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  7944. if myVars[3] ~= nil then
  7945. if myVars[3] == "claw" then
  7946.  
  7947.  
  7948. clawPart1[6].C0=clerp(clawPart1[6].C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  7949. clawPart1[7].C0=clerp(clawPart1[7].C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  7950. clawPart1[8].C0=clerp(clawPart1[8].C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  7951. clawPart1[9].C0=clerp(clawPart1[9].C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  7952. clawPart1[10].C0=clerp(clawPart1[10].C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  7953. end
  7954. end
  7955. else
  7956. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  7957. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-40), math.rad(-20),math.rad(40)), 0.2)
  7958. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  7959. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-0.4,0,-0.2),.3)
  7960. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  7961. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  7962. end
  7963. end
  7964. elseif animpose == "Walking" then
  7965. for i = 1, 2 do
  7966. if myVars[5] ~= "ssl3_1" then
  7967. if Melee == false then
  7968. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(20), math.rad(-20),math.rad(40)), 0.2)
  7969. else
  7970. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
  7971. end
  7972. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6, -math.sin(sine/8)/2.8)*CFrame.Angles(math.sin(sine/8)/4, -math.sin(sine/8)/2, math.rad(-10)), 0.2)
  7973. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
  7974. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2)
  7975. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
  7976. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
  7977. else
  7978. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-40), math.rad(-30),math.rad(40)), 0.2)
  7979. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6, -math.sin(sine/8)/2.8)*CFrame.Angles(math.sin(sine/8)/4, -math.sin(sine/8)/2, math.rad(-10)), 0.2)
  7980. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
  7981. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2)
  7982. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
  7983. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
  7984. end
  7985. end
  7986. elseif animpose == "Running" then
  7987. for i = 1, 2 do
  7988. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-14),math.rad(8+2*math.cos(sine/14))), 0.2)
  7989. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(14),math.rad(-8-2*math.cos(sine/14))), 0.2)
  7990. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4)
  7991. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4)
  7992. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4)
  7993. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4)
  7994. wait()
  7995. end
  7996. end
  7997. if stanceToggle == "Grabbed" then
  7998. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2)
  7999. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(-30)), 0.3)
  8000. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
  8001. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2)
  8002. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
  8003. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
  8004. end
  8005. else
  8006. end
  8007. end
  8008. lastanimpose = animpose
  8009. if Debounces.NoIdl == false then
  8010. if animpose == "Idle" then
  8011. if myVars[5] ~= "ssl3_1" then
  8012. change = 0.5
  8013. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8+2*math.cos(sine/14))), 0.4)
  8014. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8-2*math.cos(sine/14))), 0.4)
  8015. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  8016. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
  8017. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  8018. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  8019.  
  8020. else
  8021. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-40), math.rad(-20),math.rad(40)), 0.2)
  8022. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8-2*math.cos(sine/14))), 0.4)
  8023. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  8024. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
  8025. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  8026. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  8027. end
  8028. elseif animpose == "Walking" then
  8029. change = 1
  8030. if myVars[5] ~= "ssl3_1" then
  8031. if Melee == false then
  8032. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(20), math.rad(-20),math.rad(40)), 0.2)
  8033. else
  8034. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
  8035. end
  8036. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6, -math.sin(sine/8)/2.8)*CFrame.Angles(math.sin(sine/8)/4, -math.sin(sine/8)/2, math.rad(-10)), 0.2)
  8037. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
  8038. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2)
  8039. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
  8040. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
  8041. else
  8042. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-40), math.rad(-30),math.rad(40)), 0.2)
  8043. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6, -math.sin(sine/8)/2.8)*CFrame.Angles(math.sin(sine/8)/4, -math.sin(sine/8)/2, math.rad(-10)), 0.2)
  8044. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
  8045. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2)
  8046. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
  8047. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
  8048. end
  8049. elseif animpose == "Running" then
  8050. change = 1
  8051. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(-30+2*math.cos(sine/14))), 0.2)
  8052. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2)
  8053. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
  8054. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2)
  8055. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4)
  8056. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4)
  8057. end
  8058. end
  8059. end)
  8060.  
  8061. hum.MaxHealth = 9001
  8062. wait(3)
  8063. hum.Health = 9001
  8064. local Neonlist = {"Bright red", "Bright orange", "Bright yellow", "Bright green", "Bright blue", "Royal purple", "Bright violet"}
  8065.  
  8066. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  8067. --[[Part0 = Vector3 (Start pos)
  8068. Part1 = Vector3 (End pos)
  8069. Times = number (Amount of lightning parts)
  8070. Offset = number (Offset)
  8071. Color = color (brickcolor value)
  8072. Thickness = number (thickness)
  8073. Trans = number (transparency)
  8074. ]]--
  8075. local magz = (Part0 - Part1).magnitude
  8076. local curpos = Part0
  8077. local trz = {-Offset,Offset}
  8078. for i=1,Times do
  8079. local li = Instance.new("Part", torso)
  8080. li.Name = "Lightning"
  8081. li.TopSurface =0
  8082. li.Material = "Neon"
  8083. li.BottomSurface = 0
  8084. li.Anchored = true
  8085. li.Locked = true
  8086. li.Transparency = Trans or 0.4
  8087. li.BrickColor = BrickColor.new(Color)
  8088. li.formFactor = "Custom"
  8089. li.CanCollide = false
  8090. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  8091. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  8092. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  8093. if Times == i then
  8094. local magz2 = (curpos - Part1).magnitude
  8095. li.Size = Vector3.new(Thickness,Thickness,magz2)
  8096. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  8097. else
  8098. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  8099. end
  8100. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  8101. game.Debris:AddItem(li,.1)
  8102. end
  8103. end
  8104.  
  8105. BodyParts = {} -- Parts to emit lightning effects from
  8106. for _, v in pairs(char:GetChildren()) do
  8107. if v:IsA("Part") then
  8108. table.insert(BodyParts, v)
  8109. end
  8110. end
  8111.  
  8112. Bounding = {} -- Calculate the bounding boxes
  8113. for _, v in pairs(BodyParts) do
  8114. local temp = {X=nil, Y=nil, Z=nil}
  8115. temp.X = v.Size.X/2 * 10
  8116. temp.Y = v.Size.Y/2 * 10
  8117. temp.Z = v.Size.Z/2 * 10
  8118. Bounding[v.Name] = temp
  8119. --table.insert(Bounding, v.Name, temp)
  8120. end
  8121.  
  8122.  
  8123.  
  8124.  
  8125. print("Bloxxy loaded.")
  8126. local mananum = 0
  8127. local donum = 0
  8128. local stunnum = 0
  8129. local staggeranim = false
  8130. local stunanim = false
  8131. local walk = 0
  8132. local walkforw = true
  8133. local fnum = 0
  8134. local domodel = false
  8135. local gef = 10
  8136. local col = 1
  8137. local colnum = 0
  8138. while true do
  8139. swait()
  8140.  
  8141. colnum = colnum + 1
  8142. if #Neons - 1 < col and (colnum) % 2 == 0 then
  8143. col = 1
  8144. end
  8145. if (colnum) % 2 == 0 then
  8146. col = col + 1
  8147. end
  8148. if Humanoid.Health <= 0 then
  8149. attack = true
  8150. resumeControl()
  8151. modelzorz.Parent = workspace
  8152. model2.Parent = workspace
  8153. game:GetService("Debris"):AddItem(modelzorz, 30)
  8154. game:GetService("Debris"):AddItem(model2, 30)
  8155. if domodel == false then
  8156. domodel = true
  8157. for i = 1, #Weapon do
  8158. Weapon[i].Parent = modelzorz
  8159. Weapon[i].CanCollide = true
  8160. end
  8161. for i = 1, #Welds do
  8162. Welds[i].Parent = main1
  8163. end
  8164. end
  8165. end
  8166. do
  8167.  
  8168. if equipped == true then
  8169.  
  8170. if 1 < RootPart.Velocity.y and hitfloor == nil then
  8171.  
  8172. else
  8173. if RootPart.Velocity.y < -1 and hitfloor == nil then
  8174.  
  8175.  
  8176. else
  8177. if torvel < 1 and hitfloor ~= nil then
  8178.  
  8179. else
  8180. if 2 < torvel and torvel < 30 and hitfloor ~= nil then
  8181.  
  8182.  
  8183. else
  8184. do
  8185.  
  8186. end
  8187. end
  8188. end
  8189. end
  8190. end
  8191.  
  8192. end
  8193. if #Effects>0 then
  8194. for e=1,#Effects do
  8195. if Effects[e]~=nil then
  8196. local Thing=Effects[e]
  8197. if Thing ~= nil then
  8198. local Part = Thing[1]
  8199. local Mode = Thing[2]
  8200. local Delay = Thing[3]
  8201. local IncX = Thing[4]
  8202. local IncY = Thing[5]
  8203. local IncZ = Thing[6]
  8204. if Thing[2] == "CylinderClang" then
  8205. if Thing[3] <= 1 then
  8206. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 2.5 * Thing[5], 0) * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  8207. Thing[7] = Thing[1].CFrame
  8208. effect("New Yeller", 0, Thing[8], Thing[7], nil, 0.1, 2)
  8209. Thing[8] = Thing[7]
  8210. Thing[3] = Thing[3] + Thing[4]
  8211. else
  8212. Part.Parent = nil
  8213. table.remove(Effects, e)
  8214. end
  8215. end
  8216. if Thing[2] == "showDamage" then
  8217. if Thing[6] < Thing[5] then
  8218. Thing[6] = Thing[6] + 1
  8219. else
  8220. if Thing[6] < Thing[7] then
  8221. Thing[4].position = Thing[4].position + vt(0, -0.2, 0)
  8222. Thing[6] = Thing[6] + 1
  8223. else
  8224. if Thing[6] < Thing[8] then
  8225. Thing[6] = Thing[6] + 1
  8226. else
  8227. if Thing[6] < Thing[9] then
  8228. Thing[6] = Thing[6] + 1
  8229. Thing[4].position = Thing[4].position + vt(0, 0.2, 0)
  8230. Thing[3].TextStrokeTransparency = Thing[3].TextStrokeTransparency + 0.1
  8231. Thing[3].TextTransparency = Thing[3].TextTransparency + 0.1
  8232. else
  8233. Thing[1].Parent = nil
  8234. table.remove(Effects, e)
  8235. end
  8236. end
  8237. end
  8238. end
  8239. end
  8240. if Thing[2] == "CloneEf" then
  8241. if Thing[3] <= 500 then
  8242. Thing[3] = Thing[3] + 1
  8243. if 10 <= Thing[4] then
  8244. Thing[4] = 0
  8245. end
  8246. Thing[4] = Thing[4] + 1
  8247. else
  8248. table.remove(Effects, e)
  8249. end
  8250. end
  8251. if Thing[2] == "SatelliteStrike" then
  8252. if Thing[5] < 100 then
  8253. Thing[5] = Thing[5] + 2
  8254. Thing[6] = Thing[6] + 1
  8255. if 2 < Thing[6] then
  8256. Thing[6] = 0
  8257. if Thing[3].BrickColor == BrickColor.new("New Yeller") then
  8258. Thing[3].Transparency = 0.8
  8259. Thing[3].BrickColor = BrickColor.new("Really red")
  8260. else
  8261. Thing[3].Transparency = 0.8
  8262. Thing[3].BrickColor = BrickColor.new("New Yeller")
  8263. end
  8264. end
  8265. else
  8266. refda = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  8267. refda.Anchored = true
  8268. refda.CFrame = cf(Thing[1].Position) * cf(0, 500, 0)
  8269. game:GetService("Debris"):AddItem(refda, 1)
  8270. local mag = (refda.Position - Thing[1].Position).magnitude
  8271. MagicCylinder(BrickColor.new("White"), CFrame.new((refda.Position + Thing[1].Position) / 2, Thing[1].Position) * angles(1.57, 0, 0), 40, mag * 5, 40, 0, 0, 0, 0.3)
  8272. Lightning(refda.Position, Thing[1].Position, 15, 5, "Bright yellow", 3.5, 0.2, 0.05)
  8273. MagicBlock2(BrickColor.new("Bright yellow"), cf(Thing[1].Position), 40, 40, 40, -1, -1, -1, 0.08, 1)
  8274. refda.CFrame = cf(Thing[1].Position)
  8275. MagniDamage(refda, 5, 10, 12, 0, "Knockdown2", refda, 0.1, 1, (math.random(10, 12)), nil, nil, true)
  8276. refda.CFrame = cf(Thing[1].Position) * cf(0, 3, 0)
  8277. MagniDamage(refda, 5, 10, 12, 0, "Knockdown2", refda, 0.1, 1, (math.random(10, 12)), nil, nil, true)
  8278. refda.CFrame = cf(Thing[1].Position)
  8279. so("341336446", refda, 1, math.random(100, 120) / 100)
  8280. so("341336459", refda, 1, math.random(100, 120) / 100)
  8281. Thing[1].Parent = nil
  8282. table.remove(Effects, e)
  8283. end
  8284. end
  8285. do
  8286. if Thing[2] == "SatelliteStrike2" then
  8287. if Thing[5] < 100 then
  8288. Thing[5] = Thing[5] + 2
  8289. Thing[6] = Thing[6] + 1
  8290. if 2 < Thing[6] then
  8291. Thing[6] = 0
  8292. if Thing[3].BrickColor == BrickColor.new("New Yeller") then
  8293. Thing[3].Transparency = 0.8
  8294. Thing[3].BrickColor = BrickColor.new("Really red")
  8295. else
  8296. Thing[3].Transparency = 0.8
  8297. Thing[3].BrickColor = BrickColor.new("New Yeller")
  8298. end
  8299. end
  8300. else
  8301. refda = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  8302. refda.Anchored = true
  8303. refda.CFrame = cf(Thing[1].Position) * cf(0, 500, 0)
  8304. game:GetService("Debris"):AddItem(refda, 1)
  8305. local mag = (refda.Position - Thing[1].Position).magnitude
  8306. MagicCylinder(BrickColor.new("White"), CFrame.new((refda.Position + Thing[1].Position) / 2, Thing[1].Position) * angles(1.57, 0, 0), 60, mag * 5, 60, 0, 0, 0, 0.1)
  8307. Lightning(refda.Position, Thing[1].Position, 25, 5, "Bright yellow", 5, 0.2, 0.03)
  8308. MagicBlock2(BrickColor.new("Bright yellow"), cf(Thing[1].Position), 80, 80, 80, -1, -1, -1, 0.06, 1)
  8309. refda.CFrame = cf(Thing[1].Position)
  8310. MagniDamage(refda, 10, 14, 16, 0, "Knockdown2", refda, 0.1, 1, (math.random(14, 18)), nil, nil, true)
  8311. refda.CFrame = cf(Thing[1].Position) * cf(0, 3, 0)
  8312. MagniDamage(refda, 10, 14, 16, 0, "Knockdown2", refda, 0.1, 1, (math.random(14, 18)), nil, nil, true)
  8313. refda.CFrame = cf(Thing[1].Position)
  8314. so("341336446", refda, 1, math.random(70, 90) / 100)
  8315. so("341336459", refda, 1, math.random(50, 80) / 100)
  8316. Thing[1].Parent = nil
  8317. table.remove(Effects, e)
  8318. end
  8319. end
  8320. do
  8321. if Thing[2] == "Shoot" then
  8322. Thing[11] = Thing[11] + 0.02
  8323. local Look = Thing[1]
  8324. local hit, pos = rayCast(Thing[4], Look, Thing[11], modelzorz)
  8325. local mag = (Thing[4] - pos).magnitude
  8326. if 6 < Thing[8] then
  8327. Thing[8] = 1
  8328. else
  8329. Thing[8] = Thing[8] + 1
  8330. end
  8331. MagicCylinder(Neons[Thing[8]], CFrame.new((Thing[4] + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
  8332. Thing[9].BrickColor = Neons[Thing[8]]
  8333. Thing[9].CFrame = CFrame.new((Thing[4] + pos) / 2, pos) * cf(0, 0, -1) * Thing[10]
  8334. Thing[4] = Thing[4] + Look * Thing[11]
  8335. Thing[3] = Thing[3] - 1
  8336. if hit ~= nil then
  8337. Damagefunc(hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0.1, 2, (math.random(1, 3)), nil, nil, true)
  8338. end
  8339. if Thing[3] <= 0 then
  8340. Thing[9].Parent = nil
  8341. table.remove(Effects, e)
  8342. end
  8343. end
  8344. do
  8345. if Thing[2] == "Shoot2" then
  8346. local Look = Thing[1]
  8347. local hit, pos = rayCast(Thing[4], Look, 4, Character)
  8348. local mag = (Thing[4] - pos).magnitude
  8349. if 6 < Thing[8] then
  8350. Thing[8] = 1
  8351. else
  8352. Thing[8] = Thing[8] + 1
  8353. end
  8354. MagicCircle(BrickColor.new(NewCol3), CFrame.new((Thing[4] + pos) / 2, pos) * angles(1.57, 0, 0), 4, 4, 4, -0.5, -0.5, -0.5, 0.5)
  8355. Thing[4] = Thing[4] + Look * 4
  8356. Thing[3] = Thing[3] - 1
  8357. if hit ~= nil then
  8358. Thing[3] = 0
  8359. Damagefunc(hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0.1, 2, (math.random(1, 5)), nil, nil, true)
  8360. end
  8361. if Thing[3] <= 0 then
  8362. table.remove(Effects, e)
  8363. end
  8364. end
  8365. do
  8366. if Thing[2] == "Shoot3" then
  8367. local Look = Thing[1]
  8368. local hit, pos = rayCast(Thing[4], Look, 1.5, modelzorz)
  8369. local mag = (Thing[4] - pos).magnitude
  8370. if 6 < Thing[8] then
  8371. Thing[8] = 1
  8372. else
  8373. Thing[8] = Thing[8] + 1
  8374. end
  8375. Thing[11] = Thing[11] + 0.05
  8376. Thing[9].BrickColor = Neons[Thing[8]]
  8377. Thing[9].CFrame = CFrame.new((Thing[4] + pos) / 2, pos) * euler(0, mr(90), 0) * euler(Thing[10], 0, 0) * euler(0, Thing[11], 0)
  8378. MagicStar(Thing[9].BrickColor, Thing[9].CFrame, 25, 25, 25, 2, 2, 2, 0.25)
  8379. Thing[4] = Thing[4] + Look * 1.5
  8380. Thing[3] = Thing[3] - 1
  8381. if hit ~= nil then
  8382. Thing[3] = 0
  8383. end
  8384. if Thing[3] <= 0 then
  8385. MagicStar(Thing[9].BrickColor, Thing[9].CFrame, 30, 30, 30, 4, 4, 4, 0.1)
  8386. MagicCircle(Thing[9].BrickColor, Thing[9].CFrame, 100, 100, 100, 0, 0, 0, 0.05)
  8387. local staaaaref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  8388. staaaaref.Anchored = true
  8389. staaaaref.CFrame = cf(Thing[9].Position)
  8390. game:GetService("Debris"):AddItem(staaaaref, 1)
  8391. so("341336499", staaaaref, 0.8, 2)
  8392. MagniDamage(staaaaref, 10, 10, 12, math.random(10, 20), "Knockdown2", staaaaref, 0.1, 1, (math.random(4, 6)), nil, nil, true, "Damage", 0.1, 200)
  8393. Thing[9].Parent = nil
  8394. table.remove(Effects, e)
  8395. end
  8396. end
  8397. do
  8398. if Thing[2] == "Shoot4" then
  8399. local Look = Thing[1]
  8400. local hit, pos = rayCast(Thing[4], Look, 1.5, modelzorz)
  8401. local mag = (Thing[4] - pos).magnitude
  8402. if 6 < Thing[8] then
  8403. Thing[8] = 1
  8404. else
  8405. Thing[8] = Thing[8] + 1
  8406. end
  8407. Thing[11] = Thing[11] + 0.05
  8408. Thing[9].BrickColor = Neons[Thing[8]]
  8409. Thing[9].CFrame = CFrame.new((Thing[4] + pos) / 2, pos) * euler(0, mr(90), 0) * euler(Thing[10], 0, 0) * euler(0, Thing[11], 0)
  8410. MagicStar(Thing[9].BrickColor, Thing[9].CFrame, 80, 80, 80, 2, 2, 2, 0.25)
  8411. Thing[4] = Thing[4] + Look * 1.5
  8412. Thing[3] = Thing[3] - 1
  8413. if hit ~= nil then
  8414. Thing[3] = 0
  8415. end
  8416. if Thing[3] <= 0 then
  8417. MagicStar(Thing[9].BrickColor, Thing[9].CFrame, 90, 90, 90, 4, 4, 4, 0.1)
  8418. MagicCircle(Thing[9].BrickColor, Thing[9].CFrame, 200, 200, 200, 0, 0, 0, 0.1)
  8419. MagicCircle(Thing[9].BrickColor, Thing[9].CFrame, 150, 150, 150, 10, 10, 10, 0.08)
  8420. MagicCircle(Thing[9].BrickColor, Thing[9].CFrame, 100, 100, 100, 15, 15, 15, 0.06)
  8421. local staaaaref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  8422. staaaaref.Anchored = true
  8423. staaaaref.CFrame = cf(Thing[9].Position)
  8424. game:GetService("Debris"):AddItem(staaaaref, 1)
  8425. so("341336499", staaaaref, 0.8, 1)
  8426. MagniDamage(staaaaref, 20, 15, 18, math.random(30, 50), "Knockdown2", staaaaref, 0.1, 1, (math.random(8, 10)), nil, nil, true, "Damage", 0.1, 400)
  8427. Thing[9].Parent = nil
  8428. table.remove(Effects, e)
  8429. end
  8430. end
  8431. do
  8432. do
  8433. if Thing[2] ~= "DecreaseStat" and Thing[2] ~= "showDamage" and Thing[2] ~= "CloneEf" and Thing[2] ~= "Blink" and Thing[2] ~= "ShootIce" and Thing[2] ~= "Freeze" and Thing[2] ~= "Shoot" and Thing[2] ~= "Shoot2" and Thing[2] ~= "Shoot3" and Thing[2] ~= "Shoot4" and Thing[2] ~= "SatelliteStrike" and Thing[2] ~= "SatelliteStrike2" then
  8434. if Thing[1].Transparency <= 1 then
  8435. if Thing[2] == "Block1" then
  8436. Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  8437. Mesh = Thing[7]
  8438. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  8439. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  8440. else
  8441. if Thing[2] == "Block2" then
  8442. Thing[1].CFrame = Thing[1].CFrame
  8443. Mesh = Thing[7]
  8444. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  8445. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  8446. else
  8447. if Thing[2] == "Block3" then
  8448. Thing[8] = Thing[8] * cf(0, 1, 0)
  8449. Thing[1].CFrame = Thing[8] * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  8450. Mesh = Thing[7]
  8451. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  8452. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  8453. else
  8454. if Thing[2] == "Block4" then
  8455. if #Neons - 1 < Thing[8] then
  8456. Thing[8] = 1
  8457. else
  8458. Thing[8] = Thing[8] + 1
  8459. end
  8460. else
  8461.  
  8462. if Thing[2] == "Cylinder" then
  8463. Mesh = Thing[7]
  8464. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  8465. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  8466. end
  8467. end
  8468. end
  8469. end
  8470. end
  8471. else
  8472. Part.Parent = nil
  8473. table.remove(Effects, e)
  8474. end
  8475. end
  8476. end
  8477. end
  8478. end
  8479. end
  8480. end
  8481. end
  8482. end
  8483. end
  8484. end
  8485. end
  8486. end
  8487. end
  8488. if swordPowerUp == true then
  8489. MagicBlock2(Neons[col], blade1Tip.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  8490. MagicBlock2(Neons[col], LeftArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  8491. MagicBlock2(Neons[col], RightArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  8492. end
  8493. if d0arm[3] == "true" then
  8494. d0arm[1].Color = cs(Neons[math.random(1, 7)].Color, Neons[math.random(1, 7)].Color)
  8495. d0arm[2].Color = cs(Neons[math.random(1, 7)].Color, Neons[math.random(1, 7)].Color)
  8496. end
  8497. if rainbowHands == true then
  8498. if myVars[5] == "ssl3" or myVars[5] == "ssl3_1" then
  8499. if Melee == false then
  8500. MagicBlock2(Neons[col], LeftArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  8501. else
  8502. if powerHand == false then
  8503. MagicBlock2(Neons[col], LeftArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  8504. end
  8505. MagicBlock2(Neons[col], RightArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  8506. end
  8507. else
  8508. if powerHand == false then
  8509. MagicBlock2(Neons[col], LeftArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  8510. end
  8511. MagicBlock2(Neons[col], RightArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  8512. end
  8513. end
  8514. for key, value in pairs(myDictionary) do
  8515. if value == "disco" then
  8516. if key.Name ~= p.Name then
  8517. MagicBlock2(Neons[col], key['Right Arm'].CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  8518. MagicBlock2(Neons[col], key['Left Arm'].CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  8519. end
  8520. end
  8521. end
  8522. if newMode == true then
  8523. if rainbowssl == false then
  8524. rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50)))
  8525. larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30)))
  8526. hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0))
  8527. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  8528. lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10)))
  8529. rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20)))
  8530. end
  8531. end
  8532.  
  8533. lightningNum = math.random(1,100)
  8534. if lightningNum <= 80 and lightningNum >= 60 then
  8535. --while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly
  8536. local Body1 = BodyParts[math.random(#BodyParts)]
  8537. local Body2 = BodyParts[math.random(#BodyParts)]
  8538. local Pos1 = Vector3.new(
  8539. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
  8540. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
  8541. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
  8542. )
  8543. local Pos2 = Vector3.new(
  8544. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
  8545. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
  8546. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
  8547. )
  8548. local SPos1 = Body1.Position + Pos1
  8549. local SPos2 = Body2.Position + Pos2
  8550. local cols = math.random(1,7)
  8551. Lightning(SPos1, SPos2, 4, 3, Neonlist[cols], .3, .56)
  8552. end
  8553. swaito()
  8554.  
  8555. if #fx>0 then
  8556. for e=1,#fx do
  8557. if fx[e]~=nil then
  8558. local Thingy=fx[e]
  8559. if Thingy~=nil then
  8560. local Part=Thingy[1]
  8561. local Mode=Thingy[2]
  8562. local Delay=Thingy[3]
  8563. local IncX=Thingy[4]
  8564. local IncY=Thingy[5]
  8565. local IncZ=Thingy[6]
  8566. if Thingy[1].Transparency<=1 then
  8567. if Thingy[2]=="Block1" then
  8568. Thingy[1].CFrame=Thingy[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  8569. Mesh=Thingy[1].Mesh
  8570. Mesh.Scale=Mesh.Scale+vt(Thingy[4],Thingy[5],Thingy[6])
  8571. Thingy[1].Transparency=Thingy[1].Transparency+Thingy[3]
  8572. elseif Thingy[2]=="Cylinder" then
  8573. Mesh=Thingy[1].Mesh
  8574. Mesh.Scale=Mesh.Scale+vt(Thingy[4],Thingy[5],Thingy[6])
  8575. Thingy[1].Transparency=Thingy[1].Transparency+Thingy[3]
  8576. elseif Thingy[2]=="Blood" then
  8577. Mesh=Thingy[7]
  8578. Thingy[1].CFrame=Thingy[1].CFrame*cf(0,.5,0)
  8579. Mesh.Scale=Mesh.Scale+vt(Thingy[4],Thingy[5],Thingy[6])
  8580. Thingy[1].Transparency=Thingy[1].Transparency+Thingy[3]
  8581. elseif Thingy[2]=="Elec" then
  8582. Mesh=Thingy[1].Mesh
  8583. Mesh.Scale=Mesh.Scale+vt(Thingy[7],Thingy[8],Thingy[9])
  8584. Thingy[1].Transparency=Thingy[1].Transparency+Thingy[3]
  8585. elseif Thingy[2]=="Disappear" then
  8586. Thingy[1].Transparency=Thingy[1].Transparency+Thingy[3]
  8587. end
  8588. else
  8589. Part.Parent=nil
  8590. table.remove(fx,e)
  8591. end
  8592. end
  8593. end
  8594. end
  8595. end
  8596.  
  8597.  
  8598. end
  8599. local gobj,gpos,gnormal = Workspace:FindPartOnRay(Ray.new(Leg.Position, CFrame.new(Leg.Position, (Leg.CFrame * CFrame.new(0,Leg.Size.Y / -2,0)).p).lookVector * (Leg.Size.Y / 2 + .5)), LocalCharacter)
  8600. if gobj ~= nil then
  8601. local ObjectCF = CFrame.new(gpos, gpos+gnormal) * CFrame.Angles(math.pi/2,0,0)
  8602. -- create part flattened on Y axis and set it's CFrame to ObjectCF
  8603. end
  8604.  
  8605.  
  8606.  
  8607.  
  8608.  
  8609.  
  8610. -----------------------------------------
Add Comment
Please, Sign In to add comment