Advertisement
Guest User

Untitled

a guest
Dec 11th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 380.05 KB | None | 0 0
  1. --[[
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12. ________ ___ ________ ___ ___ ___ ___ ___ ___
  13. |\ __ \|\ \ |\ __ \ |\ \ / /|\ \ / /|\ \ / /|
  14. \ \ \|\ /\ \ \ \ \ \|\ \ \ \ \/ / | \ \/ / | \ \/ / /
  15. \ \ __ \ \ \ \ \ \\\ \ \ \ / / \ \ / / \ \ / /
  16. \ \ \|\ \ \ \____\ \ \\\ \ / \/ / \/ \/ / /
  17. \ \_______\ \_______\ \_______\/ /\ \ / /\ \ __/ / /
  18. \|_______|\|_______|\|_______/__/ /\ __\/__/ /\ __\\___/ /
  19. |__|/ \|__||__|/ \|__\|___|/
  20.  
  21.  
  22.  
  23.  
  24.  
  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. local p = game.Players.LocalPlayer
  61. local char = p.Character
  62. local mouse = p:GetMouse()
  63. local larm = char["Left Arm"]
  64. local rarm = char["Right Arm"]
  65. local lleg = char["Left Leg"]
  66. local rleg = char["Right Leg"]
  67. local hed = char.Head
  68. local torso = char.Torso
  69. local hum = char.Humanoid
  70. local cam = game.Workspace.CurrentCamera
  71. local root = char.HumanoidRootPart
  72. local deb = false
  73. it = Instance.new
  74. local debris=game:service"Debris"
  75. local l = game:GetService("Lighting")
  76. local rs = game:GetService("RunService").RenderStepped
  77. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  78. math.randomseed(os.time())
  79. for i,v in pairs(char:children()) do
  80. if v:IsA("Hat") then
  81. v:Destroy()
  82. end
  83. end
  84. for i,v in pairs (hed:GetChildren()) do
  85. if v:IsA("Sound") then
  86. v:Destroy()
  87. end
  88. end
  89. local myVars = { }
  90. myVars[1] = "none"
  91. 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")}
  92. local colc = math.random(1,7)
  93.  
  94. local rainbowssl = false
  95.  
  96. local newMode = false
  97.  
  98. local swordPowerUp = false
  99.  
  100. local sword2 = false
  101. -------------------------------------INITIATE
  102.  
  103. local d0arm = { }
  104.  
  105. myVars[9] = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  106.  
  107. function startBloxxy()
  108. local eff3 = Instance.new("Part", char)
  109. eff3.Size = Vector3.new(20, 20, 20)
  110. eff3.Transparency = 0
  111. eff3.Material = "Neon"
  112. eff3.Anchored = true
  113. eff3.CanCollide = false
  114. eff3.Shape = "Ball"
  115. eff3.CFrame = char.Torso.CFrame
  116. for i = 1, 40 do
  117. eff3.Size = eff3.Size - Vector3.new(0.5, 0.5, 0.5)
  118. eff3.CFrame = char.Torso.CFrame * CFrame.Angles(math.random(), math.random(), math.random())
  119. eff3.BrickColor = BrickColor.Random()
  120. wait()
  121. end
  122. eff3:Remove()
  123.  
  124. end
  125. newMode = true
  126. ---------------------------------------
  127.  
  128.  
  129. local verlet = {}
  130. verlet.step_time = 1 / 50
  131. verlet.gravity = Vector3.new(0, -10, 0)
  132.  
  133. local char = game.Players.LocalPlayer.Character
  134. local torso = char:WaitForChild("Torso")
  135. local parts = {}
  136. local render = game:GetService("RunService").RenderStepped
  137.  
  138. wait(2)
  139.  
  140. local point = {}
  141. local link = {}
  142. local rope = {}
  143.  
  144. local function ccw(A,B,C)
  145. return (C.y-A.y) * (B.x-A.x) > (B.y-A.y) * (C.x-A.x)
  146. end
  147.  
  148. local function intersect(A,B,C,D)
  149. return ccw(A,C,D) ~= ccw(B,C,D) and ccw(A,B,C) ~= ccw(A,B,D)
  150. end
  151.  
  152. local function vec2(v)
  153. return Vector2.new(v.x, v.z)
  154. end
  155.  
  156. function point:step()
  157. if not self.fixed then
  158. local derivative = (self.position - self.last_position) * 0.95
  159. self.last_position = self.position
  160. self.position = self.position + derivative + (self.velocity * verlet.step_time ^ 2)
  161. --[[local torsoP = torso.CFrame * CFrame.new(-1, 0, 0.5)
  162. local torsoE = torso.CFrame * CFrame.new(1, 0, 0.5)
  163. local pointE = self.position + torso.CFrame.lookVector * 100
  164. local doIntersect = intersect(vec2(torsoP.p), vec2(torsoE.p), vec2(self.position), vec2(pointE))
  165. if not doIntersect then
  166. self.postition = self.position - torso.CFrame.lookVector * 10
  167. end]]
  168. end
  169. end
  170.  
  171. function link:step()
  172. for i = 1, 1 do
  173. local distance = self.point1.position - self.point2.position
  174. local magnitude = distance.magnitude
  175. local differance = (self.length - magnitude) / magnitude
  176. local translation = ((self.point1.fixed or self.point2.fixed) and 1 or 0.6) * distance * differance
  177. if not self.point1.fixed then
  178. self.point1.position = self.point1.position + translation
  179. end
  180. if not self.point2.fixed then
  181. self.point2.position = self.point2.position - translation
  182. end
  183. end
  184. end
  185.  
  186. function verlet.new(class, a, b, c)
  187. if class == "Point" then
  188. local new = {}
  189. setmetatable(new, {__index = point})
  190. new.class = class
  191. new.position = a or Vector3.new()
  192. new.last_position = new.position
  193. new.velocity = verlet.gravity
  194. new.fixed = false
  195. return new
  196. elseif class == "Link" then
  197. local new = {}
  198. setmetatable(new, {__index = link})
  199. new.class = class
  200. new.point1 = a
  201. new.point2 = b
  202. new.length = c or (a.position - b.position).magnitude
  203. return new
  204. elseif class == "Rope" then
  205. local new = {}
  206. setmetatable(new, {__index = link})
  207. new.class = class
  208. new.start_point = a
  209. new.finish_point = b
  210. new.points = {}
  211. new.links = {}
  212. local inc = (b - a) / 10
  213. for i = 0, 10 do
  214. table.insert(new.points, verlet.new("Point", a + (i * inc)))
  215. end
  216. for i = 2, #new.points do
  217. table.insert(new.links, verlet.new("Link", new.points[i - 1], new.points[i]))
  218. end
  219. return new
  220. end
  221. end
  222.  
  223. local tris = {}
  224. local triParts = {}
  225.  
  226. local function GetDiscoColor(hue)
  227. local section = hue % 1 * 3
  228. local secondary = 0.5 * math.pi * (section % 1)
  229. if section < 1 then
  230. return Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  231. elseif section < 2 then
  232. return Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  233. else
  234. return Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  235. end
  236. end
  237.  
  238. local function setupPart(part)
  239. part.Anchored = true
  240. part.FormFactor = 3
  241. part.CanCollide = false
  242. part.TopSurface = 10
  243. part.BottomSurface = 10
  244. part.LeftSurface = 10
  245. part.RightSurface = 10
  246. part.FrontSurface = 10
  247. part.BackSurface = 10
  248. part.Material = "Neon"
  249. local m = Instance.new("SpecialMesh", part)
  250. m.MeshType = "Wedge"
  251. m.Scale = Vector3.new(0.2, 1, 1)
  252. return part
  253. end
  254.  
  255. local function CFrameFromTopBack(at, top, back)
  256. local right = top:Cross(back)
  257. 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)
  258. end
  259.  
  260. local function drawTri(parent, a, b, c)
  261. local this = {}
  262. local mPart1 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  263. local mPart2 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  264. function this:Set(a, b, c)
  265. local ab, bc, ca = b-a, c-b, a-c
  266. local abm, bcm, cam = ab.magnitude, bc.magnitude, ca.magnitude
  267. local edg1 = math.abs(0.5 + ca:Dot(ab)/(abm*abm))
  268. local edg2 = math.abs(0.5 + ab:Dot(bc)/(bcm*bcm))
  269. local edg3 = math.abs(0.5 + bc:Dot(ca)/(cam*cam))
  270. if edg1 < edg2 then
  271. if edg1 >= edg3 then
  272. a, b, c = c, a, b
  273. ab, bc, ca = ca, ab, bc
  274. abm = cam
  275. end
  276. else
  277. if edg2 < edg3 then
  278. a, b, c = b, c, a
  279. ab, bc, ca = bc, ca, ab
  280. abm = bcm
  281. else
  282. a, b, c = c, a, b
  283. ab, bc, ca = ca, ab, bc
  284. abm = cam
  285. end
  286. end
  287.  
  288. local len1 = -ca:Dot(ab)/abm
  289. local len2 = abm - len1
  290. local width = (ca + ab.unit*len1).magnitude
  291.  
  292. local maincf = CFrameFromTopBack(a, ab:Cross(bc).unit, -ab.unit)
  293.  
  294. if len1 > 0.2 then
  295. mPart1.Parent = parent
  296. mPart1.Size = Vector3.new(0.2, width, len1)
  297. mPart1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  298. else
  299. mPart1.Parent = nil
  300. end
  301.  
  302. if len2 > 0.2 then
  303. mPart2.Parent = parent
  304. mPart2.Size = Vector3.new(0.2, width, len2)
  305. mPart2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  306. else
  307. mPart2.Parent = nil
  308. end
  309. end
  310. function this:SetProperty(prop, value)
  311. mPart1[prop] = value
  312. mPart2[prop] = value
  313. end
  314. this:Set(a, b, c)
  315. function this:Destroy()
  316. mPart1:Destroy()
  317. mPart2:Destroy()
  318. end
  319. this.p1 = mPart1
  320. this.p2 = mPart2
  321. this.p1.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p1.CFrame.Y * 0.5 + time())))
  322. this.p2.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p2.CFrame.Y * 0.5 + time())))
  323. return this
  324. end
  325.  
  326. function verlet.draw(object, id)
  327. if object.class == "Point" then
  328. local part = parts[id]
  329. part.BrickColor = BrickColor.new(1, 1, 1)
  330. part.Transparency = 0
  331. part.formFactor = 3
  332. part.Anchored = true
  333. part.CanCollide = false
  334. part.TopSurface = 0
  335. part.BottomSurface = 0
  336. part.Size = Vector3.new(0.35, 0.35, 0.35)
  337. part.Material = "Neon"
  338. part.CFrame = CFrame.new(object.position)
  339. part.Parent = torso
  340. return part
  341. elseif object.class == "Link" then
  342. local part = parts[id]
  343. local dist = (object.point1.position - object.point2.position).magnitude
  344. part.Size = Vector3.new(0.2, 0.2, dist)
  345. part.CFrame = CFrame.new(object.point1.position, object.point2.position) * CFrame.new(0, 0, dist * -0.5)
  346. part.Parent = torso
  347. return part
  348. end
  349. end
  350.  
  351. function verlet.clear()
  352. for _, v in pairs(workspace:GetChildren()) do
  353. if v.Name == "Part" then
  354. v:Destroy()
  355. end
  356. end
  357. end
  358.  
  359. local points = {}
  360. local links = {}
  361.  
  362. for x = 0, 2 do
  363. points[x] = {}
  364. for y = 0, 3 do
  365. points[x][y] = verlet.new("Point", torso.Position + Vector3.new(x * 0.8 - 2, 2 - y * 0.8, 5 + y * 0.4))
  366. points[x][y].fixed = y == 0
  367. end
  368. end
  369.  
  370. for x = 1, 2 do
  371. for y = 0, 3 do
  372. links[#links + 1] = verlet.new("Link", points[x][y], points[x - 1][y], 1 + y * 0.08)
  373. end
  374. end
  375.  
  376. for x = 0, 2 do
  377. for y = 1, 3 do
  378. links[#links + 1] = verlet.new("Link", points[x][y], points[x][y - 1], 1.2 + y * 0.03)
  379. end
  380. end
  381.  
  382. render:connect(function()
  383. for x = 0, 2 do
  384. for y = 0, 3 do
  385. if y == 0 then
  386. points[x][y].position = (torso.CFrame * CFrame.new(x * 1 - 1, 1, 0.5)).p
  387. else
  388. points[x][y]:step()
  389. end
  390. end
  391. end
  392. for i = 1, #links do
  393. links[i]:step()
  394. end
  395. for i = 1, #tris do
  396. triParts[#triParts + 1] = tris[i].p1
  397. triParts[#triParts + 1] = tris[i].p2
  398. end
  399. tris = {}
  400. for x = 1, 2 do
  401. for y = 1, 3 do
  402. tris[#tris + 1] = drawTri(torso, points[x - 1][y - 1].position, points[x - 1][y].position, points[x][y - 1].position)
  403. tris[#tris + 1] = drawTri(torso, points[x][y].position, points[x - 1][y].position, points[x][y - 1].position)
  404. end
  405. end
  406. end)
  407. ----------------------------------------------------
  408. local myDictionary = { }
  409. function getDiscoMan(hummus)
  410. for key, value in pairs(myDictionary) do
  411. if key.Name == hummus.Parent.Name then break end
  412. end
  413. Parts={}
  414.  
  415. local function GetDiscoColor(hue)
  416. local section = hue % 1 * 3
  417. local secondary = 0.5 * math.pi * (section % 1)
  418. if section < 1 then
  419. return Vector3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  420. elseif section < 2 then
  421. return Vector3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  422. else
  423. return Vector3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  424. end
  425. end
  426. local Part = function(x,y,z,color,tr,cc,an,parent)
  427. local p = Instance.new('Part',parent or Weapon)
  428. p.formFactor = 'Custom'
  429. p.Size = Vector3.new(x,y,z)
  430. p.BrickColor = BrickColor.new(color)
  431. p.CanCollide = cc
  432. p.Transparency = tr
  433. p.Anchored = an
  434. p.TopSurface,p.BottomSurface = 0,0
  435. p:BreakJoints''
  436. table.insert(Parts,p)
  437. return p
  438. end
  439. local Weld = function(p0,p1)
  440. local w = Instance.new('Motor',p0)
  441. w.Part0 = p0
  442. w.Part1 = p1
  443. return w
  444. end
  445. local Mesh = function(par,num,x,y,z)
  446. local msh = 0
  447. if num == 1 then
  448. msh = Instance.new("SpecialMesh",par)
  449. msh.MeshId='rbxasset://fonts/torso.mesh'
  450. msh.TextureId='rbxasset://25701026'
  451. end
  452. if num == 2 then
  453. msh = Instance.new("SpecialMesh",par)
  454. msh.MeshId='rbxasset://fonts/head.mesh'
  455. msh.TextureId='rbxassetid://25701026'
  456. end
  457. msh.Scale = Vector3.new(x,y,z)
  458. return msh
  459. end
  460. local char=hummus.Parent
  461. myDictionary[char] = "disco"
  462.  
  463. for key, value in pairs(myDictionary) do
  464. for _,v in pairs(key:GetChildren()) do
  465. if v.ClassName=="Part" then
  466. v.Transparency=1
  467. elseif v.ClassName=="Hat" then
  468. v.Handle.Mesh.TextureId='rbxassetid://25701026'
  469. table.insert(Parts,v.Handle)
  470. end
  471. end
  472. t=Part(1,1,1,'',0,false,false,key)
  473. Mesh(t,1,1,1,1)
  474. Weld(key.Torso,t)
  475. a=Part(1,1,1,'',0,false,false,key)
  476. Mesh(a,1,.5,1,1)
  477. Weld(key['Right Arm'],a)
  478. a=Part(1,1,1,'',0,false,false,key)
  479. Mesh(a,1,.5,1,1)
  480. Weld(key['Left Arm'],a)
  481. l=Part(1,1,1,'',0,false,false,key)
  482. Mesh(l,1,.5,1,1)
  483. Weld(key['Right Leg'],l)
  484. l=Part(1,1,1,'',0,false,false,key)
  485. Mesh(l,1,.5,1,1)
  486. Weld(key['Left Leg'],l)
  487. h=Part(1,1,1,'',0,false,false,key)
  488. Mesh(h,2,1,1,1)
  489. Weld(key.Head,h)
  490. Spawn(function()
  491. while(coroutine.yield())do
  492. for i=1,#Parts do
  493. Parts[i].Mesh.VertexColor=GetDiscoColor(tick()*.5)--vertex 4 lyfe
  494. end
  495. end;
  496. end);
  497. key.Humanoid.MaxHealth = 999999
  498. wait(0.5)
  499. key.Humanoid.Health = 999999
  500. end
  501. end
  502.  
  503. local myFrozen = { }
  504. function getFreeze(hummus)
  505. local char = hummus.Parent
  506. Coat = Instance.new("Part",char)
  507. Coat.TopSurface = "Smooth"
  508. Coat.BottomSurface = "Smooth"
  509. Coat.Material = "Neon"
  510. Coat.Size = Vector3.new(1.05, 1.05, 1.05)
  511. Coat.CanCollide = false
  512. Coat.Transparency = 0
  513. Coat.BrickColor = Neonsc[colc]
  514. CoatMesh = Instance.new("SpecialMesh", Coat)
  515. CoatMesh.MeshType = "Brick"
  516. CoatMesh.Scale = Vector3.new(2,1.8,1.1)
  517. CoatWeld = Instance.new("Weld",char)
  518. CoatWeld.Part0 = char.Torso
  519. CoatWeld.Part1 = Coat
  520. CoatWeld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  521.  
  522. CoatRA = Instance.new("Part",char)
  523. CoatRA.TopSurface = "Smooth"
  524. CoatRA.BottomSurface = "Smooth"
  525. CoatRA.Size = Vector3.new(1, 1, 1)
  526. CoatRA.CanCollide = false
  527. CoatRA.Transparency = 0
  528. CoatRA.Material = "Neon"
  529. CoatRA.BrickColor = Neonsc[colc]
  530. CoatRAMesh = Instance.new("SpecialMesh", CoatRA)
  531. CoatRAMesh.MeshType = "Brick"
  532. CoatRAMesh.Scale = Vector3.new(1.1,1.8,1.1)
  533. CoatRAWeld = Instance.new("Weld",char)
  534. CoatRAWeld.Part0 = char["Right Arm"]
  535. CoatRAWeld.Part1 = CoatRA
  536. CoatRAWeld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  537.  
  538. CoatLA = Instance.new("Part",char)
  539. CoatLA.TopSurface = "Smooth"
  540. CoatLA.BottomSurface = "Smooth"
  541. CoatLA.Size = Vector3.new(1, 1, 1)
  542. CoatLA.CanCollide = false
  543. CoatLA.Transparency = 0
  544. CoatLA.Material = "Neon"
  545. CoatLA.BrickColor = Neonsc[colc]
  546. CoatLAMesh = Instance.new("SpecialMesh", CoatLA)
  547. CoatLAMesh.MeshType = "Brick"
  548. CoatLAMesh.Scale = Vector3.new(1.1,1.8,1.1)
  549. CoatLAWeld = Instance.new("Weld",char)
  550. CoatLAWeld.Part0 = char["Left Arm"]
  551. CoatLAWeld.Part1 = CoatLA
  552. CoatLAWeld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  553.  
  554. CoatRL = Instance.new("Part",char)
  555. CoatRL.TopSurface = "Smooth"
  556. CoatRL.BottomSurface = "Smooth"
  557. CoatRL.Size = Vector3.new(1, 1, 1)
  558. CoatRL.CanCollide = false
  559. CoatRL.Transparency = 0
  560. CoatRL.Material = "Neon"
  561. CoatRL.BrickColor = Neonsc[colc]
  562. CoatRLMesh = Instance.new("SpecialMesh", CoatRL)
  563. CoatRLMesh.MeshType = "Brick"
  564. CoatRLMesh.Scale = Vector3.new(1.1,0.5,1.1)
  565. CoatRLWeld = Instance.new("Weld",char)
  566. CoatRLWeld.Part0 = char["Right Leg"]
  567. CoatRLWeld.Part1 = CoatRL
  568. CoatRLWeld.C1 = CFrame.new(0, -0.7, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  569.  
  570. CoatLL = Instance.new("Part",char)
  571. CoatLL.TopSurface = "Smooth"
  572. CoatLL.BottomSurface = "Smooth"
  573. CoatLL.Size = Vector3.new(1, 1, 1)
  574. CoatLL.CanCollide = false
  575. CoatLL.Transparency = 0
  576. CoatLL.Material = "Neon"
  577. CoatLL.BrickColor = Neonsc[colc]
  578. CoatLLMesh = Instance.new("SpecialMesh", CoatLL)
  579. CoatLLMesh.MeshType = "Brick"
  580. CoatLLMesh.Scale = Vector3.new(1.1,0.5,1.1)
  581. CoatLLWeld = Instance.new("Weld",char)
  582. CoatLLWeld.Part0 = char["Left Leg"]
  583. CoatLLWeld.Part1 = CoatLL
  584. CoatLLWeld.C1 = CFrame.new(0, -0.7, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  585.  
  586. CoatRightDesign = Instance.new("Part",char)
  587. CoatRightDesign.TopSurface = "Smooth"
  588. CoatRightDesign.BottomSurface = "Smooth"
  589. CoatRightDesign.Size = Vector3.new(1, 1, 1)
  590. CoatRightDesign.CanCollide = false
  591. CoatRightDesign.Material = "Neon"
  592. CoatRightDesign.Transparency = 0
  593. CoatRightDesign.BrickColor = Neonsc[colc]
  594. CoatRightDesignMesh = Instance.new("SpecialMesh", CoatRightDesign)
  595. CoatRightDesignMesh.MeshType = "Wedge"
  596. CoatRightDesignMesh.Scale = Vector3.new(1.1,0.8,1.1)
  597. CoatRightDesignWeld = Instance.new("Weld",char)
  598. CoatRightDesignWeld.Part0 = char["Right Leg"]
  599. CoatRightDesignWeld.Part1 = CoatRightDesign
  600. CoatRightDesignWeld.C1 = CFrame.new(0, 0.1, 0)*CFrame.fromEulerAnglesXYZ(1.6, -1.6, 0)
  601.  
  602. CoatLeftDesign = Instance.new("Part",char)
  603. CoatLeftDesign.TopSurface = "Smooth"
  604. CoatLeftDesign.BottomSurface = "Smooth"
  605. CoatLeftDesign.Size = Vector3.new(1, 1, 1)
  606. CoatLeftDesign.CanCollide = false
  607. CoatLeftDesign.Material = "Neon"
  608. CoatLeftDesign.Transparency = 0
  609. CoatLeftDesign.BrickColor = Neonsc[colc]
  610. CoatLeftDesignMesh = Instance.new("SpecialMesh", CoatLeftDesign)
  611. CoatLeftDesignMesh.MeshType = "Wedge"
  612. CoatLeftDesignMesh.Scale = Vector3.new(1.1,0.8,1.1)
  613. CoatLeftDesignWeld = Instance.new("Weld",char)
  614. CoatLeftDesignWeld.Part0 = char["Left Leg"]
  615. CoatLeftDesignWeld.Part1 = CoatLeftDesign
  616. CoatLeftDesignWeld.C1 = CFrame.new(0, 0.1, 0)*CFrame.fromEulerAnglesXYZ(1.6, 1.6, 0)
  617. nooutline(CoatLeftDesign)
  618.  
  619. coroutine.resume(coroutine.create(function()
  620. while wait() do
  621.  
  622. UpdatePart(hat,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  623. UpdatePart(Coat,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  624. UpdatePart(CoatRA,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  625. UpdatePart(CoatLA,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  626. UpdatePart(CoatLL,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  627. UpdatePart(CoatRL,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  628. UpdatePart(CoatRightDesign,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  629. UpdatePart(CoatLeftDesign,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  630.  
  631. end
  632. end))
  633.  
  634. hummus.WalkSpeed = 0
  635. wait(3)
  636.  
  637. explosion = Instance.new("Explosion", game.Workspace)
  638. explosion.BlastRadius = 1
  639. explosion.Position = char.Parent.Torso.Position
  640. explosion.BlastPressure = 10000
  641. explosion.DestroyJointRadiusPercent = 1 -- neck welds won't be destroyed
  642. explosion.ExplosionType = "CratersAndDebris"
  643.  
  644. end
  645. ----------------------------------------------------
  646. Debounces = {
  647. CanAttack = true;
  648. NoIdl = false;
  649. Slashing = false;
  650. Slashed = false;
  651. Slapping = false;
  652. Slapped = false;
  653. RPunch = false;
  654. RPunched = false;
  655. LPunch = false;
  656. LPunched = false;
  657. }
  658. local Touche = {char.Name, }
  659. ----------------------------------------------------
  660. function lerp(a, b, t) -- Linear interpolation
  661. return a + (b - a)*t
  662. end
  663.  
  664. function slerp(a, b, t) --Spherical interpolation
  665. dot = a:Dot(b)
  666. if dot > 0.99999 or dot < -0.99999 then
  667. return t <= 0.5 and a or b
  668. else
  669. r = math.acos(dot)
  670. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  671. end
  672. end
  673.  
  674. function matrixInterpolate(a, b, t)
  675. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  676. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  677. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  678. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  679. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  680. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  681. local t = v1:Dot(v2)
  682. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  683. return CFrame.new()
  684. end
  685. return CFrame.new(
  686. v0.x, v0.y, v0.z,
  687. v1.x, v1.y, v1.z,
  688. v2.x, v2.y, v2.z,
  689. v3.x, v3.y, v3.z)
  690. end
  691. ----------------------------------------------------
  692. function genWeld(a,b)
  693. local w = Instance.new("Weld",a)
  694. w.Part0 = a
  695. w.Part1 = b
  696. return w
  697. end
  698. function weld(a, b)
  699. local weld = Instance.new("Weld")
  700. weld.Name = "W"
  701. weld.Part0 = a
  702. weld.Part1 = b
  703. weld.C0 = a.CFrame:inverse() * b.CFrame
  704. weld.Parent = a
  705. return weld;
  706. end
  707. ----------------------------------------------------
  708. function Lerp(c1,c2,al)
  709. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  710. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  711. for i,v in pairs(com1) do
  712. com1[i] = v+(com2[i]-v)*al
  713. end
  714. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  715. end
  716. ----------------------------------------------------
  717. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  718. local wld = Instance.new("Weld", wp1)
  719. wld.Part0 = wp0
  720. wld.Part1 = wp1
  721. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  722. end
  723. ----------------------------------------------------
  724. function weld5(part0, part1, c0, c1)
  725. weeld=Instance.new("Weld", part0)
  726. weeld.Part0=part0
  727. weeld.Part1=part1
  728. weeld.C0=c0
  729. weeld.C1=c1
  730. return weeld
  731. end
  732. ----------------------------------------------------
  733. newWeld(torso, larm, -1.5, 0.5, 0)
  734. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  735. newWeld(torso, rarm, 1.5, 0.5, 0)
  736. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  737. newWeld(torso, hed, 0, 1.5, 0)
  738. newWeld(torso, lleg, -0.5, -1, 0)
  739. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  740. newWeld(torso, rleg, 0.5, -1, 0)
  741. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  742. newWeld(root, torso, 0, -1, 0)
  743. torso.Weld.C1 = CFrame.new(0, -1, 0)
  744. ----------------------------------------------------
  745. Blast = function()
  746. local Colors = {"Really red", "Really black"}
  747. local wave = Instance.new("Part", torso)
  748. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  749. wave.Anchored = true
  750. wave.CanCollide = false
  751. wave.Locked = true
  752. wave.Size = Vector3.new(1, 1, 1)
  753. wave.TopSurface = "Smooth"
  754. wave.BottomSurface = "Smooth"
  755. wave.Transparency = 0.35
  756. wave.CFrame = rarm.CFrame
  757. wm = Instance.new("SpecialMesh", wave)
  758. wm.MeshType = "Sphere"
  759. wm.Scale = Vector3.new(1,1,1)
  760. z = Instance.new("Sound",wave)
  761. z.SoundId = "rbxassetid://237035051"
  762. z.Volume = 1
  763. z.Pitch = .9
  764. z:Play()
  765. coroutine.wrap(function()
  766. for i = 1, 30, 1 do
  767. wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4)
  768. --wave.Size = wm.Scale
  769. wave.CFrame = rarm.CFrame
  770. wave.Transparency = (1/14)
  771. rs:wait()
  772. end
  773. rs:wait()
  774. wave:Destroy()
  775. z:Destroy()
  776. end)()
  777. end
  778. ----------------------------------------------------
  779. rarm.Touched:connect(function(ht)
  780. hit = ht.Parent
  781. if ht and hit:IsA("Model") then
  782. if hit:FindFirstChild("Humanoid") then
  783. if hit.Name ~= p.Name then
  784. if Debounces.RPunch == true and Debounces.RPunched == false then
  785. Debounces.RPunched = true
  786. hit:FindFirstChild("Humanoid"):TakeDamage(1000)
  787. if Debounces.ks==true then
  788. z = Instance.new("Sound",hed)
  789. z.SoundId = "rbxassetid://169380525"
  790. z.Pitch = ptz[math.random(1,#ptz)]
  791. z.Volume = 1
  792. z:Play()
  793. end
  794. wait(.2)
  795. Debounces.RPunched = false
  796. end
  797. end
  798. end
  799. elseif ht and hit:IsA("Hat") then
  800. if hit.Parent.Name ~= p.Name then
  801. if hit.Parent:FindFirstChild("Humanoid") then
  802. if Debounces.RPunch == true and Debounces.RPunched == false then
  803. Debounces.RPunched = true
  804. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(1000)
  805. if Debounces.ks==true then
  806. z = Instance.new("Sound",hed)
  807. z.SoundId = "rbxassetid://169380525"
  808. z.Pitch = ptz[math.random(1,#ptz)]
  809. z.Volume = 1
  810. z:Play()
  811. end
  812. wait(.2)
  813. Debounces.RPunched = false
  814. end
  815. end
  816. end
  817. end
  818. end)
  819. larm.Touched:connect(function(ht)
  820. hit = ht.Parent
  821. if ht and hit:IsA("Model") then
  822. if hit:FindFirstChild("Humanoid") then
  823. if hit.Name ~= p.Name then
  824. if Debounces.LPunch == true and Debounces.LPunched == false then
  825. Debounces.LPunched = true
  826. hit:FindFirstChild("Humanoid"):TakeDamage(1000)
  827. if Debounces.ks2==true then
  828. z = Instance.new("Sound",hed)
  829. z.SoundId = "rbxassetid://169380525"
  830. z.Pitch = ptz[math.random(1,#ptz)]
  831. z.Volume = 1
  832. z:Play()
  833. end
  834. wait(.2)
  835. Debounces.LPunched = false
  836. end
  837. end
  838. end
  839. elseif ht and hit:IsA("Hat") then
  840. if hit.Parent.Name ~= p.Name then
  841. if hit.Parent:FindFirstChild("Humanoid") then
  842. if Debounces.LPunch == true and Debounces.LPunched == false then
  843. Debounces.LPunched = true
  844. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  845. if Debounces.ks2==true then
  846. z = Instance.new("Sound",hed)
  847. z.SoundId = "rbxassetid://169380525"
  848. z.Pitch = ptz[math.random(1,#ptz)]
  849. z.Volume = 1
  850. z:Play()
  851. end
  852. wait(.2)
  853. Debounces.LPunched = false
  854. end
  855. end
  856. end
  857. end
  858. end)
  859. ----------------------------------------------------
  860.  
  861. ptez = {0.7, 0.8, 0.9, 1}
  862.  
  863. function FindNearestTorso(Position,Distance,SinglePlayer)
  864. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  865. local List = {}
  866. for i,v in pairs(workspace:GetChildren())do
  867. if v:IsA("Model")then
  868. if v:findFirstChild("Torso")then
  869. if v ~= char then
  870. if(v.Torso.Position -Position).magnitude <= Distance then
  871. table.insert(List,v)
  872. end
  873. end
  874. end
  875. end
  876. end
  877. return List
  878. end
  879.  
  880. function Punch()
  881. part=Instance.new('Part',mod4)
  882. part.Anchored=true
  883. part.CanCollide=false
  884. part.FormFactor='Custom'
  885. part.Size=Vector3.new(.2,.2,.2)
  886. part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0)
  887. part.Transparency=.7
  888. part.BrickColor=BrickColor.new('Really black')
  889. mesh=Instance.new('SpecialMesh',part)
  890. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  891. mesh.Scale=Vector3.new(3,3,3)
  892. part2=Instance.new('Part',mod4)
  893. part2.Anchored=true
  894. part2.CanCollide=false
  895. part2.FormFactor='Custom'
  896. part2.Size=Vector3.new(.2,.2,.2)
  897. part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0)
  898. part2.Transparency=.7
  899. part2.BrickColor=BrickColor.new('Really red')
  900. mesh2=Instance.new('SpecialMesh',part2)
  901. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  902. mesh2.Scale=Vector3.new(3,1.5,3)
  903. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  904. if v:FindFirstChild('Humanoid') then
  905. v.Humanoid:TakeDamage(math.random(2,6))
  906. end
  907. end
  908. coroutine.resume(coroutine.create(function()
  909. for i=0,0.62,0.4 do
  910. wait()
  911. part.CFrame=part.CFrame
  912. part.Transparency=i
  913. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  914. part2.CFrame=part2.CFrame
  915. part2.Transparency=i
  916. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  917. end
  918. part.Parent=nil
  919. part2.Parent=nil
  920. end))
  921. end
  922. ----------------------------------------------------
  923. rarm.Touched:connect(function(ht)
  924. hit = ht.Parent
  925. if ht and hit:IsA("Model") then
  926. if hit:FindFirstChild("Humanoid") then
  927. if hit.Name ~= p.Name then
  928. if Debounces.RPunch == true and Debounces.RPunched == false then
  929. Debounces.RPunched = true
  930. hit:FindFirstChild("Humanoid"):TakeDamage(1000)
  931. if Debounces.ks==true then
  932. z = Instance.new("Sound",hed)
  933. z.SoundId = "rbxassetid://169380525"
  934. z.Pitch = ptz[math.random(1,#ptz)]
  935. z.Volume = 1
  936. z:Play()
  937. end
  938. wait(.2)
  939. Debounces.RPunched = false
  940. end
  941. end
  942. end
  943. elseif ht and hit:IsA("Hat") then
  944. if hit.Parent.Name ~= p.Name then
  945. if hit.Parent:FindFirstChild("Humanoid") then
  946. if Debounces.RPunch == true and Debounces.RPunched == false then
  947. Debounces.RPunched = true
  948. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(1000)
  949. if Debounces.ks==true then
  950. z = Instance.new("Sound",hed)
  951. z.SoundId = "rbxassetid://169380525"
  952. z.Pitch = ptz[math.random(1,#ptz)]
  953. z.Volume = 1
  954. z:Play()
  955. end
  956. wait(.2)
  957. Debounces.RPunched = false
  958. end
  959. end
  960. end
  961. end
  962. end)
  963. larm.Touched:connect(function(ht)
  964. hit = ht.Parent
  965. if ht and hit:IsA("Model") then
  966. if hit:FindFirstChild("Humanoid") then
  967. if hit.Name ~= p.Name then
  968. if Debounces.LPunch == true and Debounces.LPunched == false then
  969. Debounces.LPunched = true
  970. hit:FindFirstChild("Humanoid"):TakeDamage(1000)
  971. if Debounces.ks2==true then
  972. z = Instance.new("Sound",hed)
  973. z.SoundId = "rbxassetid://169380525"
  974. z.Pitch = ptz[math.random(1,#ptz)]
  975. z.Volume = 1
  976. z:Play()
  977. end
  978. wait(.2)
  979. Debounces.LPunched = false
  980. end
  981. end
  982. end
  983. elseif ht and hit:IsA("Hat") then
  984. if hit.Parent.Name ~= p.Name then
  985. if hit.Parent:FindFirstChild("Humanoid") then
  986. if Debounces.LPunch == true and Debounces.LPunched == false then
  987. Debounces.LPunched = true
  988. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(1000)
  989. if Debounces.ks2==true then
  990. z = Instance.new("Sound",hed)
  991. z.SoundId = "rbxassetid://169380525"
  992. z.Pitch = ptz[math.random(1,#ptz)]
  993. z.Volume = 1
  994. z:Play()
  995. end
  996. wait(.2)
  997. Debounces.LPunched = false
  998. end
  999. end
  1000. end
  1001. end
  1002. end)
  1003. ----------------------------------------------------
  1004. function newRay(start,face,range,wat)
  1005. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  1006. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  1007. return rey,hit,pos
  1008. end
  1009. ----------------------------------------------------
  1010. function HasntTouched(plrname)
  1011. local ret = true
  1012. for _, v in pairs(Touche) do
  1013. if v == plrname then
  1014. ret = false
  1015. end
  1016. end
  1017. return ret
  1018. end
  1019. ----------------------------------------------------
  1020. mod=Instance.new('Model',char)
  1021.  
  1022. function Burst()
  1023. part=Instance.new('Part',mod)
  1024. part.Anchored=true
  1025. part.CanCollide=false
  1026. part.FormFactor='Custom'
  1027. part.Size=Vector3.new(.2,.2,.2)
  1028. part.CFrame=root.CFrame*CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),0,0)
  1029. part.Transparency=.7
  1030. part.BrickColor=BrickColor.new('Really black')
  1031. mesh=Instance.new('SpecialMesh',part)
  1032. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  1033. mesh.Scale=Vector3.new(10,5,10)
  1034. part2=part:clone()
  1035. part2.Parent=mod
  1036. part2.BrickColor=BrickColor.new('Bright red')
  1037. mesh2=mesh:clone()
  1038. mesh2.Parent=part2
  1039. mesh2.Scale=Vector3.new(5,2.5,5)
  1040. coroutine.resume(coroutine.create(function()
  1041. for i=0,1,0.1 do
  1042. wait()
  1043. part.CFrame=part.CFrame
  1044. part.Transparency=i
  1045. mesh.Scale=mesh.Scale+Vector3.new(1,1,1)
  1046. part2.CFrame=part2.CFrame
  1047. part2.Transparency=i
  1048. mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
  1049. end
  1050. part.Parent=nil
  1051. part2.Parent=nil
  1052. end))
  1053. end
  1054. ----------------------------------------------------
  1055.  
  1056. ----------------------------------------------------
  1057. mod4 = Instance.new("Model",char)
  1058.  
  1059. ptez = {0.7, 0.8, 0.9, 1}
  1060.  
  1061. function FindNearestTorso(Position,Distance,SinglePlayer)
  1062. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1063. local List = {}
  1064. for i,v in pairs(workspace:GetChildren())do
  1065. if v:IsA("Model")then
  1066. if v:findFirstChild("Torso")then
  1067. if v ~= char then
  1068. if(v.Torso.Position -Position).magnitude <= Distance then
  1069. table.insert(List,v)
  1070. end
  1071. end
  1072. end
  1073. end
  1074. end
  1075. return List
  1076. end
  1077.  
  1078. function Slam()
  1079. part=Instance.new('Part',mod4)
  1080. part.Anchored=true
  1081. part.CanCollide=false
  1082. part.FormFactor='Custom'
  1083. part.Size=Vector3.new(.2,.2,.2)
  1084. part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
  1085. part.Transparency=.7
  1086. part.BrickColor=BrickColor.new('Really black')
  1087. mesh=Instance.new('SpecialMesh',part)
  1088. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1089. mesh.Scale=Vector3.new(3,3,3)
  1090. part2=Instance.new('Part',mod4)
  1091. part2.Anchored=true
  1092. part2.CanCollide=false
  1093. part2.FormFactor='Custom'
  1094. part2.Size=Vector3.new(.2,.2,.2)
  1095. part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
  1096. part2.Transparency=.7
  1097. part2.BrickColor=BrickColor.new('Royal purple')
  1098. mesh2=Instance.new('SpecialMesh',part2)
  1099. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  1100. mesh2.Scale=Vector3.new(3,1.5,3)
  1101. x = Instance.new("Sound",char)
  1102. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  1103. x.Pitch = ptez[math.random(1,#ptez)]
  1104. x.Volume = 1
  1105. wait(.1)
  1106. x1 = Instance.new("Sound",char)
  1107. x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  1108. x1.Pitch = ptez[math.random(1,#ptez)]
  1109. x1.Volume = 1
  1110. wait(.1)
  1111. x:Play()
  1112. x1:Play()
  1113. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  1114. if v:FindFirstChild('Humanoid') then
  1115. v.Humanoid:TakeDamage(math.random(30,45))
  1116. end
  1117. end
  1118. coroutine.resume(coroutine.create(function()
  1119. for i=0,0.62,0.13 do
  1120. wait()
  1121. part.CFrame=part.CFrame
  1122. part.Transparency=i
  1123. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  1124. part2.CFrame=part2.CFrame
  1125. part2.Transparency=i
  1126. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  1127. end
  1128. part.Parent=nil
  1129. part2.Parent=nil
  1130. x:Destroy()
  1131. end))
  1132. end
  1133. ----------------------------------------------------
  1134.  
  1135. rsi = game:GetService'RunService'
  1136. plrs = game:GetService'Players'
  1137. lp = plrs.LocalPlayer
  1138. c = lp.Character
  1139. root = lp.Character.HumanoidRootPart
  1140. human = c.Humanoid
  1141. FPS = 0
  1142. inf = 0
  1143. opos1 = Vector3.new()
  1144. opos2 = Vector3.new()
  1145. opos3 = Vector3.new()
  1146. waves = Instance.new("Model", c)
  1147. res = Instance.new("Model", c)
  1148. local function a()
  1149. local t=tick();
  1150. local l=t%1*3;
  1151. local t=.5*math.pi*(l%1);
  1152. if l<1 then
  1153. return Color3.new(1,1-math.cos(t),1-math.sin(t));
  1154. elseif l<2 then
  1155. return Color3.new(1-math.sin(t),1,1-math.cos(t));
  1156. else
  1157. return Color3.new(1-math.cos(t),1-math.sin(t),1);
  1158. end;
  1159. end;
  1160. speedParts = function()
  1161.  
  1162. for i = 1, 4 do
  1163. 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)
  1164. local CFramepos = root.CFrame:toWorldSpace(CFrame.new(pos)).p
  1165. local opos
  1166. if i == 1 then
  1167. opos = opos1
  1168. elseif i == 2 then
  1169. opos = opos2
  1170. else
  1171. opos = opos3
  1172. end
  1173. if human.MoveDirection ~= Vector3.new(0, 0, 0) then
  1174. local e
  1175. if #res:children() <= 3 then
  1176. e = Instance.new("Part")
  1177. else
  1178. e = res:FindFirstChild("Trail")
  1179. end
  1180. e.Parent = waves
  1181. e.Anchored = true
  1182. e.CanCollide = false
  1183. e.Transparency = 0
  1184. e.Material = "Neon"
  1185. e.Name = "Trail"
  1186. e.Color = a();
  1187. e.Size = Vector3.new(.2, (CFramepos - opos).magnitude, .2)
  1188. e.CFrame = CFrame.new((CFramepos + opos) / 2, opos) * CFrame.Angles(math.pi / 2, 0, 0)
  1189. end
  1190. if i == 1 then
  1191. opos1 = CFramepos
  1192. elseif i == 2 then
  1193. opos2 = CFramepos
  1194. else
  1195. opos3 = CFramepos
  1196. end
  1197. end
  1198. end
  1199.  
  1200.  
  1201. local player = game.Players.LocalPlayer
  1202. local pchar = player.Character
  1203. local mouse = player:GetMouse()
  1204. local cam = workspace.CurrentCamera
  1205.  
  1206. local rad = math.rad
  1207.  
  1208. local keysDown = {}
  1209. local flySpeed = 70
  1210. local MAX_FLY_SPEED = 350
  1211.  
  1212. local canFly = false
  1213. local flyToggled = false
  1214.  
  1215. local forward, side = 0, 0
  1216. local lastForward, lastSide = 0, 0
  1217.  
  1218. local floatBP = Instance.new("BodyPosition")
  1219. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  1220. local flyBV = Instance.new("BodyVelocity")
  1221. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  1222. local turnBG = Instance.new("BodyGyro")
  1223. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  1224.  
  1225. mouse.KeyDown:connect(function(key)
  1226. keysDown[key] = true
  1227.  
  1228.  
  1229.  
  1230. if key == "f" then
  1231. flyToggled = not flyToggled
  1232.  
  1233. if not flyToggled then
  1234. stanceToggle = "Normal"
  1235. floatBP.Parent = nil
  1236. flyBV.Parent = nil
  1237. turnBG.Parent = nil
  1238. root.Velocity = Vector3.new()
  1239. pchar.Humanoid.PlatformStand = false
  1240. end
  1241. end
  1242.  
  1243. end)
  1244. mouse.KeyUp:connect(function(key)
  1245. keysDown[key] = nil
  1246. end)
  1247.  
  1248. local function updateFly()
  1249.  
  1250. if not flyToggled then return end
  1251.  
  1252. lastForward = forward
  1253. lastSide = side
  1254.  
  1255. forward = 0
  1256. side = 0
  1257.  
  1258. if keysDown.w then
  1259. forward = forward + 1
  1260. end
  1261. if keysDown.s then
  1262. forward = forward - 1
  1263. end
  1264. if keysDown.a then
  1265. side = side - 1
  1266. end
  1267. if keysDown.d then
  1268. side = side + 1
  1269. end
  1270.  
  1271. canFly = (forward ~= 0 or side ~= 0)
  1272.  
  1273. if canFly then
  1274. stanceToggle = "Floating"
  1275. turnBG.Parent = root
  1276. floatBP.Parent = nil
  1277. flyBV.Parent = root
  1278.  
  1279. flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  1280. if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  1281. else
  1282. floatBP.position = root.Position
  1283. floatBP.Parent = root
  1284.  
  1285. flySpeed = flySpeed - 1
  1286. if flySpeed < 0 then flySpeed = 0 end
  1287. end
  1288.  
  1289. local camCF = cam.CoordinateFrame
  1290. local in_forward = canFly and forward or lastForward
  1291. local in_side = canFly and side or lastSide
  1292.  
  1293. flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
  1294. in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  1295.  
  1296. turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,
  1297. 0)
  1298. end
  1299.  
  1300. game:service'RunService'.RenderStepped:connect(function()
  1301. if flyToggled then
  1302. pchar.Humanoid.PlatformStand = true
  1303. end
  1304. updateFly()
  1305. end)
  1306. rsi.RenderStepped:connect(function()
  1307. if flyToggled then
  1308. FPS = 1 / rsi.RenderStepped:wait()
  1309. for i, v in pairs (waves:children()) do
  1310. v.Transparency = v.Transparency + .05 / (FPS / 60)
  1311. if v.Transparency >= .98 then
  1312. v.Transparency = 1
  1313. v.Parent = res
  1314. end
  1315. end
  1316. inf = inf + (8 + root.Velocity.magnitude / 15) / (FPS / 60)
  1317. speedParts()
  1318. end
  1319. end)
  1320. -------------------------------
  1321. pts = {4, 4.2, 4.4, 4.6, 4.8, 5, 5.2, 5.4}
  1322. local pancho = false
  1323. mouse.KeyDown:connect(function(key)
  1324. if key == "x" then
  1325. if rainbowHands == false then
  1326. pancho = false
  1327. if Debounces.CanAttack == true then
  1328. Debounces.CanAttack = false
  1329. Debounces.NoIdl = true
  1330. Debounces.on = true
  1331. Debounces.ks = true
  1332. larm.Touched:connect(function(ht)
  1333. hit = ht.Parent
  1334.  
  1335. if ht and hit:IsA("Model") then
  1336. if hit:FindFirstChild("Humanoid") then
  1337. if hit.Name ~= p.Name then
  1338. if Debounces.Slapping == true and Debounces.Slapped == false then
  1339. Debounces.Slapped = true
  1340. hit:BreakJoints()
  1341. if Debounces.ks==true then
  1342. z = Instance.new("Sound",hed)
  1343. z.SoundId = "rbxassetid://169380525"
  1344. z.Volume = 1
  1345. z:Play()
  1346. z1 = Instance.new("Sound",char)
  1347. z1.SoundId = "rbxassetid://261010715"
  1348. z1.Pitch = pts[math.random(1,#pts)]
  1349. z1.Volume = 1
  1350. z2 = Instance.new("Sound",char)
  1351. z2.SoundId = "rbxassetid://261010715"
  1352. z2.Pitch = z1.Pitch
  1353. z2.Volume = 1
  1354. z3 = Instance.new("Sound",char)
  1355. z3.SoundId = "rbxassetid://261010715"
  1356. z3.Pitch = z1.Pitch
  1357. z3.Volume = 1
  1358. z1:Play()
  1359. z2:Play()
  1360. z3:Play()
  1361. Debounces.ks=false
  1362. end
  1363. hit:FindFirstChild("Humanoid"):TakeDamage(100)
  1364.  
  1365. hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 90
  1366. wait(.5)
  1367. Debounces.Slapped = false
  1368. z:Destroy()
  1369. z1:Destroy()
  1370. z2:Destroy()
  1371. z3:Destroy()
  1372. end
  1373. end
  1374. end
  1375. elseif ht and hit:IsA("Hat") then
  1376. if hit.Parent.Name ~= p.Name then
  1377. if hit.Parent:FindFirstChild("Humanoid") then
  1378. if Debounces.Slapping == true and Debounces.Slapped == false then
  1379. Debounces.Slapped = true
  1380. if Debounces.ks==true then
  1381. z = Instance.new("Sound",hed)
  1382. z.SoundId = "rbxassetid://169380525"
  1383. z.Volume = 1
  1384. z:Play()
  1385. z1 = Instance.new("Sound",char)
  1386. z1.SoundId = "rbxassetid://261010715"
  1387. z1.Pitch = pts[math.random(1,#pts)]
  1388. z1.Volume = 1
  1389. z2 = Instance.new("Sound",char)
  1390. z2.SoundId = "rbxassetid://261010715"
  1391. z2.Pitch = z1.Pitch
  1392. z2.Volume = 1
  1393. z3 = Instance.new("Sound",char)
  1394. z3.SoundId = "rbxassetid://261010715"
  1395. z3.Pitch = z1.Pitch
  1396. z3.Volume = 1
  1397. z1:Play()
  1398. z2:Play()
  1399. z3:Play()
  1400. Debounces.ks=false
  1401. end
  1402. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
  1403. hit:FindFirstChild("Torso"):BreakJoints()
  1404. wait(.5)
  1405. Debounces.Slapped = false
  1406. z:Destroy()
  1407. z1:Destroy()
  1408. z2:Destroy()
  1409. z3:Destroy()
  1410. end
  1411. end
  1412. end
  1413. end
  1414. end)
  1415. for i = 1, 14 do
  1416. 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)
  1417. 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)
  1418. 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)
  1419. 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)
  1420. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5)
  1421. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5)
  1422. if Debounces.on==false then break end
  1423. rs:wait(2)
  1424. end
  1425. Debounces.Slapping = true
  1426. for i = 1, 20 do
  1427. 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)
  1428. 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)
  1429. 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)
  1430. 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)
  1431. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
  1432. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
  1433. if Debounces.on==false then break end
  1434. rs:wait(2)
  1435. end
  1436. Debounces.Slapping = false
  1437. if Debounces.CanAttack == false then
  1438. Debounces.CanAttack = true
  1439. Debounces.NoIdl = false
  1440. Debounces.on = false
  1441. end
  1442. end
  1443. end
  1444. end
  1445. end)
  1446. -------------------------------
  1447. Charging = false
  1448. mouse.KeyDown:connect(function(key)
  1449. if key == "r" then
  1450. if Charging == false then
  1451. Charging = true
  1452. if Debounces.CanAttack == true then
  1453. Debounces.CanAttack = false
  1454. Debounces.NoIdl = true
  1455. Debounces.on = true
  1456. for i = 1,20 do
  1457. 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)
  1458. 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)
  1459. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  1460. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  1461. 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)
  1462. 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)
  1463. if Debounces.on == false then break end
  1464. rs:wait()
  1465. end
  1466. --[[for i = 1,20 do
  1467. 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)
  1468. 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)
  1469. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
  1470. 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)
  1471. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
  1472. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
  1473. if Debounces.on == false then break end
  1474. rs:wait()
  1475. end]]--
  1476. pt=Instance.new('Part',torso)
  1477. pt.Anchored=true
  1478. pt.CanCollide=false
  1479. pt.Locked = true
  1480. pt.FormFactor='Custom'
  1481. pt.Size=Vector3.new(1,1,1)
  1482. pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
  1483. pt.Transparency=.6
  1484. pt.BrickColor=BrickColor.new('Really black')
  1485. msh=Instance.new('SpecialMesh',pt)
  1486. msh.MeshId='http://www.roblox.com/asset/?id=20329976'
  1487. msh.Scale=Vector3.new(8,4,8)
  1488. pt2=pt:clone()
  1489. pt2.Parent = torso
  1490. pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
  1491. pt2.BrickColor=BrickColor.new("Royal purple")
  1492. msh2=msh:clone()
  1493. msh2.Parent=pt2
  1494. msh2.Scale=Vector3.new(10,5,10)
  1495.  
  1496. 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}
  1497.  
  1498. bl = Instance.new("Part", char)
  1499. bl.Locked = true
  1500. bl.Name = "Shell"
  1501. bl.BrickColor = BrickColor.new("Really black")
  1502. bl.Anchored = true
  1503. bl.CanCollide = false
  1504. bl.Transparency = 0
  1505. bl.Reflectance = 0
  1506. bl.BottomSurface = 0
  1507. bl.TopSurface = 0
  1508. bl.Shape = 0
  1509. blm = Instance.new("SpecialMesh",bl)
  1510. blm.MeshType = "Sphere"
  1511. blm.Scale = Vector3.new(1,1,1)
  1512. blm.MeshId = "rbxassetid://9982590"
  1513.  
  1514. coroutine.resume(coroutine.create(function()
  1515. for i=1, math.huge, 4 do
  1516. if Charging == true then
  1517. rs:wait()
  1518. bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  1519. blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1)
  1520. bl.Transparency = bl.Transparency + 0.005
  1521. pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
  1522. pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
  1523. msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05)
  1524. msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05)
  1525. elseif Charging == false then break
  1526. end
  1527. end
  1528. end))
  1529.  
  1530. repeat
  1531. local p = Instance.new('Part',torso)
  1532. p.formFactor = 'Custom'
  1533. p.Size = Vector3.new(1,1,1)
  1534. p.BrickColor = workspace.Base.BrickColor
  1535. p.CanCollide = false
  1536. p.Transparency = 0
  1537. p.Anchored = true
  1538. p.Locked=true
  1539. p.Material = workspace.Base.Material
  1540. s = math.random(1,40)/10
  1541. local m = Instance.new("BlockMesh",p)
  1542. m.Scale = Vector3.new(s,s,s)
  1543. 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())
  1544. --[[coroutine.wrap(function()
  1545. wait(2)
  1546. while Charging == true do
  1547. wait(2)
  1548. GroundWave1()
  1549. wait(2)
  1550. end
  1551. end)()]]--
  1552. Spawn(function()
  1553. while rs:wait() do
  1554. if Charging == true then
  1555. 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)))
  1556. 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)))
  1557. 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))
  1558. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  1559. 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)))
  1560. 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)))
  1561. elseif Charging == false then break
  1562. end
  1563. end
  1564. end)
  1565. Spawn(function()
  1566. while rs:wait() do
  1567. if p.Transparency >= 1 then p:Destroy() break end
  1568. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  1569. p.Transparency = p.Transparency+0.01
  1570. end
  1571. end)
  1572. wait(.3)
  1573. until Charging == false
  1574. end
  1575. end
  1576. end
  1577. end)
  1578. ----------------------------------------------------
  1579. function spawnHair()
  1580. local m = Instance.new("Model")
  1581. m.Name = "Hair"
  1582. p1 = Instance.new("Part", m)
  1583. colc = math.random(1,7)
  1584. p1.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1585. p1.FormFactor = Enum.FormFactor.Symmetric
  1586. p1.Size = Vector3.new(1, 1, 1)
  1587. 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)
  1588. p1.CanCollide = false
  1589. p1.Locked = true
  1590. p1.BottomSurface = Enum.SurfaceType.Smooth
  1591. p1.TopSurface = Enum.SurfaceType.Smooth
  1592. b1 = Instance.new("SpecialMesh", p1)
  1593. b1.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1594. b1.TextureId = ""
  1595. b1.MeshType = Enum.MeshType.FileMesh
  1596. b1.Name = "Mesh"
  1597. b1.VertexColor = Vector3.new(0, 0, 0)
  1598. b1.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  1599. p2 = Instance.new("Part", m)
  1600. p2.BrickColor = BrickColor.new("Pastel brown")
  1601. p2.Transparency = 1
  1602. p2.Name = "Head"
  1603. p2.FormFactor = Enum.FormFactor.Symmetric
  1604. p2.Size = Vector3.new(2, 1, 1)
  1605. 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)
  1606. p2.CanCollide = false
  1607. p2.Locked = true
  1608. p2.TopSurface = Enum.SurfaceType.Smooth
  1609. b2 = Instance.new("SpecialMesh", p2)
  1610. b2.MeshType = Enum.MeshType.Head
  1611. b2.Name = "Mesh"
  1612. b2.Scale = Vector3.new(1.25, 1.25, 1.25)
  1613. p3 = Instance.new("Part", m)
  1614. p3.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1615. p3.FormFactor = Enum.FormFactor.Symmetric
  1616. p3.Size = Vector3.new(2, 2, 2)
  1617. 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)
  1618. p3.CanCollide = false
  1619. p3.Locked = true
  1620. p3.BottomSurface = Enum.SurfaceType.Smooth
  1621. p3.TopSurface = Enum.SurfaceType.Smooth
  1622. b3 = Instance.new("SpecialMesh", p3)
  1623. b3.MeshId = "http://www.roblox.com/asset/?id=16627529"
  1624. b3.TextureId = ""
  1625. b3.MeshType = Enum.MeshType.FileMesh
  1626. b3.Name = "Mesh"
  1627. b3.VertexColor = Vector3.new(0, 0, 0)
  1628. b3.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  1629. p4 = Instance.new("Part", m)
  1630. p4.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1631. p4.FormFactor = Enum.FormFactor.Symmetric
  1632. p4.Size = Vector3.new(1, 1, 1)
  1633. 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)
  1634. p4.CanCollide = false
  1635. p4.Locked = true
  1636. p4.BottomSurface = Enum.SurfaceType.Smooth
  1637. p4.TopSurface = Enum.SurfaceType.Smooth
  1638. b4 = Instance.new("SpecialMesh", p4)
  1639. b4.MeshId = "http://www.roblox.com/asset/?id=19326912"
  1640. b4.TextureId = ""
  1641. b4.MeshType = Enum.MeshType.FileMesh
  1642. b4.Name = "Mesh"
  1643. b4.VertexColor = Vector3.new(0, 0, 0)
  1644. p5 = Instance.new("Part", m)
  1645. p5.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1646. p5.FormFactor = Enum.FormFactor.Symmetric
  1647. p5.Size = Vector3.new(1, 1, 1)
  1648. 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)
  1649. p5.CanCollide = false
  1650. p5.Locked = true
  1651. p5.BottomSurface = Enum.SurfaceType.Smooth
  1652. p5.TopSurface = Enum.SurfaceType.Smooth
  1653. b5 = Instance.new("SpecialMesh", p5)
  1654. b5.MeshId = "http://www.roblox.com/asset/?id=45916884"
  1655. b5.TextureId = ""
  1656. b5.MeshType = Enum.MeshType.FileMesh
  1657. b5.Name = "Mesh"
  1658. b5.VertexColor = Vector3.new(0, 0, 0)
  1659. b5.Scale = Vector3.new(1, 0.899999976, 1)
  1660. p6 = Instance.new("Part", m)
  1661. p6.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1662. p6.FormFactor = Enum.FormFactor.Symmetric
  1663. p6.Size = Vector3.new(1, 1, 1)
  1664. 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)
  1665. p6.CanCollide = false
  1666. p6.Locked = true
  1667. p6.BottomSurface = Enum.SurfaceType.Smooth
  1668. p6.TopSurface = Enum.SurfaceType.Smooth
  1669. b6 = Instance.new("SpecialMesh", p6)
  1670. b6.MeshId = "http://www.roblox.com/asset/?id=62246019"
  1671. b6.TextureId = ""
  1672. b6.MeshType = Enum.MeshType.FileMesh
  1673. b6.Name = "Mesh"
  1674. b6.VertexColor = Vector3.new(0, 0, 0)
  1675. p7 = Instance.new("Part", m)
  1676. p7.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1677. p7.FormFactor = Enum.FormFactor.Symmetric
  1678. p7.Size = Vector3.new(1, 1, 1)
  1679. 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)
  1680. p7.CanCollide = false
  1681. p7.Locked = true
  1682. p7.BottomSurface = Enum.SurfaceType.Smooth
  1683. p7.TopSurface = Enum.SurfaceType.Smooth
  1684. b7 = Instance.new("SpecialMesh", p7)
  1685. b7.MeshId = "http://www.roblox.com/asset/?id=76056263"
  1686. b7.TextureId = ""
  1687. b7.MeshType = Enum.MeshType.FileMesh
  1688. b7.Name = "Mesh"
  1689. b7.VertexColor = Vector3.new(0, 0, 0)
  1690. p8 = Instance.new("Part", m)
  1691. p8.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1692. p8.FormFactor = Enum.FormFactor.Symmetric
  1693. p8.Size = Vector3.new(1, 1, 1)
  1694. 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)
  1695. p8.CanCollide = false
  1696. p8.Locked = true
  1697. p8.BottomSurface = Enum.SurfaceType.Smooth
  1698. p8.TopSurface = Enum.SurfaceType.Smooth
  1699. b8 = Instance.new("SpecialMesh", p8)
  1700. b8.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1701. b8.TextureId = ""
  1702. b8.MeshType = Enum.MeshType.FileMesh
  1703. b8.Name = "Mesh"
  1704. b8.VertexColor = Vector3.new(0, 0, 0)
  1705. b8.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  1706. p9 = Instance.new("Part", m)
  1707. p9.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1708. p9.FormFactor = Enum.FormFactor.Symmetric
  1709. p9.Size = Vector3.new(2, 1, 2)
  1710. 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)
  1711. p9.CanCollide = false
  1712. p9.Locked = true
  1713. p9.BottomSurface = Enum.SurfaceType.Smooth
  1714. p9.TopSurface = Enum.SurfaceType.Smooth
  1715. b9 = Instance.new("SpecialMesh", p9)
  1716. b9.MeshId = "http://www.roblox.com/asset/?id=12259089"
  1717. b9.TextureId = ""
  1718. b9.MeshType = Enum.MeshType.FileMesh
  1719. b9.Name = "Mesh"
  1720. b9.VertexColor = Vector3.new(0, 0, 0)
  1721. b9.Scale = Vector3.new(1.01999998, 1.04999995, 1.04999995)
  1722. p10 = Instance.new("Part", m)
  1723. p10.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1724. p10.FormFactor = Enum.FormFactor.Symmetric
  1725. p10.Size = Vector3.new(1, 1, 1)
  1726. 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)
  1727. p10.CanCollide = false
  1728. p10.Locked = true
  1729. p10.BottomSurface = Enum.SurfaceType.Smooth
  1730. p10.TopSurface = Enum.SurfaceType.Smooth
  1731. b10 = Instance.new("SpecialMesh", p10)
  1732. b10.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1733. b10.TextureId = ""
  1734. b10.MeshType = Enum.MeshType.FileMesh
  1735. b10.Name = "Mesh"
  1736. b10.VertexColor = Vector3.new(0, 0, 0)
  1737. b10.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  1738. p11 = Instance.new("Part", m)
  1739. p11.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1740. p11.FormFactor = Enum.FormFactor.Symmetric
  1741. p11.Size = Vector3.new(1, 1, 1)
  1742. 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)
  1743. p11.CanCollide = false
  1744. p11.Locked = true
  1745. p11.BottomSurface = Enum.SurfaceType.Smooth
  1746. p11.TopSurface = Enum.SurfaceType.Smooth
  1747. b11 = Instance.new("SpecialMesh", p11)
  1748. b11.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1749. b11.TextureId = ""
  1750. b11.MeshType = Enum.MeshType.FileMesh
  1751. b11.Name = "Mesh"
  1752. b11.VertexColor = Vector3.new(0, 0, 0)
  1753. b11.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  1754. p12 = Instance.new("Part", m)
  1755. p12.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1756. p12.FormFactor = Enum.FormFactor.Custom
  1757. p12.Size = Vector3.new(1, 3.5, 1)
  1758. 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)
  1759. p12.CanCollide = false
  1760. p12.Locked = true
  1761. p12.BottomSurface = Enum.SurfaceType.Smooth
  1762. p12.TopSurface = Enum.SurfaceType.Smooth
  1763. b12 = Instance.new("SpecialMesh", p12)
  1764. b12.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1765. b12.TextureId = ""
  1766. b12.MeshType = Enum.MeshType.FileMesh
  1767. b12.Name = "Mesh"
  1768. b12.VertexColor = Vector3.new(0, 0, 0)
  1769. b12.Scale = Vector3.new(1, 3, 1.29999995)
  1770. p13 = Instance.new("Part", m)
  1771. p13.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1772. p13.FormFactor = Enum.FormFactor.Custom
  1773. p13.Size = Vector3.new(1, 2, 1)
  1774. 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)
  1775. p13.CanCollide = false
  1776. p13.Locked = true
  1777. p13.BottomSurface = Enum.SurfaceType.Smooth
  1778. p13.TopSurface = Enum.SurfaceType.Smooth
  1779. b13 = Instance.new("SpecialMesh", p13)
  1780. b13.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1781. b13.TextureId = ""
  1782. b13.MeshType = Enum.MeshType.FileMesh
  1783. b13.Name = "Mesh"
  1784. b13.VertexColor = Vector3.new(0, 0, 0)
  1785. b13.Scale = Vector3.new(1, 3, 1.29999995)
  1786. p14 = Instance.new("Part", m)
  1787. p14.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1788. p14.FormFactor = Enum.FormFactor.Custom
  1789. p14.Size = Vector3.new(1, 2, 1)
  1790. 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)
  1791. p14.CanCollide = false
  1792. p14.Locked = true
  1793. p14.BottomSurface = Enum.SurfaceType.Smooth
  1794. p14.TopSurface = Enum.SurfaceType.Smooth
  1795. b14 = Instance.new("SpecialMesh", p14)
  1796. b14.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1797. b14.TextureId = ""
  1798. b14.MeshType = Enum.MeshType.FileMesh
  1799. b14.Name = "Mesh"
  1800. b14.VertexColor = Vector3.new(0, 0, 0)
  1801. b14.Scale = Vector3.new(1, 3, 1.29999995)
  1802. p15 = Instance.new("Part", m)
  1803. p15.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1804. p15.FormFactor = Enum.FormFactor.Custom
  1805. p15.Size = Vector3.new(1, 2.5, 1)
  1806. 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)
  1807. p15.CanCollide = false
  1808. p15.Locked = true
  1809. p15.BottomSurface = Enum.SurfaceType.Smooth
  1810. p15.TopSurface = Enum.SurfaceType.Smooth
  1811. b15 = Instance.new("SpecialMesh", p15)
  1812. b15.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1813. b15.TextureId = ""
  1814. b15.MeshType = Enum.MeshType.FileMesh
  1815. b15.Name = "Mesh"
  1816. b15.VertexColor = Vector3.new(0, 0, 0)
  1817. b15.Scale = Vector3.new(1, 3, 1.29999995)
  1818. p16 = Instance.new("Part", m)
  1819. p16.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1820. p16.FormFactor = Enum.FormFactor.Custom
  1821. p16.Size = Vector3.new(1, 2.5, 1)
  1822. 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)
  1823. p16.CanCollide = false
  1824. p16.Locked = true
  1825. p16.BottomSurface = Enum.SurfaceType.Smooth
  1826. p16.TopSurface = Enum.SurfaceType.Smooth
  1827. b16 = Instance.new("SpecialMesh", p16)
  1828. b16.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1829. b16.TextureId = ""
  1830. b16.MeshType = Enum.MeshType.FileMesh
  1831. b16.Name = "Mesh"
  1832. b16.VertexColor = Vector3.new(0, 0, 0)
  1833. b16.Scale = Vector3.new(1, 3, 1.29999995)
  1834. p17 = Instance.new("Part", m)
  1835. p17.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1836. p17.FormFactor = Enum.FormFactor.Custom
  1837. p17.Size = Vector3.new(1, 2.4000001, 1)
  1838. 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)
  1839. p17.CanCollide = false
  1840. p17.Locked = true
  1841. p17.BottomSurface = Enum.SurfaceType.Smooth
  1842. p17.TopSurface = Enum.SurfaceType.Smooth
  1843. b17 = Instance.new("SpecialMesh", p17)
  1844. b17.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1845. b17.TextureId = ""
  1846. b17.MeshType = Enum.MeshType.FileMesh
  1847. b17.Name = "Mesh"
  1848. b17.VertexColor = Vector3.new(0, 0, 0)
  1849. b17.Scale = Vector3.new(1, 3, 1.29999995)
  1850. p18 = Instance.new("Part", m)
  1851. p18.BrickColor = Neonsc[colc] colc = math.random(1,7)
  1852. p18.FormFactor = Enum.FormFactor.Custom
  1853. p18.Size = Vector3.new(2, 2, 2)
  1854. 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)
  1855. p18.CanCollide = false
  1856. p18.Locked = true
  1857. p18.BottomSurface = Enum.SurfaceType.Smooth
  1858. p18.TopSurface = Enum.SurfaceType.Smooth
  1859. b18 = Instance.new("SpecialMesh", p18)
  1860. b18.MeshId = "http://www.roblox.com/asset/?id=16627529"
  1861. b18.TextureId = ""
  1862. b18.MeshType = Enum.MeshType.FileMesh
  1863. b18.Name = "Mesh"
  1864. b18.VertexColor = Vector3.new(0, 0, 0)
  1865. b18.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  1866. w1 = Instance.new("Weld", p1)
  1867. w1.Name = "Head_Weld"
  1868. w1.Part0 = p1
  1869. 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)
  1870. w1.Part1 = p2
  1871. 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)
  1872. w2 = Instance.new("Weld", p2)
  1873. w2.Name = "Part_Weld"
  1874. w2.Part0 = p2
  1875. 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)
  1876. w2.Part1 = p3
  1877. 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)
  1878. w3 = Instance.new("Weld", p3)
  1879. w3.Name = "Part_Weld"
  1880. w3.Part0 = p3
  1881. 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)
  1882. w3.Part1 = p4
  1883. 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)
  1884. w4 = Instance.new("Weld", p4)
  1885. w4.Name = "Part_Weld"
  1886. w4.Part0 = p4
  1887. 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)
  1888. w4.Part1 = p5
  1889. 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)
  1890. w5 = Instance.new("Weld", p5)
  1891. w5.Name = "Part_Weld"
  1892. w5.Part0 = p5
  1893. 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)
  1894. w5.Part1 = p6
  1895. 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)
  1896. w6 = Instance.new("Weld", p6)
  1897. w6.Name = "Part_Weld"
  1898. w6.Part0 = p6
  1899. 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)
  1900. w6.Part1 = p7
  1901. 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)
  1902. w7 = Instance.new("Weld", p7)
  1903. w7.Name = "Part_Weld"
  1904. w7.Part0 = p7
  1905. 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)
  1906. w7.Part1 = p8
  1907. 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)
  1908. w8 = Instance.new("Weld", p8)
  1909. w8.Name = "Part_Weld"
  1910. w8.Part0 = p8
  1911. 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)
  1912. w8.Part1 = p9
  1913. 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)
  1914. w9 = Instance.new("Weld", p9)
  1915. w9.Name = "Part_Weld"
  1916. w9.Part0 = p9
  1917. 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)
  1918. w9.Part1 = p10
  1919. 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)
  1920. w10 = Instance.new("Weld", p10)
  1921. w10.Name = "Part_Weld"
  1922. w10.Part0 = p10
  1923. 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)
  1924. w10.Part1 = p11
  1925. 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)
  1926. w11 = Instance.new("Weld", p11)
  1927. w11.Name = "Part_Weld"
  1928. w11.Part0 = p11
  1929. 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)
  1930. w11.Part1 = p12
  1931. 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)
  1932. w12 = Instance.new("Weld", p12)
  1933. w12.Name = "Part_Weld"
  1934. w12.Part0 = p12
  1935. 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)
  1936. w12.Part1 = p13
  1937. 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)
  1938. w13 = Instance.new("Weld", p13)
  1939. w13.Name = "Part_Weld"
  1940. w13.Part0 = p13
  1941. 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)
  1942. w13.Part1 = p14
  1943. 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)
  1944. w14 = Instance.new("Weld", p14)
  1945. w14.Name = "Part_Weld"
  1946. w14.Part0 = p14
  1947. 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)
  1948. w14.Part1 = p15
  1949. 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)
  1950. w15 = Instance.new("Weld", p15)
  1951. w15.Name = "Part_Weld"
  1952. w15.Part0 = p15
  1953. 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)
  1954. w15.Part1 = p16
  1955. 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)
  1956. w16 = Instance.new("Weld", p16)
  1957. w16.Name = "Part_Weld"
  1958. w16.Part0 = p16
  1959. 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)
  1960. w16.Part1 = p17
  1961. 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)
  1962. w17 = Instance.new("Weld", p17)
  1963. w17.Name = "Part_Weld"
  1964. w17.Part0 = p17
  1965. 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)
  1966. w17.Part1 = p18
  1967. 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)
  1968. m.Parent = char
  1969. m:MakeJoints()
  1970. ----------------------------------------------------
  1971. local cor = Instance.new("Part", char.Hair)
  1972. cor.Name = "Link"
  1973. cor.Locked = true
  1974. cor.BottomSurface = 0
  1975. cor.CanCollide = false
  1976. cor.Size = Vector3.new(1, 9, 1)
  1977. cor.Transparency = 1
  1978. cor.TopSurface = 0
  1979. corw = Instance.new("Weld", cor)
  1980. corw.Part0 = hed
  1981. corw.Part1 = cor
  1982. corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1983. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1984. weld1 = Instance.new("Weld", char.Hair)
  1985. weld1.Part0 = cor
  1986. weld1.Part1 = char.Hair.Head
  1987. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1988. end
  1989. ----------------------------------------------------
  1990. local rainbowHands = false
  1991. mouse.KeyDown:connect(function(key)
  1992. if key == "t" then
  1993. if Grab == false then
  1994. if rainbowssl == true then
  1995. if rainbowHands == true then
  1996. if d0arm[3] ~= "true" then
  1997. rainbowHands = false
  1998. d0arm[3] = "true"
  1999. do2()
  2000. end
  2001. elseif rainbowHands == false then
  2002. if d0arm[3] ~= "false" then
  2003. d0arm[3] = "false"
  2004. d0arm[1].Enabled = false
  2005. d0arm[2].Enabled = false
  2006. end
  2007. end
  2008. end
  2009. end
  2010. end
  2011. end)
  2012. ----------------------------------------------------
  2013.  
  2014. mouse.KeyDown:connect(function(key)
  2015. if key == "c" then
  2016.  
  2017.  
  2018. if rainbowHands == false then
  2019. if d0arm[3] == "true" then
  2020. d0arm[3] = "false"
  2021. d0arm[1].Enabled = false
  2022. d0arm[2].Enabled = false
  2023. end
  2024. if Debounces.CanAttack == true then
  2025. Debounces.CanAttack = false
  2026. Debounces.NoIdl = true
  2027. end
  2028. equipanim()
  2029. Debounces.CanAttack = true
  2030. Debounces.NoIdl = false
  2031. rainbowHands = true
  2032. z = Instance.new("Sound",hed)
  2033. z.SoundId = "rbxassetid://169380525"
  2034. z.Volume = 1
  2035. z:Play()
  2036.  
  2037. else
  2038. rainbowHands = false
  2039. end
  2040. end
  2041. end)
  2042. Player = game:GetService("Players").LocalPlayer
  2043. Character = Player.Character
  2044. PlayerGui = Player.PlayerGui
  2045. Backpack = Player.Backpack
  2046. Torso = Character.Torso
  2047. Head = Character.Head
  2048. Humanoid = Character.Humanoid
  2049. LeftArm = Character["Left Arm"]
  2050. LeftLeg = Character["Left Leg"]
  2051. RightArm = Character["Right Arm"]
  2052. RightLeg = Character["Right Leg"]
  2053. LS = Torso["Left Shoulder"]
  2054. LH = Torso["Left Hip"]
  2055. RS = Torso["Right Shoulder"]
  2056. RH = Torso["Right Hip"]
  2057. Neck = Torso.Neck
  2058. it = Instance.new
  2059. vt = Vector3.new
  2060. cf = CFrame.new
  2061. euler = CFrame.fromEulerAnglesXYZ
  2062. angles = CFrame.Angles
  2063. mr = math.rad
  2064. mr2 = math.random
  2065. RootPart = Character.HumanoidRootPart
  2066. RootJoint = RootPart.RootJoint
  2067. RootCF = euler(-1.57, 0, 3.14)
  2068. attack = false
  2069. attackdebounce = false
  2070. MMouse = Player:GetMouse()
  2071. combo = 0
  2072. local hitfloor, posfloor = nil, nil
  2073. local Effects = {}
  2074. local Weapon = {}
  2075. local Welds = {}
  2076. local Saber = {}
  2077. local Buster = {}
  2078. local decreaseatk = 0
  2079. local decreasedef = 0
  2080. local decreasemvmt = 0
  2081. local manainc = 16
  2082. local handle = nil
  2083. local floating = false
  2084. local testpart = it("Part")
  2085. testpart.Anchored = true
  2086. local Mode = "Normal"
  2087. local cbuster = false
  2088. local cshoot = false
  2089. local cdebounce = false
  2090. local sbreaker = false
  2091. local shockshoot = false
  2092. local shockdebounce = false
  2093. local TehM = nil
  2094. local sblazing = false
  2095. local starshoot = false
  2096. local stardebounce = false
  2097. local busterlaser = false
  2098. local sbreakerII = false
  2099. local galacblazing = false
  2100. local prising = false
  2101. local move1 = "(Z)\nChaos Buster"
  2102. local move2 = "(X)\nShocker Breaker"
  2103. local move3 = "(C)\nStar Blazing"
  2104. local move4 = "(V)\n"
  2105. player = nil
  2106. RSH = nil
  2107. LSH = nil
  2108.  
  2109. TorsoColor = Torso.BrickColor
  2110. NewCol = BrickColor.new("Ghost grey").Color
  2111. NewCol2 = BrickColor.new("Smoky grey").Color
  2112. NewCol3 = BrickColor.new("Pearl").Color
  2113.  
  2114.  
  2115. 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")}
  2116.  
  2117.  
  2118. ArtificialHB = Instance.new("BindableEvent", script)
  2119. ArtificialHB.Name = "Heartbeat"
  2120.  
  2121. script:WaitForChild("Heartbeat")
  2122.  
  2123. frame = 1 / 40
  2124. tf = 0
  2125. allowframeloss = true
  2126. tossremainder = false
  2127. lastframe = tick()
  2128. script.Heartbeat:Fire()
  2129.  
  2130. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2131. tf = tf + s
  2132. if tf >= frame then
  2133. if allowframeloss then
  2134. script.Heartbeat:Fire()
  2135. lastframe = tick()
  2136. else
  2137. for i = 1, math.floor(tf / frame) do
  2138. script.Heartbeat:Fire()
  2139. end
  2140. lastframe = tick()
  2141. end
  2142. if tossremainder then
  2143. tf = 0
  2144. else
  2145. tf = tf - frame * math.floor(tf / frame)
  2146. end
  2147. end
  2148. end)
  2149.  
  2150. function swait(num)
  2151. if num == 0 or num == nil then
  2152. ArtificialHB.Event:wait()
  2153. else
  2154. for i = 0, num do
  2155. ArtificialHB.Event:wait()
  2156. end
  2157. end
  2158. end
  2159.  
  2160.  
  2161.  
  2162.  
  2163. local Stats = Instance.new("BoolValue")
  2164. Stats.Name = "Stats"
  2165. Stats.Parent = Character
  2166. local Atk = Instance.new("NumberValue")
  2167. Atk.Name = "Damage"
  2168. Atk.Parent = Stats
  2169. Atk.Value = 1
  2170. local Def = Instance.new("NumberValue")
  2171. Def.Name = "Defense"
  2172. Def.Parent = Stats
  2173. Def.Value = 1
  2174. local Mvmt = Instance.new("NumberValue")
  2175. Mvmt.Name = "Movement"
  2176. Mvmt.Parent = Stats
  2177. Mvmt.Value = 1
  2178. local Block = Instance.new("BoolValue")
  2179. Block.Name = "Block"
  2180. Block.Parent = Stats
  2181. Block.Value = false
  2182. local Stun = Instance.new("NumberValue")
  2183. Stun.Name = "Stun"
  2184. Stun.Parent = Stats
  2185. Stun.Value = 0
  2186. local StunT = Instance.new("NumberValue")
  2187. StunT.Name = "StunThreshold"
  2188. StunT.Parent = Stats
  2189. StunT.Value = 80
  2190. local Rooted = Instance.new("BoolValue")
  2191. Rooted.Name = "Rooted"
  2192. Rooted.Parent = Stats
  2193. Rooted.Value = false
  2194. local Stunned = Instance.new("BoolValue")
  2195. Stunned.Name = "Stunned"
  2196. Stunned.Parent = Stats
  2197. Stunned.Value = false
  2198. local Stagger = Instance.new("BoolValue")
  2199. Stagger.Name = "Stagger"
  2200. Stagger.Parent = Stats
  2201. Stagger.Value = false
  2202. local StaggerHit = Instance.new("BoolValue")
  2203. StaggerHit.Name = "StaggerHit"
  2204. StaggerHit.Parent = Stats
  2205. StaggerHit.Value = false
  2206. local RecentEnemy = Instance.new("ObjectValue")
  2207. RecentEnemy.Name = "RecentEnemy"
  2208. RecentEnemy.Parent = Stats
  2209. RecentEnemy.Value = nil
  2210. local Decrease = Instance.new("BoolValue")
  2211. Decrease.Name = "Decrease"
  2212. Decrease.Parent = Stats
  2213. Decrease.Value = false
  2214. local mana = Instance.new("NumberValue")
  2215. mana.Name = "Mana"
  2216. mana.Parent = Stats
  2217. mana.Value = 0
  2218. local passive1 = Instance.new("NumberValue", Decrease)
  2219. passive1.Name = "DecreaseMvmt"
  2220. passive1.Value = -0.1
  2221. local passive2 = Instance.new("NumberValue", Decrease)
  2222. passive2.Name = "DecreaseDef"
  2223. passive2.Value = 0
  2224. NoOutline = function(Part)
  2225. Part.TopSurface = 10
  2226. end
  2227.  
  2228. part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  2229. local fp = it("Part")
  2230. fp.formFactor = formfactor
  2231. fp.Parent = parent
  2232. fp.Reflectance = reflectance
  2233. fp.Transparency = transparency
  2234. fp.CanCollide = false
  2235. fp.Locked = true
  2236. fp.BrickColor = brickcolor
  2237. fp.Name = name
  2238. fp.Size = size
  2239. fp.Position = Torso.Position
  2240. NoOutline(fp)
  2241. fp.Material = "Neon"
  2242. fp:BreakJoints()
  2243. return fp
  2244. end
  2245.  
  2246. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  2247. local mesh = it(Mesh)
  2248. mesh.Parent = part
  2249. if Mesh == "SpecialMesh" then
  2250. mesh.MeshType = meshtype
  2251. if meshid ~= "nil" then
  2252. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  2253. end
  2254. end
  2255. mesh.Offset = offset
  2256. mesh.Scale = scale
  2257. return mesh
  2258. end
  2259.  
  2260. weld = function(parent, part0, part1, c0)
  2261. local weld = it("Motor")
  2262. weld.Parent = parent
  2263. weld.Part0 = part0
  2264. weld.Part1 = part1
  2265. weld.C0 = c0
  2266. return weld
  2267. end
  2268.  
  2269.  
  2270.  
  2271. AesthPart = function(model, wldpar, reflec, trans, col, name, neon, meshh, mshtype, mshtxt, x1, y1, z1, ceef)
  2272. prt = part(3, model, reflec, trans, BrickColor.new(col), name, vt())
  2273. prt.Material = neon
  2274. msh = mesh(meshh, prt, mshtype, mshtxt, vt(0, 0, 0), vt(x1, y1, z1))
  2275. wld = weld(handle, prt, wldpar, ceef)
  2276. v = it("NumberValue", prt)
  2277. v.Value = trans
  2278. v.Name = "MainTransparency"
  2279. return prt, msh, wld
  2280. end
  2281.  
  2282. local nr = NumberRange.new
  2283. local ns = NumberSequence.new
  2284. local cs = ColorSequence.new
  2285. local nsk = NumberSequenceKeypoint.new
  2286. particle = function(parent, col1, col2, lightemis, size, texture, transparency, zoffset, accel, drag, ltp, velinher, emisdir, enabled, lifetime, rate, rotation, rotspeed, speed, velspread)
  2287. local fp = it("ParticleEmitter")
  2288. fp.Parent = parent
  2289. fp.Color = cs(col1, col2)
  2290. fp.LightEmission = lightemis
  2291. fp.Size = size
  2292. fp.Texture = texture
  2293. fp.Transparency = transparency
  2294. fp.ZOffset = zoffset
  2295. fp.Acceleration = accel
  2296. fp.Drag = drag
  2297. fp.LockedToPart = ltp
  2298. fp.VelocityInheritance = velinher
  2299. fp.EmissionDirection = emisdir
  2300. fp.Enabled = enabled
  2301. fp.Lifetime = lifetime
  2302. fp.Rate = rate
  2303. fp.Rotation = rotation
  2304. fp.RotSpeed = rotspeed
  2305. fp.Speed = speed
  2306. fp.VelocitySpread = velspread
  2307. return fp
  2308. end
  2309. local modelzorz = Instance.new("Model")
  2310. modelzorz.Parent = Character
  2311. modelzorz.Name = "Chaos Saber"
  2312. RainbowVals = function(parent, sval, bval)
  2313. d = it("NumberValue", parent)
  2314. d.Name = "Size"
  2315. d.Value = sval
  2316. b = it("NumberValue", parent)
  2317. b.Name = "Weld"
  2318. b.Value = bval
  2319. return d, b
  2320. end
  2321.  
  2322. 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))
  2323. 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))
  2324. 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))
  2325. 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))
  2326. 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))
  2327. 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))
  2328. 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))
  2329. 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))
  2330. 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))
  2331. 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))
  2332. 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))
  2333. 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))
  2334. 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))
  2335. 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))
  2336. 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))
  2337. 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))
  2338. local hitbox = part(3, nil, 0, 1, BrickColor.new("Black"), "Hitbox", vt())
  2339. hitbox.Anchored = true
  2340. local hitboxCF = cf(0, 0, 0)
  2341. sizeseq = ns({nsk(0, 0.3), nsk(0.25, 1), nsk(0.6, 0.2), nsk(1, 0)})
  2342. transseq = ns({nsk(0, 0), nsk(0.8, 0.5), nsk(1, 1)})
  2343. 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)
  2344. starsparti.Parent = Torso
  2345. sizeseq = ns({nsk(0, 1), nsk(0.7, 6), nsk(1, 7)})
  2346. transseq = ns({nsk(0, 0), nsk(1, 1)})
  2347. 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)
  2348. lparti1.Parent = Torso
  2349. sizeseq = ns({nsk(0, 0.5), nsk(1, 0.5)})
  2350. transseq = ns({nsk(0, 0), nsk(1, 1)})
  2351. 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)
  2352. sparti.Parent = Torso
  2353. local effects = it("Model", modelzorz)
  2354. effects.Name = "Effects"
  2355. hboxpos = Instance.new("BodyPosition", nil)
  2356. hboxpos.P = 2000
  2357. hboxpos.D = 100
  2358. hboxpos.maxForce = Vector3.new(545000, 545000, 545000)
  2359.  
  2360. local bodvel = Instance.new("BodyVelocity")
  2361. local bg = Instance.new("BodyGyro")
  2362. so = function(id, par, vol, pit)
  2363. local sou = Instance.new("Sound", par or workspace)
  2364. sou.Volume = vol
  2365. sou.Pitch = pit or 1
  2366. sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
  2367. coroutine.resume(coroutine.create(function(Sound)
  2368. swait()
  2369. Sound:play()
  2370. end
  2371. ), sou)
  2372. game:GetService("Debris"):AddItem(sou, 6)
  2373. end
  2374.  
  2375.  
  2376.  
  2377.  
  2378. rayCast = function(Pos, Dir, Max, Ignore)
  2379. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2380. end
  2381.  
  2382.  
  2383.  
  2384.  
  2385.  
  2386. MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2387. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2388. prt.Anchored = true
  2389. prt.CFrame = cframe
  2390. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2391. game:GetService("Debris"):AddItem(prt, 10)
  2392. if Type == 1 or Type == nil then
  2393. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  2394. else
  2395. if Type == 2 then
  2396. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  2397. else
  2398. if Type == 3 then
  2399. table.insert(Effects, {prt, "Block3", delay, x3, y3, z3, msh, prt.CFrame})
  2400. else
  2401. if Type == 4 then
  2402. table.insert(Effects, {prt, "Block4", delay, x3, y3, z3, msh, 1})
  2403. end
  2404. end
  2405. end
  2406. end
  2407. end
  2408.  
  2409. MagicBlock2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2410. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2411. prt.Material = "Neon"
  2412. prt.Anchored = true
  2413. prt.CFrame = cframe
  2414. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2415. game:GetService("Debris"):AddItem(prt, 10)
  2416. if Type == 1 or Type == nil then
  2417. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  2418. else
  2419. if Type == 2 then
  2420. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  2421. else
  2422. if Type == 3 then
  2423. table.insert(Effects, {prt, "Block3", delay, x3, y3, z3, msh, prt.CFrame})
  2424. end
  2425. end
  2426. end
  2427. end
  2428.  
  2429. MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2430. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2431. prt.Material = "Neon"
  2432. prt.Anchored = true
  2433. prt.CFrame = cframe
  2434. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  2435. game:GetService("Debris"):AddItem(prt, 10)
  2436. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2437. end
  2438.  
  2439. MagicCircle2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, push)
  2440. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2441. prt.Anchored = true
  2442. prt.CFrame = cframe
  2443. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  2444. game:GetService("Debris"):AddItem(prt, 10)
  2445. table.insert(Effects, {prt, "Blood", delay, x3, y3, z3, msh, push})
  2446. end
  2447.  
  2448. MagicCylinder = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2449. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2450. prt.Material = "Neon"
  2451. prt.Anchored = true
  2452. prt.CFrame = cframe
  2453. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2454. game:GetService("Debris"):AddItem(prt, 10)
  2455. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2456. end
  2457.  
  2458. MagicHead = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2459. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2460. prt.Anchored = true
  2461. prt.CFrame = cframe
  2462. local msh = mesh("SpecialMesh", prt, "Head", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  2463. game:GetService("Debris"):AddItem(prt, 10)
  2464. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2465. end
  2466.  
  2467. ClangEffect = function(brickcolor, cframe, duration, decrease, size, power)
  2468. local prt = part(3, effects, 0, 1, brickcolor, "Effect", vt())
  2469. prt.Anchored = true
  2470. prt.CFrame = cframe
  2471. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(5, 5, 5))
  2472. game:GetService("Debris"):AddItem(prt, 10)
  2473. table.insert(Effects, {prt, "CylinderClang", duration, decrease, size, power, prt.CFrame, nil})
  2474. end
  2475.  
  2476. MagicWave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2477. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2478. prt.Anchored = true
  2479. prt.CFrame = cframe
  2480. local msh = mesh("SpecialMesh", prt, "FileMesh", "20329976", vt(0, 0, 0), vt(x1, y1, z1))
  2481. game:GetService("Debris"):AddItem(prt, 10)
  2482. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2483. end
  2484.  
  2485. MagicSpecial = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2486. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2487. prt.Anchored = true
  2488. prt.CFrame = cframe
  2489. local msh = mesh("SpecialMesh", prt, "FileMesh", "24388358", vt(0, 0, 0), vt(x1, y1, z1))
  2490. game:GetService("Debris"):AddItem(prt, 10)
  2491. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2492. end
  2493.  
  2494. BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  2495. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2496. prt.Anchored = true
  2497. prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2498. game:GetService("Debris"):AddItem(prt, 10)
  2499. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  2500. local num = math.random(10, 50) / 1000
  2501. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  2502. end
  2503.  
  2504. MagicStar = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2505. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2506. prt.Material = "Neon"
  2507. prt.Anchored = true
  2508. prt.CFrame = cframe
  2509. local msh = mesh("SpecialMesh", prt, "FileMesh", "45428961", vt(0, 0, 0), vt(x1, y1, z1))
  2510. game:GetService("Debris"):AddItem(prt, 10)
  2511. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2512. end
  2513. ----------------------------------------------------
  2514. mouse.KeyDown:connect(function(key)
  2515. if key == "p" then
  2516. if myVars[5] == "ssl3" then
  2517. print("Bash ran.")
  2518. Debounces.CanAttack = false
  2519. Debounces.NoIdl = true
  2520. Bash()
  2521. Debounces.CanAttack = true
  2522. Debounces.NoIdl = false
  2523. end
  2524. end
  2525. end)
  2526. ----------------------------------------------------
  2527. function makeSwordUpgrade()
  2528.  
  2529. end
  2530. makeSwordUpgrade()
  2531. ----------------------------------------------------
  2532. Grab = false
  2533. local humanoidR = nil
  2534. mouse.KeyDown:connect(function(key)
  2535. if key == "z" then
  2536. humanoidR = nil
  2537. Debounces.on = true
  2538. Debounces.NoIdl = true
  2539. Debounces.ks = true
  2540. if Grab == false then
  2541. gp = nil
  2542. for i = 1, 20 do
  2543. 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)
  2544. 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)
  2545. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
  2546. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
  2547. 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)
  2548. 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)
  2549. if Debounces.on == false then break end
  2550. rs:wait(2)
  2551. end
  2552. con1=larm.Touched:connect(function(hit) -- this is grab
  2553. ht = hit.Parent
  2554. hum1=ht:FindFirstChild('Humanoid')
  2555. if hum1 ~= nil then
  2556. if Debounces.ks==true then
  2557. z = Instance.new("Sound",hed)
  2558. z.SoundId = "rbxassetid://169380525"
  2559. z.Volume = 1
  2560. z:Play()
  2561. Debounces.ks=false
  2562. end
  2563.  
  2564. humanoidR = hum1
  2565. hum1.PlatformStand=true
  2566. gp = ht
  2567. Grab = true
  2568. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0))
  2569. asd.Parent = larm
  2570. asd.Name = "asd"
  2571. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
  2572. stanceToggle = "Grabbed"
  2573.  
  2574. end
  2575. end)
  2576. for i = 1, 20 do
  2577. 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)
  2578. 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)
  2579. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2)
  2580. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2)
  2581. 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)
  2582. 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)
  2583. if Debounces.on == false then break end
  2584. rs:wait(2)
  2585. end
  2586. con1:disconnect()
  2587. Debounces.on = false
  2588. Debounces.NoIdl = false
  2589.  
  2590. elseif Grab == true then
  2591. Grab = false
  2592. for i = 1, 16 do
  2593. 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)
  2594. 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)
  2595. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
  2596. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3)
  2597. 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)
  2598. 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)
  2599. if Debounces.on == false then end
  2600. rs:wait()
  2601. end
  2602. if gp ~= nil then
  2603. for i,v in pairs(larm:GetChildren()) do
  2604. if v.Name == "asd" and v:IsA("Weld") then
  2605. v:Remove()
  2606. end
  2607. end
  2608. for i = 1, 16 do
  2609. 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)
  2610. 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)
  2611. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3)
  2612. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
  2613. 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)
  2614. 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)
  2615. if Debounces.on == false then end
  2616. rs:wait()
  2617. end
  2618. stanceToggle = "Normal"
  2619. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  2620. bv.maxForce = Vector3.new(400000, 400000, 400000)
  2621. bv.P = 125000
  2622. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  2623. ht=nil
  2624. Debounces.on = false
  2625. Debounces.NoIdl = false
  2626. elseif ht == nil then wait()
  2627. Grab = false
  2628. humanoidR.PlatformStand = true
  2629. Debounces.on = false
  2630. Debounces.NoIdl = false
  2631. end
  2632. end
  2633. end
  2634. end)
  2635. -------------------------------------------------
  2636. givePower = function()
  2637. humanoidR.Health = 0
  2638. end
  2639. -------------------------------------------------
  2640. myVars[4] = "Normal"
  2641. mouse.KeyDown:connect(function(key)
  2642. if key == "v" then
  2643. if myVars[4] == "Normal" then
  2644. if Debounces.CanAttack == true then
  2645. Debounces.CanAttack = false
  2646. Debounces.NoIdl = true
  2647. Debounces.on = true
  2648. char.Humanoid.WalkSpeed = 0.1
  2649. myVars[4] = "Sitting"
  2650. sitting()
  2651. end
  2652. elseif myVars[4] == "Sitting" then
  2653. print("STOPPED SITTING_")
  2654. char.Humanoid.WalkSpeed = 16
  2655. myVars[4] = "Normal"
  2656. Debounces.CanAttack = true
  2657. Debounces.NoIdl = false
  2658. Debounces.on = false
  2659. end
  2660. end
  2661. end)
  2662. -------------------------------BEAMSTUFF
  2663.  
  2664. startBloxxy()
  2665.  
  2666.  
  2667. local Humanoid=char.Humanoid
  2668. local m=Instance.new('Model',char)
  2669. local it=Instance.new
  2670. local attacktype=1
  2671. local vt=Vector3.new
  2672. local cf=CFrame.new
  2673. local euler=CFrame.fromEulerAnglesXYZ
  2674. local angles=CFrame.Angles
  2675. function NoOutline(Part)
  2676. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2677. end
  2678. local RootPart = char.HumanoidRootPart
  2679.  
  2680.  
  2681.  
  2682.  
  2683. local mouse=Player:GetMouse()
  2684.  
  2685. local player=p
  2686. local ch=char
  2687. local attack = false
  2688. local attackdebounce = false
  2689. player=nil
  2690. local cam = workspace.CurrentCamera
  2691. local ZTarget = nil
  2692. local RocketTarget = nil
  2693. local Targetting = false
  2694.  
  2695.  
  2696. 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")}
  2697.  
  2698.  
  2699. function swaito(num)
  2700. if num==0 or num==nil then
  2701. game:service'RunService'.Heartbeat:wait(0)
  2702. else
  2703. for i=0,num do
  2704. game:service'RunService'.Heartbeat:wait(0)
  2705. end
  2706. end
  2707. end
  2708.  
  2709. function nooutline(part)
  2710. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  2711. end
  2712.  
  2713. function parto(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  2714. local fp=it("Part")
  2715. fp.formFactor=formfactor
  2716. fp.Parent=parent
  2717. fp.Reflectance=reflectance
  2718. fp.Transparency=transparency
  2719. fp.CanCollide=false
  2720. fp.Locked=true
  2721. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  2722. fp.Name=name
  2723. fp.Size=size
  2724. fp.Position=Character.Torso.Position
  2725. nooutline(fp)
  2726. fp.Material=material
  2727. fp:BreakJoints()
  2728. return fp
  2729. end
  2730.  
  2731. function mesho(Mesh,part,meshtype,meshid,offset,scale)
  2732. local mesh=it(Mesh)
  2733. mesh.Parent=part
  2734. if Mesh=="SpecialMesh" then
  2735. mesh.MeshType=meshtype
  2736. mesh.MeshId=meshid
  2737. end
  2738. mesh.Offset=offset
  2739. mesh.Scale=scale
  2740. return mesh
  2741. end
  2742.  
  2743. function weldo(parent,part0,part1,c0,c1)
  2744. local weld=it("Weld")
  2745. weld.Parent=parent
  2746. weld.Part0=part0
  2747. weld.Part1=part1
  2748. weld.C0=c0
  2749. weld.C1=c1
  2750. return weld
  2751. end
  2752.  
  2753.  
  2754.  
  2755.  
  2756. local function CFrameFromTopBack(at, top, back)
  2757. local right = top:Cross(back)
  2758. return CFrame.new(at.x, at.y, at.z,
  2759. right.x, top.x, back.x,
  2760. right.y, top.y, back.y,
  2761. right.z, top.z, back.z)
  2762. end
  2763.  
  2764. so = function(id,par,vol,pit)
  2765. coroutine.resume(coroutine.create(function()
  2766. local sou = Instance.new("Sound",par or workspace)
  2767. sou.Volume=vol
  2768. sou.Pitch=pit or 1
  2769. sou.SoundId=id
  2770. swait()
  2771. sou:play()
  2772. game:GetService("Debris"):AddItem(sou,6)
  2773. end))
  2774. end
  2775.  
  2776. function Triangle(a, b, c)
  2777. local edg1 = (c-a):Dot((b-a).unit)
  2778. local edg2 = (a-b):Dot((c-b).unit)
  2779. local edg3 = (b-c):Dot((a-c).unit)
  2780. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  2781. a, b, c = a, b, c
  2782. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  2783. a, b, c = b, c, a
  2784. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  2785. a, b, c = c, a, b
  2786. else
  2787. assert(false, "unreachable")
  2788. end
  2789.  
  2790. local len1 = (c-a):Dot((b-a).unit)
  2791. local len2 = (b-a).magnitude - len1
  2792. local width = (a + (b-a).unit*len1 - c).magnitude
  2793.  
  2794. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  2795.  
  2796. local list = {}
  2797.  
  2798. local TrailColor = ("Dark grey")
  2799.  
  2800. if len1 > 0.01 then
  2801. local w1 = Instance.new('WedgePart', m)
  2802. game:GetService("Debris"):AddItem(w1,5)
  2803. w1.Material = "Neon"
  2804. w1.FormFactor = 'Custom'
  2805. w1.BrickColor = BrickColor.new(TrailColor)
  2806. w1.Transparency = 0
  2807. w1.Reflectance = 0
  2808. w1.Material = "Neon"
  2809. w1.CanCollide = false
  2810. NoOutline(w1)
  2811. local sz = Vector3.new(0.2, width, len1)
  2812. w1.Size = sz
  2813. local sp = Instance.new("SpecialMesh",w1)
  2814. sp.MeshType = "Wedge"
  2815. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  2816. w1:BreakJoints()
  2817. w1.Anchored = true
  2818. w1.Parent = workspace
  2819. w1.Transparency = 0.7
  2820. table.insert(fx,{w1,"Disappear",.01})
  2821. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  2822. table.insert(list,w1)
  2823. end
  2824.  
  2825. if len2 > 0.01 then
  2826. local w2 = Instance.new('WedgePart', m)
  2827. game:GetService("Debris"):AddItem(w2,5)
  2828. w2.Material = "Neon"
  2829. w2.FormFactor = 'Custom'
  2830. w2.BrickColor = BrickColor.new(TrailColor)
  2831. w2.Transparency = 0
  2832. w2.Reflectance = 0
  2833. w2.Material = "Neon"
  2834. w2.CanCollide = false
  2835. NoOutline(w2)
  2836. local sz = Vector3.new(0.2, width, len2)
  2837. w2.Size = sz
  2838. local sp = Instance.new("SpecialMesh",w2)
  2839. sp.MeshType = "Wedge"
  2840. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  2841. w2:BreakJoints()
  2842. w2.Anchored = true
  2843. w2.Parent = workspace
  2844. w2.Transparency = 0.7
  2845. table.insert(fx,{w2,"Disappear",.01})
  2846. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  2847. table.insert(list,w2)
  2848. end
  2849. return unpack(list)
  2850. end
  2851.  
  2852. function clerp(a,b,t)
  2853. local qa = {QuaternionFromCFrame(a)}
  2854. local qb = {QuaternionFromCFrame(b)}
  2855. local ax, ay, az = a.x, a.y, a.z
  2856. local bx, by, bz = b.x, b.y, b.z
  2857. local _t = 1-t
  2858. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  2859. end
  2860.  
  2861. function QuaternionFromCFrame(cf)
  2862. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2863. local trace = m00 + m11 + m22
  2864. if trace > 0 then
  2865. local s = math.sqrt(1 + trace)
  2866. local recip = 0.5/s
  2867. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  2868. else
  2869. local i = 0
  2870. if m11 > m00 then
  2871. i = 1
  2872. end
  2873. if m22 > (i == 0 and m00 or m11) then
  2874. i = 2
  2875. end
  2876. if i == 0 then
  2877. local s = math.sqrt(m00-m11-m22+1)
  2878. local recip = 0.5/s
  2879. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  2880. elseif i == 1 then
  2881. local s = math.sqrt(m11-m22-m00+1)
  2882. local recip = 0.5/s
  2883. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  2884. elseif i == 2 then
  2885. local s = math.sqrt(m22-m00-m11+1)
  2886. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  2887. end
  2888. end
  2889. end
  2890.  
  2891. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2892. local xs, ys, zs = x + x, y + y, z + z
  2893. local wx, wy, wz = w*xs, w*ys, w*zs
  2894. local xx = x*xs
  2895. local xy = x*ys
  2896. local xz = x*zs
  2897. local yy = y*ys
  2898. local yz = y*zs
  2899. local zz = z*zs
  2900. 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))
  2901. end
  2902.  
  2903. function QuaternionSlerp(a, b, t)
  2904. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  2905. local startInterp, finishInterp;
  2906. if cosTheta >= 0.0001 then
  2907. if (1 - cosTheta) > 0.0001 then
  2908. local theta = math.acos(cosTheta)
  2909. local invSinTheta = 1/math.sin(theta)
  2910. startInterp = math.sin((1-t)*theta)*invSinTheta
  2911. finishInterp = math.sin(t*theta)*invSinTheta
  2912. else
  2913. startInterp = 1-t
  2914. finishInterp = t
  2915. end
  2916. else
  2917. if (1+cosTheta) > 0.0001 then
  2918. local theta = math.acos(-cosTheta)
  2919. local invSinTheta = 1/math.sin(theta)
  2920. startInterp = math.sin((t-1)*theta)*invSinTheta
  2921. finishInterp = math.sin(t*theta)*invSinTheta
  2922. else
  2923. startInterp = t-1
  2924. finishInterp = t
  2925. end
  2926. end
  2927. 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
  2928. end
  2929.  
  2930. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2931. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2932. end
  2933.  
  2934.  
  2935. Damagefunco=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  2936. if hit.Parent==nil then
  2937. return
  2938. end
  2939. local h=hit.Parent:FindFirstChild("Humanoid")
  2940. for _,v in pairs(hit.Parent:children()) do
  2941. if v:IsA("Humanoid") then
  2942. h=v
  2943. end
  2944. end
  2945. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  2946. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  2947. end
  2948. if hit.Parent.className=="Hat" then
  2949. hit=hit.Parent.Parent:findFirstChild("Head")
  2950. end
  2951. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  2952. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  2953. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  2954. return
  2955. end]]
  2956. -- hs(hit,1.2)
  2957. local c=Instance.new("ObjectValue")
  2958. c.Name="creator"
  2959. c.Value=game:service("Players").LocalPlayer
  2960. c.Parent=h
  2961. game:GetService("Debris"):AddItem(c,.5)
  2962. local Damage=math.random(minim,maxim)
  2963. -- h:TakeDamage(Damage)
  2964. local blocked=false
  2965. local block=hit.Parent:findFirstChild("Block")
  2966. if block~=nil then
  2967. print(block.className)
  2968. if block.className=="NumberValue" then
  2969. if block.Value>0 then
  2970. blocked=true
  2971. if decreaseblock==nil then
  2972. block.Value=block.Value-1
  2973. end
  2974. end
  2975. end
  2976. if block.className=="IntValue" then
  2977. if block.Value>0 then
  2978. blocked=true
  2979. if decreaseblock~=nil then
  2980. block.Value=block.Value-1
  2981. end
  2982. end
  2983. end
  2984. end
  2985. if blocked==false then
  2986. -- h:TakeDamage(Damage)
  2987. h.Health=h.Health-Damage
  2988. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  2989. else
  2990. h.Health=h.Health-(Damage/2)
  2991. 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)
  2992. end
  2993. if Type=="Knockdown" then
  2994. local hum=hit.Parent.Humanoid
  2995. hum.PlatformStand=true
  2996. coroutine.resume(coroutine.create(function(HHumanoid)
  2997. swait(1)
  2998. HHumanoid.PlatformStand=false
  2999. end),hum)
  3000. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  3001. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  3002. local bodvol=Instance.new("BodyVelocity")
  3003. bodvol.velocity=angle*knockback
  3004. bodvol.P=5000
  3005. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  3006. bodvol.Parent=hit
  3007. local rl=Instance.new("BodyAngularVelocity")
  3008. rl.P=3000
  3009. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  3010. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  3011. rl.Parent=hit
  3012. game:GetService("Debris"):AddItem(bodvol,.5)
  3013. game:GetService("Debris"):AddItem(rl,.5)
  3014. elseif Type=="Normal" then
  3015. local vp=Instance.new("BodyVelocity")
  3016. vp.P=500
  3017. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  3018. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  3019. if KnockbackType==1 then
  3020. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  3021. elseif KnockbackType==2 then
  3022. vp.velocity=Property.CFrame.lookVector*knockback
  3023. end
  3024. if knockback>0 then
  3025. vp.Parent=hit.Parent.Torso
  3026. end
  3027. game:GetService("Debris"):AddItem(vp,.5)
  3028. elseif Type=="Up" then
  3029. local bodyVelocity=Instance.new("BodyVelocity")
  3030. bodyVelocity.velocity=vt(0,60,0)
  3031. bodyVelocity.P=5000
  3032. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  3033. bodyVelocity.Parent=hit
  3034. game:GetService("Debris"):AddItem(bodyVelocity,1)
  3035. local rl=Instance.new("BodyAngularVelocity")
  3036. rl.P=3000
  3037. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  3038. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  3039. rl.Parent=hit
  3040. game:GetService("Debris"):AddItem(rl,.5)
  3041. elseif Type=="Snare" then
  3042. local bp=Instance.new("BodyPosition")
  3043. bp.P=2000
  3044. bp.D=100
  3045. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  3046. bp.position=hit.Parent.Torso.Position
  3047. bp.Parent=hit.Parent.Torso
  3048. game:GetService("Debris"):AddItem(bp,1)
  3049. elseif Type=="Target" then
  3050. local Targetting = false
  3051. if Targetting==false then
  3052. ZTarget=hit.Parent.Torso
  3053. coroutine.resume(coroutine.create(function(Part)
  3054. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  3055. swait(5)
  3056. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  3057. end),ZTarget)
  3058. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  3059. local targetgui=Instance.new("BillboardGui")
  3060. targetgui.Parent=ZTarget
  3061. targetgui.Size=UDim2.new(10,100,10,100)
  3062. local targ=Instance.new("ImageLabel")
  3063. targ.Parent=targetgui
  3064. targ.BackgroundTransparency=1
  3065. targ.Image="rbxassetid://4834067"
  3066. targ.Size=UDim2.new(1,0,1,0)
  3067. cam.CameraType="Scriptable"
  3068. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  3069. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  3070. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  3071. Targetting=true
  3072. RocketTarget=ZTarget
  3073. for i=1,Property do
  3074. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  3075. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  3076. swait()
  3077. end
  3078. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  3079. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  3080. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  3081. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  3082. end
  3083. Targetting=false
  3084. RocketTarget=nil
  3085. targetgui.Parent=nil
  3086. cam.CameraType="Custom"
  3087. end
  3088. end
  3089. local debounce=Instance.new("BoolValue")
  3090. debounce.Name="DebounceHit"
  3091. debounce.Parent=hit.Parent
  3092. debounce.Value=true
  3093. game:GetService("Debris"):AddItem(debounce,Delay)
  3094. c=Instance.new("ObjectValue")
  3095. c.Name="creator"
  3096. c.Value=Player
  3097. c.Parent=h
  3098. game:GetService("Debris"):AddItem(c,.5)
  3099. end
  3100. end
  3101.  
  3102. Damagefunc2o=function(Part,hit,Damage,Knockback)
  3103. if attackdebounce == false then
  3104. -- attackdebounce = true
  3105. coroutine.resume(coroutine.create(function()
  3106. wait(0.1)
  3107. attackdebounce = false
  3108. end))
  3109. if hit.Parent==nil then
  3110. return
  3111. end
  3112. local blocked=false
  3113. local h=hit.Parent:FindFirstChild("Humanoid")
  3114. if h~=nil and hit.Parent:FindFirstChild("Torso")~=nil then
  3115. Damage=Damage
  3116. local c=it("ObjectValue")
  3117. c.Name="creator"
  3118. c.Value=game.Players.LocalPlayer
  3119. c.Parent=h
  3120. game:GetService("Debris"):AddItem(c,.5)
  3121. -- print(c.Value)
  3122. --[[ if math.random(0,99)+math.random()<=7.8 then
  3123. CRIT=true
  3124. Damage=Damage*2
  3125. s=it("Sound")
  3126. s.SoundId="http://www.roblox.com/asset/?id=2801263"
  3127. s.Volume=1
  3128. s.Pitch=2
  3129. s.Parent=hit
  3130. s.PlayOnRemove=true
  3131. s.Parent=nil
  3132.  
  3133. end]]
  3134. Damage=Damage+math.random(0,10)
  3135. -- Blood(hit.CFrame*cf(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  3136. blocked=false
  3137. local block=hit.Parent:findFirstChild("Block")
  3138. if block~=nil then
  3139. print("herp")
  3140. if block.Value>0 then
  3141. blocked=true
  3142. block.Value=block.Value-3
  3143. print(block.Value)
  3144. end
  3145. end
  3146. if blocked==false then
  3147. -- h:TakeDamage(Damage)
  3148. h.Health=h.Health-Damage
  3149. 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)
  3150. else
  3151. h:TakeDamage(1)
  3152. 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)
  3153. end
  3154. --if blocked==false then
  3155. local angle = (hit.Position-(Torso.Position+Vector3.new(0,0,0))).unit
  3156. print(angle)
  3157. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  3158. local rl=Instance.new("BodyAngularVelocity")
  3159. rl.P=3000
  3160. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  3161. rl.angularvelocity=Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3162. rl.Parent=hit
  3163. coroutine.resume(coroutine.create(function(vel)
  3164. wait(0.5)
  3165. vel:Remove()
  3166. end),rl)
  3167. --end
  3168. local bodyVelocity=Instance.new("BodyVelocity")
  3169. bodyVelocity.velocity=angle*40+Vector3.new(0,0,0)
  3170. bodyVelocity.P=5000
  3171. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  3172. bodyVelocity.Parent=hit
  3173. coroutine.resume(coroutine.create(function(Vel)
  3174. wait(0.2)
  3175. Vel:Remove()
  3176. end),bodyVelocity)
  3177. c=it("ObjectValue")
  3178. c.Name="creator"
  3179. c.Value=Player
  3180. c.Parent=h
  3181. game:GetService("Debris"):AddItem(c,.5)
  3182. end
  3183. end
  3184. end
  3185.  
  3186.  
  3187. function ShowDamage(Pos, Text, Time, Color)
  3188. local Rate = (1 / 30)
  3189. local Pos = (Pos or Vector3.new(0, 0, 0))
  3190. local Text = (Text or "")
  3191. local Time = (Time or 2)
  3192. local Color = (Color or Color3.new(1, 0, 0))
  3193. local EffectPart = parto("Custom",workspace,"Neon",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  3194. EffectPart.Anchored = true
  3195. local BillboardGui = Instance.new("BillboardGui")
  3196. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  3197. BillboardGui.Adornee = EffectPart
  3198. local TextLabel = Instance.new("TextLabel")
  3199. TextLabel.BackgroundTransparency = 1
  3200. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  3201. TextLabel.Text = Text
  3202. TextLabel.TextColor3 = Color
  3203. TextLabel.TextScaled = true
  3204. TextLabel.Font = Enum.Font.ArialBold
  3205. TextLabel.Parent = BillboardGui
  3206. BillboardGui.Parent = EffectPart
  3207. game.Debris:AddItem(EffectPart, (Time + 0.1))
  3208. EffectPart.Parent = game:GetService("Workspace")
  3209. Delay(0, function()
  3210. local Frames = (Time / Rate)
  3211. for Frame = 1, Frames do
  3212. wait(Rate)
  3213. local Percent = (Frame / Frames)
  3214. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  3215. TextLabel.TextTransparency = Percent
  3216. end
  3217. if EffectPart and EffectPart.Parent then
  3218. EffectPart:Destroy()
  3219. end
  3220. end)
  3221. end
  3222.  
  3223.  
  3224. function MagniDamageo(Hit,Part,magni,mindam,maxdam,knock,Type)
  3225. for _,c in pairs(workspace:children()) do
  3226. local hum=c:findFirstChild("Humanoid")
  3227. if hum~=nil then
  3228. local head=c:findFirstChild("Torso")
  3229. if head~=nil then
  3230. local targ=head.Position-Part.Position
  3231. local mag=targ.magnitude
  3232. if mag<=magni and c.Name~=p.Name then
  3233. Damagefunco(Hit,head,mindam,maxdam,knock,Type,RootPart,.2,1,3)
  3234. end
  3235. end
  3236. end
  3237. end
  3238. end
  3239.  
  3240.  
  3241. local fx={}
  3242. function MagicBlocko(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3243. local prt=parto(3,workspace,"Neon",0,0,brickcolor,"Effect",vt())
  3244. prt.Anchored=true
  3245. prt.CFrame=cframe
  3246. msh=mesho("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3247. game:GetService("Debris"):AddItem(prt,5)
  3248. table.insert(fx,{prt,"Block1",delay,x3,y3,z3}) --part, type, delay
  3249. end
  3250.  
  3251. function MagicCylindero(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3252. local prt=parto(3,workspace,"Neon",0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  3253. prt.Anchored=true
  3254. prt.CFrame=cframe
  3255. msh=mesho("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  3256. game:GetService("Debris"):AddItem(prt,2)
  3257. coroutine.resume(coroutine.create(function(Part,Mesh)
  3258. for i=0,1,delay do
  3259. swait()
  3260. Part.CFrame=Part.CFrame
  3261. Part.Transparency=i
  3262. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3263. end
  3264. Part.Parent=nil
  3265. end),prt,msh)
  3266. end
  3267.  
  3268.  
  3269. function MagicCylinder2o(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3270. local prt=parto(3,Character,"Neon",0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  3271. prt.Anchored=true
  3272. prt.CFrame=cframe
  3273. msh=mesho("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3274. game:GetService("Debris"):AddItem(prt,5)
  3275. --table.insert(fx,{prt,"Cylinder",delay,x3,y3,z3})
  3276. fx[#fx+1]={prt,"Cylinder",delay,x3,y3,z3} --part, type, delay
  3277. --[[coroutine.resume(coroutine.create(function(Part,Mesh)
  3278. for i=0,1,delay do
  3279. wait()
  3280. Part.CFrame=Part.CFrame
  3281. Part.Transparency=i
  3282. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3283. end
  3284. Part.Parent=nil
  3285. end),prt,msh)]]
  3286. end
  3287.  
  3288.  
  3289. function MagicRingo(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3290. local prt=parto(3,workspace,"Neon",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3291. prt.Anchored=true
  3292. prt.CFrame=cframe
  3293. msh=mesho("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  3294. game:GetService("Debris"):AddItem(prt,2)
  3295. coroutine.resume(coroutine.create(function(Part,Mesh,num)
  3296. for i=0,1,delay do
  3297. swaito()
  3298. Part.Transparency=i
  3299. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3300. end
  3301. Part.Parent=nil
  3302. end),prt,msh,(math.random(0,1)+math.random())/5)
  3303. end
  3304.  
  3305. function MagicCircleo(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3306. local prt=parto(3,workspace,"Neon",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3307. prt.Anchored=true
  3308. prt.CFrame=cframe
  3309. prt.CanCollide = false
  3310. msh=mesho("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3311. game:GetService("Debris"):AddItem(prt,2)
  3312. coroutine.resume(coroutine.create(function(Part,Mesh)
  3313. for i=0,1,delay do
  3314. swaito()
  3315. Part.CFrame=Part.CFrame
  3316. Part.Transparency=i
  3317. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3318. end
  3319. Part.Parent=nil
  3320. end),prt,msh)
  3321. end
  3322.  
  3323. function attackone()
  3324. attack = true
  3325. for i = 0,1,0.1 do
  3326. 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)
  3327. 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)
  3328. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  3329. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  3330. 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)
  3331. 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)
  3332. end
  3333. so("http://roblox.com/asset/?id=268192025",Barrel2A,1,1)
  3334. so("http://roblox.com/asset/?id=268191996",Barrel2A,1,1)
  3335. so("http://roblox.com/asset/?id=268191976",Barrel2A,1,1)
  3336. ShootCannon()
  3337. ShootCannon()
  3338. ShootCannon()
  3339. for i = 0,1,0.1 do
  3340. 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)
  3341. 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)
  3342. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  3343. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  3344. 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)
  3345. 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)
  3346. end
  3347. attack = false
  3348. end
  3349.  
  3350. function attacktwo()
  3351. attack = true
  3352. for i = 0,1,0.1 do
  3353. 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)
  3354. 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)
  3355. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  3356. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  3357. 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)
  3358. 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)
  3359. end
  3360. so("http://roblox.com/asset/?id=268192025",Barrel2A,1,1)
  3361. so("http://roblox.com/asset/?id=268191996",Barrel2A,1,1)
  3362. so("http://roblox.com/asset/?id=268191976",Barrel2A,1,1)
  3363. ShootCannon2()
  3364. ShootCannon2()
  3365. ShootCannon2()
  3366. for i = 0,1,0.1 do
  3367. 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)
  3368. 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)
  3369. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  3370. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  3371. 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)
  3372. 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)
  3373. end
  3374. attack = false
  3375. end
  3376.  
  3377. local cannonSh = false
  3378. RocketTarget = RootPart
  3379. function ShootCannon()
  3380. cannonSh = true
  3381. local colr = math.random(1,7)
  3382. so("rbxassetid://263623156",rarm,.5,1)
  3383. so("rbxassetid://263610152",rarm,.5,1)
  3384. so("rbxassetid://263623139",rarm,.5,1)
  3385. local MainPos=rarm.CFrame.p
  3386. local MainPos2=mouse.Hit.p
  3387. local MouseLook=cf((MainPos+MainPos2)/2,MainPos2)
  3388. --[[local mag=(MainPos-pos).magnitude
  3389. 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)]]
  3390. num=30
  3391. coroutine.resume(coroutine.create(function()
  3392. repeat
  3393. wait()
  3394. local hit,pos = rayCast(MainPos,MouseLook.lookVector,10,RocketTarget.Parent)
  3395. local mag=(MainPos-pos).magnitude
  3396. 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)
  3397. MainPos=MainPos+(MouseLook.lookVector*10)
  3398. num=num-1
  3399. if hit~=nil then
  3400. num=0
  3401. local ref=parto(3,workspace,"Neon",0,1,Neoncol[col],"Reference",vt())
  3402. ref.Anchored=true
  3403. ref.CFrame=cf(pos)
  3404. MagniDamageo(ref,hit,1,30,50,1,"Normal")
  3405. so("rbxassetid://263610039",ref,1,1)
  3406. so("rbxassetid://263610111",ref,1,1)
  3407. MagicBlocko(Neoncol[colr],cf(pos),20,20,20,5,5,5,0.05)
  3408. game:GetService("Debris"):AddItem(ref,1)
  3409. MagniDamageo(ref,ref,15,1000,1000,10,"Normal")
  3410. explosion = Instance.new("Explosion", game.Workspace)
  3411. explosion.BlastRadius = 5
  3412. explosion.Position = ref.Position
  3413. explosion.BlastPressure = 100000
  3414. explosion.DestroyJointRadiusPercent = 10 -- neck welds won't be destroyed
  3415. explosion.ExplosionType = "CratersAndDebris"
  3416. end
  3417. until num<=0
  3418. end))
  3419. cannonSh = false
  3420. end
  3421.  
  3422.  
  3423. RocketTarget = RootPart
  3424. function ShootCannon2()
  3425. cannonSh = true
  3426. local colr = math.random(1,7)
  3427. so("rbxassetid://263623156",larm,.5,1)
  3428. so("rbxassetid://263610152",larm,.5,1)
  3429. so("rbxassetid://263623139",larm,.5,1)
  3430. local MainPos=larm.CFrame.p
  3431. local MainPos2=mouse.Hit.p
  3432. local MouseLook=cf((MainPos+MainPos2)/2,MainPos2)
  3433. --[[local mag=(MainPos-pos).magnitude
  3434. 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)]]
  3435. num=30
  3436. coroutine.resume(coroutine.create(function()
  3437. repeat
  3438. wait()
  3439. local hit,pos = rayCast(MainPos,MouseLook.lookVector,10,RocketTarget.Parent)
  3440. local mag=(MainPos-pos).magnitude
  3441. 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)
  3442. MainPos=MainPos+(MouseLook.lookVector*10)
  3443. num=num-1
  3444. if hit~=nil then
  3445. num=0
  3446. local ref=parto(3,workspace,"Neon",0,1,Neoncol[col],"Reference",vt())
  3447. ref.Anchored=true
  3448. ref.CFrame=cf(pos)
  3449. MagniDamageo(ref,hit,1,30,50,1,"Normal")
  3450. so("rbxassetid://263610039",ref,1,1)
  3451. so("rbxassetid://263610111",ref,1,1)
  3452. MagicBlocko(Neoncol[colr],cf(pos),20,20,20,5,5,5,0.05)
  3453. game:GetService("Debris"):AddItem(ref,1)
  3454. MagniDamageo(ref,ref,15,1000,1000,10,"Normal")
  3455. explosion = Instance.new("Explosion", game.Workspace)
  3456. explosion.BlastRadius = 5
  3457. explosion.Position = ref.Position
  3458. explosion.BlastPressure = 100000
  3459. explosion.DestroyJointRadiusPercent = 10 -- neck welds won't be destroyed
  3460. explosion.ExplosionType = "CratersAndDebris"
  3461. end
  3462. until num<=0
  3463. end))
  3464. cannonSh = false
  3465. end
  3466.  
  3467.  
  3468. function BeamBlast()
  3469. if cannonSh == false then
  3470. local colr = math.random(1,7)
  3471. local n=2
  3472. for i = 0,1,0.05 do
  3473.  
  3474.  
  3475. 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)
  3476. 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)
  3477.  
  3478. end
  3479. local orb=parto(3,Character,"Neon",0,1,Neoncol[colr],"Orb",vt())
  3480. local omsh=mesho("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(15,15,15))
  3481. local owld=weldo(orb,orb,Torso,cf(0,-1.5,8),cf(0,0,0))
  3482. so("http://roblox.com/asset/?id=169445572",orb,1,0.9)
  3483. so("http://roblox.com/asset/?id=169380495",orb,1,0.6)
  3484. so("http://roblox.com/asset/?id=203691346",orb,1,0.9)
  3485. for i=1,0.3,-0.01 do
  3486. colr = math.random(1,7)
  3487. wait()
  3488. orb.Transparency=i
  3489. omsh.Scale=omsh.Scale+vt(0.5,0.5,0.5)
  3490. MagicBlocko(BrickColor.new("Really black"),orb.CFrame,15,15,15,2,2,2,0.1)
  3491. local ef=parto(3,workspace,"Neon",0,0,Neoncol[colr],"Effect",vt())
  3492. ef.Anchored=true
  3493. local emsh=mesho("SpecialMesh",ef,"Sphere","",vt(0,0,0),vt(2,math.random(1000,1500)/100,2))
  3494. local ceef=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,math.random(10,20),0)
  3495. ef.CFrame=orb.CFrame*ceef
  3496. game:GetService("Debris"):AddItem(ef,2)
  3497. coroutine.resume(coroutine.create(function(Part,Mesh)
  3498. for i=0,1,0.1 do
  3499. wait()
  3500. Part.Transparency=i
  3501. Part.CFrame=Part.CFrame*cf(0,-1,0)
  3502. end
  3503. Part.Parent=nil
  3504. end),ef,emsh)
  3505. end
  3506. local Pos=cf(orb.Position,Player:GetMouse().Hit.p).lookVector
  3507. wait(.5)
  3508. orb.Parent=nil
  3509. colr = math.random(1,7)
  3510. local hit,pos = rayCast(orb.Position,Pos,999,Character)
  3511. local mag=(orb.Position-pos).magnitude
  3512. MagicCircleo(Neoncol[colr],cf(pos),15,15,15,8,8,8,0.02)
  3513. MagicBlocko(Neoncol[colr],cf(pos),15,15,15,8,8,8,0.02)
  3514. 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)
  3515. for i=1,2 do
  3516. colr = math.random(1,7)
  3517. 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)
  3518. end
  3519. for i=1,5 do
  3520. colr = math.random(1,7)
  3521. local tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(mag/5)*(i/2),0)
  3522. MagicRingo(Neoncol[colr],tehcf*euler(1.57,0,0),1,1,1,0.5,0.5,0.5,0.01)
  3523. end
  3524. for i=0,5 do
  3525. colr = math.random(1,7)
  3526. local tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(-mag/5)*(i/2),0)
  3527. MagicRingo(Neoncol[colr],tehcf*euler(1.57,0,0),1,1,1,0.5,0.5,0.5,0.01)
  3528. end
  3529. local ref=parto(3,workspace,"Neon",0,1,Neoncol[colr],"Effect",vt())
  3530. ref.CFrame=cf(pos)
  3531. so("http://roblox.com/asset/?id=203691378",Torso,1,0.7)
  3532. so("http://roblox.com/asset/?id=169445602",Torso,1,0.7)
  3533. so("http://www.roblox.com/Asset?ID=203691282",Torso,1,.8)
  3534. coroutine.resume(coroutine.create(function(Part)
  3535. Part.Parent=nil
  3536. end),ref)
  3537. if hit~=nil then
  3538. MagniDamage(Part,hit,30,1000,1000,0,"Normal")
  3539. end
  3540. explosion = Instance.new("Explosion", game.Workspace)
  3541. explosion.BlastRadius = 15
  3542. explosion.Position = ref.Position
  3543. explosion.BlastPressure = 100000
  3544. explosion.DestroyJointRadiusPercent = 30 -- neck welds won't be destroyed
  3545. explosion.ExplosionType = "CratersAndDebris"
  3546. local n=2
  3547. for i = 0,1,0.03 do
  3548.  
  3549. 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)
  3550. 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)
  3551. end
  3552. end
  3553.  
  3554. Debounces.CanAttack = true
  3555. Debounces.NoIdl = false
  3556. end
  3557.  
  3558. mouse.Button1Down:connect(function()
  3559. if Melee == true then
  3560. if rainbowHands == true then
  3561. if attack == false and attacktype == 1 then
  3562. attacktype = 2
  3563. attackone()
  3564. elseif attack == false and attacktype == 2 then
  3565. attacktype = 1
  3566. attacktwo()
  3567. end
  3568. elseif d0arm[3] == "true" then
  3569. lBeam1()
  3570. end
  3571. else
  3572. if rainbowHands == true then
  3573. if attack == false then
  3574. attacktwo()
  3575. end
  3576. end
  3577. end
  3578. end)
  3579. local slashing = false
  3580. mouse.KeyUp:connect(function(key)
  3581. if key == "q" then
  3582. if Melee == true then
  3583. if rainbowssl ~= true then
  3584. if rainbowHands == true then
  3585. Debounces.CanAttack = false
  3586. Debounces.NoIdl = true
  3587. 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)
  3588. 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)
  3589. BeamBlast()
  3590. end
  3591. elseif Melee == false then
  3592. if sword2 ~= true then
  3593. Debounces.CanAttack = false
  3594. Debounces.NoIdl = true
  3595. --Debounces.on = true
  3596. slashing = true
  3597. for i = 1, 20 do
  3598. 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)
  3599. 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)
  3600. 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)
  3601. 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)
  3602. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2)
  3603. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2)
  3604. rs:wait(2)
  3605. end
  3606. for i = 1, 20 do
  3607. 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)
  3608. 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)
  3609. 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)
  3610. 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)
  3611. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3)
  3612. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3)
  3613. rs:wait(2)
  3614. end
  3615. for i = 1, 26 do
  3616. 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)
  3617. 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)
  3618. 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)
  3619. 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)
  3620. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.35)
  3621. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.35)
  3622. --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)
  3623. rs:wait(2)
  3624. end
  3625. --cor.Weld.C1 = CFrame.Angles(0,0,0)
  3626. slashing = false
  3627. if Debounces.CanAttack == false then
  3628. Debounces.CanAttack = true
  3629. Debounces.NoIdl = false
  3630. --Debounces.on = false
  3631. end
  3632. else
  3633. Debounces.CanAttack = false
  3634. Debounces.NoIdl = true
  3635. --Debounces.on = true
  3636.  
  3637.  
  3638. if Debounces.CanAttack == false then
  3639. Debounces.CanAttack = true
  3640. Debounces.NoIdl = false
  3641. --Debounces.on = false
  3642. end
  3643.  
  3644. end
  3645. else
  3646. if Debounces.CanAttack == true then
  3647. Debounces.CanAttack = false
  3648. Debounces.NoIdl = true
  3649. sslAttack1()
  3650. Debounces.CanAttack = true
  3651. Debounces.NoIdl = false
  3652. end
  3653. end
  3654. end
  3655. end
  3656. end)
  3657. -- Magic effects
  3658. local magic = {}
  3659. magic.grid = function(cff,x,y,z,col)
  3660. local prt = part(3, workspace, 0, 0, col, "Part", vt(1, 1, 1))
  3661. prt.Anchored = true
  3662. local xval = math.random()
  3663. local yval = math.random()
  3664. local zval = math.random()
  3665. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(xval, yval, zval))
  3666. coroutine.resume(coroutine.create(function(Part, Mesh, Frame, xvaal, yvaal, zvaal)
  3667. Part.CFrame = Frame * cf(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  3668. for i = 1, 8 do
  3669. wait()
  3670. xvaal = xvaal - 0.1
  3671. yvaal = yvaal - 0.1
  3672. zvaal = zvaal - 0.1
  3673. Mesh.Scale = vt(xvaal, yvaal, zvaal)
  3674. Part.Transparency = Part.Transparency + 0.09
  3675. end
  3676. Part.Parent = nil
  3677. end), prt, msh, cff, xval, yval, zval)
  3678. end
  3679. magic.stravant = function(brickcolor, cframe, x, y, z, x1, y1, z1, delay)
  3680. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3681. prt.Anchored = true
  3682. prt.CFrame = cframe * cf(x, y, z)
  3683. local msh = mesh("SpecialMesh", prt, "FileMesh", "168892363", vt(0, 0, 0), vt(x1, y1, z1))
  3684. game:GetService("Debris"):AddItem(prt, 5)
  3685. coroutine.resume(coroutine.create(function(Part, Mesh, ex, why, zee)
  3686. local num = random()
  3687. local num2 = random(-3, 2) + random()
  3688. local numm = 0
  3689. for i = 0, 1, delay * 2 do
  3690. wait()
  3691. Part.CFrame = cframe * euler(0, numm * num * 10, 0) * cf(ex, why, zee) * cf(-i * 10, num2, 0)
  3692. Part.Transparency = i
  3693. numm = numm + 0.01
  3694. end
  3695. Part.Parent = nil
  3696. Mesh.Parent = nil
  3697. end), prt, msh, x, y, z)
  3698. end
  3699. magic.block = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, parent)
  3700. local prt = part(3, parent or workspace, 0, 0, brickcolor, "Effect", vt())
  3701. prt.Anchored = true
  3702. prt.CFrame = cframe
  3703. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3704. game:GetService("Debris"):AddItem(prt, 5)
  3705. if Type == 1 or Type == nil then
  3706. block1(prt, delay, x3, y3, z3, msh)
  3707. elseif Type == 2 then
  3708. block2(prt, delay, x3, y3, z3, msh)
  3709. end
  3710. end
  3711. -------------------------------
  3712.  
  3713.  
  3714.  
  3715. function attack1()
  3716. --con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  3717. slashing = true
  3718. Debounces.CanAttack = false
  3719. Debounces.NoIdl = true
  3720. --[[for i=0,1,0.2 do
  3721. swait()
  3722. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(2,0,1),.4)
  3723. rarm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3724. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.3,0.5,-.3)*euler(.4,0,.2)*euler(0,-.2,0),.4)
  3725. larm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3726. --rleg.Weld.C0=clerp(rleg.Weld.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.5,0),.4)
  3727. --lleg.Weld.C0=clerp(lleg.Weld.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.5,0),.4)
  3728. end
  3729. for i=0,1,0.3 do
  3730. swait()
  3731. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.2,0.5,-.3)*euler(.2,0,-.2)*euler(0,-.5,0),.4)
  3732. rarm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3733. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.4,0,-.2),.4)
  3734. larm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3735. --rleg.Weld.C0=clerp(rleg.Weld.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.5,0),.4)
  3736. --lleg.Weld.C0=clerp(lleg.Weld.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.5,0),.4)
  3737. end
  3738. for i=0,1,0.2 do
  3739. swait()
  3740. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1,0.5,-.5)*euler(.6,0,-1)*euler(0,-.7,0),.4)
  3741. rarm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3742. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.4,0,-.2),.4)
  3743. larm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3744. --rleg.Weld.C0=clerp(rleg.Weld.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.5,0),.4)
  3745. --lleg.Weld.C0=clerp(lleg.Weld.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.5,0),.4)
  3746. end]]
  3747. for i=0,1,0.2 do
  3748. swait()
  3749. --[[
  3750. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  3751. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  3752. local h = 5
  3753. 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)
  3754. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3755. 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)
  3756. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3757. scfr = blcf
  3758. elseif not scfr then
  3759. scfr = blcf
  3760. end]]
  3761. 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)
  3762. end
  3763. for i=0,1,0.2 do
  3764. swait()
  3765. --[[local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  3766. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  3767. local h = 5
  3768. 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)
  3769. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3770. 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)
  3771. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3772. scfr = blcf
  3773. elseif not scfr then
  3774. scfr = blcf
  3775. end]]
  3776. 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)
  3777. --handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.4)
  3778. end
  3779. slashing = false
  3780. Debounces.CanAttack = true
  3781. Debounces.NoIdl = false
  3782. end
  3783.  
  3784. function attack2()
  3785. slashing = true
  3786. Debounces.CanAttack = false
  3787. Debounces.NoIdl = true
  3788. for i=0,1,0.2 do
  3789. swait()
  3790. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1,0.5,-.5)*euler(1.57,0,-1)*euler(0,1.2,0),.4)
  3791. rarm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3792. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.8,0,-.4),.4)
  3793. larm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3794. end
  3795. for i=0,1,0.3 do
  3796. swait()
  3797. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1.3,0,1)*euler(0,1.6,0),.4)
  3798. rarm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3799. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.2,0,-.2),.4)
  3800. larm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3801. end
  3802. for i=0,1,0.2 do
  3803. swait()
  3804. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1,0,.8)*euler(0,1.3,0),.4)
  3805. rarm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3806. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.2,0,-.2),.4)
  3807. larm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  3808. end
  3809. slashing = false
  3810. Debounces.CanAttack = true
  3811. Debounces.NoIdl = false
  3812. end
  3813.  
  3814.  
  3815. function attack3()
  3816. slashing = true
  3817. Debounces.CanAttack = false
  3818. Debounces.NoIdl = true
  3819. for i = 0, 1, 0.16 do
  3820. swait()
  3821. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.4)
  3822. rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, -0.2) * angles(0, 1.3, 1.3), 0.4)
  3823. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-1.3, 0.4, 0.3) * angles(-0.6, 0, -0.5), 0.4)
  3824. end
  3825. coroutine.resume(coroutine.create(function()
  3826. for i = 0, 4, 0.2 do
  3827. swait()
  3828. 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)
  3829. end
  3830. end
  3831. ))
  3832. for i = 0, 1, 0.05 do
  3833. swait()
  3834. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.4)
  3835. 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)
  3836. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-1.3, 0.4, 0.3) * angles(0.8, 0, -0.5), 0.4)
  3837. end
  3838. slashing = false
  3839. Debounces.CanAttack = true
  3840. Debounces.NoIdl = false
  3841. end
  3842. -------------------------------------
  3843.  
  3844. -------------------------------------
  3845. myVars[5] = "normal"
  3846.  
  3847. myVars[8] = 0
  3848. mouse.Button1Down:connect(function()
  3849. if rainbowHands == false then
  3850. if myVars[5] == "normal" then
  3851. if sword2 == true then
  3852. if myVars[1] ~= "att1" then
  3853. if myVars[2] ~= "att2" then
  3854. if Debounces.CanAttack == true then
  3855. myVars[1] = "att1"
  3856. attack1()
  3857. end
  3858.  
  3859. elseif myVars[2] == "att2" then
  3860. if Debounces.CanAttack == true then
  3861. myVars[1] = "none"
  3862. myVars[2] = "none"
  3863. attack3()
  3864. end
  3865. end
  3866. elseif myVars[2] ~= "att2" then
  3867. if Debounces.CanAttack == true then
  3868. myVars[1] = "none"
  3869. myVars[2] = "att2"
  3870. attack2()
  3871. end
  3872. end
  3873. end
  3874. elseif myVars[5] == "ssl3" then
  3875. if myVars[7] == true then
  3876. Debounces.CanAttack = false
  3877. Debounces.NoIdl = true
  3878. if myVars[8] == 0 then
  3879. vAttackOne()
  3880. myVars[8] = 1
  3881. Debounces.CanAttack = true
  3882. Debounces.NoIdl = false
  3883. return true
  3884. elseif myVars[8] == 1 then
  3885. vAttackTwo()
  3886. myVars[8] = 2
  3887. Debounces.CanAttack = true
  3888. Debounces.NoIdl = false
  3889. return true
  3890. elseif myVars[8] == 2 then
  3891. vAttackThree()
  3892. myVars[8] = 0
  3893. Debounces.CanAttack = true
  3894. Debounces.NoIdl = false
  3895. return true
  3896. end
  3897. end
  3898. elseif myVars[5] == "ssl3_1" then
  3899. if myVars[7] == true then
  3900. Debounces.CanAttack = false
  3901. Debounces.NoIdl = true
  3902. if myVars[8] == 0 then
  3903. vAttackOne()
  3904. myVars[8] = 1
  3905. Debounces.CanAttack = true
  3906. Debounces.NoIdl = false
  3907. return true
  3908. elseif myVars[8] == 1 then
  3909. vAttackTwo()
  3910. myVars[8] = 2
  3911. Debounces.CanAttack = true
  3912. Debounces.NoIdl = false
  3913. return true
  3914. elseif myVars[8] == 2 then
  3915. vAttackThree()
  3916. myVars[8] = 0
  3917. Debounces.CanAttack = true
  3918. Debounces.NoIdl = false
  3919. return true
  3920. end
  3921. end
  3922. end
  3923. end
  3924. end)
  3925.  
  3926. function testFunc()
  3927. for i = 0, 1, 0.1 do
  3928. swait()
  3929. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), .2)
  3930. 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)
  3931. 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)
  3932. end
  3933. for i = 0, 1, 0.13 do
  3934. swait()
  3935. 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)
  3936. 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)
  3937. end
  3938. end
  3939.  
  3940. local prref = part(3, nil, 0, 1, BrickColor.new("Black"), "Reference", vt())
  3941. prref.Anchored = true
  3942. -------------------------------
  3943. local powerHand = false
  3944. local randPower = math.random(1,2)
  3945. mouse.KeyUp:connect(function(key)
  3946. if key == "t" then
  3947. if powerHand == false then
  3948. if Grab == true then
  3949. if Debounces.CanAttack == true then
  3950. Debounces.CanAttack = false
  3951. Debounces.on = true
  3952. Debounces.NoIdl = true
  3953. powerHand = true
  3954. for i = 1, 10 do
  3955. 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)
  3956. wait(0.5)
  3957. end
  3958. getDiscoMan(humanoidR)
  3959. powerHand = false
  3960. Debounces.CanAttack = true
  3961. Debounces.on = false
  3962. Debounces.NoIdl = false
  3963. humanoidR = nil
  3964. end
  3965. else
  3966. if myVars[3] == "claw" then
  3967. if Debounces.CanAttack == true then
  3968. Debounces.CanAttack = false
  3969. Debounces.on = true
  3970. Debounces.NoIdl = true
  3971. bird()
  3972. Debounces.CanAttack = true
  3973. Debounces.on = false
  3974. Debounces.NoIdl = false
  3975. end
  3976. end
  3977.  
  3978. end
  3979. end
  3980. end
  3981. end)
  3982. mouse.KeyUp:connect(function(key)
  3983. if key == "x" then
  3984. if powerHand == false then
  3985. if Grab == true then
  3986. if Debounces.CanAttack == true then
  3987. Debounces.CanAttack = false
  3988. Debounces.on = true
  3989. Debounces.NoIdl = true
  3990. powerHand = true
  3991. for i = 1, 10 do
  3992. 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)
  3993. wait(0.5)
  3994. end
  3995. getFreeze(humanoidR)
  3996. powerHand = false
  3997. Debounces.CanAttack = true
  3998. Debounces.on = false
  3999. Debounces.NoIdl = false
  4000. humanoidR = nil
  4001. end
  4002. end
  4003. end
  4004. end
  4005. end)
  4006.  
  4007. -------------------------------
  4008. mouse.KeyUp:connect(function(key)
  4009. if key == "r" then
  4010. if Charging == true then
  4011. Charging = false
  4012. pt:Destroy()
  4013. pt2:Destroy()
  4014. bl:Destroy()
  4015. if Debounces.CanAttack == false then
  4016. Debounces.CanAttack = true
  4017. Debounces.NoIdl = false
  4018. Debounces.on = false
  4019. end
  4020. end
  4021. end
  4022. end)
  4023.  
  4024. ----------------------------------------------------
  4025.  
  4026. function equipHands()
  4027. for i = 0, 1, 0.1 do
  4028. swait()
  4029. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), .2)
  4030. 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)
  4031. 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)
  4032.  
  4033. end
  4034. --CreateSound("http://roblox.com/asset/?id=346134880", Torso, 1, .9)
  4035. for i = 0, 1, 0.1 do
  4036. swait()
  4037. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), .2)
  4038. 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)
  4039. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1, 0.3, -.7) * angles(math.rad(0), math.rad(-170), math.rad(-120)), .34)
  4040.  
  4041. end
  4042. for i = 0, 1, 0.1 do
  4043. swait()
  4044. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), .2)
  4045. 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)
  4046. 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)
  4047.  
  4048. end
  4049. for i = 0, 1, 0.1 do
  4050. swait()
  4051. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), .2)
  4052. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1, 0.3, -.7) * angles(math.rad(0), math.rad(170), math.rad(120)), .34)
  4053. 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)
  4054.  
  4055. end
  4056. end
  4057.  
  4058. function sslBurst1()
  4059. for i = 0, 1, 0.1 do
  4060. swait()
  4061. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), .2)
  4062. 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)
  4063. 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)
  4064.  
  4065. end
  4066. colc = math.random(1,7)
  4067. local fx = Instance.new("Part",torso)
  4068. fx.Anchored = true
  4069. fx.Material = "Neon"
  4070. fx.CanCollide = false
  4071. fx.Locked = true
  4072. fx.Transparency = 1
  4073. fx.Material = "Neon"
  4074. fx.Size = Vector3.new(1,1,1)
  4075. fx.TopSurface = "SmoothNoOutlines"
  4076. fx.BottomSurface = "SmoothNoOutlines"
  4077. fx.BrickColor = Neonsc[colc]
  4078. fxm = Instance.new("SpecialMesh",fx)
  4079. fxm.MeshType = "Sphere"
  4080. fxm.Scale = Vector3.new(1,1,1)
  4081.  
  4082. for i = 1, 20 do
  4083. colc = math.random(1,7)
  4084. fx.BrickColor = Neonsc[colc]
  4085. fx.Transparency = fx.Transparency - (1/20)
  4086. fx.CFrame = torso.CFrame
  4087. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  4088. wait(0.0000001)
  4089. end
  4090.  
  4091.  
  4092. 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)))
  4093. 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)))
  4094. 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))
  4095. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  4096. 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)))
  4097. 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)))
  4098. ssl3Appear()
  4099.  
  4100. for i = 1, 20 do wait(0.0000001)
  4101. colc = math.random(1,7)
  4102. fx.BrickColor = Neonsc[colc]
  4103. fx.Transparency = fx.Transparency + (1/20)
  4104. fx.CFrame = torso.CFrame
  4105. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  4106. end
  4107. end
  4108.  
  4109.  
  4110. ---------------SSL3-MODE-1-ATTACKS-START-------------------------
  4111. function trail(p,t,h)
  4112. Spawn(function()
  4113. local blcf = p.CFrame
  4114. local scfr = blcf
  4115. for i=1,t do
  4116. local blcf = p.CFrame
  4117. if scfr and (p.Position-scfr.p).magnitude > .1 then
  4118. 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)
  4119. if a then game.Debris:AddItem(a,1) end
  4120. if b then game.Debris:AddItem(b,1) end
  4121. 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)
  4122. if a then game.Debris:AddItem(a,1) end
  4123. if b then game.Debris:AddItem(b,1) end
  4124. scfr = blcf
  4125. elseif not scfr then
  4126. scfr = blcf
  4127. end
  4128. game:service'RunService'.RenderStepped:wait()
  4129. end
  4130. scfr=nil
  4131. end)
  4132. end
  4133. function lBeam1()
  4134. function partypoison(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  4135. local fp=Instance.new("Part")
  4136. fp.formFactor=formfactor
  4137. fp.Parent=parent
  4138. fp.Reflectance=reflectance
  4139. fp.Transparency=transparency
  4140. fp.CanCollide=false
  4141. fp.Locked=true
  4142. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  4143. fp.Name=name
  4144. fp.Size=size
  4145. fp.Position=Character.Torso.Position
  4146. nooutline(fp)
  4147. fp.Material=material
  4148. fp:BreakJoints()
  4149. return fp
  4150. end
  4151. function meshypoison(Mesh,part,meshtype,meshid,offset,scale)
  4152. local mesh=Instance.new(Mesh)
  4153. mesh.Parent=part
  4154. if Mesh=="SpecialMesh" then
  4155. mesh.MeshType=meshtype
  4156. mesh.MeshId=meshid
  4157. end
  4158. mesh.Offset=offset
  4159. mesh.Scale=scale
  4160. return mesh
  4161. end
  4162.  
  4163. function weldypoison(parent,part0,part1,c0,c1)
  4164. local weld=Instance.new("Weld")
  4165. weld.Parent=parent
  4166. weld.Part0=part0
  4167. weld.Part1=part1
  4168. weld.C0=c0
  4169. weld.C1=c1
  4170. return weld
  4171. end
  4172. function Shockwave(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  4173. local prt = partypoison(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  4174. prt.Anchored = true
  4175. prt.CFrame = cframe
  4176. prt.Material = "Neon"
  4177. local msh = meshypoison("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  4178. game:GetService("Debris"):AddItem(prt, 2)
  4179. coroutine.resume(coroutine.create(function(Part, Mesh)
  4180. for i = 0, 1, delay do
  4181. swait()
  4182. Part.CFrame = Part.CFrame
  4183. Part.Transparency = i
  4184. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  4185. end
  4186. Part.Parent = nil
  4187. end), prt, msh)
  4188. end
  4189. for i=0,1,0.2 do
  4190. swait()
  4191. Shockwave(BrickColor.new("Lime green"),CFrame.new(rarm.Position),1,1,1,1,1,1,0.075)
  4192. end
  4193. end
  4194.  
  4195. function Bash()
  4196.  
  4197. function MagicWaveBASH(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4198. local prt=part(3,F2,0,0,brickcolor,"Effect",vt())
  4199. prt.Anchored=true
  4200. prt.CFrame=cframe
  4201. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  4202. game:GetService("Debris"):AddItem(prt,5)
  4203. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3})
  4204. end
  4205.  
  4206.  
  4207.  
  4208. for i=0,1,0.1 do
  4209. swait()
  4210. --torso.Weld.C0=clerp(torso.Weld.C0,necko*euler(0,0,1)*euler(0.5,0,0),.3)
  4211. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-1.4),.3)
  4212. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1,0.5,-0.5)*euler(1.4,-1.4,0)*euler(-.6,0,0),.3)
  4213. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(1,-1,0)*euler(.5,0,0),.3)
  4214. end
  4215. torso.Velocity=RootPart.CFrame.lookVector*600
  4216. MagicWave(Color4,RootPart.CFrame*euler(1.57,0,0),1,1,1,1,1,1,0.05)
  4217. torso.Velocity=RootPart.CFrame.lookVector*0
  4218. for i=0,1,0.1 do
  4219. swait()
  4220. --torso.Weld.C0=clerp(torso.Weld.C0,necko*euler(0,0,1.4)*euler(-0.2,0,0),.3)
  4221. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-1.4),.3)
  4222. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1,0.5,-0.5)*euler(3,-1.4,0)*euler(-.6,0,0),.3)
  4223. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(2.3,-1.4,0)*euler(.5,0,0),.3)
  4224. end
  4225. for i=0,1,0.2 do
  4226. swait()
  4227. --torso.Weld.C0=clerp(torso.Weld.C0,necko*euler(0,0,1.4)*euler(0.4,0,0),.45)
  4228. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.3)*euler(0,0,-1.4),.45)
  4229. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(.5,0.2,-0.5)*euler(3,-1.4,0)*euler(-2.7,0,0),.45)
  4230. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.2,0.1,-0.3)*euler(0,-1.4,0)*euler(.5,0,0),.45)
  4231. end
  4232. local ref=part(3,workspace,0,1,BrickColor.new("Dark indigo"),"Effect",vt())
  4233. ref.Anchored=true
  4234. ref.CFrame=cf(pos)
  4235. game:GetService("Debris"):AddItem(ref,3)
  4236.  
  4237. MagicWaveBASH(Neonsc[colc],cf(pos),1,1,1,.7,.7,.7,0.05)
  4238. MagniDamage(ref,10,40,80,math.random(100,600),"Up")
  4239. swait(10)
  4240. print("Bash_1 ran.")
  4241. end
  4242.  
  4243. vAttackOne = function()
  4244. local RbxUtility = LoadLibrary("RbxUtility")
  4245. local Create = RbxUtility.Create
  4246.  
  4247.  
  4248.  
  4249. function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
  4250. for i, v in pairs(hit:GetChildren()) do
  4251. if v:IsA("Humanoid") and hit.Name ~= Character.Name then
  4252. local find = v:FindFirstChild("DebounceHit")
  4253. if not find then
  4254. if v.Parent:findFirstChild("Head") then
  4255. local BillG = Create("BillboardGui"){
  4256. Parent = v.Parent.Head,
  4257. Size = UDim2.new(1, 0, 1, 0),
  4258. Adornee = v.Parent.Head,
  4259. StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)),
  4260. }
  4261. local TL = Create("TextLabel"){
  4262. Parent = BillG,
  4263. Size = UDim2.new(3, 3, 3, 3),
  4264. BackgroundTransparency = 1,
  4265. Text = tostring(damage).."-",
  4266. TextColor3 = Color1.Color,
  4267. TextStrokeColor3 = Color2.Color,
  4268. TextStrokeTransparency = 0,
  4269. TextXAlignment = Enum.TextXAlignment.Center,
  4270. TextYAlignment = Enum.TextYAlignment.Center,
  4271. FontSize = Enum.FontSize.Size18,
  4272. Font = "ArialBold",
  4273. }
  4274. coroutine.resume(coroutine.create(function()
  4275. swait(1)
  4276. for i = 0, 1, .1 do
  4277. swait(.1)
  4278. BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0)
  4279. end
  4280. BillG:Destroy()
  4281. end))
  4282. end
  4283. v.Health = v.Health - damage
  4284. local bool = Create("BoolValue"){
  4285. Parent = v,
  4286. Name = "DebounceHit",
  4287. }
  4288. game:GetService("Debris"):AddItem(bool, cooldown)
  4289. end
  4290. end
  4291. end
  4292. end
  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, 10 do
  4298. 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)
  4299. 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)
  4300. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2)*CFrame.Angles(math.rad(10),math.rad(-46),0), 0.47)
  4301. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-8), math.rad(46), 0), 0.55)
  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.43)
  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.43)
  4304. rs:wait()
  4305. end
  4306.  
  4307. for i = 1, 10 do
  4308. 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)
  4309. 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)
  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(-10), 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. print("RUN_SSL31")
  4319. myVars[11].Parent=myVars[10]
  4320. myVars[11].Size=vt(1,6,1)
  4321. myVars[11].Transparency=1
  4322. myVars[11].CFrame=myVars[10].prtd7.CFrame
  4323. local con1=myVars[11].Touched:connect(function(hit) Damagefunc(hit,30,60,math.random(10000,10000),"Lifesteal",RootPart,.5,1) end)
  4324. for i=0,1,0.1 do
  4325. swait()
  4326. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*euler(0.4,0,-1),.3)
  4327. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1.4,-0.5,1)*euler(.3,0,.5),.3)
  4328. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(.7,0,-0.7),.3)
  4329. end
  4330. for i=0,1,0.08 do
  4331. swait()
  4332. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*euler(0.2,0,1),.3)
  4333. 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)
  4334. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.7,0,-0.7),.3)
  4335. end
  4336. con1:disconnect()
  4337. end
  4338. end
  4339.  
  4340. vAttackTwo = function()
  4341.  
  4342. if myVars[5] == "ssl3" then
  4343. local Con1 = myVars[6].Hitbox.Touched:connect(function(hit)
  4344. Damage(hit.Parent, math.random(1000, 4500), .1, BrickColor.new("Really black"), BrickColor.new("Mid gray"), "rbxassetid://199149186" ,1)
  4345. end)
  4346. for i = 1, 5 do
  4347. 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)
  4348. 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)
  4349. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2)*CFrame.Angles(math.rad(-10),math.rad(46),0), 0.8)
  4350. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(8), math.rad(-46), 0), 0.8)
  4351. 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)
  4352. 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)
  4353. --if Debounces.on == false then break end
  4354. rs:wait()
  4355. end
  4356. for i = 1, 10 do
  4357. 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)
  4358. 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)
  4359. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2)*CFrame.Angles(math.rad(-14),math.rad(-40),0), 0.54)
  4360. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-9), math.rad(40), 0), 0.66)
  4361. 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)
  4362. 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)
  4363. rs:wait()
  4364. end
  4365. Con1:disconnect()
  4366. elseif myVars[5] == "ssl3_1" then
  4367. myVars[11].Parent=myVars[10]
  4368. myVars[11].Size=vt(1,6,1)
  4369. myVars[11].Transparency=1
  4370. myVars[11].CFrame=myVars[10].prtd7.CFrame
  4371. local con1=myVars[11].Touched:connect(function(hit) Damagefunc(hit,30,60,math.random(10000,10000),"Lifesteal",RootPart,.5,1) end)
  4372. for i=0,1,0.1 do
  4373. swait()
  4374. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.4)*euler(0.1,0,1.2),.3)
  4375. 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)
  4376. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.7,0,-0.7),.3)
  4377. end
  4378. for i=0,1,0.1 do
  4379. swait()
  4380. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.4)*euler(0.1,0,-0.8),.3)
  4381. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1.4,-.8,.6)*euler(0.5,0,.5),.3)
  4382. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.7,0,-0.7),.3)
  4383. end
  4384. con1:disconnect()
  4385. end
  4386. end
  4387.  
  4388.  
  4389.  
  4390. vAttackThree = function()
  4391. if myVars[5] == "ssl3" then
  4392. for i = 1, 10 do
  4393. 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)
  4394. 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)
  4395. 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)
  4396. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(0), 0), 0.66)
  4397. 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)
  4398. 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)
  4399.  
  4400. rs:wait()
  4401. end
  4402. for i = 1, 10 do
  4403. 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)
  4404. 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)
  4405. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-40), 0, 0), 0.7)
  4406. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), 0, 0), 0.7)
  4407. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -.1) * CFrame.Angles(math.rad(-16), 0, 0), 0.7)
  4408. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-16), 0, 0), 0.7)
  4409. rs:wait()
  4410. end
  4411. MagniDamageo(myVars[6].Hitbox,myVars[6].Hitbox,20,20,30,0,"Knockdown")
  4412. local hit,pos=rayCast(myVars[6].Hitbox.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,char)
  4413. if hit~=nil then
  4414. print("test1")
  4415. local ref2=parto(3,workspace,"Neon",0,1,BrickColor.new("Black"),"Effect",vt())
  4416. print("test2")
  4417. ref2.Anchored=true
  4418. print("test3")
  4419. ref2.CFrame=cf(pos)
  4420. print("test4")
  4421. game:GetService("Debris"):AddItem(ref2,3)
  4422. print("test5")
  4423.  
  4424. local Con1 = myVars[6].Hitbox.Touched:connect(function(hit)
  4425. Damage(hit.Parent, math.random(1000, 4500), .1, BrickColor.new("Really black"), BrickColor.new("Mid gray"), "rbxassetid://199149186" ,1)
  4426. end)
  4427. for i=1,10 do
  4428. local Col=Neonsc[colc]
  4429. colc = math.random(1,7)
  4430. 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))
  4431. groundpart.Anchored=true
  4432. groundpart.CanCollide=false
  4433. 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))
  4434. game:GetService("Debris"):AddItem(groundpart,5)
  4435. end
  4436. colc = math.random(1,7)
  4437. BlastEffect(Neonsc[colc],cf(pos),1,1,1,.7,.7,.7)
  4438. colc = math.random(1,7)
  4439. MagicCircleo(Neonsc[colc],cf(pos),3,3,3,5,5,5,0.05)
  4440. MagniDamageo(ref2,ref2,10,10,20,math.random(10,20),"Knockdown")
  4441. Con1:disconnect()
  4442. end
  4443. else
  4444.  
  4445. myVars[11].Parent=myVars[10]
  4446. myVars[11].Size=vt(1,6,1)
  4447. myVars[11].Transparency=1
  4448. myVars[11].CFrame=myVars[10].prtd7.CFrame
  4449. local con1=myVars[11].Touched:connect(function(hit) Damagefunc(hit,30,60,math.random(10000,10000),"Lifesteal",RootPart,.5,1) end)
  4450. for i=0,1,0.1 do
  4451. swait()
  4452. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*euler(0.1,0,-0.2),.3)
  4453. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(2.9,-1.8,0)*euler(.5,0,0),.3)
  4454. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-0.4,0,-0.2),.3)
  4455. end
  4456. for i=0,1,0.15 do
  4457. swait()
  4458. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.8)*euler(0.5,0,0.6),.4)
  4459. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1.55,-1.5,0)*euler(.3,0,0),.4)
  4460. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-0.4,0,-0.2),.4)
  4461. end
  4462. con1:disconnect()
  4463. end
  4464. end
  4465.  
  4466.  
  4467.  
  4468.  
  4469. ---------------SSL3-MODE-1-ATTACKS-END-------------------------
  4470.  
  4471. --------------SSL3-WEAPONS-START-------------------------------
  4472. function ssl3()
  4473.  
  4474. --[[for i=0.1, 1, 0.1 do
  4475. print("anim1")
  4476. 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)
  4477. 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)
  4478. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  4479. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3)
  4480. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3)
  4481. end
  4482. wait(1)
  4483. 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)))
  4484. 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)))
  4485. 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))
  4486. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  4487. 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)))
  4488. 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)))
  4489.  
  4490. colc = math.random(1,7)
  4491. local fx = Instance.new("Part",torso)
  4492. fx.Anchored = true
  4493. fx.Material = "Neon"
  4494. fx.CanCollide = false
  4495. fx.Locked = true
  4496. fx.Transparency = 1
  4497. fx.Material = "Neon"
  4498. fx.Size = Vector3.new(1,1,1)
  4499. fx.TopSurface = "SmoothNoOutlines"
  4500. fx.BottomSurface = "SmoothNoOutlines"
  4501. fx.BrickColor = Neonsc[colc]
  4502. fxm = Instance.new("SpecialMesh",fx)
  4503. fxm.MeshType = "Sphere"
  4504. fxm.Scale = Vector3.new(1,1,1)
  4505.  
  4506. for i = 1, 20 do
  4507. colc = math.random(1,7)
  4508. fx.BrickColor = Neonsc[colc]
  4509. fx.Transparency = fx.Transparency - (1/20)
  4510. fx.CFrame = torso.CFrame
  4511. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  4512. wait(0.0000001)
  4513. end
  4514.  
  4515.  
  4516. if char.Hair ~= nil then
  4517. for i,v in pairs(char:children()) do
  4518. if v == char.Hair then
  4519. v:Destroy()
  4520. break
  4521. end
  4522. end
  4523. end
  4524. for i = 1, 20 do wait(0.0000001)
  4525. colc = math.random(1,7)
  4526. fx.BrickColor = Neonsc[colc]
  4527. fx.Transparency = fx.Transparency + (1/20)
  4528. fx.CFrame = torso.CFrame
  4529. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  4530. end]]
  4531.  
  4532. local num = 0
  4533. for i=0,1,0.1 do
  4534. swait()
  4535. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.3,0.5,0.2)*euler(3.4,0,0),.3)
  4536. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(0,0,0),.3)
  4537. end
  4538. for i=0,1,0.1 do
  4539. swait()
  4540. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  4541. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1.3,0,0),.3)
  4542. 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)
  4543. end
  4544. for i=0.1, 1, 0.1 do
  4545. 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)
  4546. 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)
  4547. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  4548. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3)
  4549. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3)
  4550. end
  4551. num=0
  4552. for i=0,1,0.01 do
  4553. swait()
  4554. if num>=10 then
  4555. num=0
  4556. colc = math.random(1, 7)
  4557. 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)
  4558. end
  4559. for i=1,2 do
  4560. if math.random(1,5)==1 then
  4561. colc = math.random(1, 7)
  4562. --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)
  4563. else
  4564. colc = math.random(1, 7)
  4565. --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)
  4566. end
  4567. end
  4568. num=num+1
  4569. end
  4570. for i=1,4 do
  4571. colc = math.random(1, 7)
  4572. --MagicBlock(Neonsc[colc],RightArm.CFrame*cf(0,-.5-math.random(0,500)/100,0),2,2,2,.5,.5,.5,0.05)
  4573. end
  4574. colc = math.random(1, 7)
  4575. 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)
  4576. --[[model2.Parent=Character
  4577. for i=1,#DBlade do
  4578. DBlade[i].Parent=model2
  4579. DBladeWelds[i].Parent=DBlade[1]
  4580. end]]
  4581. for i=0,1,0.1 do
  4582. swait()
  4583. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-0.4),.3)
  4584. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1.2,-0.5,1),.3)
  4585. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(1.4,0.5,-1.3),.3)
  4586. end
  4587. swait(10)
  4588. colc = math.random(1,7)
  4589. local fx = Instance.new("Part",torso)
  4590. fx.Anchored = true
  4591. fx.Material = "Neon"
  4592. fx.CanCollide = false
  4593. fx.Locked = true
  4594. fx.Transparency = 1
  4595. fx.Material = "Neon"
  4596. fx.Size = Vector3.new(1,1,1)
  4597. fx.TopSurface = "SmoothNoOutlines"
  4598. fx.BottomSurface = "SmoothNoOutlines"
  4599. fx.BrickColor = Neonsc[colc]
  4600. fxm = Instance.new("SpecialMesh",fx)
  4601. fxm.MeshType = "Sphere"
  4602. fxm.Scale = Vector3.new(1,1,1)
  4603.  
  4604. for i = 1, 20 do
  4605. colc = math.random(1,7)
  4606. fx.BrickColor = Neonsc[colc]
  4607. fx.Transparency = fx.Transparency - (1/20)
  4608. fx.CFrame = torso.CFrame
  4609. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  4610. wait(0.0000000001)
  4611. end
  4612.  
  4613.  
  4614. if char.Hair ~= nil then
  4615. for i,v in pairs(char:children()) do
  4616. if v == char.Hair then
  4617. v:Destroy()
  4618. break
  4619. end
  4620. end
  4621. end
  4622. for i = 1, 20 do wait(0.0000001)
  4623. colc = math.random(1,7)
  4624. fx.BrickColor = Neonsc[colc]
  4625. fx.Transparency = fx.Transparency + (1/20)
  4626. fx.CFrame = torso.CFrame
  4627. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  4628. end
  4629. end
  4630.  
  4631. function ssl3Appear()
  4632.  
  4633. if myVars[5] == "ssl3_1" then
  4634. print("ssl3RAN")
  4635.  
  4636. function part_1(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  4637. local fp=it("Part")
  4638. fp.formFactor=formfactor
  4639. fp.Parent=parent
  4640. fp.Reflectance=reflectance
  4641. fp.Transparency=1
  4642. fp.CanCollide=false
  4643. fp.Locked=true
  4644. fp.BrickColor=brickcolor
  4645. fp.Name=name
  4646. fp.Size=size
  4647. fp.Position=Torso.Position
  4648. NoOutline(fp)
  4649. fp.Material="Neon"
  4650. fp:BreakJoints()
  4651. return fp
  4652. end
  4653.  
  4654. function mesh_1(Mesh,part,meshtype,meshid,offset,scale)
  4655. local mesh=it(Mesh)
  4656. mesh.Parent=part
  4657. if Mesh=="SpecialMesh" then
  4658. mesh.MeshType=meshtype
  4659. mesh.MeshId=meshid
  4660. end
  4661. mesh.Offset=offset
  4662. mesh.Scale=scale
  4663. return mesh
  4664. end
  4665.  
  4666. function weld_1(parent,part0,part1,c0)
  4667. local weld=it("Weld")
  4668. weld.Parent=parent
  4669. weld.Part0=part0
  4670. weld.Part1=part1
  4671. weld.C0=c0
  4672. return weld
  4673. end
  4674. local model2=Instance.new("Model")
  4675. model2.Parent=nil
  4676. model2.Name="Demon Blade"
  4677. DBlade={}
  4678. DBladeWelds={}
  4679.  
  4680. colc = math.random(1, 7)
  4681. prtd1=part_1(3,model2,0,0.4,Neons[colc],"DPart1",vt())
  4682. colc = math.random(1, 7)
  4683. prtd2=part_1(3,model2,0,0,Neons[colc],"DPart2",vt())
  4684. prtd3=part_1(3,model2,0,0,Neons[colc],"DPart3",vt())
  4685. colc = math.random(1, 7)
  4686. prtd4=part_1(3,model2,0,0,Neons[colc],"DPart4",vt())
  4687. prtd5=part_1(3,model2,0,0,Neons[colc],"DPart5",vt())
  4688. colc = math.random(1, 7)
  4689. prtd6=part_1(3,model2,0,0,Neons[colc],"DPart6",vt())
  4690. prtd7=part_1(3,model2,0.8,0,Neons[colc],"DPart7",vt())
  4691. prtd8=part_1(3,model2,0.8,0,Neons[colc],"DPart8",vt())
  4692. colc = math.random(1, 7)
  4693. prtd9=part_1(3,model2,0.5,0.2,Neons[colc],"DPart9",vt())
  4694. prtd10=part_1(3,model2,0.5,0.2,Neons[colc],"DPart10",vt())
  4695. prtd11=part_1(3,model2,0.5,0,Neons[colc],"DPart11",vt())
  4696. colc = math.random(1, 7)
  4697. prtd12=part_1(3,model2,0,0,Neons[colc],"DPart12",vt())
  4698. for _,c in pairs(model2:children()) do
  4699. if c.className=="Part" then
  4700. table.insert(DBlade,c)
  4701. print(c)
  4702. end
  4703. end
  4704.  
  4705.  
  4706.  
  4707. mshd1=mesh_1("BlockMesh",prtd1,"","",vt(0,0,0),vt(5.01,3,5.01))
  4708. mshd2=mesh_1("BlockMesh",prtd2,"","",vt(0,0,0),vt(5.1,3,5.1))
  4709. mshd3=mesh_1("SpecialMesh",prtd3,"Wedge","",vt(0,0,0),vt(5.05,4,3))
  4710. mshd4=mesh_1("SpecialMesh",prtd4,"Wedge","",vt(0,0,0),vt(5.05,4,3))
  4711. mshd5=mesh_1("SpecialMesh",prtd5,"Wedge","",vt(0,0,0),vt(5.5,6,6))
  4712. mshd6=mesh_1("SpecialMesh",prtd6,"Wedge","",vt(0,0,0),vt(5.5,6,6))
  4713. mshd7=mesh_1("BlockMesh",prtd7,"","",vt(0,0,0),vt(3,20,1))
  4714. mshd8=mesh_1("SpecialMesh",prtd8,"Wedge","",vt(0,0,0),vt(1,3,5))
  4715. mshd9=mesh_1("BlockMesh",prtd9,"","",vt(0,0,0),vt(4.5,20,.1))
  4716. mshd10=mesh_1("SpecialMesh",prtd10,"Wedge","",vt(0,0,0),vt(.1,4.5,8))
  4717. mshd11=mesh_1("CylinderMesh",prtd11,"","",vt(0,0,0),vt(4,5.8,4))
  4718. mshd12=mesh_1("CylinderMesh",prtd12,"","",vt(0,0,0),vt(3,5.9,3))
  4719.  
  4720.  
  4721. wldd1=weld_1(prtd1,prtd1,RightArm,euler(0,0,0)*cf(0,.21,0))
  4722. wldd2=weld_1(prtd1,prtd2,prtd1,euler(0,0,0)*cf(0,.5,0))
  4723. wldd3=weld_1(prtd1,prtd3,prtd2,euler(0,1.57,0)*cf(.21,-.6,0))
  4724. wldd4=weld_1(prtd1,prtd4,prtd2,euler(0,-1.57,0)*cf(-.21,-.6,0))
  4725. wldd5=weld_1(prtd1,prtd5,prtd2,euler(0,-1.57,0)*cf(.1,-.1,0))
  4726. wldd6=weld_1(prtd1,prtd6,prtd5,euler(0,0,3.14)*cf(0,1.2,0))
  4727. wldd7=weld_1(prtd1,prtd7,prtd2,euler(0,0,0)*cf(0,2.5,0))
  4728. wldd8=weld_1(prtd1,prtd8,prtd7,euler(1.57,1.57,0)*cf(0,2.5,0))
  4729. wldd9=weld_1(prtd1,prtd9,prtd7,euler(0,0,0)*cf(0,0,0))
  4730. wldd10=weld_1(prtd1,prtd10,prtd8,euler(0,0,0)*cf(0,0,0.3))
  4731. wldd11=weld_1(prtd1,prtd11,prtd1,euler(1.57,0,0)*cf(0,1,0))
  4732. wldd12=weld_1(prtd1,prtd12,prtd11,euler(0,0,0)*cf(0,0,0))
  4733. for _,c in pairs(prtd1:children()) do
  4734. if c.className=="Weld" then
  4735. table.insert(DBladeWelds,c)
  4736. print(c)
  4737. end
  4738. end
  4739.  
  4740. local hitbox2=part_1(3,nil,0,1,BrickColor.new("Black"),"Hitbox",vt(1,1,1))
  4741.  
  4742. model2.Parent=char
  4743. for i=1,#DBlade do
  4744. DBlade[i].Parent=model2
  4745. DBladeWelds[i].Parent=DBlade[1]
  4746. end
  4747. myVars[10] = model2
  4748. myVars[11] = hitbox2
  4749.  
  4750. for i = 1, 10 do wait()
  4751. for i,v in pairs(myVars[10]:GetChildren()) do
  4752. if v:IsA("Part") or v:IsA("WedgePart") then
  4753. if v.Name ~= "HitBox" then
  4754. v.Transparency = v.Transparency - 0.1
  4755. end
  4756. end
  4757. end
  4758. end
  4759. --[[local mei = Instance.new('Model', char)
  4760. mei.Name = "WeaponModel"
  4761.  
  4762. local RbxUtility = LoadLibrary("RbxUtility")
  4763. local Create = RbxUtility.Create
  4764.  
  4765.  
  4766. function RemoveOutlines(part)
  4767. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  4768. end
  4769.  
  4770. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  4771. local Part = Create("Part"){
  4772. Parent = Parent,
  4773. Reflectance = Reflectance,
  4774. Transparency = 1,
  4775. CanCollide = false,
  4776. Locked = true,
  4777. BrickColor = BrickColor.new(tostring(BColor)),
  4778. Name = Name,
  4779. Size = Size,
  4780. Material = Material,
  4781. }
  4782. RemoveOutlines(Part)
  4783. return Part
  4784. end
  4785.  
  4786. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  4787. local Msh = Create(Mesh){
  4788. Parent = Part,
  4789. Offset = OffSet,
  4790. Scale = Scale,
  4791. }
  4792. if Mesh == "SpecialMesh" then
  4793. Msh.MeshType = MeshType
  4794. Msh.MeshId = MeshId
  4795. end
  4796. return Msh
  4797. end
  4798.  
  4799. function CreateWeld(Parent, Part0, Part1, C0, C1)
  4800. local Weld = Create("Weld"){
  4801. Parent = Parent,
  4802. Part0 = Part0,
  4803. Part1 = Part1,
  4804. C0 = C0,
  4805. C1 = C1,
  4806. }
  4807. return Weld
  4808. end
  4809.  
  4810.  
  4811.  
  4812. HandleL = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "HandleL", Vector3.new(1, 2, 1.01999998))
  4813. colc = math.random(1,7)
  4814. 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))
  4815. EffectPrt1 = CreatePart(mei, Enum.Material.Neon, 0, 0.30000001192093, "Really black", "EffectPrt1", Vector3.new(0.600000024, 0.600000024, 0.400000036))
  4816. 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))
  4817. CreateMesh("SpecialMesh", EffectPrt1, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4818. EffectPrt2 = CreatePart(mei, Enum.Material.Neon, 0.30000001192093, 0, myVars[6][colc], "EffectPrt2", Vector3.new(0.600000024, 0.600000024, 0.400000036))
  4819. colc = math.random(1,7)
  4820. 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))
  4821. 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))
  4822. HitboxL = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "HitboxL", Vector3.new(1.20000005, 1.39999998, 1.01999998))
  4823. colc = math.random(1,7)
  4824. 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))
  4825. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.75, 0.200000003, 0.200000003))
  4826. colc = math.random(1,7)
  4827. 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))
  4828. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.200000003, 0.200000003, 1.01999998))
  4829. colc = math.random(1,7)
  4830. 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))
  4831. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.600000024, 0.200000003, 1.01999998))
  4832. colc = math.random(1,7)
  4833. 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))
  4834. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.75, 0.200000003, 0.200000003))
  4835. colc = math.random(1,7)
  4836. 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))
  4837. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.200000003, 1.20000005, 1.00999999))
  4838. colc = math.random(1,7)
  4839. 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))
  4840. Part = CreatePart(mei, Enum.Material.Neon, 0, 0.19999998807907, "Really black", "Part", Vector3.new(0.400000036, 0.400000036, 0.400000006))
  4841. 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))
  4842. CreateMesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4843. ThunderHoleL = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "ThunderHoleL", Vector3.new(0.200000003, 1.05000007, 0.200000003))
  4844. 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))
  4845. CreateMesh("CylinderMesh", ThunderHoleL, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4846. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  4847. 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))
  4848. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4849. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.600000024, 0.200000003))
  4850. 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))
  4851. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4852. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  4853. 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))
  4854. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4855. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.600000024, 0.200000003))
  4856. 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))
  4857. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4858. Wedge = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Wedge", Vector3.new(1.01999998, 1.80999994, 0.619999945))
  4859. 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))
  4860. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4861. Wedge = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Wedge", Vector3.new(1.03999996, 1.00999999, 1.01999998))
  4862. 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))
  4863. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4864. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  4865. 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))
  4866. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", 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.400000006, 0.200000003))
  4868. 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))
  4869. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4870. HandleR = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "HandleR", Vector3.new(1, 2, 1.01999998))
  4871. colc = math.random(1,7)
  4872. 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))
  4873. Barrel1 = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "Barrel1", Vector3.new(0.600000024, 1.20000005, 0.400000036))
  4874. colc = math.random(1,7)
  4875. 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))
  4876. CreateMesh("SpecialMesh", Barrel1, Enum.MeshType.FileMesh, "rbxassetid://433397018", Vector3.new(0, 0, 0), Vector3.new(0.00999999978, 0.00999999978, 0.00999999978))
  4877. Barrel2 = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "Barrel2", Vector3.new(0.600000024, 1.20000005, 0.400000036))
  4878. colc = math.random(1,7)
  4879. 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))
  4880. CreateMesh("SpecialMesh", Barrel2, Enum.MeshType.FileMesh, "rbxassetid://433397018", Vector3.new(0, 0, 0), Vector3.new(0.00999999978, 0.00999999978, 0.00999999978))
  4881. Choke1 = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "Choke1", Vector3.new(0.600000024, 0.400000006, 0.400000036))
  4882. colc = math.random(1,7)
  4883. 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))
  4884. CreateMesh("SpecialMesh", Choke1, Enum.MeshType.FileMesh, "rbxassetid://433397231", Vector3.new(0, 0, 0), Vector3.new(0.00999999978, 0.00999999978, 0.00999999978))
  4885. Choke2 = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "Choke2", Vector3.new(0.600000024, 0.400000006, 0.400000036))
  4886. colc = math.random(1,7)
  4887. 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))
  4888. CreateMesh("SpecialMesh", Choke2, Enum.MeshType.FileMesh, "rbxassetid://433397231", Vector3.new(0, 0, 0), Vector3.new(0.00999999978, 0.00999999978, 0.00999999978))
  4889. HitboxR = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "HitboxR", Vector3.new(1.20000005, 0.99999994, 1.01999998))
  4890. colc = math.random(1,7)
  4891. 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))
  4892. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.75, 0.200000003, 0.200000003))
  4893. colc = math.random(1,7)
  4894. 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))
  4895. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.400000006, 0.819999993, 1.01999998))
  4896. colc = math.random(1,7)
  4897. 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))
  4898. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.600000024, 0.200000003, 1.01999998))
  4899. colc = math.random(1,7)
  4900. 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))
  4901. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.409999996, 2.01999998, 1.01999998))
  4902. colc = math.random(1,7)
  4903. 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))
  4904. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.75, 0.200000003, 0.200000003))
  4905. colc = math.random(1,7)
  4906. 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))
  4907. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.409999967, 0.200000003, 1.01999998))
  4908. colc = math.random(1,7)
  4909. 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))
  4910. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.200000003, 0.200000003, 1.01999998))
  4911. colc = math.random(1,7)
  4912. 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))
  4913. ThunderHoleR = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "ThunderHoleR", Vector3.new(0.200000003, 1.05000007, 0.200000003))
  4914. 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))
  4915. CreateMesh("CylinderMesh", ThunderHoleR, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4916. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  4917. 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))
  4918. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4919. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.600000024, 0.200000003))
  4920. 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))
  4921. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4922. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  4923. 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))
  4924. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4925. Wedge = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Wedge", Vector3.new(1.01999998, 0.200000003, 0.400000006))
  4926. colc = math.random(1,7)
  4927. 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))
  4928. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4929. Wedge = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Wedge", Vector3.new(1.03999996, 1.00999999, 1.01999998))
  4930. colc = math.random(1,7)
  4931. 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))
  4932. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4933. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.600000024, 0.200000003))
  4934. colc = math.random(1,7)
  4935. 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))
  4936. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4937. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  4938. 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))
  4939. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4940. colc = math.random(1,7)
  4941. Wedge = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Wedge", Vector3.new(1.01999998, 0.200000003, 0.400000006))
  4942. colc = math.random(1,7)
  4943. 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))
  4944. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4945. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  4946. 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))
  4947. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4948. Wedge = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Wedge", Vector3.new(1.00999999, 0.410000026, 0.410000026))
  4949. colc = math.random(1,7)
  4950. 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))
  4951. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4952.  
  4953. myVars[6] = mei
  4954. for i = 1, 10 do wait()
  4955. for i,v in pairs(mei:GetChildren()) do
  4956. if v:IsA("Part") or v:IsA("WedgePart") then
  4957. if v.Name ~= "HitBox" then
  4958. v.Transparency = v.Transparency - 0.1
  4959. end
  4960. end
  4961. end
  4962. end]]
  4963.  
  4964.  
  4965.  
  4966. return true
  4967. elseif myVars[5] == "ssl3" then
  4968.  
  4969. local RbxUtility = LoadLibrary("RbxUtility")
  4970. local Create = RbxUtility.Create
  4971. RemoveOutlines = function(part)
  4972. part.TopSurface = 10
  4973. end
  4974.  
  4975. CFuncs = {
  4976. Part = {new = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  4977. 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})
  4978. RemoveOutlines(Part)
  4979. return Part
  4980. end}
  4981. ,
  4982. Mesh = {new = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  4983. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  4984. if Mesh == "SpecialMesh" then
  4985. Msh.MeshType = MeshType
  4986. Msh.MeshId = MeshId
  4987. end
  4988. return Msh
  4989. end}
  4990. ,
  4991. Mesh = {new = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  4992. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  4993. if Mesh == "SpecialMesh" then
  4994. Msh.MeshType = MeshType
  4995. Msh.MeshId = MeshId
  4996. end
  4997. return Msh
  4998. end}
  4999. ,
  5000. Weld = {new = function(Parent, Part0, Part1, C0, C1)
  5001. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  5002. return Weld
  5003. end}
  5004. }
  5005. myVars[11] = {"Bright red", "Bright orange", "Bright yellow", "Bright green", "Bright blue", "Royal purple", "Bright violet"}
  5006.  
  5007. colc = math.random(1,7)
  5008. local mei = Instance.new("Model", char)
  5009. mei.Name = "WeaponModel"
  5010. Handleer = CFuncs.Part.new(mei, Enum.Material.SmoothPlastic, 0, 1, myVars[11][colc], "Handle", Vector3.new(1, 2, 1))
  5011. colc = math.random(1,7)
  5012. 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))
  5013. Hitbox = CFuncs.Part.new(mei, Enum.Material.SmoothPlastic, 0, 1, myVars[11][colc], "Hitbox", Vector3.new(1, 0.400000095, 1))
  5014. colc = math.random(1,7)
  5015. 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))
  5016. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(1.13000011, 0.2700001, 0.680000067))
  5017. colc = math.random(1,7)
  5018. 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))
  5019. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(1.09000015, 0.310000271, 0.530000091))
  5020. 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))
  5021. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.200000003, 0.200000003, 0.560000002))
  5022. 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))
  5023. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(0.229999989, 0.200000003, 0.590000033))
  5024. 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))
  5025. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(1.11000013, 0.200000003, 0.530000091))
  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.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))
  5028. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.680000186, 0.220000178, 0.280000031))
  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.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))
  5030. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.410000265, 0.530000031, 0.840000033))
  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.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))
  5032. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.54000026, 0.630000114, 0.900000036))
  5033. 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))
  5034. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.24000001, 0.919999957, 0.420000017))
  5035. colc = math.random(1,7)
  5036. 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))
  5037. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(1.24000001, 1.13, 0.219999999))
  5038. 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))
  5039. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.870000243, 0.2700001, 0.860000014))
  5040. 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))
  5041. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(0.200000003, 1.62000012, 0.400000095))
  5042. colc = math.random(1,7)
  5043. 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))
  5044. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.490000248, 0.540000081, 0.420000017))
  5045. 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))
  5046. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(1.11000013, 0.210000008, 0.530000091))
  5047. 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))
  5048. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0,myVars[11][colc], "Part", Vector3.new(1.21000004, 1.63999999, 0.300000012))
  5049. colc = math.random(1,7)
  5050. 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))
  5051. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(1.13000011, 1.88000023, 0.680000067))
  5052. 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))
  5053. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.379999936, 0.379999936, 0.379999936))
  5054. 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))
  5055. CFuncs.Mesh.new("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5056. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.200000003, 1, 0.420000017))
  5057. 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))
  5058. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.79000026, 0.340000153, 0.49000001))
  5059. 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))
  5060. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(0.200000003, 1.77000022, 0.420000106))
  5061. 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))
  5062. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(1.13000011, 0.329999983, 1.1400001))
  5063. colc = math.random(1,7)
  5064. 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))
  5065. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(0.910000026, 0.47999987, 0.580000043))
  5066. 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))
  5067. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(1.23000002, 0.340000063, 0.229999989))
  5068. 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))
  5069. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(1.09000015, 0.310000271, 0.530000091))
  5070. 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))
  5071. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(0.490000248, 0.520000041, 0.420000017))
  5072. 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))
  5073. CFuncs.Mesh.new("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5074. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.200000003, 1.05000007, 0.420000017))
  5075. colc = math.random(1,7)
  5076. 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))
  5077. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(0.629999995, 2.07999992, 0.899999976))
  5078. 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))
  5079. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.750000298, 0.250000089, 0.74000001))
  5080. 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))
  5081. myVars[6] = mei
  5082. for i = 1, 10 do wait()
  5083. for i,v in pairs(myVars[6]:GetChildren()) do
  5084. if v:IsA("Part") or v:IsA("WedgePart") then
  5085. if v.Name ~= "HitBox" then
  5086. v.Transparency = v.Transparency - 0.1
  5087. end
  5088. end
  5089. end
  5090. end
  5091. end
  5092. end
  5093.  
  5094.  
  5095.  
  5096.  
  5097. function ssl3Vanish()
  5098. if myVars[5] == "ssl3" then
  5099. for i = 1, 10 do wait()
  5100. for i,v in pairs(myVars[6]:GetChildren()) do
  5101. if v:IsA("Part") or v:IsA("WedgePart") then
  5102. if v.Name ~= "HitBox" then
  5103. v.Transparency = v.Transparency + 0.1
  5104. end
  5105. end
  5106. end
  5107. end
  5108. elseif myVars[5] == "ssl3_1" then
  5109. for i = 1, 10 do wait()
  5110. for i,v in pairs(myVars[10]:GetChildren()) do
  5111. if v:IsA("Part") or v:IsA("WedgePart") then
  5112. if v.Name ~= "HitBox" then
  5113. v.Transparency = v.Transparency + 0.1
  5114. end
  5115. end
  5116. end
  5117. end
  5118. end
  5119. end
  5120.  
  5121. --------------SSL3 WEAPONS END-------------------------------
  5122. local iris = nil
  5123. function upgradeSword()
  5124. local colorscheme = {"Gold","New yeller","Really black","Daisy orange","Black"}
  5125. local render = game:GetService("RunService").RenderStepped
  5126. local bltb = {}
  5127.  
  5128. TorsoColor=Torso.BrickColor
  5129.  
  5130.  
  5131.  
  5132.  
  5133.  
  5134. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  5135. local fp=it("Part")
  5136. fp.formFactor=formfactor
  5137. fp.Parent=parent
  5138. fp.Reflectance=reflectance
  5139. fp.Transparency=transparency
  5140. fp.CanCollide=false
  5141. fp.Locked=true
  5142. fp.BrickColor=brickcolor
  5143. fp.Name=name
  5144. fp.Size=size
  5145. fp.Position=Torso.Position
  5146. NoOutline(fp)
  5147. fp.Material="SmoothPlastic"
  5148. fp:BreakJoints()
  5149. return fp
  5150. end
  5151.  
  5152. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  5153. local mesh=it(Mesh)
  5154. mesh.Parent=part
  5155. if Mesh=="SpecialMesh" then
  5156. mesh.MeshType=meshtype
  5157. if meshid~="nil" then
  5158. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  5159. end
  5160. end
  5161. mesh.Offset=offset
  5162. mesh.Scale=scale
  5163. return mesh
  5164. end
  5165.  
  5166. function weld(parent,part0,part1,c0)
  5167. local weld=it("Weld")
  5168. weld.Parent=parent
  5169. weld.Part0=part0
  5170. weld.Part1=part1
  5171. weld.C0=c0
  5172. return weld
  5173. end
  5174.  
  5175.  
  5176. function Rainbow(hue)
  5177. local section = hue % 1 * 3
  5178. local secondary = 0.5 * math.pi * (section % 1)
  5179. if section < 1 then
  5180. return Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  5181. elseif section < 2 then
  5182. return Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  5183. else
  5184. return Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  5185. end
  5186. end
  5187.  
  5188.  
  5189. function UpdatePart(pt,clr)
  5190. pt.BrickColor = BrickColor.new(clr)
  5191. end
  5192.  
  5193. local Color1=Torso.BrickColor
  5194.  
  5195.  
  5196.  
  5197. nooutline = function(part)
  5198. part.TopSurface = 10
  5199. end
  5200.  
  5201.  
  5202. part2 = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  5203. local fp = it("Part")
  5204. fp.formFactor = formfactor
  5205. fp.Parent = parent
  5206. fp.Reflectance = reflectance
  5207. fp.Transparency = transparency
  5208. fp.CanCollide = false
  5209. fp.Locked = true
  5210. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  5211. fp.Name = name
  5212. fp.Size = size
  5213. fp.Position = Character.Torso.Position
  5214. nooutline(fp)
  5215. fp.Material = material
  5216. fp:BreakJoints()
  5217. return fp
  5218. end
  5219. --<----------------------------------S w o r d C r e a t i o n---------------------------------->--
  5220.  
  5221. user=game:service'Players'.localPlayer
  5222. char=user.Character
  5223. mouse=user:GetMouse()
  5224. m=Instance.new('Model',char)
  5225. iris = m
  5226. game:service'Lighting'.Outlines=false
  5227.  
  5228.  
  5229. local Handle = Instance.new("Part", m)
  5230. Handle:BreakJoints()
  5231. Handle.TopSurface = "Smooth"
  5232. Handle.Transparency = 0 Handle.Material = "Neon"
  5233. Handle.Name = 'Handle'
  5234. Handle.BottomSurface = "Smooth"
  5235. Handle.FormFactor = "Custom" Handle.CanCollide = false
  5236. Handle.BrickColor = BrickColor.new("Really black")
  5237. Handle.Size = Vector3.new(0.337107092, 1.12369001, 0.337107033)
  5238. local Handleweld = Instance.new("ManualWeld")
  5239. Handleweld.Part0 = Character["Right Arm"]
  5240. Handleweld.Part1 = Handle Handleweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5241. Handleweld.C1 = CFrame.new(-0.000732421875, -0.0344696045, -0.945665836, -0.999993205, 0, 0, 0, 0, -1, 0, -0.999993086, 0)
  5242. Handleweld.Parent = Character["Right Arm"]
  5243.  
  5244. local HandleMesh = Instance.new("CylinderMesh",Handle)
  5245. HandleMesh.Name = "Mesh"
  5246. HandleMesh.Offset = Vector3.new(0, 0, 0)
  5247. HandleMesh.Scale = Vector3.new(1, 1, 1)
  5248.  
  5249. local Part = Instance.new("Part", m)
  5250. Part:BreakJoints()
  5251. Part.TopSurface = "Smooth"
  5252. Part.Material = "Neon"
  5253. Part.Transparency = 0 Part.Name = 'Part'
  5254. Part.BottomSurface = "Smooth"
  5255. Part.FormFactor = "Custom" Part.CanCollide = false
  5256. Part.BrickColor = BrickColor.new("Really black")
  5257. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  5258. local Partweld = Instance.new("ManualWeld")
  5259. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5260. 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)
  5261. Partweld.Parent = Part
  5262. local PartMesh = Instance.new("BlockMesh",Part)
  5263. PartMesh.Name = "Mesh"
  5264. PartMesh.Offset = Vector3.new(0, 0, 0)
  5265. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  5266.  
  5267. local Part = Instance.new("Part", m)
  5268. Part:BreakJoints()
  5269. Part.TopSurface = "Smooth"
  5270. Part.Material = "Neon"
  5271. Part.Transparency = 0 Part.Name = 'Part1'
  5272. Part.BottomSurface = "Smooth"
  5273. Part.FormFactor = "Custom" Part.CanCollide = false
  5274. Part.BrickColor = BrickColor.new("Cyan")
  5275. Part.Size = Vector3.new(0.337107092, 0.224738032, 0.337107033)
  5276. local Partweld = Instance.new("ManualWeld")
  5277. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5278. Partweld.C1 = CFrame.new(-4.00543213e-005, 0.674224854, -1.33514404e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5279. Partweld.Parent = Part
  5280. local PartMesh = Instance.new("SpecialMesh",Part)
  5281. PartMesh.MeshId = ""
  5282. PartMesh.MeshType = Enum.MeshType.Sphere PartMesh.Name = "Mesh"
  5283. PartMesh.Offset = Vector3.new(0, 0, 0)
  5284. PartMesh.Scale = Vector3.new(1, 1, 1)
  5285.  
  5286. table.insert(bltb, Part)
  5287.  
  5288. local Part = Instance.new("Part", m)
  5289. Part:BreakJoints()
  5290. Part.TopSurface = "Smooth"
  5291. Part.Material = "Neon"
  5292. Part.Transparency = 0 Part.Name = 'Part'
  5293. Part.BottomSurface = "Smooth"
  5294. Part.FormFactor = "Custom" Part.CanCollide = false
  5295. Part.BrickColor = BrickColor.new("Really black")
  5296. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  5297. local Partweld = Instance.new("ManualWeld")
  5298. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5299. Partweld.C1 = CFrame.new(0, -0.730434418, 7.62939453e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5300. Partweld.Parent = Part
  5301. local PartMesh = Instance.new("CylinderMesh",Part)
  5302. PartMesh.Name = "Mesh"
  5303. PartMesh.Offset = Vector3.new(0, 0, 0)
  5304. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  5305.  
  5306.  
  5307.  
  5308. local Part = Instance.new("Part", m)
  5309. Part:BreakJoints()
  5310. Part.TopSurface = "Smooth"
  5311. Part.Material = "Neon"
  5312. Part.Transparency = 0 Part.Name = 'Part'
  5313. Part.BottomSurface = "Smooth"
  5314. Part.FormFactor = "Custom" Part.CanCollide = false
  5315. Part.BrickColor = BrickColor.new("Really black")
  5316. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  5317. local Partweld = Instance.new("ManualWeld")
  5318. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5319. Partweld.C1 = CFrame.new(0, -0.730434418, 7.62939453e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5320. Partweld.Parent = Part
  5321. local PartMesh = Instance.new("CylinderMesh",Part)
  5322. PartMesh.Name = "Mesh"
  5323. PartMesh.Offset = Vector3.new(0, 0, 0)
  5324. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  5325.  
  5326. local Part = Instance.new("Part", m)
  5327. Part:BreakJoints()
  5328. Part.TopSurface = "Smooth"
  5329. Part.Material = "Neon"
  5330. Part.Transparency = 0 Part.Name = 'Part2'
  5331. Part.BottomSurface = "Smooth"
  5332. Part.FormFactor = "Custom" Part.CanCollide = false
  5333. Part.BrickColor = BrickColor.new("Cyan")
  5334. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  5335. local Partweld = Instance.new("ManualWeld")
  5336. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5337. Partweld.C1 = CFrame.new(0, -0.955184937, -0.179762959, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5338. Partweld.Parent = Part
  5339. local PartMesh = Instance.new("CylinderMesh",Part)
  5340. PartMesh.Name = "Mesh"
  5341. PartMesh.Offset = Vector3.new(0, 0, 0)
  5342. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  5343.  
  5344. table.insert(bltb, Part)
  5345.  
  5346. local Part = Instance.new("Part", m)
  5347. Part:BreakJoints()
  5348. Part.TopSurface = "Smooth"
  5349. Part.Material = "Neon"
  5350. Part.Transparency = 0 Part.Name = 'Part'
  5351. Part.BottomSurface = "Smooth"
  5352. Part.FormFactor = "Custom" Part.CanCollide = false
  5353. Part.BrickColor = BrickColor.new("Really black")
  5354. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  5355. local Partweld = Instance.new("ManualWeld")
  5356. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5357. 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)
  5358. Partweld.Parent = Part
  5359. local PartMesh = Instance.new("BlockMesh",Part)
  5360. PartMesh.Name = "Mesh"
  5361. PartMesh.Offset = Vector3.new(0, 0, 0)
  5362. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  5363.  
  5364. local Part = Instance.new("Part", m)
  5365. Part:BreakJoints()
  5366. Part.TopSurface = "Smooth"
  5367. Part.Material = "Neon"
  5368. Part.Transparency = 0 Part.Name = 'Part'
  5369. Part.BottomSurface = "Smooth"
  5370. Part.FormFactor = "Custom" Part.CanCollide = false
  5371. Part.BrickColor = BrickColor.new("Really black")
  5372. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  5373. local Partweld = Instance.new("ManualWeld")
  5374. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5375. Partweld.C1 = CFrame.new(0.597281575, -0.842823029, -0.00578403473, -0.258815438, 0, 0.965912819, 0, 1, 0, -0.965912819, 0, -0.258815438)
  5376. Partweld.Parent = Part
  5377. local PartMesh = Instance.new("BlockMesh",Part)
  5378. PartMesh.Name = "Mesh"
  5379. PartMesh.Offset = Vector3.new(0, 0, 0)
  5380. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  5381.  
  5382. local Part = Instance.new("Part", m)
  5383. Part:BreakJoints()
  5384. Part.TopSurface = "Smooth"
  5385. Part.Material = "Neon"
  5386. Part.Transparency = 0.5 Part.Name = 'Part3'
  5387. Part.BottomSurface = "Smooth"
  5388. Part.FormFactor = "Custom" Part.CanCollide = false
  5389. Part.BrickColor = BrickColor.new("Cyan")
  5390. Part.Size = Vector3.new(0.200000003, 4.62046242, 0.449476063)
  5391. local Partweld = Instance.new("ManualWeld")
  5392. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5393. Partweld.C1 = CFrame.new(3.24249268e-005, -3.32155609, -4.76837158e-007, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5394. Partweld.Parent = Part
  5395. local PartMesh = Instance.new("BlockMesh",Part)
  5396. PartMesh.Name = "Mesh"
  5397. PartMesh.Offset = Vector3.new(0, 0, 0)
  5398. PartMesh.Scale = Vector3.new(0.230356485, 1, 1)
  5399.  
  5400. table.insert(bltb, Part)
  5401.  
  5402. local Part = Instance.new("Part", m)
  5403. Part:BreakJoints()
  5404. Part.TopSurface = "Smooth"
  5405. Part.Material = "Neon"
  5406. Part.Transparency = 0 Part.Name = 'Part'
  5407. Part.BottomSurface = "Smooth"
  5408. Part.FormFactor = "Custom" Part.CanCollide = false
  5409. Part.BrickColor = BrickColor.new("Really black")
  5410. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  5411. local Partweld = Instance.new("ManualWeld")
  5412. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5413. Partweld.C1 = CFrame.new(0.597218513, -0.842823029, 0.00602054596, 0.258815646, 0, 0.9659127, 0, 1, 0, -0.9659127, 0, 0.258815646)
  5414. Partweld.Parent = Part
  5415. local PartMesh = Instance.new("BlockMesh",Part)
  5416. PartMesh.Name = "Mesh"
  5417. PartMesh.Offset = Vector3.new(0, 0, 0)
  5418. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  5419.  
  5420. local Part = Instance.new("Part", m)
  5421. Part:BreakJoints()
  5422. Part.TopSurface = "Smooth"
  5423. Part.Material = "Neon"
  5424. Part.Transparency = 0 Part.Name = 'Part4'
  5425. Part.BottomSurface = "Smooth"
  5426. Part.FormFactor = "Custom" Part.CanCollide = false
  5427. Part.BrickColor = BrickColor.new("Cyan")
  5428. Part.Size = Vector3.new(0.337107092, 1.12369001, 0.200000003)
  5429. local Partweld = Instance.new("ManualWeld")
  5430. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5431. Partweld.C1 = CFrame.new(0, 0, -0.123583317, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5432. Partweld.Parent = Part
  5433. local PartMesh = Instance.new("CylinderMesh",Part)
  5434. PartMesh.Name = "Mesh"
  5435. PartMesh.Offset = Vector3.new(0, 0, 0)
  5436. PartMesh.Scale = Vector3.new(1, 1, 0.561845064)
  5437.  
  5438. table.insert(bltb, Part)
  5439.  
  5440. local Part = Instance.new("Part", m)
  5441. Part:BreakJoints()
  5442. Part.TopSurface = "Smooth"
  5443. Part.Material = "Neon"
  5444. Part.Transparency = 0 Part.Name = 'Part'
  5445. Part.BottomSurface = "Smooth"
  5446. Part.FormFactor = "Custom" Part.CanCollide = false
  5447. Part.BrickColor = BrickColor.new("Really black")
  5448. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  5449. local Partweld = Instance.new("ManualWeld")
  5450. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5451. 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)
  5452. Partweld.Parent = Part
  5453. local PartMesh = Instance.new("BlockMesh",Part)
  5454. PartMesh.Name = "Mesh"
  5455. PartMesh.Offset = Vector3.new(0, 0, 0)
  5456. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  5457.  
  5458. local Part = Instance.new("Part", m)
  5459. Part:BreakJoints()
  5460. Part.TopSurface = "Smooth"
  5461. Part.Material = "Neon"
  5462. Part.Transparency = 0 Part.Name = 'Part5'
  5463. Part.BottomSurface = "Smooth"
  5464. Part.FormFactor = "Custom" Part.CanCollide = false
  5465. Part.BrickColor = BrickColor.new("Cyan")
  5466. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  5467. local Partweld = Instance.new("ManualWeld")
  5468. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5469. Partweld.C1 = CFrame.new(0, -0.842823029, -0.230328798, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5470. Partweld.Parent = Part
  5471. local PartMesh = Instance.new("CylinderMesh",Part)
  5472. PartMesh.Name = "Mesh"
  5473. PartMesh.Offset = Vector3.new(0, 0, 0)
  5474. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  5475.  
  5476. table.insert(bltb, Part)
  5477.  
  5478. local Part = Instance.new("Part", m)
  5479. Part:BreakJoints()
  5480. Part.TopSurface = "Smooth"
  5481. Part.Material = "Neon"
  5482. Part.Transparency = 0 Part.Name = 'Part6'
  5483. Part.BottomSurface = "Smooth"
  5484. Part.FormFactor = "Custom" Part.CanCollide = false
  5485. Part.BrickColor = BrickColor.new("Cyan")
  5486. Part.Size = Vector3.new(0.337107092, 0.200000003, 0.337107033)
  5487. local Partweld = Instance.new("ManualWeld")
  5488. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5489. Partweld.C1 = CFrame.new(0, -0.618034363, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5490. Partweld.Parent = Part
  5491. local PartMesh = Instance.new("CylinderMesh",Part)
  5492. PartMesh.Name = "Mesh"
  5493. PartMesh.Offset = Vector3.new(0, 0, 0)
  5494. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  5495.  
  5496. table.insert(bltb, Part)
  5497.  
  5498. local Part = Instance.new("Part", m)
  5499. Part:BreakJoints()
  5500. Part.TopSurface = "Smooth"
  5501. Part.Material = "Neon"
  5502. Part.Transparency = 0 Part.Name = 'Part'
  5503. Part.BottomSurface = "Smooth"
  5504. Part.FormFactor = "Custom" Part.CanCollide = false
  5505. Part.BrickColor = BrickColor.new("Really black")
  5506. Part.Size = Vector3.new(0.200000003, 4.60922527, 0.224738017)
  5507. local Partweld = Instance.new("ManualWeld")
  5508. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5509. Partweld.C1 = CFrame.new(0, -3.3159256, -1.14440918e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5510. Partweld.Parent = Part
  5511. local PartMesh = Instance.new("BlockMesh",Part)
  5512. PartMesh.Name = "Mesh"
  5513. PartMesh.Offset = Vector3.new(0, 0, 0)
  5514. PartMesh.Scale = Vector3.new(0.561845124, 1, 1)
  5515.  
  5516. local Part = Instance.new("Part", m)
  5517. Part:BreakJoints()
  5518. Part.TopSurface = "Smooth"
  5519. Part.Material = "Neon"
  5520. Part.Transparency = 0 Part.Name = 'Part7'
  5521. Part.BottomSurface = "Smooth"
  5522. Part.FormFactor = "Custom" Part.CanCollide = false
  5523. Part.BrickColor = BrickColor.new("Cyan")
  5524. Part.Size = Vector3.new(0.337107092, 0.200000003, 0.337107033)
  5525. local Partweld = Instance.new("ManualWeld")
  5526. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5527. Partweld.C1 = CFrame.new(0, 0.618049622, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5528. Partweld.Parent = Part
  5529. local PartMesh = Instance.new("CylinderMesh",Part)
  5530. PartMesh.Name = "Mesh"
  5531. PartMesh.Offset = Vector3.new(0, 0, 0)
  5532. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  5533.  
  5534. table.insert(bltb, Part)
  5535.  
  5536. local Part = Instance.new("Part", m)
  5537. Part:BreakJoints()
  5538. Part.TopSurface = "Smooth"
  5539. Part.Material = "Neon"
  5540. Part.Transparency = 0 Part.Name = 'Part8'
  5541. Part.BottomSurface = "Smooth"
  5542. Part.FormFactor = "Custom" Part.CanCollide = false
  5543. Part.BrickColor = BrickColor.new("Cyan")
  5544. Part.Size = Vector3.new(0.337107092, 1.12369001, 0.200000003)
  5545. local Partweld = Instance.new("ManualWeld")
  5546. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5547. Partweld.C1 = CFrame.new(0, 0, 0.117978811, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5548. Partweld.Parent = Part
  5549. local PartMesh = Instance.new("CylinderMesh",Part)
  5550. PartMesh.Name = "Mesh"
  5551. PartMesh.Offset = Vector3.new(0, 0, 0)
  5552. PartMesh.Scale = Vector3.new(1, 1, 0.561845064)
  5553.  
  5554. table.insert(bltb, Part)
  5555.  
  5556. local Part = Instance.new("Part", m)
  5557. Part:BreakJoints()
  5558. Part.TopSurface = "Smooth"
  5559. Part.Material = "Neon"
  5560. Part.Transparency = 0 Part.Name = 'Part'
  5561. Part.BottomSurface = "Smooth"
  5562. Part.FormFactor = "Custom" Part.CanCollide = false
  5563. Part.BrickColor = BrickColor.new("Really black")
  5564. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.561845005)
  5565. local Partweld = Instance.new("ManualWeld")
  5566. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5567. Partweld.C1 = CFrame.new(0, -0.842823029, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5568. Partweld.Parent = Part
  5569. local PartMesh = Instance.new("CylinderMesh",Part)
  5570. PartMesh.Name = "Mesh"
  5571. PartMesh.Offset = Vector3.new(0, 0, 0)
  5572. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  5573.  
  5574. local Part = Instance.new("Part", m)
  5575. Part:BreakJoints()
  5576. Part.TopSurface = "Smooth"
  5577. Part.Material = "Neon"
  5578. Part.Transparency = 0 Part.Name = 'Part9'
  5579. Part.BottomSurface = "Smooth"
  5580. Part.FormFactor = "Custom" Part.CanCollide = false
  5581. Part.BrickColor = BrickColor.new("Cyan")
  5582. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  5583. local Partweld = Instance.new("ManualWeld")
  5584. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5585. 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)
  5586. Partweld.Parent = Part
  5587. local PartMesh = Instance.new("BlockMesh",Part)
  5588. PartMesh.Name = "Mesh"
  5589. PartMesh.Offset = Vector3.new(0, 0, 0)
  5590. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  5591.  
  5592. table.insert(bltb, Part)
  5593.  
  5594. local Part = Instance.new("Part", m)
  5595. Part:BreakJoints()
  5596. Part.TopSurface = "Smooth"
  5597. Part.Material = "Neon"
  5598. Part.Transparency = 0 Part.Name = 'Part'
  5599. Part.BottomSurface = "Smooth"
  5600. Part.FormFactor = "Custom" Part.CanCollide = false
  5601. Part.BrickColor = BrickColor.new("Really black")
  5602. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  5603. local Partweld = Instance.new("ManualWeld")
  5604. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5605. 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)
  5606. Partweld.Parent = Part
  5607. local PartMesh = Instance.new("BlockMesh",Part)
  5608. PartMesh.Name = "Mesh"
  5609. PartMesh.Offset = Vector3.new(0, 0, 0)
  5610. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  5611.  
  5612. local Part = Instance.new("Part", m)
  5613. Part:BreakJoints()
  5614. Part.TopSurface = "Smooth"
  5615. Part.Material = "Neon"
  5616. Part.Transparency = 0 Part.Name = 'Part'
  5617. Part.BottomSurface = "Smooth"
  5618. Part.FormFactor = "Custom" Part.CanCollide = false
  5619. Part.BrickColor = BrickColor.new("Really black")
  5620. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  5621. local Partweld = Instance.new("ManualWeld")
  5622. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5623. 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)
  5624. Partweld.Parent = Part
  5625. local PartMesh = Instance.new("BlockMesh",Part)
  5626. PartMesh.Name = "Mesh"
  5627. PartMesh.Offset = Vector3.new(0, 0, 0)
  5628. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  5629.  
  5630. local Part = Instance.new("Part", m)
  5631. Part:BreakJoints()
  5632. Part.TopSurface = "Smooth"
  5633. Part.Material = "Neon"
  5634. Part.Transparency = 0 Part.Name = 'Part'
  5635. Part.BottomSurface = "Smooth"
  5636. Part.FormFactor = "Custom" Part.CanCollide = false
  5637. Part.BrickColor = BrickColor.new("Really black")
  5638. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  5639. local Partweld = Instance.new("ManualWeld")
  5640. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5641. Partweld.C1 = CFrame.new(0, -0.842823029, -0.393235803, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5642. Partweld.Parent = Part
  5643. local PartMesh = Instance.new("BlockMesh",Part)
  5644. PartMesh.Name = "Mesh"
  5645. PartMesh.Offset = Vector3.new(0, 0, 0)
  5646. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  5647.  
  5648. local Part = Instance.new("Part", m)
  5649. Part:BreakJoints()
  5650. Part.TopSurface = "Smooth"
  5651. Part.Material = "Neon"
  5652. Part.Transparency = 0 Part.Name = 'Part10'
  5653. Part.BottomSurface = "Smooth"
  5654. Part.FormFactor = "Custom" Part.CanCollide = false
  5655. Part.BrickColor = BrickColor.new("Cyan")
  5656. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  5657. local Partweld = Instance.new("ManualWeld")
  5658. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5659. 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)
  5660. Partweld.Parent = Part
  5661. local PartMesh = Instance.new("BlockMesh",Part)
  5662. PartMesh.Name = "Mesh"
  5663. PartMesh.Offset = Vector3.new(0, 0, 0)
  5664. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  5665.  
  5666. table.insert(bltb, Part)
  5667.  
  5668. local Part = Instance.new("Part", m)
  5669. Part:BreakJoints()
  5670. Part.TopSurface = "Smooth"
  5671. Part.Material = "Neon"
  5672. Part.Transparency = 0 Part.Name = 'Part11'
  5673. Part.BottomSurface = "Smooth"
  5674. Part.FormFactor = "Custom" Part.CanCollide = false
  5675. Part.BrickColor = BrickColor.new("Cyan")
  5676. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  5677. local Partweld = Instance.new("ManualWeld")
  5678. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5679. Partweld.C1 = CFrame.new(0, -0.730434418, 0.174170732, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5680. Partweld.Parent = Part
  5681. local PartMesh = Instance.new("CylinderMesh",Part)
  5682. PartMesh.Name = "Mesh"
  5683. PartMesh.Offset = Vector3.new(0, 0, 0)
  5684. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  5685.  
  5686. table.insert(bltb, Part)
  5687.  
  5688. local Part = Instance.new("Part", m)
  5689. Part:BreakJoints()
  5690. Part.TopSurface = "Smooth"
  5691. Part.Material = "Neon"
  5692. Part.Transparency = 0 Part.Name = 'Part12'
  5693. Part.BottomSurface = "Smooth"
  5694. Part.FormFactor = "Custom" Part.CanCollide = false
  5695. Part.BrickColor = BrickColor.new("Cyan")
  5696. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  5697. local Partweld = Instance.new("ManualWeld")
  5698. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5699. Partweld.C1 = CFrame.new(-0.59340477, -0.842823029, 0.00790405273, -0.258815557, 0, -0.9659127, 0, 1, 0, 0.9659127, 0, -0.258815557)
  5700. Partweld.Parent = Part
  5701. local PartMesh = Instance.new("BlockMesh",Part)
  5702. PartMesh.Name = "Mesh"
  5703. PartMesh.Offset = Vector3.new(0, 0, 0)
  5704. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  5705.  
  5706. table.insert(bltb, Part)
  5707.  
  5708. local Part = Instance.new("Part", m)
  5709. Part:BreakJoints()
  5710. Part.TopSurface = "Smooth"
  5711. Part.Material = "Neon"
  5712. Part.Transparency = 0 Part.Name = 'Part13'
  5713. Part.BottomSurface = "Smooth"
  5714. Part.FormFactor = "Custom" Part.CanCollide = false
  5715. Part.BrickColor = BrickColor.new("Cyan")
  5716. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.382054657)
  5717. local Partweld = Instance.new("ManualWeld")
  5718. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5719. 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)
  5720. Partweld.Parent = Part
  5721. local PartMesh = Instance.new("BlockMesh",Part)
  5722. PartMesh.Name = "Mesh"
  5723. PartMesh.Offset = Vector3.new(0, 0, 0)
  5724. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 1)
  5725.  
  5726. table.insert(bltb, Part)
  5727.  
  5728. local Part = Instance.new("Part", m)
  5729. Part:BreakJoints()
  5730. Part.TopSurface = "Smooth"
  5731. Part.Material = "Neon"
  5732. Part.Transparency = 0 Part.Name = 'Part14'
  5733. Part.BottomSurface = "Smooth"
  5734. Part.FormFactor = "Custom" Part.CanCollide = false
  5735. Part.BrickColor = BrickColor.new("Cyan")
  5736. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  5737. local Partweld = Instance.new("ManualWeld")
  5738. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5739. Partweld.C1 = CFrame.new(0.598263144, -0.842823029, 0.00432395935, -0.258815438, 0, 0.965912819, 0, 1, 0, -0.965912819, 0, -0.258815438)
  5740. Partweld.Parent = Part
  5741. local PartMesh = Instance.new("BlockMesh",Part)
  5742. PartMesh.Name = "Mesh"
  5743. PartMesh.Offset = Vector3.new(0, 0, 0)
  5744. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  5745.  
  5746. table.insert(bltb, Part)
  5747.  
  5748. local Part = Instance.new("Part", m)
  5749. Part:BreakJoints()
  5750. Part.TopSurface = "Smooth"
  5751. Part.Material = "Neon"
  5752. Part.Transparency = 0 Part.Name = 'Part15'
  5753. Part.BottomSurface = "Smooth"
  5754. Part.FormFactor = "Custom" Part.CanCollide = false
  5755. Part.BrickColor = BrickColor.new("Cyan")
  5756. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.449476063)
  5757. local Partweld = Instance.new("ManualWeld")
  5758. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5759. Partweld.C1 = CFrame.new(0, -0.842823029, 0.398794174, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5760. Partweld.Parent = Part
  5761. local PartMesh = Instance.new("BlockMesh",Part)
  5762. PartMesh.Name = "Mesh"
  5763. PartMesh.Offset = Vector3.new(0, 0, 0)
  5764. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 1)
  5765.  
  5766. table.insert(bltb, Part)
  5767.  
  5768. local Part = Instance.new("Part", m)
  5769. Part:BreakJoints()
  5770. Part.TopSurface = "Smooth"
  5771. Part.Material = "Neon"
  5772. Part.Transparency = 0 Part.Name = 'Part16'
  5773. Part.BottomSurface = "Smooth"
  5774. Part.FormFactor = "Custom" Part.CanCollide = false
  5775. Part.BrickColor = BrickColor.new("Cyan")
  5776. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  5777. local Partweld = Instance.new("ManualWeld")
  5778. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5779. Partweld.C1 = CFrame.new(0, -0.955184937, 0.174145699, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5780. Partweld.Parent = Part
  5781. local PartMesh = Instance.new("CylinderMesh",Part)
  5782. PartMesh.Name = "Mesh"
  5783. PartMesh.Offset = Vector3.new(0, 0, 0)
  5784. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  5785.  
  5786. table.insert(bltb, Part)
  5787.  
  5788. local Part = Instance.new("Part", m)
  5789. Part:BreakJoints()
  5790. Part.TopSurface = "Smooth"
  5791. Part.Material = "Neon"
  5792. Part.Transparency = 0.5 Part.Name = 'Part17'
  5793. Part.BottomSurface = "Smooth"
  5794. Part.FormFactor = "Custom" Part.CanCollide = false
  5795. Part.BrickColor = BrickColor.new("Cyan")
  5796. Part.Size = Vector3.new(0.200000003, 1.01132107, 0.449476063)
  5797. local Partweld = Instance.new("ManualWeld")
  5798. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5799. 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)
  5800. Partweld.Parent = Part
  5801. local PartMesh = Instance.new("SpecialMesh",Part)
  5802. PartMesh.MeshId = ""
  5803. PartMesh.MeshType = Enum.MeshType.Wedge PartMesh.Name = "Mesh"
  5804. PartMesh.Offset = Vector3.new(0, 0, 0)
  5805. PartMesh.Scale = Vector3.new(0.221366972, 1, 1)
  5806.  
  5807. table.insert(bltb, Part)
  5808.  
  5809. local Part = Instance.new("Part", m)
  5810. Part:BreakJoints()
  5811. Part.TopSurface = "Smooth"
  5812. Part.Material = "Neon"
  5813. Part.Transparency = 0 Part.Name = 'Part'
  5814. Part.BottomSurface = "Smooth"
  5815. Part.FormFactor = "Custom" Part.CanCollide = false
  5816. Part.BrickColor = BrickColor.new("Really black")
  5817. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  5818. local Partweld = Instance.new("ManualWeld")
  5819. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5820. Partweld.C1 = CFrame.new(0, -0.955184937, -2.38418579e-007, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5821. Partweld.Parent = Part
  5822. local PartMesh = Instance.new("CylinderMesh",Part)
  5823. PartMesh.Name = "Mesh"
  5824. PartMesh.Offset = Vector3.new(0, 0, 0)
  5825. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  5826.  
  5827. local Part = Instance.new("Part", m)
  5828. Part:BreakJoints()
  5829. Part.TopSurface = "Smooth"
  5830. Part.Material = "Neon"
  5831. Part.Transparency = 0 Part.Name = 'Part18'
  5832. Part.BottomSurface = "Smooth"
  5833. Part.FormFactor = "Custom" Part.CanCollide = false
  5834. Part.BrickColor = BrickColor.new("Cyan")
  5835. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  5836. local Partweld = Instance.new("ManualWeld")
  5837. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5838. Partweld.C1 = CFrame.new(0, -0.842823029, 0.230348349, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5839. Partweld.Parent = Part
  5840. local PartMesh = Instance.new("CylinderMesh",Part)
  5841. PartMesh.Name = "Mesh"
  5842. PartMesh.Offset = Vector3.new(0, 0, 0)
  5843. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  5844.  
  5845. table.insert(bltb, Part)
  5846.  
  5847. local Part = Instance.new("Part", m)
  5848. Part:BreakJoints()
  5849. Part.TopSurface = "Smooth"
  5850. Part.Material = "Neon"
  5851. Part.Transparency = 0 Part.Name = 'Part19'
  5852. Part.BottomSurface = "Smooth"
  5853. Part.FormFactor = "Custom" Part.CanCollide = false
  5854. Part.BrickColor = BrickColor.new("Cyan")
  5855. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  5856. local Partweld = Instance.new("ManualWeld")
  5857. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5858. Partweld.C1 = CFrame.new(0, -0.730434418, -0.179762959, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5859. Partweld.Parent = Part
  5860. local PartMesh = Instance.new("CylinderMesh",Part)
  5861. PartMesh.Name = "Mesh"
  5862. PartMesh.Offset = Vector3.new(0, 0, 0)
  5863. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  5864.  
  5865. table.insert(bltb, Part)
  5866.  
  5867. local hitbox = Instance.new("Part", m)
  5868. hitbox:BreakJoints()
  5869. hitbox.TopSurface = "Smooth"
  5870. hitbox.Material = "Neon"
  5871. hitbox.Transparency = 1 hitbox.Name = 'hitbox'
  5872. hitbox.BottomSurface = "Smooth"
  5873. hitbox.FormFactor = "Custom" hitbox.CanCollide = false
  5874. hitbox.BrickColor = BrickColor.new("Really black")
  5875. hitbox.Size = Vector3.new(0.200000003, 5.60922527, 0.624738038)
  5876. local hitboxweld = Instance.new("ManualWeld")
  5877. hitboxweld.Part0 = Handle hitboxweld.Part1 = hitbox hitboxweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5878. hitboxweld.C1 = CFrame.new(0, -3.8159256, -1.12056732e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  5879. hitboxweld.Parent = hitbox
  5880. local hitboxMesh = Instance.new("BlockMesh",hitbox)
  5881. hitboxMesh.Name = "Mesh"
  5882. hitboxMesh.Offset = Vector3.new(0, 0, 0)
  5883. hitboxMesh.Scale = Vector3.new(0.561845124, 1, 1)
  5884.  
  5885. local Wedge = Instance.new("WedgePart", m)
  5886. Wedge:BreakJoints()
  5887. Wedge.TopSurface = "Smooth"
  5888. Wedge.Material = "Neon"
  5889. Wedge.Transparency = 0 Wedge.Name = 'Wedge'
  5890. Wedge.BottomSurface = "Smooth"
  5891. Wedge.FormFactor = "Custom" Wedge.CanCollide = false
  5892. Wedge.BrickColor = BrickColor.new("Really black")
  5893. Wedge.Size = Vector3.new(0.200000003, 0.561845124, 0.224738076)
  5894. local Wedgeweld = Instance.new("ManualWeld")
  5895. Wedgeweld.Part0 = Handle Wedgeweld.Part1 = Wedge Wedgeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5896. 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)
  5897. Wedgeweld.Parent = Wedge
  5898. local WedgeMesh = Instance.new("SpecialMesh",Wedge)
  5899. WedgeMesh.MeshId = ""
  5900. WedgeMesh.MeshType = Enum.MeshType.Wedge WedgeMesh.Name = "Mesh"
  5901. WedgeMesh.Offset = Vector3.new(0, 0, 0)
  5902. WedgeMesh.Scale = Vector3.new(0.561845124, 1, 1)
  5903.  
  5904.  
  5905.  
  5906. EffectPart2 = part2(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Institutional white", "EffectPart2", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  5907. 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))
  5908. EffectPart = part2(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Institutional white", "EffectPart", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  5909. 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))
  5910. mesh("BlockMesh", EffectPart, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5911.  
  5912.  
  5913.  
  5914. coroutine.resume(coroutine.create(function()
  5915. while wait() do
  5916. for i,v in pairs(bltb) do
  5917. if v:IsA("Part") or v:IsA("WedgePart") then
  5918. UpdatePart(v,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  5919.  
  5920. end
  5921. end
  5922. end
  5923. end)) --work
  5924.  
  5925.  
  5926.  
  5927.  
  5928.  
  5929.  
  5930. end
  5931.  
  5932. function removeSword()
  5933. for i = 1, 10 do wait()
  5934. for i,v in pairs(iris:GetChildren()) do
  5935. if v:IsA("Part") or v:IsA("WedgePart") then
  5936. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  5937. v.Transparency = v.Transparency + 0.1
  5938. end
  5939. end
  5940. end
  5941. end
  5942. end
  5943. -----------------------------------------------------
  5944. local blade1Tip = nil
  5945. local blade1cor0 = nil
  5946.  
  5947. local m = Instance.new("Model")
  5948. m.Name = "Genkadda"
  5949. function makeSword()
  5950. p1 = Instance.new("Part", m)
  5951. p1.Material = "Neon"
  5952. colc = math.random(1,7)
  5953. p1.BrickColor = Neonsc[colc]
  5954. p1.Name = "BladePart"
  5955. p1.FormFactor = Enum.FormFactor.Symmetric
  5956. p1.Size = Vector3.new(1, 1, 1)
  5957. 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)
  5958. p1.CanCollide = false
  5959. p1.Locked = true
  5960. p1.Elasticity = 0
  5961. p1.BottomSurface = Enum.SurfaceType.Smooth
  5962. p1.TopSurface = Enum.SurfaceType.Smooth
  5963. b1 = Instance.new("BlockMesh", p1)
  5964. b1.Name = "Mesh"
  5965. b1.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  5966. p2 = Instance.new("Part", m)
  5967. p2.Material = "Neon"
  5968. colc = math.random(1,7)
  5969. p2.BrickColor = Neonsc[colc]
  5970. p2.FormFactor = Enum.FormFactor.Symmetric
  5971. p2.Size = Vector3.new(1, 1, 1)
  5972. 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)
  5973. p2.CanCollide = false
  5974. p2.Locked = true
  5975. p2.Elasticity = 0
  5976. p2.BottomSurface = Enum.SurfaceType.Smooth
  5977. p2.TopSurface = Enum.SurfaceType.Smooth
  5978. b2 = Instance.new("BlockMesh", p2)
  5979. b2.Name = "Mesh"
  5980. b2.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  5981. p3 = Instance.new("Part", m)
  5982. p3.Material = "Neon"
  5983. colc = math.random(1,7)
  5984. p3.BrickColor = Neonsc[colc]
  5985. p3.FormFactor = Enum.FormFactor.Symmetric
  5986. p3.Size = Vector3.new(1, 2, 1)
  5987. 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)
  5988. p3.CanCollide = false
  5989. p3.Locked = true
  5990. p3.Elasticity = 0
  5991. p3.BottomSurface = Enum.SurfaceType.Smooth
  5992. p3.TopSurface = Enum.SurfaceType.Smooth
  5993. b3 = Instance.new("BlockMesh", p3)
  5994. b3.Name = "Mesh"
  5995. b3.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  5996. p4 = Instance.new("Part", m)
  5997. p4.Material = "Neon"
  5998. colc = math.random(1,7)
  5999. p4.BrickColor = Neonsc[colc]
  6000. p4.Name = "BladePart"
  6001. p4.FormFactor = Enum.FormFactor.Symmetric
  6002. p4.Size = Vector3.new(1, 1, 1)
  6003. 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)
  6004. p4.CanCollide = false
  6005. p4.Locked = true
  6006. p4.Elasticity = 0
  6007. p4.BottomSurface = Enum.SurfaceType.Smooth
  6008. p4.TopSurface = Enum.SurfaceType.Smooth
  6009. b4 = Instance.new("BlockMesh", p4)
  6010. b4.Name = "Mesh"
  6011. b4.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  6012. p5 = Instance.new("Part", m)
  6013. p5.Material = "Neon"
  6014. colc = math.random(1,7)
  6015. p5.BrickColor = Neonsc[colc]
  6016. p5.Name = "Hilt"
  6017. p5.FormFactor = Enum.FormFactor.Custom
  6018. p5.Size = Vector3.new(1, 0.400000006, 1.60000014)
  6019. 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)
  6020. p5.CanCollide = false
  6021. p5.Locked = true
  6022. p5.BottomSurface = Enum.SurfaceType.Smooth
  6023. p5.TopSurface = Enum.SurfaceType.Smooth
  6024. b5 = Instance.new("BlockMesh", p5)
  6025. b5.Name = "Mesh"
  6026. b5.Scale = Vector3.new(0.299999923, 0.399999917, 0.799999952)
  6027. p6 = Instance.new("Part", m)
  6028. p6.Material = "Neon"
  6029. colc = math.random(1,7)
  6030. p6.BrickColor = Neonsc[colc]
  6031. p6.Name = "Handle"
  6032. p6.FormFactor = Enum.FormFactor.Custom
  6033. p6.Size = Vector3.new(1.29999995, 1, 1)
  6034. 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)
  6035. p6.CanCollide = false
  6036. p6.Locked = true
  6037. p6.BottomSurface = Enum.SurfaceType.Smooth
  6038. p6.TopSurface = Enum.SurfaceType.Smooth
  6039. b6 = Instance.new("SpecialMesh", p6)
  6040. b6.MeshType = Enum.MeshType.Cylinder
  6041. b6.Name = "Mesh"
  6042. b6.Scale = Vector3.new(1, 0.200000003, 0.200000003)
  6043. p7 = Instance.new("Part", m)
  6044. p7.Material = "Neon"
  6045. colc = math.random(1,7)
  6046. p7.BrickColor = Neonsc[colc]
  6047. p7.FormFactor = Enum.FormFactor.Symmetric
  6048. p7.Size = Vector3.new(1, 1, 1)
  6049. 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)
  6050. p7.CanCollide = false
  6051. p7.Locked = true
  6052. b7 = Instance.new("SpecialMesh", p7)
  6053. b7.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  6054. b7.TextureId = ""
  6055. b7.MeshType = Enum.MeshType.FileMesh
  6056. b7.Name = "Mesh"
  6057. b7.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
  6058. p8 = Instance.new("Part", m)
  6059. p8.Material = "Neon"
  6060. colc = math.random(1,7)
  6061. p8.BrickColor = Neonsc[colc]
  6062. p8.Name = "BladePart"
  6063. p8.FormFactor = Enum.FormFactor.Symmetric
  6064. p8.Size = Vector3.new(1, 1, 1)
  6065. 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)
  6066. p8.CanCollide = false
  6067. p8.Locked = true
  6068. p8.Elasticity = 0
  6069. p8.BottomSurface = Enum.SurfaceType.Smooth
  6070. p8.TopSurface = Enum.SurfaceType.Smooth
  6071. b8 = Instance.new("BlockMesh", p8)
  6072. b8.Name = "Mesh"
  6073. b8.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  6074. p9 = Instance.new("Part", m)
  6075. p9.Material = "Neon"
  6076. colc = math.random(1,7)
  6077. p9.BrickColor = Neonsc[colc]
  6078. p9.Name = "BladePart"
  6079. p9.FormFactor = Enum.FormFactor.Symmetric
  6080. p9.Size = Vector3.new(1, 1, 1)
  6081. 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)
  6082. p9.CanCollide = false
  6083. p9.Locked = true
  6084. p9.Elasticity = 0
  6085. p9.BottomSurface = Enum.SurfaceType.Smooth
  6086. p9.TopSurface = Enum.SurfaceType.Smooth
  6087. b9 = Instance.new("BlockMesh", p9)
  6088. b9.Name = "Mesh"
  6089. b9.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  6090. p10 = Instance.new("Part", m)
  6091. p10.Material = "Neon"
  6092. colc = math.random(1,7)
  6093. p10.BrickColor = Neonsc[colc]
  6094. p10.Name = "BladeTip"
  6095. p10.FormFactor = Enum.FormFactor.Symmetric
  6096. p10.Size = Vector3.new(1, 1, 2)
  6097. 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)
  6098. p10.CanCollide = false
  6099. p10.Locked = true
  6100. p10.Elasticity = 0
  6101. p10.BottomSurface = Enum.SurfaceType.Smooth
  6102. p10.TopSurface = Enum.SurfaceType.Smooth
  6103. b10 = Instance.new("SpecialMesh", p10)
  6104. b10.MeshType = Enum.MeshType.Wedge
  6105. b10.Name = "Mesh"
  6106. b10.Scale = Vector3.new(0.119999997, 0.299999923, 0.699999928)
  6107. p11 = Instance.new("Part", m)
  6108. p11.Material = "Neon"
  6109. colc = math.random(1,7)
  6110. p11.BrickColor = Neonsc[colc]
  6111. p11.Name = "BladePart"
  6112. p11.FormFactor = Enum.FormFactor.Symmetric
  6113. p11.Size = Vector3.new(1, 1, 1)
  6114. 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)
  6115. p11.CanCollide = false
  6116. p11.Locked = true
  6117. p11.Elasticity = 0
  6118. p11.BottomSurface = Enum.SurfaceType.Smooth
  6119. p11.TopSurface = Enum.SurfaceType.Smooth
  6120. b11 = Instance.new("BlockMesh", p11)
  6121. b11.Name = "Mesh"
  6122. b11.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  6123. p12 = Instance.new("Part", m)
  6124. p12.Material = "Neon"
  6125. colc = math.random(1,7)
  6126. p12.BrickColor = Neonsc[colc]
  6127. p12.Name = "BladeTip2"
  6128. p12.FormFactor = Enum.FormFactor.Custom
  6129. p12.Size = Vector3.new(1, 1, 2.4000001)
  6130. 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)
  6131. p12.CanCollide = false
  6132. p12.Locked = true
  6133. p12.Elasticity = 0
  6134. p12.BottomSurface = Enum.SurfaceType.Smooth
  6135. p12.TopSurface = Enum.SurfaceType.Smooth
  6136. b12 = Instance.new("SpecialMesh", p12)
  6137. b12.MeshType = Enum.MeshType.Wedge
  6138. b12.Name = "Mesh"
  6139. b12.Scale = Vector3.new(0.119999997, 0.239999995, 0.699999928)
  6140. p13 = Instance.new("Part", m)
  6141. p13.Material = "Neon"
  6142. p13.BrickColor = BrickColor.new("Medium stone grey")
  6143. p13.Transparency = 1
  6144. p13.Name = "HitBox"
  6145. p13.FormFactor = Enum.FormFactor.Custom
  6146. p13.Size = Vector3.new(6.0999999, 0.400000006, 1.5999999)
  6147. 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)
  6148. p13.CanCollide = false
  6149. p13.Locked = true
  6150. p13.BottomSurface = Enum.SurfaceType.Smooth
  6151. p13.TopSurface = Enum.SurfaceType.Smooth
  6152. w1 = Instance.new("Weld", p1)
  6153. w1.Name = "Part_Weld"
  6154. w1.Part0 = p1
  6155. 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)
  6156. w1.Part1 = p2
  6157. 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)
  6158. w2 = Instance.new("Weld", p2)
  6159. w2.Name = "Part_Weld"
  6160. w2.Part0 = p2
  6161. 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)
  6162. w2.Part1 = p3
  6163. 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)
  6164. w3 = Instance.new("Weld", p3)
  6165. w3.Name = "BladePart_Weld"
  6166. w3.Part0 = p3
  6167. 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)
  6168. w3.Part1 = p4
  6169. 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)
  6170. w4 = Instance.new("Weld", p4)
  6171. w4.Name = "Hilt_Weld"
  6172. w4.Part0 = p4
  6173. 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)
  6174. w4.Part1 = p5
  6175. 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)
  6176. w5 = Instance.new("Weld", p5)
  6177. w5.Name = "Handle_Weld"
  6178. w5.Part0 = p5
  6179. 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)
  6180. w5.Part1 = p6
  6181. 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)
  6182. w6 = Instance.new("Weld", p6)
  6183. w6.Name = "Part_Weld"
  6184. w6.Part0 = p6
  6185. 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)
  6186. w6.Part1 = p7
  6187. 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)
  6188. w7 = Instance.new("Weld", p7)
  6189. w7.Name = "BladePart_Weld"
  6190. w7.Part0 = p7
  6191. 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)
  6192. w7.Part1 = p8
  6193. 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)
  6194. w8 = Instance.new("Weld", p8)
  6195. w8.Name = "BladePart_Weld"
  6196. w8.Part0 = p8
  6197. 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)
  6198. w8.Part1 = p9
  6199. 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)
  6200. w9 = Instance.new("Weld", p9)
  6201. w9.Name = "BladeTip_Weld"
  6202. w9.Part0 = p9
  6203. 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)
  6204. w9.Part1 = p10
  6205. 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)
  6206. w10 = Instance.new("Weld", p10)
  6207. w10.Name = "BladePart_Weld"
  6208. w10.Part0 = p10
  6209. 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)
  6210. w10.Part1 = p11
  6211. 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)
  6212. w11 = Instance.new("Weld", p11)
  6213. w11.Name = "BladeTip2_Weld"
  6214. w11.Part0 = p11
  6215. 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)
  6216. w11.Part1 = p12
  6217. 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)
  6218. w12 = Instance.new("Weld", p12)
  6219. w12.Name = "HitBox_Weld"
  6220. w12.Part0 = p12
  6221. 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)
  6222. w12.Part1 = p13
  6223. 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)
  6224. w13 = Instance.new("Weld", p13)
  6225. w13.Name = "Weld"
  6226. w13.Part0 = p13
  6227. 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)
  6228. m.Parent = char
  6229. m:MakeJoints()
  6230. ----------------------------------------------------
  6231. local cor = Instance.new("Part", char.Genkadda)
  6232. cor.Name = "Thingy"
  6233. cor.Locked = true
  6234. cor.BottomSurface = 0
  6235. cor.CanCollide = false
  6236. cor.Size = Vector3.new(1, 9, 1)
  6237. cor.Transparency = 1
  6238. cor.TopSurface = 0
  6239. corw = Instance.new("Weld", cor)
  6240. corw.Part0 = rarm
  6241. corw.Part1 = cor
  6242. corw.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(90))
  6243. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  6244. weld1 = Instance.new("Weld", char.Genkadda)
  6245. weld1.Part0 = cor
  6246. weld1.Part1 = char.Genkadda.Handle
  6247. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  6248. blade1Tip = cor
  6249. end
  6250.  
  6251. --[[makeSword()
  6252. ----------------------------------------------------
  6253. ]]
  6254. blocks = {}
  6255. last_block = nil
  6256. function ezBlock(type, name, cframe, size, rotation, material, parent, BrickColor, transparency,
  6257.  
  6258. weldToThis, formFactor)
  6259. block = Instance.new(type, parent)
  6260. block.Name = name
  6261. block.FormFactor=formFactor
  6262. block.Size = size
  6263. block.CanCollide = false
  6264. block.Anchored = false
  6265. block.BrickColor = BrickColor
  6266. block.Transparency=transparency
  6267. block.TopSurface = 'SmoothNoOutlines'
  6268. block.BottomSurface = 'SmoothNoOutlines'
  6269. block.FrontSurface = 'SmoothNoOutlines'
  6270. block.BackSurface = 'SmoothNoOutlines'
  6271. block.LeftSurface = 'SmoothNoOutlines'
  6272. block.RightSurface = 'SmoothNoOutlines'
  6273. block.Material = material
  6274. block.formFactor = 'Custom'
  6275. block.CFrame = cframe
  6276.  
  6277. if weldToThis then
  6278. stick(weldToThis, block)
  6279. elseif last_block ~= nil then
  6280. stick(block, last_block)
  6281. last_block = block
  6282. else
  6283. last_block = block
  6284. end
  6285. table.insert(blocks, block)
  6286.  
  6287. return #blocks
  6288. end
  6289. --[[
  6290. ----------------------------------------------------
  6291. for i, v in pairs(blocks) do
  6292. v.Parent = char.Genkadda
  6293. end
  6294. ----------------------------------------------------
  6295. local LastCFr = nil
  6296. local Trails = Instance.new("Model",char)
  6297. local Trail = {}
  6298. local Tip = char.Genkadda.BladeTip --blocks[test]
  6299. local number = 0
  6300. local num2 = 1
  6301. ]]
  6302.  
  6303.  
  6304. function startBloxFX()
  6305. local eff2 = Instance.new("Part", char)
  6306. eff2.Size = Vector3.new(10, 10, 10)
  6307. eff2.Transparency = 0
  6308. eff2.Material = "Neon"
  6309. eff2.Anchored = true
  6310. eff2.CanCollide = false
  6311. eff2.CFrame = char.Torso.CFrame
  6312. eff2eff = Instance.new("SelectionBox", eff2)
  6313. eff2eff.Adornee = eff2
  6314.  
  6315. local Hair = Instance.new("Part", char)
  6316. Hair.Name = "Hair"
  6317. Hair.Material = "Neon"
  6318. Hair.Size = Vector3.new(2, 0.8, 2.4)
  6319. Hold = Instance.new("Weld", char.Head)
  6320. Hold.Part0 = char.Head
  6321. Hold.Part1 = Hair
  6322. Hold.C0 = CFrame.new(-0.1, 0.8, 0)
  6323. local Mesh = Instance.new("SpecialMesh", Hair)
  6324. Mesh.MeshType = "FileMesh"
  6325. Mesh.Scale = Vector3.new(1.2, 1, 1)
  6326. Mesh.MeshId = ("http://www.roblox.com/asset/?id=145283773 ")
  6327. Mesh.TextureId = ("http://www.roblox.com/asset/?id=151460207")
  6328. -----------------------------------BLOXFUNC_
  6329. p1 = Instance.new("Part", m)
  6330. p1.Material = "Neon"
  6331. colc = math.random(1,7)
  6332. p1.BrickColor = Neonsc[colc]
  6333. p1.Name = "BladePart"
  6334. p1.FormFactor = Enum.FormFactor.Symmetric
  6335. p1.Size = Vector3.new(1, 1, 1)
  6336. 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)
  6337. p1.CanCollide = false
  6338. p1.Locked = true
  6339. p1.Elasticity = 0
  6340. p1.BottomSurface = Enum.SurfaceType.Smooth
  6341. p1.TopSurface = Enum.SurfaceType.Smooth
  6342. b1 = Instance.new("BlockMesh", p1)
  6343. b1.Name = "Mesh"
  6344. b1.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  6345. p2 = Instance.new("Part", m)
  6346. p2.Material = "Neon"
  6347. colc = math.random(1,7)
  6348. p2.BrickColor = Neonsc[colc]
  6349. p2.FormFactor = Enum.FormFactor.Symmetric
  6350. p2.Size = Vector3.new(1, 1, 1)
  6351. 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)
  6352. p2.CanCollide = false
  6353. p2.Locked = true
  6354. p2.Elasticity = 0
  6355. p2.BottomSurface = Enum.SurfaceType.Smooth
  6356. p2.TopSurface = Enum.SurfaceType.Smooth
  6357. b2 = Instance.new("BlockMesh", p2)
  6358. b2.Name = "Mesh"
  6359. b2.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  6360. p3 = Instance.new("Part", m)
  6361. p3.Material = "Neon"
  6362. colc = math.random(1,7)
  6363. p3.BrickColor = Neonsc[colc]
  6364. p3.FormFactor = Enum.FormFactor.Symmetric
  6365. p3.Size = Vector3.new(1, 2, 1)
  6366. 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)
  6367. p3.CanCollide = false
  6368. p3.Locked = true
  6369. p3.Elasticity = 0
  6370. p3.BottomSurface = Enum.SurfaceType.Smooth
  6371. p3.TopSurface = Enum.SurfaceType.Smooth
  6372. b3 = Instance.new("BlockMesh", p3)
  6373. b3.Name = "Mesh"
  6374. b3.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  6375. p4 = Instance.new("Part", m)
  6376. p4.Material = "Neon"
  6377. colc = math.random(1,7)
  6378. p4.BrickColor = Neonsc[colc]
  6379. p4.Name = "BladePart"
  6380. p4.FormFactor = Enum.FormFactor.Symmetric
  6381. p4.Size = Vector3.new(1, 1, 1)
  6382. 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)
  6383. p4.CanCollide = false
  6384. p4.Locked = true
  6385. p4.Elasticity = 0
  6386. p4.BottomSurface = Enum.SurfaceType.Smooth
  6387. p4.TopSurface = Enum.SurfaceType.Smooth
  6388. b4 = Instance.new("BlockMesh", p4)
  6389. b4.Name = "Mesh"
  6390. b4.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  6391. p5 = Instance.new("Part", m)
  6392. p5.Material = "Neon"
  6393. colc = math.random(1,7)
  6394. p5.BrickColor = Neonsc[colc]
  6395. p5.Name = "Hilt"
  6396. p5.FormFactor = Enum.FormFactor.Custom
  6397. p5.Size = Vector3.new(1, 0.400000006, 1.60000014)
  6398. 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)
  6399. p5.CanCollide = false
  6400. p5.Locked = true
  6401. p5.BottomSurface = Enum.SurfaceType.Smooth
  6402. p5.TopSurface = Enum.SurfaceType.Smooth
  6403. b5 = Instance.new("BlockMesh", p5)
  6404. b5.Name = "Mesh"
  6405. b5.Scale = Vector3.new(0.299999923, 0.399999917, 0.799999952)
  6406. p6 = Instance.new("Part", m)
  6407. p6.Material = "Neon"
  6408. colc = math.random(1,7)
  6409. p6.BrickColor = Neonsc[colc]
  6410. p6.Name = "Handle"
  6411. p6.FormFactor = Enum.FormFactor.Custom
  6412. p6.Size = Vector3.new(1.29999995, 1, 1)
  6413. 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)
  6414. p6.CanCollide = false
  6415. p6.Locked = true
  6416. p6.BottomSurface = Enum.SurfaceType.Smooth
  6417. p6.TopSurface = Enum.SurfaceType.Smooth
  6418. b6 = Instance.new("SpecialMesh", p6)
  6419. b6.MeshType = Enum.MeshType.Cylinder
  6420. b6.Name = "Mesh"
  6421. b6.Scale = Vector3.new(1, 0.200000003, 0.200000003)
  6422. p7 = Instance.new("Part", m)
  6423. p7.Material = "Neon"
  6424. colc = math.random(1,7)
  6425. p7.BrickColor = Neonsc[colc]
  6426. p7.FormFactor = Enum.FormFactor.Symmetric
  6427. p7.Size = Vector3.new(1, 1, 1)
  6428. 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)
  6429. p7.CanCollide = false
  6430. p7.Locked = true
  6431. b7 = Instance.new("SpecialMesh", p7)
  6432. b7.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  6433. b7.TextureId = ""
  6434. b7.MeshType = Enum.MeshType.FileMesh
  6435. b7.Name = "Mesh"
  6436. b7.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
  6437. p8 = Instance.new("Part", m)
  6438. p8.Material = "Neon"
  6439. colc = math.random(1,7)
  6440. p8.BrickColor = Neonsc[colc]
  6441. p8.Name = "BladePart"
  6442. p8.FormFactor = Enum.FormFactor.Symmetric
  6443. p8.Size = Vector3.new(1, 1, 1)
  6444. 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)
  6445. p8.CanCollide = false
  6446. p8.Locked = true
  6447. p8.Elasticity = 0
  6448. p8.BottomSurface = Enum.SurfaceType.Smooth
  6449. p8.TopSurface = Enum.SurfaceType.Smooth
  6450. b8 = Instance.new("BlockMesh", p8)
  6451. b8.Name = "Mesh"
  6452. b8.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  6453. p9 = Instance.new("Part", m)
  6454. p9.Material = "Neon"
  6455. colc = math.random(1,7)
  6456. p9.BrickColor = Neonsc[colc]
  6457. p9.Name = "BladePart"
  6458. p9.FormFactor = Enum.FormFactor.Symmetric
  6459. p9.Size = Vector3.new(1, 1, 1)
  6460. 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)
  6461. p9.CanCollide = false
  6462. p9.Locked = true
  6463. p9.Elasticity = 0
  6464. p9.BottomSurface = Enum.SurfaceType.Smooth
  6465. p9.TopSurface = Enum.SurfaceType.Smooth
  6466. b9 = Instance.new("BlockMesh", p9)
  6467. b9.Name = "Mesh"
  6468. b9.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  6469. p10 = Instance.new("Part", m)
  6470. p10.Material = "Neon"
  6471. colc = math.random(1,7)
  6472. p10.BrickColor = Neonsc[colc]
  6473. p10.Name = "BladeTip"
  6474. p10.FormFactor = Enum.FormFactor.Symmetric
  6475. p10.Size = Vector3.new(1, 1, 2)
  6476. 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)
  6477. p10.CanCollide = false
  6478. p10.Locked = true
  6479. p10.Elasticity = 0
  6480. p10.BottomSurface = Enum.SurfaceType.Smooth
  6481. p10.TopSurface = Enum.SurfaceType.Smooth
  6482. b10 = Instance.new("SpecialMesh", p10)
  6483. b10.MeshType = Enum.MeshType.Wedge
  6484. b10.Name = "Mesh"
  6485. b10.Scale = Vector3.new(0.119999997, 0.299999923, 0.699999928)
  6486. p11 = Instance.new("Part", m)
  6487. p11.Material = "Neon"
  6488. colc = math.random(1,7)
  6489. p11.BrickColor = Neonsc[colc]
  6490. p11.Name = "BladePart"
  6491. p11.FormFactor = Enum.FormFactor.Symmetric
  6492. p11.Size = Vector3.new(1, 1, 1)
  6493. 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)
  6494. p11.CanCollide = false
  6495. p11.Locked = true
  6496. p11.Elasticity = 0
  6497. p11.BottomSurface = Enum.SurfaceType.Smooth
  6498. p11.TopSurface = Enum.SurfaceType.Smooth
  6499. b11 = Instance.new("BlockMesh", p11)
  6500. b11.Name = "Mesh"
  6501. b11.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  6502. p12 = Instance.new("Part", m)
  6503. p12.Material = "Neon"
  6504. colc = math.random(1,7)
  6505. p12.BrickColor = Neonsc[colc]
  6506. p12.Name = "BladeTip2"
  6507. p12.FormFactor = Enum.FormFactor.Custom
  6508. p12.Size = Vector3.new(1, 1, 2.4000001)
  6509. 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)
  6510. p12.CanCollide = false
  6511. p12.Locked = true
  6512. p12.Elasticity = 0
  6513. p12.BottomSurface = Enum.SurfaceType.Smooth
  6514. p12.TopSurface = Enum.SurfaceType.Smooth
  6515. b12 = Instance.new("SpecialMesh", p12)
  6516. b12.MeshType = Enum.MeshType.Wedge
  6517. b12.Name = "Mesh"
  6518. b12.Scale = Vector3.new(0.119999997, 0.239999995, 0.699999928)
  6519. p13 = Instance.new("Part", m)
  6520. p13.Material = "Neon"
  6521. p13.BrickColor = BrickColor.new("Medium stone grey")
  6522. p13.Transparency = 1
  6523. p13.Name = "HitBox"
  6524. p13.FormFactor = Enum.FormFactor.Custom
  6525. p13.Size = Vector3.new(6.0999999, 0.400000006, 1.5999999)
  6526. 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)
  6527. p13.CanCollide = false
  6528. p13.Locked = true
  6529. p13.BottomSurface = Enum.SurfaceType.Smooth
  6530. p13.TopSurface = Enum.SurfaceType.Smooth
  6531. w1 = Instance.new("Weld", p1)
  6532. w1.Name = "Part_Weld"
  6533. w1.Part0 = p1
  6534. 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)
  6535. w1.Part1 = p2
  6536. 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)
  6537. w2 = Instance.new("Weld", p2)
  6538. w2.Name = "Part_Weld"
  6539. w2.Part0 = p2
  6540. 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)
  6541. w2.Part1 = p3
  6542. 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)
  6543. w3 = Instance.new("Weld", p3)
  6544. w3.Name = "BladePart_Weld"
  6545. w3.Part0 = p3
  6546. 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)
  6547. w3.Part1 = p4
  6548. 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)
  6549. w4 = Instance.new("Weld", p4)
  6550. w4.Name = "Hilt_Weld"
  6551. w4.Part0 = p4
  6552. 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)
  6553. w4.Part1 = p5
  6554. 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)
  6555. w5 = Instance.new("Weld", p5)
  6556. w5.Name = "Handle_Weld"
  6557. w5.Part0 = p5
  6558. 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)
  6559. w5.Part1 = p6
  6560. 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)
  6561. w6 = Instance.new("Weld", p6)
  6562. w6.Name = "Part_Weld"
  6563. w6.Part0 = p6
  6564. 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)
  6565. w6.Part1 = p7
  6566. 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)
  6567. w7 = Instance.new("Weld", p7)
  6568. w7.Name = "BladePart_Weld"
  6569. w7.Part0 = p7
  6570. 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)
  6571. w7.Part1 = p8
  6572. 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)
  6573. w8 = Instance.new("Weld", p8)
  6574. w8.Name = "BladePart_Weld"
  6575. w8.Part0 = p8
  6576. 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)
  6577. w8.Part1 = p9
  6578. 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)
  6579. w9 = Instance.new("Weld", p9)
  6580. w9.Name = "BladeTip_Weld"
  6581. w9.Part0 = p9
  6582. 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)
  6583. w9.Part1 = p10
  6584. 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)
  6585. w10 = Instance.new("Weld", p10)
  6586. w10.Name = "BladePart_Weld"
  6587. w10.Part0 = p10
  6588. 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)
  6589. w10.Part1 = p11
  6590. 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)
  6591. w11 = Instance.new("Weld", p11)
  6592. w11.Name = "BladeTip2_Weld"
  6593. w11.Part0 = p11
  6594. 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)
  6595. w11.Part1 = p12
  6596. 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)
  6597. w12 = Instance.new("Weld", p12)
  6598. w12.Name = "HitBox_Weld"
  6599. w12.Part0 = p12
  6600. 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)
  6601. w12.Part1 = p13
  6602. 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)
  6603. w13 = Instance.new("Weld", p13)
  6604. w13.Name = "Weld"
  6605. w13.Part0 = p13
  6606. 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)
  6607. m.Parent = char
  6608. m:MakeJoints()
  6609. ----------------------------------------------------
  6610. local cor = Instance.new("Part", char.Genkadda)
  6611. cor.Name = "Thingy"
  6612. cor.Locked = true
  6613. cor.BottomSurface = 0
  6614. cor.CanCollide = false
  6615. cor.Size = Vector3.new(1, 9, 1)
  6616. cor.Transparency = 1
  6617. cor.TopSurface = 0
  6618. corw = Instance.new("Weld", cor)
  6619. corw.Part0 = rarm
  6620. corw.Part1 = cor
  6621. corw.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(90))
  6622. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  6623. weld1 = Instance.new("Weld", char.Genkadda)
  6624. weld1.Part0 = cor
  6625. weld1.Part1 = char.Genkadda.Handle
  6626. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  6627. blade1Tip = p13
  6628. blade1cor0 = corw
  6629. --blade1cor0.C0 = CFrame.new(-1, 3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90))
  6630. --blade1cor0.C1 = CFrame.new(-1, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  6631. ----------------------------------------------------BLOXFUNC_SWORD_END
  6632. ----------------------------------------------------
  6633. for i, v in pairs(blocks) do
  6634. v.Parent = char.Genkadda
  6635. end
  6636. ----------------------------------------------------
  6637. local LastCFr = nil
  6638. local Trails = Instance.new("Model",char)
  6639. local Trail = {}
  6640. local Tip = char.Genkadda.BladeTip --blocks[test]
  6641. local number = 0
  6642. local num2 = 1
  6643. -------VANISH
  6644. for i = 1, 10 do wait()
  6645. for i,v in pairs(char.Genkadda:GetChildren()) do
  6646. if v:IsA("Part") or v:IsA("WedgePart") then
  6647. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  6648. v.Transparency = v.Transparency + 0.1
  6649. end
  6650. end
  6651. end
  6652. end
  6653.  
  6654. ----------
  6655.  
  6656. --Vanish()
  6657. ----------APPEAR
  6658. for i = 1, 10 do wait()
  6659. for i,v in pairs(char.Genkadda:GetChildren()) do
  6660. if v:IsA("Part") or v:IsA("WedgePart") then
  6661. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  6662. v.Transparency = v.Transparency - 0.1
  6663. end
  6664. end
  6665. end
  6666. end
  6667. ---------------------
  6668. --Appear()
  6669. for i = 1, 30 do
  6670. colc = math.random(1,7)
  6671. eff2.CFrame = char.Torso.CFrame * CFrame.Angles(math.random(), math.random(), math.random())
  6672. eff2.BrickColor = Neonsc[colc]
  6673. eff2eff.Color = BrickColor.Random()
  6674. wait()
  6675. end
  6676.  
  6677. -------VANISH
  6678. for i = 1, 10 do wait()
  6679. for i,v in pairs(char.Genkadda:GetChildren()) do
  6680. if v:IsA("Part") or v:IsA("WedgePart") then
  6681. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  6682. v.Transparency = v.Transparency + 0.1
  6683. end
  6684. end
  6685. end
  6686. end
  6687.  
  6688. ----------
  6689. --Vanish()
  6690.  
  6691. eff2:Remove()
  6692. newMode = false
  6693. end
  6694.  
  6695.  
  6696. ---------------------------------
  6697.  
  6698. startBloxFX()
  6699.  
  6700. function Vanish()
  6701. for i = 1, 10 do wait()
  6702. for i,v in pairs(char.Genkadda:GetChildren()) do
  6703. if v:IsA("Part") or v:IsA("WedgePart") then
  6704. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  6705. v.Transparency = v.Transparency + 0.1
  6706. end
  6707. end
  6708. end
  6709. end
  6710. end
  6711. ----------------------------------------------------
  6712. function Appear()
  6713. for i = 1, 10 do wait()
  6714. for i,v in pairs(char.Genkadda:GetChildren()) do
  6715. if v:IsA("Part") or v:IsA("WedgePart") then
  6716. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  6717. v.Transparency = v.Transparency - 0.1
  6718. end
  6719. end
  6720. end
  6721. end
  6722. end
  6723. ---------------------------------
  6724. local clawPart1 = { }
  6725. Melee = true
  6726. mouse.KeyDown:connect(function(key)
  6727. if key == "m" then
  6728. if rainbowssl == false then
  6729. if Melee == false then
  6730. powerHand = true
  6731. rainbowHands = true
  6732. Melee = true
  6733. if sword2 ~= true then
  6734. Vanish()
  6735. else
  6736. sword2 = false
  6737. removeSword()
  6738. end
  6739. stanceToggle = "Melee"
  6740. rainbowHands = false
  6741. powerHand = false
  6742. elseif Melee == true then
  6743. powerHand = true
  6744. rainbowHands = true
  6745. Melee = false
  6746. 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)
  6747. 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)
  6748. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  6749. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  6750. 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)
  6751. 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)
  6752. Appear()
  6753. stanceToggle = "Normal"
  6754. rainbowHands = false
  6755. powerHand = false
  6756. end
  6757. elseif rainbowssl == true then
  6758. if Melee == false then
  6759. if myVars[5] == "normal" then
  6760. powerHand = true
  6761. rainbowHands = true
  6762. Melee = true
  6763. if clawPart1 == nil then
  6764. char.Humanoid.Health = 0
  6765. end
  6766. for i, v in ipairs(clawPart1) do
  6767. v:Destroy()
  6768. end
  6769.  
  6770. myVars[3] = "none"
  6771. wait(1)
  6772. stanceToggle = "Melee"
  6773. rainbowHands = false
  6774. powerHand = false
  6775. else
  6776. if myVars[5] == "ssl3" then
  6777. Melee = true
  6778. powerHand = true
  6779. rainbowHands = true
  6780. myVars[7] = false
  6781. ssl3Vanish()
  6782. print("ssl3vanish")
  6783. wait(1)
  6784. rainbowHands = false
  6785. powerHand = false
  6786. elseif myVars[5] == "ssl3_1" then
  6787. rainbowHands = true
  6788. ssl3Vanish()
  6789. myVars[5] = "ssl3"
  6790. print("ssl3vanish_1")
  6791. wait(1)
  6792. rainbowHands = false
  6793. end
  6794. end
  6795. elseif Melee == true then
  6796. if myVars[5] == "normal" then
  6797. powerHand = true
  6798. rainbowHands = true
  6799. Melee = false
  6800. 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)
  6801. 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)
  6802. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  6803. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  6804. 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)
  6805. 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)
  6806. makeClaw()
  6807. myVars[3] = "claw"
  6808. wait(1)
  6809. stanceToggle = "Normal"
  6810. rainbowHands = false
  6811. powerHand = false
  6812. else
  6813. powerHand = true
  6814. rainbowHands = true
  6815. Melee = false
  6816. ssl3Appear()
  6817. myVars[7] = true
  6818. print("ssl3Made")
  6819. wait(1)
  6820. rainbowHands = false
  6821. --equipHands()
  6822. powerHand = false
  6823. return true
  6824. end
  6825. end
  6826. end
  6827. end
  6828. end)
  6829. ----------------------------------------------------
  6830.  
  6831.  
  6832. mouse.KeyDown:connect(function(key)
  6833. if key == "u" then
  6834. if Melee == false then
  6835. if Debounces.CanAttack == true then
  6836. Debounces.CanAttack = false
  6837. Debounces.NoIdl = true
  6838. Debounces.on = true
  6839. if myVars[5] == "normal" then
  6840. swordPowerUp = true
  6841. blade1cor0.C0 = CFrame.new(-2, -5, -0.5) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  6842. blade1cor0.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  6843.  
  6844. for i = 1, 10 do
  6845. 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)
  6846. 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)
  6847. wait(0.5)
  6848. end
  6849. local eff3 = Instance.new("Part", char)
  6850. eff3.Size = Vector3.new(20, 20, 20)
  6851. eff3.Transparency = 0
  6852. eff3.Material = "Neon"
  6853. eff3.Anchored = true
  6854. eff3.CanCollide = false
  6855. eff3.Shape = "Ball"
  6856. eff3.CFrame = blade1Tip.CFrame
  6857. for i = 1, 40 do
  6858. eff3.Size = eff3.Size - Vector3.new(0.5, 0.5, 0.5)
  6859. eff3.CFrame = blade1Tip.CFrame * CFrame.Angles(math.random(), math.random(), math.random())
  6860. eff3.BrickColor = BrickColor.Random()
  6861. wait()
  6862. end
  6863. Vanish()
  6864. eff3:Remove()
  6865. blade1cor0.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(90))
  6866. blade1cor0.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  6867. upgradeSword()
  6868. sword2 = true
  6869. swordPowerUp = false
  6870. Debounces.CanAttack = true
  6871. Debounces.NoIdl = false
  6872. Debounces.on = false
  6873. elseif myVars[5] == "ssl3" then
  6874. powerHand = true
  6875. rainbowHands = true
  6876. Melee = true
  6877. --ssl3Vanish()
  6878. print("ssl3vanish")
  6879. wait(1)
  6880. rainbowHands = false
  6881. powerHand = false
  6882. myVars[5] = "ssl3_1"
  6883. myVars[7] = true
  6884. myVars[8] = 0
  6885. rainbowHands = true
  6886. Melee = false
  6887. sslBurst1()
  6888. print("ssl3Made")
  6889. wait(1)
  6890. rainbowHands = false
  6891. equipHands()
  6892. Debounces.CanAttack = true
  6893. Debounces.NoIdl = false
  6894. Debounces.on = false
  6895. end
  6896. end
  6897. end
  6898. end
  6899. end)
  6900. ----------------------------------------------------
  6901. local ballAtt = 0
  6902. mouse.KeyDown:connect(function(key)
  6903. if key == "g" then
  6904. if rainbowHands == true then
  6905. if Debounces.CanAttack == true then
  6906. Debounces.CanAttack = false
  6907. Debounces.NoIdl = true
  6908. Debounces.on = true
  6909. if ballAtt == 1 then
  6910. ballAtt = 2
  6911. elseif ballAtt == 2 then
  6912. ballAtt = 1
  6913. end
  6914. if ballAtt == 0 then
  6915. ballAtt = 1
  6916. end
  6917. local shell = Instance.new("Part",torso)
  6918. shell.BrickColor = Neonsc[colc]
  6919. shell.Anchored = true
  6920. shell.CanCollide = false
  6921. shell.Locked = true
  6922. shell.TopSurface = "SmoothNoOutlines"
  6923. shell.BottomSurface = "SmoothNoOutlines"
  6924. shell.Size = Vector3.new(1,1,1)
  6925. shellm = Instance.new("SpecialMesh",shell)
  6926. shellm.MeshType = "Sphere"
  6927. shellm.Scale = Vector3.new(1,1,1)
  6928. local shell2 = Instance.new("Part",torso)
  6929. shell2.BrickColor = Neonsc[colc]
  6930. shell2.Anchored = true
  6931. shell2.CanCollide = false
  6932. shell2.Locked = true
  6933. shell2.TopSurface = "SmoothNoOutlines"
  6934. shell2.BottomSurface = "SmoothNoOutlines"
  6935. shell2.Size = Vector3.new(1,1,1)
  6936. shellm2 = Instance.new("SpecialMesh",shell2)
  6937. shellm2.MeshType = "Sphere"
  6938. shellm2.Scale = Vector3.new(1,1,1)
  6939.  
  6940. function FindNearestTorso(Position,Distance,SinglePlayer)
  6941. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  6942. local List = {}
  6943. for i,v in pairs(workspace:GetChildren())do
  6944. if v:IsA("Model")then
  6945. if v:findFirstChild("Torso")then
  6946. if v ~= char then
  6947. if(v.Torso.Position -Position).magnitude <= Distance then
  6948. table.insert(List,v)
  6949. end
  6950. end
  6951. end
  6952. end
  6953. end
  6954. return List
  6955. end
  6956.  
  6957. Shell = function()
  6958. local X = Instance.new("Part",char)
  6959. local O = Instance.new("ObjectValue",X)
  6960. O.Name = "creator"
  6961. X.Locked = true
  6962. X.Name = "Shell"
  6963. X.Anchored = false
  6964. X.CanCollide = false
  6965. X.Transparency = 0
  6966. X.Reflectance = 100
  6967. X.BottomSurface = 0
  6968. X.TopSurface = 0
  6969. X.Shape = 0
  6970. local V = Instance.new("ObjectValue",X)
  6971. V.Value = char
  6972. V.Name = "creator"
  6973. X.BrickColor = Neonsc[colc]
  6974. X.Size = Vector3.new(1,1,1)
  6975. X.Material = "Neon"
  6976. local Z = Instance.new("SpecialMesh",X)
  6977. Z.MeshType = "Sphere"
  6978. Z.Scale = Vector3.new(1,1,1)
  6979. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  6980. local bv = Instance.new("BodyVelocity",X)
  6981. bv.maxForce = Vector3.new(99999,99999,99999)
  6982. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  6983. bv.velocity = root.CFrame.lookVector*65
  6984. Explode = X.Touched:connect(function(hit)
  6985. if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then
  6986. local cf = X.CFrame
  6987. bv:Destroy()
  6988. --if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") and hit:IsA("BasePart}") == false then
  6989. -- hit:Destroy()
  6990. --end
  6991. X.Anchored = true
  6992. Z:Remove()
  6993. Explode:disconnect()
  6994. X.Size = Vector3.new(3,3,3)
  6995. X.Touched:connect(function(hit) end)
  6996. X.CanCollide = false
  6997. for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do
  6998. if v:FindFirstChild('Humanoid') then
  6999. v.Humanoid:TakeDamage(1000)
  7000. end
  7001. end
  7002. for i = 1, (40) do rs:wait()
  7003. X.Transparency = X.Transparency + (1/40)
  7004. X.Size = X.Size + Vector3.new(1,1,1)
  7005. X.CFrame = cf
  7006. end
  7007. X:Destroy()
  7008. end
  7009. end)
  7010. end
  7011. if ballAtt == 1 then
  7012. Shell()
  7013. shell.Transparency = 0
  7014. shell2.Transparency = 1
  7015. for i = 1, 10 do
  7016. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  7017. 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)
  7018. 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)
  7019. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  7020. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  7021. 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)
  7022. 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)
  7023. if Debounces.on == false then break end
  7024. rs:wait()
  7025. end
  7026. shell.Transparency = 1
  7027. shell2.Transparency = 1
  7028. end
  7029. if ballAtt == 2 then
  7030. Shell()
  7031. shell.Transparency = 1
  7032. shell2.Transparency = 0
  7033. for i = 1, 10 do
  7034. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  7035. 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)
  7036. 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)
  7037. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  7038. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  7039. 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)
  7040. 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)
  7041. if Debounces.on == false then break end
  7042. rs:wait()
  7043. end
  7044. shell2.Transparency = 1
  7045. end
  7046. if Debounces.CanAttack == false then
  7047. Debounces.CanAttack = true
  7048. Debounces.NoIdl = false
  7049. Debounces.on = false
  7050. end
  7051. end
  7052. else
  7053. if myVars[3] == "claw" then
  7054. if Debounces.CanAttack == true then
  7055. Debounces.CanAttack = false
  7056. Debounces.NoIdl = true
  7057. Debounces.on = true
  7058. fistBomb()
  7059. Debounces.CanAttack = true
  7060. Debounces.NoIdl = false
  7061. Debounces.on = false
  7062. end
  7063. end
  7064. end
  7065. end
  7066. end)
  7067. function BlastEffect(brickcolor,cframe,x1,y1,z1,x2,y2,z2)
  7068. local prt=parto(3,workspace,"Neon",0.5,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7069. prt.Anchored=true
  7070. prt.CFrame = cframe
  7071. local msh=mesho("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  7072. coroutine.resume(coroutine.create(function()
  7073. for i=0,1,0.05 do
  7074. wait()
  7075. prt.Transparency=i
  7076. msh.Scale=msh.Scale+vt(x2,y2,z2)
  7077. end
  7078. prt.Parent=nil
  7079. end))
  7080. end
  7081.  
  7082. function fistBomb()
  7083. for i = 0,1,0.1 do
  7084. swait()
  7085. --torso.Weld.C0 = clerp(torso.Weld.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  7086. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
  7087. 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)
  7088. 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)
  7089. clawPart1[6].C0=clerp(clawPart1[6].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  7090. clawPart1[7].C0=clerp(clawPart1[7].C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  7091. clawPart1[8].C0=clerp(clawPart1[8].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  7092. clawPart1[9].C0=clerp(clawPart1[9].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  7093. clawPart1[10].C0=clerp(clawPart1[10].C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  7094. end
  7095. MagniDamageo(clawPart1[11],clawPart1[11],20,20,30,0,"Knockdown")
  7096. local hit,pos=rayCast(clawPart1[11].Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,char)
  7097. if hit~=nil then
  7098. print("test1")
  7099. local ref2=parto(3,workspace,"Neon",0,1,BrickColor.new("Black"),"Effect",vt())
  7100. print("test2")
  7101. ref2.Anchored=true
  7102. print("test3")
  7103. ref2.CFrame=cf(pos)
  7104. print("test4")
  7105. game:GetService("Debris"):AddItem(ref2,3)
  7106. print("test5")
  7107. for i=1,10 do
  7108. local Col=BrickColor.new("New Yeller")
  7109. 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))
  7110. groundpart.Anchored=true
  7111. groundpart.CanCollide=false
  7112. 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))
  7113. game:GetService("Debris"):AddItem(groundpart,5)
  7114. end
  7115. BlastEffect(BrickColor.new("New Yeller"),cf(pos),1,1,1,.7,.7,.7)
  7116. MagicCircleo(BrickColor.new("New Yeller"),cf(pos),3,3,3,5,5,5,0.05)
  7117. MagniDamageo(ref2,ref2,10,10,20,math.random(10,20),"Knockdown")
  7118. end
  7119. for i = 0,1,0.1 do
  7120. swait()
  7121. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
  7122. 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)
  7123. 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)
  7124. clawPart1[6].C0=clerp(clawPart1[6].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  7125. clawPart1[7].C0=clerp(clawPart1[7].C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  7126. clawPart1[8].C0=clerp(clawPart1[8].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  7127. clawPart1[9].C0=clerp(clawPart1[9].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  7128. clawPart1[10].C0=clerp(clawPart1[10].C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  7129. end
  7130. end
  7131.  
  7132.  
  7133. function modeChange()
  7134. colc = math.random(1,7)
  7135. local fx = Instance.new("Part",torso)
  7136. fx.Anchored = true
  7137. fx.Material = "Neon"
  7138. fx.CanCollide = false
  7139. fx.Locked = true
  7140. fx.Transparency = 1
  7141. fx.Material = "Neon"
  7142. fx.Size = Vector3.new(1,1,1)
  7143. fx.TopSurface = "SmoothNoOutlines"
  7144. fx.BottomSurface = "SmoothNoOutlines"
  7145. fx.BrickColor = Neonsc[colc]
  7146. fxm = Instance.new("SpecialMesh",fx)
  7147. fxm.MeshType = "Sphere"
  7148. fxm.Scale = Vector3.new(1,1,1)
  7149. for i = 1, 20 do rs:wait()
  7150. fx.BrickColor = Neonsc[colc]
  7151. fx.Transparency = fx.Transparency - (1/20)
  7152. fx.CFrame = torso.CFrame
  7153. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  7154. rs:wait()
  7155. end
  7156.  
  7157. for i = 1, 20 do rs:wait()
  7158. fx.BrickColor = Neonsc[colc]
  7159. fx.CFrame = torso.CFrame
  7160. end
  7161.  
  7162. if char.Hair == nil then
  7163. spawnHair()
  7164. end
  7165. for i,v in pairs(char:children()) do
  7166. if v == char.Hair then
  7167. v:Destroy()
  7168. break
  7169. end
  7170. end
  7171.  
  7172. if rainbowssl == true then
  7173. spawnHair()
  7174. else
  7175. local Hair = Instance.new("Part", char)
  7176. Hair.Name = "Hair"
  7177. Hair.Material = "Neon"
  7178. Hair.Size = Vector3.new(2, 0.8, 2.4)
  7179. Hold = Instance.new("Weld", char.Head)
  7180. Hold.Part0 = char.Head
  7181. Hold.Part1 = Hair
  7182. Hold.C0 = CFrame.new(-0.1, 0.8, 0)
  7183. local Mesh = Instance.new("SpecialMesh", Hair)
  7184. Mesh.MeshType = "FileMesh"
  7185. Mesh.Scale = Vector3.new(1.2, 1, 1)
  7186. Mesh.MeshId = ("http://www.roblox.com/asset/?id=145283773 ")
  7187. Mesh.TextureId = ("http://www.roblox.com/asset/?id=151460207")
  7188. end
  7189.  
  7190.  
  7191. for i = 1, 20 do rs:wait()
  7192. fx.BrickColor = Neonsc[colc]
  7193. fx.Transparency = fx.Transparency + (1/20)
  7194. fx.CFrame = torso.CFrame
  7195. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  7196. rs:wait()
  7197. end
  7198.  
  7199. end
  7200. ----------------------------------------------------
  7201. myVars[5] = "normal"
  7202. mouse.KeyDown:connect(function(key)
  7203. if key == "n" then
  7204. if rainbowssl == true then
  7205.  
  7206. if myVars[5] == "ssl3" then
  7207. myVars[5] = "Normal"
  7208. rainbowssl = false
  7209. newMode = true
  7210. if Debounces.CanAttack == false then
  7211. Debounces.CanAttack = true
  7212. Debounces.NoIdl = false
  7213. end
  7214. modeChange()
  7215. wait(1)
  7216. newMode = false
  7217. return true
  7218. else
  7219. if Debounces.CanAttack == true then
  7220. Debounces.CanAttack = false
  7221. Debounces.NoIdl = true
  7222. myVars[5] = "ssl3"
  7223. ssl3()
  7224. print(myVars[5])
  7225. Debounces.CanAttack = true
  7226. Debounces.NoIdl = false
  7227. return true
  7228. end
  7229. end
  7230. elseif rainbowssl == false then
  7231. if rainbowHands == true then
  7232. newMode = true
  7233. if Debounces.CanAttack == true then
  7234. Debounces.CanAttack = false
  7235. Debounces.NoIdl = true
  7236. end
  7237. wait(1)
  7238. rainbowssl = true
  7239. modeChange()
  7240. newMode = false
  7241. Debounces.CanAttack = true
  7242. Debounces.NoIdl = false
  7243. end
  7244. end
  7245. end
  7246. end)
  7247. -------------------------------
  7248.  
  7249.  
  7250. ------------------------------------------------------
  7251.  
  7252. Magik = function()
  7253. Spawn(function()
  7254. --if stanceToggle == "Normal" or stanceToggle == "Melee" then
  7255. local function lerp(a,b,c)
  7256. return a+(b-a)*c
  7257. end
  7258. local function rndRange(rng)
  7259. return math.random(-rng*1000,rng*1000)/1000
  7260. end
  7261. local magik = Instance.new("Part", larm)
  7262. local Colors = {"Royal purple", "Really black"}
  7263. magik.Anchored = true
  7264. magik.Locked = true
  7265. magik.FormFactor = "Custom"
  7266. magik.Size = Vector3.new(1.2, 1.2, 1.2)
  7267. magik.TopSurface = "Smooth"
  7268. magik.BottomSurface = "Smooth"
  7269. magik.Transparency = 0
  7270. magik.CanCollide = false
  7271. magik.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  7272. local mr = math.rad
  7273. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  7274. local cf = larm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  7275. magik.CFrame = cf
  7276. for i = 0, 1, .05 do
  7277. local newTrans = lerp(0.5, 1, i)
  7278. local ns = lerp(1,1.2,i)
  7279. magik.Transparency = newTrans
  7280. magik.Size = Vector3.new(ns,ns,ns)
  7281. magik.CFrame = cf
  7282. rs:wait()
  7283. end
  7284. magik:Destroy()
  7285. --elseif stanceToggle ~= "Normal" or stanceToggle ~= "Melee" then
  7286. --wait()
  7287. -- end
  7288. end)
  7289. end
  7290. ----------------------------------------------------
  7291. Magik2 = function()
  7292. Spawn(function()
  7293. --if stanceToggle == "Melee" then
  7294. local function lerp(a,b,c)
  7295. return a+(b-a)*c
  7296. end
  7297. local function rndRange(rng)
  7298. return math.random(-rng*1000,rng*1000)/1000
  7299. end
  7300. local magik2 = Instance.new("Part", rarm)
  7301. local Colors = {"Royal purple", "Really black"}
  7302. magik2.Anchored = true
  7303. magik2.Locked = true
  7304. magik2.FormFactor = "Custom"
  7305. magik2.Size = Vector3.new(1.2, 1.2, 1.2)
  7306. magik2.TopSurface = "Smooth"
  7307. magik2.BottomSurface = "Smooth"
  7308. magik2.Transparency = 0
  7309. magik2.CanCollide = false
  7310. magik2.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  7311. local mr = math.rad
  7312. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  7313. local cf = rarm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  7314. magik2.CFrame = cf
  7315. for i = 0, 1, .05 do
  7316. local newTrans = lerp(0.5, 1, i)
  7317. local ns = lerp(1,1.2,i)
  7318. magik2.Transparency = newTrans
  7319. magik2.Size = Vector3.new(ns,ns,ns)
  7320. magik2.CFrame = cf
  7321. rs:wait()
  7322. end
  7323. magik2:Destroy()
  7324. --elseif stanceToggle ~= "Melee" then
  7325. --wait()
  7326. --end
  7327. end)
  7328. end
  7329. ----------------------------------------------------
  7330. Magik3 = function()
  7331. Spawn(function()
  7332. --if stanceToggle == "Devil" then
  7333. local function lerp(a,b,c)
  7334. return a+(b-a)*c
  7335. end
  7336. local function rndRange(rng)
  7337. return math.random(-rng*1000,rng*1000)/1000
  7338. end
  7339. local magik3 = Instance.new("Part", rarm)
  7340. local Colors = {"Really red", "Really black"}
  7341. magik3.Anchored = true
  7342. magik3.Locked = true
  7343. magik3.FormFactor = "Custom"
  7344. magik3.Size = Vector3.new(1.2, 1.2, 1.2)
  7345. magik3.TopSurface = "Smooth"
  7346. magik3.BottomSurface = "Smooth"
  7347. magik3.Transparency = 0
  7348. magik3.CanCollide = false
  7349. magik3.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  7350. local mr = math.rad
  7351. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  7352. local cf = rarm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  7353. magik3.CFrame = cf
  7354. for i = 0, 1, .05 do
  7355. local newTrans = lerp(0.5, 1, i)
  7356. local ns = lerp(1,1.2,i)
  7357. magik3.Transparency = newTrans
  7358. magik3.Size = Vector3.new(ns,ns,ns)
  7359. magik3.CFrame = cf
  7360. rs:wait()
  7361. end
  7362. magik3:Destroy()
  7363. --elseif stanceToggle ~= "Devil" then
  7364. --wait()
  7365. --end
  7366. end)
  7367. end
  7368. ----------------------------------------------------
  7369. Magik4 = function()
  7370. Spawn(function()
  7371. --if stanceToggle == "Devil" then
  7372. local function lerp(a,b,c)
  7373. return a+(b-a)*c
  7374. end
  7375. local function rndRange(rng)
  7376. return math.random(-rng*1000,rng*1000)/1000
  7377. end
  7378. local magik4 = Instance.new("Part", larm)
  7379. local Colors = {"Really red", "Really black"}
  7380. magik4.Anchored = true
  7381. magik4.Locked = true
  7382. magik4.FormFactor = "Custom"
  7383. magik4.Size = Vector3.new(1.2, 1.2, 1.2)
  7384. magik4.TopSurface = "Smooth"
  7385. magik4.BottomSurface = "Smooth"
  7386. magik4.Transparency = 0
  7387. magik4.CanCollide = false
  7388. magik4.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  7389. local mr = math.rad
  7390. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  7391. local cf = larm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  7392. magik4.CFrame = cf
  7393. for i = 0, 1, .05 do
  7394. local newTrans = lerp(0.5, 1, i)
  7395. local ns = lerp(1,1.2,i)
  7396. magik4.Transparency = newTrans
  7397. magik4.Size = Vector3.new(ns,ns,ns)
  7398. magik4.CFrame = cf
  7399. rs:wait()
  7400. end
  7401. magik4:Destroy()
  7402. --elseif stanceToggle ~= "Devil" then
  7403. --wait()
  7404. --end
  7405. end)
  7406. end
  7407. ----------------------------------------------------
  7408. mouse.KeyDown:connect(function(key)
  7409. if key == "e" then
  7410. if Debounces.CanAttack == true then
  7411. Debounces.CanAttack = false
  7412. Debounces.on = true
  7413. Debounces.NoIdl = true
  7414. pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
  7415. z = Instance.new("Sound", rarm)
  7416. z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  7417. z.Volume = .6
  7418. z.Pitch = pt[math.random(1,#pt)]
  7419. z.Looped = false
  7420. z:Play()
  7421. Debounces.RPunch = true
  7422. Debounces.LPunch = true
  7423. Debounces.ks = true
  7424. Debounces.ks2 = true
  7425. for i = 1, 3 do
  7426. 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)
  7427. 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)
  7428. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  7429. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  7430. 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)
  7431. 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)
  7432. if Debounces.on == false then break end
  7433. wait()
  7434. end
  7435. z2 = Instance.new("Sound", larm)
  7436. z2.SoundId = "http://www.roblox.com/asset/?id=206083107"
  7437. z2.Volume = .6
  7438. z2.Pitch = pt[math.random(1,#pt)]
  7439. z2.Looped = false
  7440. z2:Play()
  7441. for i = 1, 3 do
  7442. 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)
  7443. 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)
  7444. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  7445. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  7446. 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)
  7447. 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)
  7448. if Debounces.on == false then break end
  7449. wait()
  7450. end
  7451. z3 = Instance.new("Sound", rarm)
  7452. z3.SoundId = "http://www.roblox.com/asset/?id=206083107"
  7453. z3.Volume = 0.6
  7454. z3.Pitch = pt[math.random(1,#pt)]
  7455. z3.Looped = false
  7456. z3:Play()
  7457. for i = 1, 3 do
  7458. 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)
  7459. 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)
  7460. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  7461. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  7462. 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)
  7463. 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)
  7464. if Debounces.on == false then break end
  7465. wait()
  7466. end
  7467. z4 = Instance.new("Sound", larm)
  7468. z4.SoundId = "http://www.roblox.com/asset/?id=206083107"
  7469. z4.Volume = .6
  7470. z4.Pitch = pt[math.random(1,#pt)]
  7471. z4.Looped = false
  7472. z4:Play()
  7473. for i = 1, 3 do
  7474. 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)
  7475. 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)
  7476. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  7477. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  7478. 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)
  7479. 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)
  7480. if Debounces.on == false then break end
  7481. wait()
  7482. end
  7483. z5 = Instance.new("Sound", rarm)
  7484. z5.SoundId = "http://www.roblox.com/asset/?id=206083107"
  7485. z5.Volume = .6
  7486. z5.Pitch = pt[math.random(1,#pt)]
  7487. z5.Looped = false
  7488. z5:Play()
  7489. for i = 1, 3 do
  7490. 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)
  7491. 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)
  7492. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  7493. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  7494. 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)
  7495. 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)
  7496. if Debounces.on == false then break end
  7497. wait()
  7498. end
  7499. z6 = Instance.new("Sound", larm)
  7500. z6.SoundId = "http://www.roblox.com/asset/?id=206083107"
  7501. z6.Volume = .6
  7502. z6.Pitch = pt[math.random(1,#pt)]
  7503. z6.Looped = false
  7504. z6:Play()
  7505. for i = 1, 3 do
  7506. 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)
  7507. 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)
  7508. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  7509. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  7510. 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)
  7511. 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)
  7512. if Debounces.on == false then break end
  7513. wait()
  7514. end
  7515. z7 = Instance.new("Sound", rarm)
  7516. z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  7517. z7.Volume = .6
  7518. z7.Pitch = pt[math.random(1,#pt)]
  7519. z7.Looped = false
  7520. z7:Play()
  7521. for i = 1, 3 do
  7522. 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)
  7523. 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)
  7524. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  7525. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  7526. 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)
  7527. 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)
  7528. if Debounces.on == false then break end
  7529. wait()
  7530. end
  7531. z8 = Instance.new("Sound", larm)
  7532. z8.SoundId = "http://www.roblox.com/asset/?id=206083107"
  7533. z8.Volume = .6
  7534. z8.Pitch = pt[math.random(1,#pt)]
  7535. z8.Looped = false
  7536. z8:Play()
  7537. for i = 1, 3 do
  7538. 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)
  7539. 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)
  7540. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  7541. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  7542. 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)
  7543. 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)
  7544. if Debounces.on == false then break end
  7545. wait()
  7546. end
  7547. z9 = Instance.new("Sound", rarm)
  7548. z9.SoundId = "http://www.roblox.com/asset/?id=206083107"
  7549. z9.Volume = 0.6
  7550. z9.Pitch = pt[math.random(1,#pt)]
  7551. z9.Looped = false
  7552. z9:Play()
  7553. for i = 1, 3 do
  7554. 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)
  7555. 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)
  7556. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  7557. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  7558. 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)
  7559. 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)
  7560. if Debounces.on == false then break end
  7561. wait()
  7562. end
  7563. z10 = Instance.new("Sound", larm)
  7564. z10.SoundId = "http://www.roblox.com/asset/?id=206083107"
  7565. z10.Volume = .6
  7566. z10.Pitch = pt[math.random(1,#pt)]
  7567. z10.Looped = false
  7568. z10:Play()
  7569. for i = 1, 3 do
  7570. 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)
  7571. 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)
  7572. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  7573. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  7574. 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)
  7575. 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)
  7576. if Debounces.on == false then break end
  7577. wait()
  7578. end
  7579. z:Destroy()
  7580. z2:Destroy()
  7581. z3:Destroy()
  7582. z4:Destroy()
  7583. z5:Destroy()
  7584. z6:Destroy()
  7585. z7:Destroy()
  7586. z8:Destroy()
  7587. z9:Destroy()
  7588. z10:Destroy()
  7589. Debounces.LPunch = false
  7590. Debounces.RPunch = false
  7591. Debounces.ks = false
  7592. Debounces.ks2 = false
  7593. if Debounces.CanAttack == false then
  7594. Debounces.CanAttack = true
  7595. Debounces.on = false
  7596. Debounces.NoIdl = false
  7597. end
  7598. end
  7599. end
  7600. end)
  7601. -------------------------------
  7602.  
  7603.  
  7604. do2 = function()
  7605. local sbref1 = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  7606. local sbrwld1 = weld(sbref1, sbref1, LeftArm, cf(0, 1, 0))
  7607. local sbref2 = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  7608. local sbrwld2 = weld(sbref2, sbref2, RightArm, cf(0, 1, 0))
  7609. local da1 = lparti1:Clone()
  7610. local da2 = lparti1:Clone()
  7611. da1.Parent = sbref1
  7612. da2.Parent = sbref2
  7613. da1.Enabled = true
  7614. da2.Enabled = true
  7615. d0arm[1] = da1
  7616. d0arm[2] = da2
  7617.  
  7618.  
  7619. end
  7620.  
  7621.  
  7622. function makeClaw()
  7623. local m = Instance.new("Model",char)
  7624. m.Name = "WeaponModel"
  7625. ------------------------------------------------------
  7626.  
  7627. function NoOutlineo(Part)
  7628. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  7629. end
  7630.  
  7631. function swaito(num)
  7632. if num==0 or num==nil then
  7633. game:service'RunService'.Heartbeat:wait(0)
  7634. else
  7635. for i=0,num do
  7636. game:service'RunService'.Heartbeat:wait(0)
  7637. end
  7638. end
  7639. end
  7640.  
  7641. function nooutlineo(part)
  7642. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  7643. end
  7644.  
  7645. function partio(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  7646. local fp=it("Part")
  7647. fp.formFactor=formfactor
  7648. fp.Parent=parent
  7649. fp.Reflectance=reflectance
  7650. fp.Transparency=transparency
  7651. fp.CanCollide=false
  7652. fp.Locked=true
  7653. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  7654. fp.Name=name
  7655. fp.Size=size
  7656. fp.Position=Character.Torso.Position
  7657. nooutlineo(fp)
  7658. fp.Material=material
  7659. fp:BreakJoints()
  7660. return fp
  7661. end
  7662.  
  7663. function mesho(Mesh,part,meshtype,meshid,offset,scale)
  7664. local mesh=it(Mesh)
  7665. mesh.Parent=part
  7666. if Mesh=="SpecialMesh" then
  7667. mesh.MeshType=meshtype
  7668. mesh.MeshId=meshid
  7669. end
  7670. mesh.Offset=offset
  7671. mesh.Scale=scale
  7672. return mesh
  7673. end
  7674.  
  7675. function weldio(parent,part0,part1,c0,c1)
  7676. local weld=it("Weld")
  7677. weld.Parent=parent
  7678. weld.Part0=part0
  7679. weld.Part1=part1
  7680. weld.C0=c0
  7681. weld.C1=c1
  7682. return weld
  7683. end
  7684.  
  7685.  
  7686. local function CFrameFromTopBack(at, top, back)
  7687. local right = top:Cross(back)
  7688. return CFrame.new(at.x, at.y, at.z,
  7689. right.x, top.x, back.x,
  7690. right.y, top.y, back.y,
  7691. right.z, top.z, back.z)
  7692. end
  7693.  
  7694.  
  7695. Handle0=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Handle0",Vector3.new(1, 0.800000012, 1))
  7696.  
  7697. 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))
  7698. Hitbox=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Hitbox",Vector3.new(1.60000002, 3.4000001, 1))
  7699. 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))
  7700. Part1=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1, 0.200000003, 1))
  7701. 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))
  7702. Part2=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  7703. 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))
  7704. Part3=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  7705. 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))
  7706. Part4=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.800000012, 0.620000005))
  7707. 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))
  7708. Part5=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  7709. 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))
  7710. Part6=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.800000012, 0.200000003))
  7711. 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))
  7712. Part7=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.800000012, 0.620000005))
  7713. 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))
  7714. Part8=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.800000012, 0.200000003))
  7715. 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))
  7716. Part9=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  7717. 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))
  7718. Part10=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  7719. 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))
  7720. Part11=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  7721. 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))
  7722. Part12=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  7723. 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))
  7724. Part13=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 2, 1))
  7725. 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))
  7726. Part14=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1, 1.39999998, 0.200000003))
  7727. 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))
  7728. --mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  7729. Part15=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1, 0.600000024, 0.200000003))
  7730. 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))
  7731. --mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  7732. Part16=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 1.39999998, 0.399999976))
  7733. 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))
  7734. Part17=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  7735. 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))
  7736. --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))
  7737. Part18=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  7738. 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))
  7739. --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))
  7740. Part19=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  7741. 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))
  7742. --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))
  7743. Part20=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  7744. 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))
  7745. Part21=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1, 0.200000003, 0.400000006))
  7746. 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))
  7747. --mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  7748. Part22=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1, 0.200000003, 0.200000003))
  7749. 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))
  7750. --mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  7751. Part23=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 1.39999998, 0.399999976))
  7752. 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))
  7753. Part24=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  7754. 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))
  7755. --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))
  7756. Part25=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1, 0.200000003, 0.400000006))
  7757. 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))
  7758.  
  7759. --mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  7760. Part26=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.400000006, 1))
  7761. 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))
  7762. Finger1Connector=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Finger1Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  7763. 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))
  7764. Finger2Connector=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Finger2Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  7765. 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))
  7766. Finger3Connector=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Finger3Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  7767. 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))
  7768. Finger4Connector=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Finger4Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  7769. 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))
  7770. Finger5Connector=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Finger5Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  7771. colc = math.random(1,7)
  7772. 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))
  7773. Finger1=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,Neonsc[colc],"Finger1",Vector3.new(0.200000003, 0.400000006, 0.200000003))
  7774. colc = math.random(1,7)
  7775. 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))
  7776. Finger2=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,Neonsc[colc],"Finger2",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  7777. colc = math.random(1,7)
  7778. 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))
  7779. Finger3=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,Neonsc[colc],"Finger3",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  7780. colc = math.random(1,7)
  7781. 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))
  7782. Finger4=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,Neonsc[colc],"Finger4",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  7783. colc = math.random(1,7)
  7784. 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))
  7785. Finger5=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,Neonsc[colc],"Finger5",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  7786. colc = math.random(1,7)
  7787. 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))
  7788. colc = math.random(1,7)
  7789. ------------------------------------------------
  7790. Handle0.Transparency=1
  7791. Part1.Transparency=1 --1
  7792. Part2.Transparency=1 --2
  7793. Part3.Transparency=1 --3
  7794. Part4.Transparency=1 --4
  7795. Part5.Transparency=1 --5
  7796. Part6.Transparency=1 --6
  7797. Part7.Transparency=1
  7798. Part8.Transparency=1
  7799. Part9.Transparency=1
  7800. Part10.Transparency=1
  7801. Part11.Transparency=1 --11
  7802. Part12.Transparency=1
  7803. Part13.Transparency=1
  7804. Part14.Transparency=1
  7805. Part15.Transparency=1
  7806. Part16.Transparency=1
  7807. Part17.Transparency=1
  7808. Part18.Transparency=1
  7809. Part19.Transparency=1
  7810. Part20.Transparency=1
  7811. Part21.Transparency=1
  7812. Part22.Transparency=1
  7813. Part23.Transparency=1
  7814. Part24.Transparency=1
  7815. Part25.Transparency=1
  7816. Part26.Transparency=1 --25
  7817. Finger1Connector.Transparency=1
  7818. Finger2Connector.Transparency=1
  7819. Finger3Connector.Transparency=1
  7820. Finger4Connector.Transparency=1
  7821. Finger5Connector.Transparency=1
  7822. Hitbox.Transparency=1
  7823. clawPart1[1] = Finger1
  7824. clawPart1[2] = Finger2
  7825. clawPart1[3] = Finger3
  7826. clawPart1[4] = Finger4
  7827. clawPart1[5] = Finger5
  7828. clawPart1[6] = Finger1weld
  7829. clawPart1[7] = Finger2weld
  7830. clawPart1[8] = Finger3weld
  7831. clawPart1[9] = Finger4weld
  7832. clawPart1[10] = Finger5weld
  7833. clawPart1[11] = Hitbox
  7834. end
  7835.  
  7836. function bird()
  7837. for i = 0,1,0.1 do
  7838. swait()
  7839. 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)
  7840. 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)
  7841. clawPart1[6].C0=clerp(clawPart1[6].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  7842. clawPart1[7].C0=clerp(clawPart1[7].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  7843. clawPart1[8].C0=clerp(clawPart1[8].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  7844. clawPart1[9].C0=clerp(clawPart1[9].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  7845. clawPart1[10].C0=clerp(clawPart1[10].C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  7846. end
  7847. for i = 0,1,0.01 do
  7848. swait()
  7849. 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)
  7850. 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)
  7851. clawPart1[6].C0=clerp(clawPart1[6].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  7852. clawPart1[7].C0=clerp(clawPart1[7].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  7853. clawPart1[8].C0=clerp(clawPart1[8].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  7854. clawPart1[9].C0=clerp(clawPart1[9].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  7855. clawPart1[10].C0=clerp(clawPart1[10].C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  7856. end
  7857.  
  7858.  
  7859. clawPart1[6].C0=clerp(clawPart1[6].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  7860. clawPart1[7].C0=clerp(clawPart1[7].C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  7861. clawPart1[8].C0=clerp(clawPart1[8].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  7862. clawPart1[9].C0=clerp(clawPart1[9].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  7863. clawPart1[10].C0=clerp(clawPart1[10].C0,cf(0,-0.1,0)*angles(math.rad(-50),math.rad(0),math.rad(0)),.3)
  7864. end
  7865. --------------------------------
  7866. equipanim = function()
  7867.  
  7868. local colin = 1
  7869. local colnumer = 0
  7870. for i = 0, 1, 0.1 do
  7871. swait()
  7872. colnumer = colnumer + 1
  7873.  
  7874. if #Neonsc - 1 < colin and (colnumer) % 2 == 0 then
  7875. colin = 1
  7876. end
  7877.  
  7878. if (colnumer) % 2 == 0 then
  7879. colin = colin + 1
  7880. end
  7881.  
  7882. MagicBlock2(Neonsc[colin], LeftArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  7883. MagicBlock2(Neonsc[colin], RightArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  7884.  
  7885. 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)
  7886. 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)
  7887.  
  7888. end
  7889. --colc = math.random(1,7)
  7890. MagicCircleo(Neonsc[colin], LeftArm.CFrame * cf(0, -1, 0), 10, 10, 10, 4, 4, 4, 0.1, 1)
  7891. --colc = math.random(1,7)
  7892. MagicCircleo(Neonsc[colin], RightArm.CFrame * cf(0, -1, 0), 10, 10, 10, 4, 4, 4, 0.1, 1)
  7893.  
  7894.  
  7895. end
  7896. ----------------------------------
  7897. function GetParts(obj)
  7898. for i, v in pairs(obj:GetChildren())do
  7899. if ( v:IsA'BasePart' ) then
  7900. if v.Name ~= "Trail" then
  7901. Instance.new("ForceField", v);
  7902. end
  7903. end
  7904. GetParts(v);
  7905. end
  7906. end
  7907.  
  7908. GetParts(char);
  7909. ----------------------------------------------------
  7910.  
  7911.  
  7912. ----------------------------------------------------
  7913. p13.Touched:connect(function(ht)
  7914. hit = ht.Parent
  7915. if ht and hit:IsA("Model") then
  7916. if hit:FindFirstChild("Humanoid") then
  7917. if hit.Name ~= p.Name then
  7918. if slashing == true then
  7919. hit:FindFirstChild("Humanoid"):TakeDamage(1000)
  7920. wait(.3)
  7921. end
  7922. end
  7923. end
  7924. elseif ht and hit:IsA("Hat") then
  7925. if hit.Parent.Name ~= p.Name then
  7926. if hit.Parent:FindFirstChild("Humanoid") then
  7927. if slashing == true then
  7928. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(1000)
  7929. wait(.3)
  7930. end
  7931. end
  7932. end
  7933. end
  7934. end)
  7935. ----------------------------------------------------
  7936. mouse.KeyDown:connect(function(key)
  7937. if string.byte(key) == 52 then
  7938. char.Humanoid.WalkSpeed = 60
  7939. end
  7940. end)
  7941. mouse.KeyUp:connect(function(key)
  7942. if string.byte(key) == 52 then
  7943. char.Humanoid.WalkSpeed = 8
  7944. end
  7945. end)
  7946. -------------------------------
  7947. local animpose = "Idle"
  7948. local lastanimpose = "Idle"
  7949. local grab = false
  7950. local sine = 0
  7951. local change = 1
  7952. local val = 0
  7953. local ffing = false
  7954. -------------------------------
  7955. game:GetService("RunService").RenderStepped:connect(function()
  7956. --[[if char.Humanoid.Jump == true then
  7957. jump = true
  7958. else
  7959. jump = false
  7960. end]]
  7961. char.Humanoid.FreeFalling:connect(function(f)
  7962. if f then
  7963. ffing = true
  7964. else
  7965. ffing = false
  7966. end
  7967. end)
  7968. sine = sine + change
  7969. if jumpn == true then
  7970. animpose = "Jumping"
  7971. elseif ffing == true then
  7972. animpose = "Freefalling"
  7973. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  7974. animpose = "Idle"
  7975. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  7976. animpose = "Walking"
  7977. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  7978. animpose = "Running"
  7979. end
  7980. if animpose ~= lastanimpose then
  7981. sine = 0
  7982. if Debounces.NoIdl == false then
  7983. if animpose == "Idle" then
  7984. for i = 1, 2 do
  7985.  
  7986. if myVars[5] ~= "ssl3_1" then
  7987. 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)
  7988. 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)
  7989. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  7990. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  7991. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  7992. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  7993. if myVars[3] ~= nil then
  7994. if myVars[3] == "claw" then
  7995.  
  7996.  
  7997. clawPart1[6].C0=clerp(clawPart1[6].C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  7998. clawPart1[7].C0=clerp(clawPart1[7].C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  7999. clawPart1[8].C0=clerp(clawPart1[8].C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  8000. clawPart1[9].C0=clerp(clawPart1[9].C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  8001. clawPart1[10].C0=clerp(clawPart1[10].C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  8002. end
  8003. end
  8004. else
  8005. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  8006. 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)
  8007. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  8008. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-0.4,0,-0.2),.3)
  8009. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  8010. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  8011. end
  8012. end
  8013. elseif animpose == "Walking" then
  8014. for i = 1, 2 do
  8015. if myVars[5] ~= "ssl3_1" then
  8016. if Melee == false then
  8017. 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)
  8018. else
  8019. 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)
  8020. end
  8021. 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)
  8022. 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)
  8023. 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)
  8024. 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)
  8025. 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)
  8026. else
  8027. 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)
  8028. 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)
  8029. 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)
  8030. 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)
  8031. 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)
  8032. 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)
  8033. end
  8034. end
  8035. elseif animpose == "Running" then
  8036. for i = 1, 2 do
  8037. 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)
  8038. 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)
  8039. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4)
  8040. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4)
  8041. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4)
  8042. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4)
  8043. wait()
  8044. end
  8045. end
  8046. if stanceToggle == "Grabbed" then
  8047. 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)
  8048. 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)
  8049. 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)
  8050. 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)
  8051. 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)
  8052. 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)
  8053. end
  8054. else
  8055. end
  8056. end
  8057. lastanimpose = animpose
  8058. if Debounces.NoIdl == false then
  8059. if animpose == "Idle" then
  8060. if myVars[5] ~= "ssl3_1" then
  8061. change = 0.5
  8062. 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)
  8063. 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)
  8064. 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)
  8065. 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)
  8066. 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)
  8067. 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)
  8068.  
  8069. else
  8070. 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)
  8071. 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)
  8072. 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)
  8073. 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)
  8074. 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)
  8075. 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)
  8076. end
  8077. elseif animpose == "Walking" then
  8078. change = 1
  8079. if myVars[5] ~= "ssl3_1" then
  8080. if Melee == false then
  8081. 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)
  8082. else
  8083. 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)
  8084. end
  8085. 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)
  8086. 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)
  8087. 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)
  8088. 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)
  8089. 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)
  8090. else
  8091. 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)
  8092. 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)
  8093. 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)
  8094. 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)
  8095. 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)
  8096. 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)
  8097. end
  8098. elseif animpose == "Running" then
  8099. change = 1
  8100. 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)
  8101. 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)
  8102. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
  8103. 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)
  8104. 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)
  8105. 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)
  8106. end
  8107. end
  8108. end)
  8109.  
  8110. hum.MaxHealth = 9001
  8111. wait(3)
  8112. hum.Health = 9001
  8113. local Neonlist = {"Bright red", "Bright orange", "Bright yellow", "Bright green", "Bright blue", "Royal purple", "Bright violet"}
  8114.  
  8115. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  8116. --[[Part0 = Vector3 (Start pos)
  8117. Part1 = Vector3 (End pos)
  8118. Times = number (Amount of lightning parts)
  8119. Offset = number (Offset)
  8120. Color = color (brickcolor value)
  8121. Thickness = number (thickness)
  8122. Trans = number (transparency)
  8123. ]]--
  8124. local magz = (Part0 - Part1).magnitude
  8125. local curpos = Part0
  8126. local trz = {-Offset,Offset}
  8127. for i=1,Times do
  8128. local li = Instance.new("Part", torso)
  8129. li.Name = "Lightning"
  8130. li.TopSurface =0
  8131. li.Material = "Neon"
  8132. li.BottomSurface = 0
  8133. li.Anchored = true
  8134. li.Locked = true
  8135. li.Transparency = Trans or 0.4
  8136. li.BrickColor = BrickColor.new(Color)
  8137. li.formFactor = "Custom"
  8138. li.CanCollide = false
  8139. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  8140. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  8141. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  8142. if Times == i then
  8143. local magz2 = (curpos - Part1).magnitude
  8144. li.Size = Vector3.new(Thickness,Thickness,magz2)
  8145. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  8146. else
  8147. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  8148. end
  8149. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  8150. game.Debris:AddItem(li,.1)
  8151. end
  8152. end
  8153.  
  8154. BodyParts = {} -- Parts to emit lightning effects from
  8155. for _, v in pairs(char:GetChildren()) do
  8156. if v:IsA("Part") then
  8157. table.insert(BodyParts, v)
  8158. end
  8159. end
  8160.  
  8161. Bounding = {} -- Calculate the bounding boxes
  8162. for _, v in pairs(BodyParts) do
  8163. local temp = {X=nil, Y=nil, Z=nil}
  8164. temp.X = v.Size.X/2 * 10
  8165. temp.Y = v.Size.Y/2 * 10
  8166. temp.Z = v.Size.Z/2 * 10
  8167. Bounding[v.Name] = temp
  8168. --table.insert(Bounding, v.Name, temp)
  8169. end
  8170.  
  8171.  
  8172.  
  8173.  
  8174. print("Bloxxy loaded.")
  8175. local mananum = 0
  8176. local donum = 0
  8177. local stunnum = 0
  8178. local staggeranim = false
  8179. local stunanim = false
  8180. local walk = 0
  8181. local walkforw = true
  8182. local fnum = 0
  8183. local domodel = false
  8184. local gef = 10
  8185. local col = 1
  8186. local colnum = 0
  8187. while true do
  8188. swait()
  8189.  
  8190. colnum = colnum + 1
  8191. if #Neons - 1 < col and (colnum) % 2 == 0 then
  8192. col = 1
  8193. end
  8194. if (colnum) % 2 == 0 then
  8195. col = col + 1
  8196. end
  8197. if Humanoid.Health <= 0 then
  8198. attack = true
  8199. resumeControl()
  8200. modelzorz.Parent = workspace
  8201. model2.Parent = workspace
  8202. game:GetService("Debris"):AddItem(modelzorz, 30)
  8203. game:GetService("Debris"):AddItem(model2, 30)
  8204. if domodel == false then
  8205. domodel = true
  8206. for i = 1, #Weapon do
  8207. Weapon[i].Parent = modelzorz
  8208. Weapon[i].CanCollide = true
  8209. end
  8210. for i = 1, #Welds do
  8211. Welds[i].Parent = main1
  8212. end
  8213. end
  8214. end
  8215. do
  8216.  
  8217. if equipped == true then
  8218.  
  8219. if 1 < RootPart.Velocity.y and hitfloor == nil then
  8220.  
  8221. else
  8222. if RootPart.Velocity.y < -1 and hitfloor == nil then
  8223.  
  8224.  
  8225. else
  8226. if torvel < 1 and hitfloor ~= nil then
  8227.  
  8228. else
  8229. if 2 < torvel and torvel < 30 and hitfloor ~= nil then
  8230.  
  8231.  
  8232. else
  8233. do
  8234.  
  8235. end
  8236. end
  8237. end
  8238. end
  8239. end
  8240.  
  8241. end
  8242. if #Effects>0 then
  8243. for e=1,#Effects do
  8244. if Effects[e]~=nil then
  8245. local Thing=Effects[e]
  8246. if Thing ~= nil then
  8247. local Part = Thing[1]
  8248. local Mode = Thing[2]
  8249. local Delay = Thing[3]
  8250. local IncX = Thing[4]
  8251. local IncY = Thing[5]
  8252. local IncZ = Thing[6]
  8253. if Thing[2] == "CylinderClang" then
  8254. if Thing[3] <= 1 then
  8255. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 2.5 * Thing[5], 0) * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  8256. Thing[7] = Thing[1].CFrame
  8257. effect("New Yeller", 0, Thing[8], Thing[7], nil, 0.1, 2)
  8258. Thing[8] = Thing[7]
  8259. Thing[3] = Thing[3] + Thing[4]
  8260. else
  8261. Part.Parent = nil
  8262. table.remove(Effects, e)
  8263. end
  8264. end
  8265. if Thing[2] == "showDamage" then
  8266. if Thing[6] < Thing[5] then
  8267. Thing[6] = Thing[6] + 1
  8268. else
  8269. if Thing[6] < Thing[7] then
  8270. Thing[4].position = Thing[4].position + vt(0, -0.2, 0)
  8271. Thing[6] = Thing[6] + 1
  8272. else
  8273. if Thing[6] < Thing[8] then
  8274. Thing[6] = Thing[6] + 1
  8275. else
  8276. if Thing[6] < Thing[9] then
  8277. Thing[6] = Thing[6] + 1
  8278. Thing[4].position = Thing[4].position + vt(0, 0.2, 0)
  8279. Thing[3].TextStrokeTransparency = Thing[3].TextStrokeTransparency + 0.1
  8280. Thing[3].TextTransparency = Thing[3].TextTransparency + 0.1
  8281. else
  8282. Thing[1].Parent = nil
  8283. table.remove(Effects, e)
  8284. end
  8285. end
  8286. end
  8287. end
  8288. end
  8289. if Thing[2] == "CloneEf" then
  8290. if Thing[3] <= 500 then
  8291. Thing[3] = Thing[3] + 1
  8292. if 10 <= Thing[4] then
  8293. Thing[4] = 0
  8294. end
  8295. Thing[4] = Thing[4] + 1
  8296. else
  8297. table.remove(Effects, e)
  8298. end
  8299. end
  8300. if Thing[2] == "SatelliteStrike" then
  8301. if Thing[5] < 100 then
  8302. Thing[5] = Thing[5] + 2
  8303. Thing[6] = Thing[6] + 1
  8304. if 2 < Thing[6] then
  8305. Thing[6] = 0
  8306. if Thing[3].BrickColor == BrickColor.new("New Yeller") then
  8307. Thing[3].Transparency = 0.8
  8308. Thing[3].BrickColor = BrickColor.new("Really red")
  8309. else
  8310. Thing[3].Transparency = 0.8
  8311. Thing[3].BrickColor = BrickColor.new("New Yeller")
  8312. end
  8313. end
  8314. else
  8315. refda = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  8316. refda.Anchored = true
  8317. refda.CFrame = cf(Thing[1].Position) * cf(0, 500, 0)
  8318. game:GetService("Debris"):AddItem(refda, 1)
  8319. local mag = (refda.Position - Thing[1].Position).magnitude
  8320. 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)
  8321. Lightning(refda.Position, Thing[1].Position, 15, 5, "Bright yellow", 3.5, 0.2, 0.05)
  8322. MagicBlock2(BrickColor.new("Bright yellow"), cf(Thing[1].Position), 40, 40, 40, -1, -1, -1, 0.08, 1)
  8323. refda.CFrame = cf(Thing[1].Position)
  8324. MagniDamage(refda, 5, 10, 12, 0, "Knockdown2", refda, 0.1, 1, (math.random(10, 12)), nil, nil, true)
  8325. refda.CFrame = cf(Thing[1].Position) * cf(0, 3, 0)
  8326. MagniDamage(refda, 5, 10, 12, 0, "Knockdown2", refda, 0.1, 1, (math.random(10, 12)), nil, nil, true)
  8327. refda.CFrame = cf(Thing[1].Position)
  8328. so("341336446", refda, 1, math.random(100, 120) / 100)
  8329. so("341336459", refda, 1, math.random(100, 120) / 100)
  8330. Thing[1].Parent = nil
  8331. table.remove(Effects, e)
  8332. end
  8333. end
  8334. do
  8335. if Thing[2] == "SatelliteStrike2" then
  8336. if Thing[5] < 100 then
  8337. Thing[5] = Thing[5] + 2
  8338. Thing[6] = Thing[6] + 1
  8339. if 2 < Thing[6] then
  8340. Thing[6] = 0
  8341. if Thing[3].BrickColor == BrickColor.new("New Yeller") then
  8342. Thing[3].Transparency = 0.8
  8343. Thing[3].BrickColor = BrickColor.new("Really red")
  8344. else
  8345. Thing[3].Transparency = 0.8
  8346. Thing[3].BrickColor = BrickColor.new("New Yeller")
  8347. end
  8348. end
  8349. else
  8350. refda = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  8351. refda.Anchored = true
  8352. refda.CFrame = cf(Thing[1].Position) * cf(0, 500, 0)
  8353. game:GetService("Debris"):AddItem(refda, 1)
  8354. local mag = (refda.Position - Thing[1].Position).magnitude
  8355. 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)
  8356. Lightning(refda.Position, Thing[1].Position, 25, 5, "Bright yellow", 5, 0.2, 0.03)
  8357. MagicBlock2(BrickColor.new("Bright yellow"), cf(Thing[1].Position), 80, 80, 80, -1, -1, -1, 0.06, 1)
  8358. refda.CFrame = cf(Thing[1].Position)
  8359. MagniDamage(refda, 10, 14, 16, 0, "Knockdown2", refda, 0.1, 1, (math.random(14, 18)), nil, nil, true)
  8360. refda.CFrame = cf(Thing[1].Position) * cf(0, 3, 0)
  8361. MagniDamage(refda, 10, 14, 16, 0, "Knockdown2", refda, 0.1, 1, (math.random(14, 18)), nil, nil, true)
  8362. refda.CFrame = cf(Thing[1].Position)
  8363. so("341336446", refda, 1, math.random(70, 90) / 100)
  8364. so("341336459", refda, 1, math.random(50, 80) / 100)
  8365. Thing[1].Parent = nil
  8366. table.remove(Effects, e)
  8367. end
  8368. end
  8369. do
  8370. if Thing[2] == "Shoot" then
  8371. Thing[11] = Thing[11] + 0.02
  8372. local Look = Thing[1]
  8373. local hit, pos = rayCast(Thing[4], Look, Thing[11], modelzorz)
  8374. local mag = (Thing[4] - pos).magnitude
  8375. if 6 < Thing[8] then
  8376. Thing[8] = 1
  8377. else
  8378. Thing[8] = Thing[8] + 1
  8379. end
  8380. 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)
  8381. Thing[9].BrickColor = Neons[Thing[8]]
  8382. Thing[9].CFrame = CFrame.new((Thing[4] + pos) / 2, pos) * cf(0, 0, -1) * Thing[10]
  8383. Thing[4] = Thing[4] + Look * Thing[11]
  8384. Thing[3] = Thing[3] - 1
  8385. if hit ~= nil then
  8386. Damagefunc(hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0.1, 2, (math.random(1, 3)), nil, nil, true)
  8387. end
  8388. if Thing[3] <= 0 then
  8389. Thing[9].Parent = nil
  8390. table.remove(Effects, e)
  8391. end
  8392. end
  8393. do
  8394. if Thing[2] == "Shoot2" then
  8395. local Look = Thing[1]
  8396. local hit, pos = rayCast(Thing[4], Look, 4, Character)
  8397. local mag = (Thing[4] - pos).magnitude
  8398. if 6 < Thing[8] then
  8399. Thing[8] = 1
  8400. else
  8401. Thing[8] = Thing[8] + 1
  8402. end
  8403. 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)
  8404. Thing[4] = Thing[4] + Look * 4
  8405. Thing[3] = Thing[3] - 1
  8406. if hit ~= nil then
  8407. Thing[3] = 0
  8408. Damagefunc(hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0.1, 2, (math.random(1, 5)), nil, nil, true)
  8409. end
  8410. if Thing[3] <= 0 then
  8411. table.remove(Effects, e)
  8412. end
  8413. end
  8414. do
  8415. if Thing[2] == "Shoot3" then
  8416. local Look = Thing[1]
  8417. local hit, pos = rayCast(Thing[4], Look, 1.5, modelzorz)
  8418. local mag = (Thing[4] - pos).magnitude
  8419. if 6 < Thing[8] then
  8420. Thing[8] = 1
  8421. else
  8422. Thing[8] = Thing[8] + 1
  8423. end
  8424. Thing[11] = Thing[11] + 0.05
  8425. Thing[9].BrickColor = Neons[Thing[8]]
  8426. 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)
  8427. MagicStar(Thing[9].BrickColor, Thing[9].CFrame, 25, 25, 25, 2, 2, 2, 0.25)
  8428. Thing[4] = Thing[4] + Look * 1.5
  8429. Thing[3] = Thing[3] - 1
  8430. if hit ~= nil then
  8431. Thing[3] = 0
  8432. end
  8433. if Thing[3] <= 0 then
  8434. MagicStar(Thing[9].BrickColor, Thing[9].CFrame, 30, 30, 30, 4, 4, 4, 0.1)
  8435. MagicCircle(Thing[9].BrickColor, Thing[9].CFrame, 100, 100, 100, 0, 0, 0, 0.05)
  8436. local staaaaref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  8437. staaaaref.Anchored = true
  8438. staaaaref.CFrame = cf(Thing[9].Position)
  8439. game:GetService("Debris"):AddItem(staaaaref, 1)
  8440. so("341336499", staaaaref, 0.8, 2)
  8441. 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)
  8442. Thing[9].Parent = nil
  8443. table.remove(Effects, e)
  8444. end
  8445. end
  8446. do
  8447. if Thing[2] == "Shoot4" then
  8448. local Look = Thing[1]
  8449. local hit, pos = rayCast(Thing[4], Look, 1.5, modelzorz)
  8450. local mag = (Thing[4] - pos).magnitude
  8451. if 6 < Thing[8] then
  8452. Thing[8] = 1
  8453. else
  8454. Thing[8] = Thing[8] + 1
  8455. end
  8456. Thing[11] = Thing[11] + 0.05
  8457. Thing[9].BrickColor = Neons[Thing[8]]
  8458. 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)
  8459. MagicStar(Thing[9].BrickColor, Thing[9].CFrame, 80, 80, 80, 2, 2, 2, 0.25)
  8460. Thing[4] = Thing[4] + Look * 1.5
  8461. Thing[3] = Thing[3] - 1
  8462. if hit ~= nil then
  8463. Thing[3] = 0
  8464. end
  8465. if Thing[3] <= 0 then
  8466. MagicStar(Thing[9].BrickColor, Thing[9].CFrame, 90, 90, 90, 4, 4, 4, 0.1)
  8467. MagicCircle(Thing[9].BrickColor, Thing[9].CFrame, 200, 200, 200, 0, 0, 0, 0.1)
  8468. MagicCircle(Thing[9].BrickColor, Thing[9].CFrame, 150, 150, 150, 10, 10, 10, 0.08)
  8469. MagicCircle(Thing[9].BrickColor, Thing[9].CFrame, 100, 100, 100, 15, 15, 15, 0.06)
  8470. local staaaaref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  8471. staaaaref.Anchored = true
  8472. staaaaref.CFrame = cf(Thing[9].Position)
  8473. game:GetService("Debris"):AddItem(staaaaref, 1)
  8474. so("341336499", staaaaref, 0.8, 1)
  8475. 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)
  8476. Thing[9].Parent = nil
  8477. table.remove(Effects, e)
  8478. end
  8479. end
  8480. do
  8481. do
  8482. 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
  8483. if Thing[1].Transparency <= 1 then
  8484. if Thing[2] == "Block1" then
  8485. Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  8486. Mesh = Thing[7]
  8487. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  8488. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  8489. else
  8490. if Thing[2] == "Block2" then
  8491. Thing[1].CFrame = Thing[1].CFrame
  8492. Mesh = Thing[7]
  8493. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  8494. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  8495. else
  8496. if Thing[2] == "Block3" then
  8497. Thing[8] = Thing[8] * cf(0, 1, 0)
  8498. Thing[1].CFrame = Thing[8] * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  8499. Mesh = Thing[7]
  8500. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  8501. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  8502. else
  8503. if Thing[2] == "Block4" then
  8504. if #Neons - 1 < Thing[8] then
  8505. Thing[8] = 1
  8506. else
  8507. Thing[8] = Thing[8] + 1
  8508. end
  8509. else
  8510.  
  8511. if Thing[2] == "Cylinder" then
  8512. Mesh = Thing[7]
  8513. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  8514. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  8515. end
  8516. end
  8517. end
  8518. end
  8519. end
  8520. else
  8521. Part.Parent = nil
  8522. table.remove(Effects, e)
  8523. end
  8524. end
  8525. end
  8526. end
  8527. end
  8528. end
  8529. end
  8530. end
  8531. end
  8532. end
  8533. end
  8534. end
  8535. end
  8536. end
  8537. if swordPowerUp == true then
  8538. MagicBlock2(Neons[col], blade1Tip.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  8539. MagicBlock2(Neons[col], LeftArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  8540. MagicBlock2(Neons[col], RightArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  8541. end
  8542. if d0arm[3] == "true" then
  8543. d0arm[1].Color = cs(Neons[math.random(1, 7)].Color, Neons[math.random(1, 7)].Color)
  8544. d0arm[2].Color = cs(Neons[math.random(1, 7)].Color, Neons[math.random(1, 7)].Color)
  8545. end
  8546. if rainbowHands == true then
  8547. if myVars[5] == "ssl3" or myVars[5] == "ssl3_1" then
  8548. if Melee == false then
  8549. MagicBlock2(Neons[col], LeftArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  8550. else
  8551. if powerHand == false then
  8552. MagicBlock2(Neons[col], LeftArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  8553. end
  8554. MagicBlock2(Neons[col], RightArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  8555. end
  8556. else
  8557. if powerHand == false then
  8558. MagicBlock2(Neons[col], LeftArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  8559. end
  8560. MagicBlock2(Neons[col], RightArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  8561. end
  8562. end
  8563. for key, value in pairs(myDictionary) do
  8564. if value == "disco" then
  8565. if key.Name ~= p.Name then
  8566. MagicBlock2(Neons[col], key['Right Arm'].CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  8567. MagicBlock2(Neons[col], key['Left Arm'].CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  8568. end
  8569. end
  8570. end
  8571. if newMode == true then
  8572. if rainbowssl == false then
  8573. 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)))
  8574. 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)))
  8575. 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))
  8576. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  8577. 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)))
  8578. 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)))
  8579. end
  8580. end
  8581.  
  8582. lightningNum = math.random(1,100)
  8583. if lightningNum <= 80 and lightningNum >= 60 then
  8584. --while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly
  8585. local Body1 = BodyParts[math.random(#BodyParts)]
  8586. local Body2 = BodyParts[math.random(#BodyParts)]
  8587. local Pos1 = Vector3.new(
  8588. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
  8589. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
  8590. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
  8591. )
  8592. local Pos2 = Vector3.new(
  8593. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
  8594. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
  8595. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
  8596. )
  8597. local SPos1 = Body1.Position + Pos1
  8598. local SPos2 = Body2.Position + Pos2
  8599. local cols = math.random(1,7)
  8600. Lightning(SPos1, SPos2, 4, 3, Neonlist[cols], .3, .56)
  8601. end
  8602. swaito()
  8603.  
  8604. if #fx>0 then
  8605. for e=1,#fx do
  8606. if fx[e]~=nil then
  8607. local Thingy=fx[e]
  8608. if Thingy~=nil then
  8609. local Part=Thingy[1]
  8610. local Mode=Thingy[2]
  8611. local Delay=Thingy[3]
  8612. local IncX=Thingy[4]
  8613. local IncY=Thingy[5]
  8614. local IncZ=Thingy[6]
  8615. if Thingy[1].Transparency<=1 then
  8616. if Thingy[2]=="Block1" then
  8617. Thingy[1].CFrame=Thingy[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  8618. Mesh=Thingy[1].Mesh
  8619. Mesh.Scale=Mesh.Scale+vt(Thingy[4],Thingy[5],Thingy[6])
  8620. Thingy[1].Transparency=Thingy[1].Transparency+Thingy[3]
  8621. elseif Thingy[2]=="Cylinder" then
  8622. Mesh=Thingy[1].Mesh
  8623. Mesh.Scale=Mesh.Scale+vt(Thingy[4],Thingy[5],Thingy[6])
  8624. Thingy[1].Transparency=Thingy[1].Transparency+Thingy[3]
  8625. elseif Thingy[2]=="Blood" then
  8626. Mesh=Thingy[7]
  8627. Thingy[1].CFrame=Thingy[1].CFrame*cf(0,.5,0)
  8628. Mesh.Scale=Mesh.Scale+vt(Thingy[4],Thingy[5],Thingy[6])
  8629. Thingy[1].Transparency=Thingy[1].Transparency+Thingy[3]
  8630. elseif Thingy[2]=="Elec" then
  8631. Mesh=Thingy[1].Mesh
  8632. Mesh.Scale=Mesh.Scale+vt(Thingy[7],Thingy[8],Thingy[9])
  8633. Thingy[1].Transparency=Thingy[1].Transparency+Thingy[3]
  8634. elseif Thingy[2]=="Disappear" then
  8635. Thingy[1].Transparency=Thingy[1].Transparency+Thingy[3]
  8636. end
  8637. else
  8638. Part.Parent=nil
  8639. table.remove(fx,e)
  8640. end
  8641. end
  8642. end
  8643. end
  8644. end
  8645.  
  8646.  
  8647. end
  8648. 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)
  8649. if gobj ~= nil then
  8650. local ObjectCF = CFrame.new(gpos, gpos+gnormal) * CFrame.Angles(math.pi/2,0,0)
  8651. -- create part flattened on Y axis and set it's CFrame to ObjectCF
  8652. end
  8653.  
  8654.  
  8655.  
  8656.  
  8657.  
  8658. -----------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement