Advertisement
MysteriousL

BeZentest

Jul 23rd, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 143.42 KB | None | 0 0
  1.  
  2. --[[
  3. @Name: Zenatic
  4. @Author: Chromium
  5. @Date: 7/24/16
  6. @Engine: Lua 5.1
  7.  
  8. ]]
  9.  
  10. --[[
  11.  
  12. CREDITS:
  13. - Citrus for the Modified Cape
  14. - PixelFir3 for his Gauntlet
  15. - Spectroxis for the sword build
  16. - Savagemunkey's Legacy rings
  17. - Tyrantv for his GUI (I removed the gui for now)
  18.  
  19. ]]
  20.  
  21. --[[
  22.  
  23. Version 2 - 9/3/16
  24.  
  25. - Added Variables
  26. - Cleaned up Script
  27. - added cape, hood, and the suit (all toggleable)
  28. - made the script use less fps because all the welds crash sometimes
  29. - removed armor
  30. - removed blood
  31. - anims should be good now
  32. - removed intro
  33. - no more errors as all variables should be set correctly now
  34. - P.S fuck you Lapis
  35.  
  36. Version 1 - 7/24/16
  37.  
  38. - Added Cape
  39. - Added Armor
  40. - Added Intro
  41. - Added blood
  42. - Added sound
  43. - Tried (?) to add walking sounds
  44.  
  45. ]]
  46.  
  47. --[[
  48. Controls:
  49.  
  50. --Z: Zenatic PUNCH
  51. --X: Zenatic KICK
  52. --C: Zenatic Stomp
  53. --V: Zenatic FLIP KICK
  54. --Left Click: Slash 3 times and then fourth time click you get a special kick
  55.  
  56. ]]
  57.  
  58. print'Zenatic Loaded.'
  59.  
  60. --Variables
  61. Gui = true -- change true to false for no gui
  62. Cape = true --change true to false for no cape
  63. Hood = true --change true to false for no hood
  64. PrimaryColor = 'Really black' --Choose the color of the rings under you
  65. SecondaryColor = 'Institutional white' --Choose the color of the rings under you
  66. Suit = true --If you want the suit or not
  67.  
  68. --[[CHROMIUM_WEAPONRY]]--
  69. wait(1 / 60)
  70. local Player = game.Players.localPlayer
  71. local Character = Player.Character
  72. local Humanoid = Character.Humanoid
  73. local mouse = Player:GetMouse()
  74. local LeftArm = Character["Left Arm"]
  75. local RightArm = Character["Right Arm"]
  76. local LeftLeg = Character["Left Leg"]
  77. local RightLeg = Character["Right Leg"]
  78. local Head = Character.Head
  79. local Torso = Character.Torso
  80. local cam = game.Workspace.CurrentCamera
  81. local RootPart = Character.HumanoidRootPart
  82. local RootJoint = RootPart.RootJoint
  83. local cf = CFrame.new
  84. local mr = math.rad
  85. local angles = CFrame.Angles
  86. local ud = UDim2.new
  87. local c3 = Color3.new
  88. ---------------------------------------
  89. local p = game.Players.LocalPlayer
  90. local char = p.Character
  91. local mouse = p:GetMouse()
  92. local larm = char["Left Arm"]
  93. local rarm = char["Right Arm"]
  94. local lleg = char["Left Leg"]
  95. local rleg = char["Right Leg"]
  96. local hed = char.Head
  97. local torso = char.Torso
  98. local hum = char.Humanoid
  99. local cam = game.Workspace.CurrentCamera
  100. local root = char.HumanoidRootPart
  101. local vt=Vector3.new
  102. local deb = false
  103. local CanAttack = true
  104. local shot = 0
  105. local animpose = "Idle"
  106. local lastanimpose = "Idle"
  107. local stanceToggle = "Normal"
  108. local l = game:GetService("Lighting")
  109. local rs = game:GetService("RunService").RenderStepped
  110. math.randomseed(os.time())
  111. hum.MaxHealth = 9001
  112. wait(1)
  113. hum.Health = 9001
  114.  
  115. Mesh2 = function(par,num,x,y,z)
  116. local msh = _
  117. if num == 1 then
  118. msh = Instance.new("CylinderMesh",par)
  119. elseif num == 2 then
  120. msh = Instance.new("SpecialMesh",par)
  121. msh.MeshType = 3
  122. elseif num == 3 then
  123. msh = Instance.new("BlockMesh",par)
  124. elseif num == 4 then
  125. msh = Instance.new("SpecialMesh",par)
  126. msh.MeshType = "Torso"
  127. elseif type(num) == 'string' then
  128. msh = Instance.new("SpecialMesh",par)
  129. msh.MeshId = num
  130. end
  131. msh.Scale = Vector3.new(x,y,z)
  132. return msh
  133. end
  134.  
  135. Weld2 = function(p0,p1,x,y,z,rx,ry,rz,par)
  136. local w = Instance.new('Motor',par or p0)
  137. w.Part0 = p0
  138. w.Part1 = p1
  139. w.C1 = CFrame.new(x,y,z)*CFrame.Angles(rx,ry,rz)
  140. return w
  141. end
  142.  
  143. function NoOutline(Part)
  144. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  145. end
  146.  
  147. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  148. local fp=Instance.new("Part")
  149. fp.formFactor=formfactor
  150. fp.Parent=parent
  151. fp.Reflectance=reflectance
  152. fp.Transparency=transparency
  153. fp.CanCollide=false
  154. fp.Locked=true
  155. fp.BrickColor=brickcolor
  156. fp.Name=name
  157. fp.Size=size
  158. fp.Position=torso.Position
  159. NoOutline(fp)
  160. fp.Material="SmoothPlastic"
  161. fp:BreakJoints()
  162. return fp
  163. end
  164.  
  165. local plrs = game:GetService('Players')
  166. local plr = plrs.LocalPlayer
  167. local char = plr.Character
  168. local bp = plr.Backpack
  169. local hum = char.Humanoid
  170. -------------------------------------
  171. if Suit == true then
  172. char.Head.BrickColor = BrickColor.new('Really black')
  173. local s = Instance.new('Shirt', char)
  174. s.Name = 'Wild Gladiator\'s Felweave Raiment'
  175. s.ShirtTemplate = 'http://www.roblox.com/asset/?id=166273878'
  176. local p = Instance.new('Pants', char)
  177. p.Name = 'Wild Gladiator\'s Felweave Trousers'
  178. p.PantsTemplate = 'http://www.roblox.com/asset/?id=166273938'
  179. end
  180. -------------------------------------
  181. if Hood == true then
  182. local h = Instance.new('Part', char)
  183. h.Name = 'DK Hood'
  184. h.TopSurface,h.BottomSurface = 0,0
  185. h.Size = Vector3.new(2.3, 2.3, 2.3)
  186. h.CFrame = torso.CFrame
  187. h.CanCollide = false
  188. h:BreakJoints()
  189. local m = Instance.new('SpecialMesh', h)
  190. m.Name = "Wild Gladiator's Felweave Cowl"
  191. m.MeshType = 'FileMesh'
  192. m.Scale = Vector3.new(1, 1, 1)
  193. m.MeshId = 'http://www.roblox.com/asset/?id=85855767'
  194. m.TextureId = 'http://www.roblox.com/asset/?id=85855750'
  195. m.VertexColor = Vector3.new(0,0,0)
  196. local Weld = Instance.new("Weld")
  197. Weld.Part0 = char.Head
  198. Weld.Part1 = h
  199. Weld.Parent = char.Head
  200. Weld.C0 = CFrame.new(0, -.2, 0)
  201. end
  202. -------------------------------------
  203.  
  204.  
  205. if Cape == true then
  206.  
  207. local verlet = {}
  208. verlet.step_time = 1 / 50
  209. verlet.gravity = Vector3.new(0, -150, 0)
  210.  
  211. local char = game.Players.LocalPlayer.Character
  212. local torso = char:WaitForChild("Torso")
  213. local parts = {}
  214. local render = game:GetService("RunService").RenderStepped
  215.  
  216. wait()
  217.  
  218. local point = {}
  219. local link = {}
  220. local rope = {}
  221.  
  222. local function ccw(A,B,C)
  223. return (C.y-A.y) * (B.x-A.x) > (B.y-A.y) * (C.x-A.x)
  224. end
  225.  
  226. local function intersect(A,B,C,D)
  227. return ccw(A,C,D) ~= ccw(B,C,D) and ccw(A,B,C) ~= ccw(A,B,D)
  228. end
  229.  
  230. local function vec2(v)
  231. return Vector2.new(v.x, v.z)
  232. end
  233.  
  234. function point:step()
  235. if not self.fixed then
  236. local derivative = (self.position - self.last_position) * 0.95
  237. self.last_position = self.position
  238. self.position = self.position + derivative + ((verlet.gravity + (torso.CFrame.lookVector * -90)) * verlet.step_time ^ 2) --//
  239. --[[local torsoP = torso.CFrame * CFrame.new(-1, 0, 0.5)
  240. local torsoE = torso.CFrame * CFrame.new(1, 0, 0.5)
  241. local pointE = self.position + torso.CFrame.lookVector * 100
  242. local doIntersect = intersect(vec2(torsoP.p), vec2(torsoE.p), vec2(self.position), vec2(pointE))
  243. if not doIntersect then
  244. self.postition = self.position - torso.CFrame.lookVector * 10
  245. end]]
  246. end
  247. end
  248.  
  249. function link:step()
  250. for i = 1, 1 do
  251. local distance = self.point1.position - self.point2.position
  252. local magnitude = distance.magnitude
  253. local differance = (self.length - magnitude) / magnitude
  254. local translation = ((self.point1.fixed or self.point2.fixed) and 1 or 0.6) * distance * differance
  255. if not self.point1.fixed then
  256. self.point1.position = self.point1.position + translation
  257. end
  258. if not self.point2.fixed then
  259. self.point2.position = self.point2.position - translation
  260. end
  261. end
  262. end
  263.  
  264. function verlet.new(class, a, b, c)
  265. if class == "Point" then
  266. local new = {}
  267. setmetatable(new, {__index = point})
  268. new.class = class
  269. new.position = a or Vector3.new()
  270. new.last_position = new.position
  271. new.velocity = verlet.gravity
  272. new.fixed = false
  273. return new
  274. elseif class == "Link" then
  275. local new = {}
  276. setmetatable(new, {__index = link})
  277. new.class = class
  278. new.point1 = a
  279. new.point2 = b
  280. new.length = c or (a.position - b.position).magnitude
  281. return new
  282. elseif class == "Rope" then
  283. local new = {}
  284. setmetatable(new, {__index = link})
  285. new.class = class
  286. new.start_point = a
  287. new.finish_point = b
  288. new.points = {}
  289. new.links = {}
  290. local inc = (b - a) / 10
  291. for i = 0, 10 do
  292. table.insert(new.points, verlet.new("Point", a + (i * inc)))
  293. end
  294. for i = 2, #new.points do
  295. table.insert(new.links, verlet.new("Link", new.points[i - 1], new.points[i]))
  296. end
  297. return new
  298. end
  299. end
  300.  
  301. local tris = {}
  302. local triParts = {}
  303.  
  304. local function GetDiscoColor(hue)
  305. local section = hue % 1 * 3
  306. local secondary = 0.5 * math.pi * (section % 1)
  307. if section < 1 then
  308. return Color3.new(0, 0, 0)
  309. elseif section < 2 then
  310. return Color3.new(0, 0, 0)
  311. else
  312. return Color3.new(0, 0, 0)
  313. end
  314. end
  315.  
  316. local function setupPart(part)
  317. part.Anchored = true
  318. part.FormFactor = 3
  319. part.CanCollide = false
  320. part.TopSurface = 10
  321. part.BottomSurface = 10
  322. part.LeftSurface = 10
  323. part.RightSurface = 10
  324. part.FrontSurface = 10
  325. part.BackSurface = 10
  326. part.Material = "Neon"
  327. local m = Instance.new("SpecialMesh", part)
  328. m.MeshType = "Wedge"
  329. m.Scale = Vector3.new(0.2, 1, 1)
  330. return part
  331. end
  332.  
  333. local function CFrameFromTopBack(at, top, back)
  334. local right = top:Cross(back)
  335. 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)
  336. end
  337.  
  338. local function drawTri(parent, a, b, c)
  339. local this = {}
  340. local mPart1 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  341. local mPart2 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  342. function this:Set(a, b, c)
  343. local ab, bc, ca = b-a, c-b, a-c
  344. local abm, bcm, cam = ab.magnitude, bc.magnitude, ca.magnitude
  345. local edg1 = math.abs(0.5 + ca:Dot(ab)/(abm*abm))
  346. local edg2 = math.abs(0.5 + ab:Dot(bc)/(bcm*bcm))
  347. local edg3 = math.abs(0.5 + bc:Dot(ca)/(cam*cam))
  348. if edg1 < edg2 then
  349. if edg1 >= edg3 then
  350. a, b, c = c, a, b
  351. ab, bc, ca = ca, ab, bc
  352. abm = cam
  353. end
  354. else
  355. if edg2 < edg3 then
  356. a, b, c = b, c, a
  357. ab, bc, ca = bc, ca, ab
  358. abm = bcm
  359. else
  360. a, b, c = c, a, b
  361. ab, bc, ca = ca, ab, bc
  362. abm = cam
  363. end
  364. end
  365.  
  366. local len1 = -ca:Dot(ab)/abm
  367. local len2 = abm - len1
  368. local width = (ca + ab.unit*len1).magnitude
  369.  
  370. local maincf = CFrameFromTopBack(a, ab:Cross(bc).unit, -ab.unit)
  371.  
  372. if len1 > 0.2 then
  373. mPart1.Parent = parent
  374. mPart1.Size = Vector3.new(0.2, width, len1)
  375. mPart1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  376. else
  377. mPart1.Parent = nil
  378. end
  379.  
  380. if len2 > 0.2 then
  381. mPart2.Parent = parent
  382. mPart2.Size = Vector3.new(0.2, width, len2)
  383. mPart2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  384. else
  385. mPart2.Parent = nil
  386. end
  387. end
  388. function this:SetProperty(prop, value)
  389. mPart1[prop] = value
  390. mPart2[prop] = value
  391. end
  392. this:Set(a, b, c)
  393. function this:Destroy()
  394. mPart1:Destroy()
  395. mPart2:Destroy()
  396. end
  397. this.p1 = mPart1
  398. this.p2 = mPart2
  399. this.p1.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p1.CFrame.Y * 0.5 + time())))
  400. this.p2.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p2.CFrame.Y * 0.5 + time())))
  401. return this
  402. end
  403.  
  404. function verlet.draw(object, id)
  405. if object.class == "Point" then
  406. local part = parts[id]
  407. part.BrickColor = BrickColor.new(255, 0, 0)
  408. part.Transparency = 0
  409. part.formFactor = 3
  410. part.Anchored = true
  411. part.CanCollide = false
  412. part.TopSurface = 0
  413. part.BottomSurface = 0
  414. part.Size = Vector3.new(0.35, 0.35, 0.35)
  415. part.Material = "Neon"
  416. part.CFrame = CFrame.new(object.position)
  417. part.Parent = torso
  418. return part
  419. elseif object.class == "Link" then
  420. local part = parts[id]
  421. local dist = (object.point1.position - object.point2.position).magnitude
  422. part.Size = Vector3.new(0.2, 0.2, dist)
  423. part.CFrame = CFrame.new(object.point1.position, object.point2.position) * CFrame.new(0, 0, dist * -0.5)
  424. part.Parent = torso
  425. return part
  426. end
  427. end
  428.  
  429. function verlet.clear()
  430. for _, v in pairs(workspace:GetChildren()) do
  431. if v.Name == "Part" then
  432. v:Destroy()
  433. end
  434. end
  435. end
  436.  
  437. local points = {}
  438. local links = {}
  439.  
  440. for x = 0, 2 do
  441. points[x] = {}
  442. for y = 0, 3 do
  443. points[x][y] = verlet.new("Point", torso.Position + Vector3.new(x * 0.8 - 2, 2 - y * 0.8, 5 + y * 0.4))
  444. points[x][y].fixed = y == 0
  445. end
  446. end
  447.  
  448. for x = 1, 2 do
  449. for y = 0, 3 do
  450. links[#links + 1] = verlet.new("Link", points[x][y], points[x - 1][y], 1 + y * 0.08)
  451. end
  452. end
  453.  
  454. for x = 0, 2 do
  455. for y = 1, 3 do
  456. links[#links + 1] = verlet.new("Link", points[x][y], points[x][y - 1], 1.2 + y * 0.03)
  457. end
  458. end
  459.  
  460. render:connect(function()
  461. for x = 0, 2 do
  462. for y = 0, 3 do
  463. if y == 0 then
  464. points[x][y].position = (torso.CFrame * CFrame.new(x * 1 - 1, 1, 0.5)).p
  465. else
  466. points[x][y]:step()
  467. end
  468. end
  469. end
  470. for i = 1, #links do
  471. links[i]:step()
  472. end
  473. for i = 1, #tris do
  474. triParts[#triParts + 1] = tris[i].p1
  475. triParts[#triParts + 1] = tris[i].p2
  476. end
  477. tris = {}
  478. for x = 1, 2 do
  479. for y = 1, 3 do
  480. tris[#tris + 1] = drawTri(torso, points[x - 1][y - 1].position, points[x - 1][y].position, points[x][y - 1].position)
  481. tris[#tris + 1] = drawTri(torso, points[x][y].position, points[x - 1][y].position, points[x][y - 1].position)
  482. end
  483. end
  484. end)
  485. end
  486.  
  487. local hum = game.Players.LocalPlayer.Character.Humanoid
  488. local plr = game.Players.LocalPlayer
  489. wait(0.1)
  490. hum.WalkSpeed = 32
  491. Shirt = Instance.new("Shirt",Character)
  492. Shirt.Parent = plr
  493. Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=249639658"
  494. Pant = Instance.new("Pants",Character)
  495. Pant.Parent = plr
  496. Pant.PantsTemplate = "http://www.roblox.com/asset/?id=249639685"
  497. lite = Instance.new("PointLight")
  498. lite.Parent = game.Players.LocalPlayer.Character.Torso
  499. lite.Brightness = 100
  500. lite.Range = 8
  501. lite.Color = Color3.new(1,1,1)
  502. ------------------------
  503. local Plr = game.Players.LocalPlayer --LocalScript
  504. local Char = Plr.Character
  505. local Mouse = Plr:GetMouse()
  506. local ra = Char:FindFirstChild('Right Arm')
  507. local ts = Char.Torso
  508. local la = Char:FindFirstChild('Left Arm')
  509. local ll = Char:FindFirstChild('Left Leg')
  510. local rl = Char:FindFirstChild('Right Leg')
  511. local hd = Char.Head
  512. local root = Char:FindFirstChild('HumanoidRootPart')
  513.  
  514. rarm = ra
  515. larm = la
  516. torso = ts
  517. hed = hd
  518. root = root
  519. lleg = ll
  520. rleg = rl
  521.  
  522. FloatPart = function()
  523. local Part = Instance.new('Part',torso)
  524. Part.CFrame = CFrame.new(torso.CFrame.X,workspace.Base.CFrame.Y+1,torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87)
  525. Part.Anchored = true
  526. Part.Material = 'Neon'
  527. Part.CanCollide = false
  528. Part.BrickColor = BrickColor.new(PrimaryColor)
  529. local Mesh = Instance.new('SpecialMesh',Part)
  530. Mesh.Scale = Vector3.new(4,4,.2)
  531. Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017'
  532. Mesh.VertexColor = Vector3.new(0,170,255)
  533. spawn(function()
  534. for i = 1,30 do
  535. Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0)
  536. Part.Transparency = Part.Transparency + .035
  537. game["Run Service"].RenderStepped:wait()
  538. end
  539. Part:Destroy()
  540. end)
  541. end;
  542.  
  543. DubPart = function()
  544. local Part = Instance.new('Part',torso)
  545. Part.CFrame = CFrame.new(torso.CFrame.X,workspace.Base.CFrame.Y+1,torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87)
  546. Part.Anchored = true
  547. Part.CanCollide = false
  548. Part.Material = 'Neon'
  549. Part.BrickColor = BrickColor.new(SecondaryColor)
  550. local Mesh = Instance.new('SpecialMesh',Part)
  551. Mesh.Scale = Vector3.new(7,7,.2)
  552. Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017'
  553. Mesh.VertexColor = Vector3.new(0,170,255)
  554. spawn(function()
  555. for i = 1,30 do
  556. Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0)
  557. Part.Transparency = Part.Transparency + .035
  558. game["Run Service"].RenderStepped:wait()
  559. end
  560. Part:Destroy()
  561. end)
  562. end;
  563.  
  564. OnTouch = function(Toucher)
  565. if Toucher.Parent.Name ~= Plr.Name and Toucher.Parent:FindFirstChild('Humanoid') then
  566. local Hum = Toucher.Parent:FindFirstChild('Humanoid')
  567. Hum.Health = Hum.Health - .7
  568. end
  569. end;
  570.  
  571. Fade = function(Item,t)
  572. spawn(function()
  573. for i = 1,20 do
  574. Item.Transparency = Item.Transparency + .05
  575. if t then
  576. wait(t)
  577. else
  578. wait()
  579. end
  580. end
  581. Item:Destroy()
  582. end)
  583. end
  584.  
  585. TouchKill = function(Toucher)
  586. if Toucher.Parent then
  587. if Toucher.Parent:FindFirstChild('Humanoid') then
  588. local P = Toucher.Parent:FindFirstChild('Humanoid')
  589. if P ~= nil and P.Parent.Name ~= Plr.Name then
  590. P.Health = P.Health - math.random(4,17)
  591. end
  592. end
  593. end
  594. end;
  595.  
  596. Particle = function()
  597. local Part = Instance.new('Part',torso)
  598. Part.BrickColor = BrickColor.new(PrimaryColor)
  599. Part.Anchored = true
  600. Part.Transparency = .3
  601. Part.Touched:connect(function(I)OnTouch(I)end)
  602. Part.CanCollide = false
  603. Part.CFrame = torso.CFrame * CFrame.new(math.random(-10,10),math.random(-15,15),math.random(-10,10)) * CFrame.fromEulerAnglesXYZ(math.random(),math.random(),math.random())
  604. local Mesh = Instance.new('BlockMesh',Part)
  605. Mesh.Scale = Vector3.new(.05,.1,.1)
  606. spawn(function()
  607. for i = 1,40 do
  608. Part.Transparency = Part.Transparency + .0125
  609. Part.CFrame = Part.CFrame * CFrame.new(0,-.07,0)
  610. game["Run Service"].RenderStepped:wait()
  611. end
  612. Part:Destroy()
  613. end)
  614. end;
  615.  
  616. spawn(function()
  617. while wait() do
  618. wait(.05)
  619. FloatPart()
  620. wait(.08)
  621. FloatPart()
  622. wait(.05)
  623. DubPart()
  624. wait(.08)
  625. end
  626. end)
  627.  
  628. wait(0.1)
  629.  
  630. rs = game:GetService'RunService'
  631. plrs = game:GetService'Players'
  632. lp = plrs.LocalPlayer
  633. c = lp.Character
  634. root = lp.Character.HumanoidRootPart
  635. human = c.Humanoid
  636. FPS = 0
  637. inf = 0
  638. opos1 = Vector3.new()
  639. opos2 = Vector3.new()
  640. opos3 = Vector3.new()
  641. waves = Instance.new("Model", c)
  642. res = Instance.new("Model", c)
  643.  
  644. local function b()
  645. local t=tick();
  646. local l=t%1*3;
  647. local t=.5*math.pi*(l%1);
  648. if l<1 then
  649. return Color3.new(47,0,32);
  650. elseif l<2 then
  651. return Color3.new(47,0,35);
  652. else
  653. return Color3.new(0,0,0);
  654. end;
  655. end;
  656. speedParts = function()
  657. for i = 1, 4 do
  658. 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)
  659. local CFramepos = root.CFrame:toWorldSpace(CFrame.new(pos)).p
  660. local opos
  661. if i == 1 then
  662. opos = opos1
  663. elseif i == 2 then
  664. opos = opos2
  665. else
  666. opos = opos3
  667. end
  668. if human.MoveDirection ~= Vector3.new(0, 0, 0) then
  669. local e
  670. if #res:children() <= 3 then
  671. e = Instance.new("Part")
  672. else
  673. e = res:FindFirstChild("Trail")
  674. end
  675. e.Parent = waves
  676. e.Anchored = true
  677. e.CanCollide = false
  678. e.Transparency = 0
  679. e.Material = "Neon"
  680. e.Name = "Trail"
  681. e.Color = b(); --Color = a();
  682. e.Size = Vector3.new(.2, (CFramepos - opos).magnitude, .2)
  683. e.CFrame = CFrame.new((CFramepos + opos) / 2, opos) * CFrame.Angles(math.pi / 2, 0, 0)
  684. end
  685. if i == 1 then
  686. opos1 = CFramepos
  687. elseif i == 2 then
  688. opos2 = CFramepos
  689. else
  690. opos3 = CFramepos
  691. end
  692. end
  693. end
  694.  
  695. rs.RenderStepped:connect(function()
  696. FPS = 1 / rs.RenderStepped:wait()
  697. for i, v in pairs (waves:children()) do
  698. v.Transparency = v.Transparency + .05 / (FPS / 60)
  699. if v.Transparency >= .98 then
  700. v.Transparency = 1
  701. v.Parent = res
  702. end
  703. end
  704. inf = inf + (8 + root.Velocity.magnitude / 15) / (FPS / 60)
  705. speedParts()
  706. end)
  707.  
  708. wait(1/60)
  709. Player = game.Players.LocalPlayer
  710. Character = Player.Character
  711. PlayerGui = Player.PlayerGui
  712. Backpack = Player.Backpack
  713. Torso = Character.Torso
  714. Head = Character.Head
  715. Humanoid = Character.Humanoid
  716. LeftArm = Character["Left Arm"]
  717. LeftLeg = Character["Left Leg"]
  718. RightArm = Character["Right Arm"]
  719. RightLeg = Character["Right Leg"]
  720. Character = Player.Character
  721. PlayerGui = Player.PlayerGui
  722. Backpack = Player.Backpack
  723. Torso = Character.Torso
  724. Head = Character.Head
  725. Humanoid = Character.Humanoid
  726. LeftArm = Character["Left Arm"]
  727. LeftLeg = Character["Left Leg"]
  728. RightArm = Character["Right Arm"]
  729. RightLeg = Character["Right Leg"]
  730. LS = Torso["Left Shoulder"]
  731. LH = Torso["Left Hip"]
  732. RS = Torso["Right Shoulder"]
  733. RH = Torso["Right Hip"]
  734. Neck = Torso.Neck
  735. attacktype = 1
  736. vt = Vector3.new
  737. cf = CFrame.new
  738. euler = CFrame.fromEulerAnglesXYZ
  739. angles = CFrame.Angles
  740.  
  741. local co1 = 0--how long it will take for skill to cooldown
  742. local co2 = 0
  743. local co3 = 0
  744. local co4 = 0
  745.  
  746. local cooldown1 = 0
  747. local cooldown2 = 0
  748. local cooldown3 = 0
  749. local cooldown4 = 0
  750.  
  751. local maxEnergy = 100
  752. local Energy = 100--Energy you start out with
  753. local skill1stam = 0--how much Energy is needed for a skill
  754. local skill2stam = 0
  755. local skill3stam = 0
  756. local skill4stam = 0
  757. local recovermana = 100--how much mana per second
  758.  
  759. local skillcolorscheme = BrickColor.new("Institutional white").Color
  760.  
  761. local scrn = Instance.new('ScreenGui', Player.PlayerGui)
  762. function makeframe(par, trans, pos, size, color)
  763. local frame = Instance.new('Frame', par)
  764. frame.BackgroundTransparency = trans
  765. frame.BorderSizePixel = 0
  766. frame.Position = pos
  767. frame.Size = size
  768. frame.BackgroundColor3 = color
  769. return frame
  770. end
  771. function makelabel(par, text)
  772. local label = Instance.new('TextLabel', par)
  773. label.BackgroundTransparency = 1
  774. label.Size = UDim2.new(1, 0, 1, 0)
  775. label.Position = UDim2.new(0, 0, 0, 0)
  776. label.TextColor3 = Color3.new(255, 255, 255)
  777. label.TextStrokeTransparency = 0
  778. label.FontSize = Enum.FontSize.Size32
  779. label.Font = Enum.Font.SourceSansBold
  780. label.BorderSizePixel = 0
  781. label.TextScaled = true
  782. label.Text = text
  783. end
  784. if gui == true then
  785. framesk1 = makeframe(scrn, .5, UDim2.new(.23, 0, .93, 0), UDim2.new(.26, 0, .06, 0), skillcolorscheme)
  786. framesk2 = makeframe(scrn, .5, UDim2.new(.5, 0, .93, 0), UDim2.new(.26, 0, .06, 0), skillcolorscheme)
  787. framesk3 = makeframe(scrn, .5, UDim2.new(.5, 0, .86, 0), UDim2.new(.26, 0, .06, 0), skillcolorscheme)
  788. framesk4 = makeframe(scrn, .5, UDim2.new(.23, 0, .86, 0), UDim2.new(.26, 0, .06, 0), skillcolorscheme)
  789. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  790. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  791. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  792. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  793. text1 = makelabel(framesk1, '[c] Zenatic Stomp')
  794. text2 = makelabel(framesk2, '[v] Zenatic Flip Kick')
  795. text3 = makelabel(framesk3, "[x] Zenatic Kick")
  796. text4 = makelabel(framesk4, '[z] Zenatic Punch')
  797. Energybar = makeframe(scrn, .5, UDim2.new(.23, 0, .82, 0), UDim2.new(.26, 0, .03, 0), BrickColor.new("Institutional white").Color)
  798. Energycover = makeframe(Energybar, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), BrickColor.new("Very black").Color)
  799. Energytext = makelabel(Energybar, 'Energy')
  800. healthbar = makeframe(scrn, .5, UDim2.new(.5, 0, .82, 0), UDim2.new(.26, 0, .03, 0), BrickColor.new("Institutional white").Color)
  801. healthcover = makeframe(healthbar, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), BrickColor.new("Very black").Color)
  802. healthtext = makelabel(healthbar, 'Health')
  803.  
  804. local stats=Instance.new('Folder',Character)
  805. stats.Name='Stats'
  806. local block=Instance.new('BoolValue',stats)
  807. block.Name='Block'
  808. block.Value=false
  809. local stun=Instance.new('BoolValue',stats)
  810. stun.Name='Stun'
  811. stun.Value=false
  812. local defense=Instance.new('NumberValue',stats)
  813. defense.Name='Defence'
  814. defense.Value=1
  815. local speed=Instance.new('NumberValue',stats)
  816. speed.Name='Speed'
  817. speed.Value=1
  818. local damagea=Instance.new('NumberValue',stats)
  819. damagea.Name='Damage'
  820. damagea.Value=1
  821. end
  822.  
  823. function NoOutline(Part)
  824. Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
  825. end
  826.  
  827. function nooutline(part)
  828. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  829. end
  830.  
  831. --Dont change these, these work for the rings
  832. local Plr = game.Players.LocalPlayer --LocalScript
  833. local Char = Plr.Character
  834. local Mouse = Plr:GetMouse()
  835. workspace.CurrentCamera.CameraSubject = Char.Head
  836.  
  837. local ra = Char:FindFirstChild('Right Arm')
  838. local ts = Char.Torso
  839. local la = Char:FindFirstChild('Left Arm')
  840. local ll = Char:FindFirstChild('Left Leg')
  841. local rl = Char:FindFirstChild('Right Leg')
  842. local hd = Char.Head
  843. local root = Char:FindFirstChild('HumanoidRootPart')
  844.  
  845. rarm = ra
  846. larm = la
  847. torso = ts
  848. hed = hd
  849. root = root
  850. lleg = ll
  851. rleg = rl
  852. local Handle = Instance.new('Part',Hat)
  853. local Handle2 = Instance.new('Part',Hat2)
  854. local Handle3 = Instance.new('Part',Hat3)
  855.  
  856. game["Run Service"].RenderStepped:connect(function()
  857. Handle.CFrame = Char.Head.CFrame * CFrame.new(0,.16,-.3)
  858. Handle2.CFrame = Char.Head.CFrame * CFrame.new(0,.6,0)
  859. Handle3.CFrame = Char.Head.CFrame * CFrame.new(0,1.3,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  860. end)
  861.  
  862. Char.Torso.Anchored = false
  863.  
  864. local Face = Instance.new('Decal',Char.Head)
  865. Face.Name = 'face'
  866. if Char.Head:findFirstChild('face') then
  867. Char.Head['face']:Destroy()
  868. end
  869. Face.Texture = 'rbxassetid://13603673'
  870. wait(0.1)
  871.  
  872. s=Instance.new'Sound';
  873. s.Parent=game.Players.LocalPlayer.Character.Torso;
  874. s.SoundId='rbxassetid://211759002';
  875. s.Pitch=0.8;
  876. s.Volume=1;
  877. s.Looped=true;
  878. s:play();
  879.  
  880. local function setupPart(part)
  881. part.Anchored = true
  882. part.FormFactor = 3
  883. part.CanCollide = false
  884. part.TopSurface = 10
  885. part.BottomSurface = 10
  886. part.LeftSurface = 10
  887. part.RightSurface = 10
  888. part.FrontSurface = 10
  889. part.BackSurface = 10
  890. part.Material = "Neon"
  891. local m = Instance.new("SpecialMesh", part)
  892. m.MeshType = "Wedge"
  893. m.Scale = Vector3.new(0.2, 1, 1)
  894. return part
  895. end
  896.  
  897. local function CFrameFromTopBack(at, top, back)
  898. local right = top:Cross(back)
  899. 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)
  900. end
  901.  
  902. local function drawTri(parent, a, b, c)
  903. local this = {}
  904. local mPart1 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  905. local mPart2 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  906. function this:Set(a, b, c)
  907. local ab, bc, ca = b-a, c-b, a-c
  908. local abm, bcm, cam = ab.magnitude, bc.magnitude, ca.magnitude
  909. local edg1 = math.abs(0.5 + ca:Dot(ab)/(abm*abm))
  910. local edg2 = math.abs(0.5 + ab:Dot(bc)/(bcm*bcm))
  911. local edg3 = math.abs(0.5 + bc:Dot(ca)/(cam*cam))
  912. if edg1 < edg2 then
  913. if edg1 >= edg3 then
  914. a, b, c = c, a, b
  915. ab, bc, ca = ca, ab, bc
  916. abm = cam
  917. end
  918. else
  919. if edg2 < edg3 then
  920. a, b, c = b, c, a
  921. ab, bc, ca = bc, ca, ab
  922. abm = bcm
  923. else
  924. a, b, c = c, a, b
  925. ab, bc, ca = ca, ab, bc
  926. abm = cam
  927. end
  928. end
  929.  
  930. local len1 = -ca:Dot(ab)/abm
  931. local len2 = abm - len1
  932. local width = (ca + ab.unit*len1).magnitude
  933.  
  934. local maincf = CFrameFromTopBack(a, ab:Cross(bc).unit, -ab.unit)
  935.  
  936. if len1 > 0.2 then
  937. mPart1.Parent = parent
  938. mPart1.Size = Vector3.new(0.2, width, len1)
  939. mPart1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  940. else
  941. mPart1.Parent = nil
  942. end
  943.  
  944. if len2 > 0.2 then
  945. mPart2.Parent = parent
  946. mPart2.Size = Vector3.new(0.2, width, len2)
  947. mPart2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  948. else
  949. mPart2.Parent = nil
  950. end
  951. end
  952. function this:SetProperty(prop, value)
  953. mPart1[prop] = value
  954. mPart2[prop] = value
  955. end
  956. this:Set(a, b, c)
  957. function this:Destroy()
  958. mPart1:Destroy()
  959. mPart2:Destroy()
  960. end
  961. this.p1 = mPart1
  962. this.p2 = mPart2
  963. this.p1.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p1.CFrame.Y * 0.5 + time())))
  964. this.p2.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p2.CFrame.Y * 0.5 + time())))
  965. return this
  966. end
  967.  
  968. FloatPart = function()
  969. local Part = Instance.new('Part',torso)
  970. Part.CFrame = CFrame.new(torso.CFrame.X,workspace.Base.CFrame.Y+1,torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87)
  971. Part.Anchored = true
  972. Part.Material = 'Neon'
  973. Part.CanCollide = false
  974. Part.BrickColor = BrickColor.new(PrimaryColor)
  975. local Mesh = Instance.new('SpecialMesh',Part)
  976. Mesh.Scale = Vector3.new(4,4,.2)
  977. Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017'
  978. Mesh.VertexColor = Vector3.new(0,170,255)
  979. spawn(function()
  980. for i = 1,30 do
  981. Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0)
  982. Part.Transparency = Part.Transparency + .035
  983. game["Run Service"].RenderStepped:wait()
  984. end
  985. Part:Destroy()
  986. end)
  987. end;
  988.  
  989. DubPart = function()
  990. local Part = Instance.new('Part',torso)
  991. Part.CFrame = CFrame.new(torso.CFrame.X,workspace.Base.CFrame.Y+1,torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87)
  992. Part.Anchored = true
  993. Part.CanCollide = false
  994. Part.Material = 'Neon'
  995. Part.BrickColor = BrickColor.new(SecondaryColor)
  996. local Mesh = Instance.new('SpecialMesh',Part)
  997. Mesh.Scale = Vector3.new(7,7,.2)
  998. Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017'
  999. Mesh.VertexColor = Vector3.new(0,170,255)
  1000. spawn(function()
  1001. for i = 1,30 do
  1002. Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0)
  1003. Part.Transparency = Part.Transparency + .035
  1004. game["Run Service"].RenderStepped:wait()
  1005. end
  1006. Part:Destroy()
  1007. end)
  1008. end;
  1009.  
  1010. OnTouch = function(Toucher)
  1011. if Toucher.Parent.Name ~= Plr.Name and Toucher.Parent:FindFirstChild('Humanoid') then
  1012. local Hum = Toucher.Parent:FindFirstChild('Humanoid')
  1013. Hum.Health = Hum.Health - .7
  1014. end
  1015. end;
  1016.  
  1017. Fade = function(Item,t)
  1018. spawn(function()
  1019. for i = 1,20 do
  1020. Item.Transparency = Item.Transparency + .05
  1021. if t then
  1022. wait(t)
  1023. else
  1024. wait()
  1025. end
  1026. end
  1027. Item:Destroy()
  1028. end)
  1029. end
  1030.  
  1031. TouchKill = function(Toucher)
  1032. if Toucher.Parent then
  1033. if Toucher.Parent:FindFirstChild('Humanoid') then
  1034. local P = Toucher.Parent:FindFirstChild('Humanoid')
  1035. if P ~= nil and P.Parent.Name ~= Plr.Name then
  1036. P.Health = P.Health - math.random(4,17)
  1037. end
  1038. end
  1039. end
  1040. end;
  1041.  
  1042. Particle = function()
  1043. local Part = Instance.new('Part',torso)
  1044. Part.BrickColor = BrickColor.new(PrimaryColor)
  1045. Part.Anchored = true
  1046. Part.Transparency = .3
  1047. Part.Touched:connect(function(I)OnTouch(I)end)
  1048. Part.CanCollide = false
  1049. Part.CFrame = torso.CFrame * CFrame.new(math.random(-10,10),math.random(-15,15),math.random(-10,10)) * CFrame.fromEulerAnglesXYZ(math.random(),math.random(),math.random())
  1050. local Mesh = Instance.new('BlockMesh',Part)
  1051. Mesh.Scale = Vector3.new(.05,.1,.1)
  1052. spawn(function()
  1053. for i = 1,40 do
  1054. Part.Transparency = Part.Transparency + .0125
  1055. Part.CFrame = Part.CFrame * CFrame.new(0,-.07,0)
  1056. game["Run Service"].RenderStepped:wait()
  1057. end
  1058. Part:Destroy()
  1059. end)
  1060. end;
  1061.  
  1062. spawn(function()
  1063. while wait() do
  1064. wait(.05)
  1065. FloatPart()
  1066. wait(.08)
  1067. FloatPart()
  1068. wait(.05)
  1069. DubPart()
  1070. wait(.08)
  1071. end
  1072. end)
  1073.  
  1074. wait(.1)
  1075. --gaunt fitting for zenatic
  1076. --wip
  1077.  
  1078. m=Instance.new('Model',char)
  1079.  
  1080.  
  1081. local function weldBetween(a, b)
  1082. local weldd = Instance.new("ManualWeld")
  1083. weldd.Part0 = a
  1084. weldd.Part1 = b
  1085. weldd.C0 = CFrame.new()
  1086. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1087. weldd.Parent = a
  1088. return weldd
  1089. end
  1090.  
  1091. it=Instance.new
  1092.  
  1093. function nooutline(part)
  1094. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  1095. end
  1096.  
  1097. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  1098. local fp=it("Part")
  1099. fp.formFactor=formfactor
  1100. fp.Parent=parent
  1101. fp.Reflectance=reflectance
  1102. fp.Transparency=transparency
  1103. fp.CanCollide=false
  1104. fp.Locked=true
  1105. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  1106. fp.Name=name
  1107. fp.Size=size
  1108. fp.Position=char.Torso.Position
  1109. nooutline(fp)
  1110. fp.Material=material
  1111. fp:BreakJoints()
  1112. return fp
  1113. end
  1114.  
  1115. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1116. local mesh=it(Mesh)
  1117. mesh.Parent=part
  1118. if Mesh=="SpecialMesh" then
  1119. mesh.MeshType=meshtype
  1120. mesh.MeshId=meshid
  1121. end
  1122. mesh.Offset=offset
  1123. mesh.Scale=scale
  1124. return mesh
  1125. end
  1126.  
  1127. function weld(parent,part0,part1,c0,c1)
  1128. local weld=it("Weld")
  1129. weld.Parent=parent
  1130. weld.Part0=part0
  1131. weld.Part1=part1
  1132. weld.C0=c0
  1133. weld.C1=c1
  1134. return weld
  1135. end
  1136.  
  1137. MN=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Handle",Vector3.new(1.09732866, 2.19465828, 1.09732854))
  1138. MNweld=weld(m,char["Right Arm"],MN,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0323486328, -0.0509860516, -0.00120401382, -0.00500982394, 0.00520668458, 0.999973893, -0.00739898486, 0.999958873, -0.00524367485, -0.999960065, -0.00742506143, -0.0049710935))
  1139. TR7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","TR7",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  1140. TR7weld=weld(m,MN,TR7,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393))
  1141. mesh("SpecialMesh",TR7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1.02999997, 1.02999997))
  1142. MD9=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD9",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  1143. MD9weld=weld(m,MN,MD9,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.741846681, 0.199262142, 1.00000405, -6.92205504e-06, 0.000154254027, 4.65649646e-05, 0.965939224, -0.25876984, -0.000147186685, 0.258768767, 0.965943158))
  1144. mesh("SpecialMesh",MD9,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998))
  1145. MD1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD1",Vector3.new(0.237408489, 0.259352177, 0.518704116))
  1146. MD1weld=weld(m,MN,MD1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.402763367, -0.974855185, 0.682875633, 0.99988991, -0.0150081124, -0.00168980728, 0.0149988253, 0.999872923, -0.00539785437, 0.00177063467, 0.00537188631, 0.999988079))
  1147. mesh("SpecialMesh",MD1,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  1148. MD10=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD10",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  1149. MD10weld=weld(m,MN,MD10,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, -0.960148811, -0.000584125519, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  1150. mesh("SpecialMesh",MD10,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  1151. MD11=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD11",Vector3.new(0.266768694, 1.09732914, 0.658397138))
  1152. MD11weld=weld(m,MN,MD11,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.493839264, -0.274354219, 4.24385071e-05, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  1153. mesh("SpecialMesh",MD11,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999))
  1154. MD12=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD12",Vector3.new(0.266768694, 1.09732914, 0.658397138))
  1155. MD12weld=weld(m,MN,MD12,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.493812561, -0.274300575, -0.000376224518, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  1156. mesh("SpecialMesh",MD12,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999))
  1157. MD13=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD13",Vector3.new(1.09732866, 0.822996795, 1.09732854))
  1158. MD13weld=weld(m,MN,MD13,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-05, 0.68582201, 0.000464439392, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  1159. mesh("SpecialMesh",MD13,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  1160. MD14=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD14",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  1161. MD14weld=weld(m,MN,MD14,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-05, 0.603547096, 0.000416755676, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  1162. mesh("SpecialMesh",MD14,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995))
  1163. MD15=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD15",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  1164. MD15weld=weld(m,MN,MD15,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-05, 0.137180567, -4.529953e-05, -1.0000037, -0.000862163957, 0.000179466791, -0.000862103421, 0.999999523, 0.000520790287, -0.000179945491, 0.000520619913, -1.00000381))
  1165. mesh("SpecialMesh",MD15,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  1166. MD16=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD16",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  1167. MD16weld=weld(m,MN,MD16,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.86645508e-05, 0.932742357, 0.000658988953, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  1168. mesh("SpecialMesh",MD16,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995))
  1169. MD19=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD19",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  1170. MD19weld=weld(m,MN,MD19,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393))
  1171. mesh("SpecialMesh",MD19,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998))
  1172. MD18=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD18",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  1173. MD18weld=weld(m,MN,MD18,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.52587891e-05, -0.246893644, -0.00013256073, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  1174. mesh("SpecialMesh",MD18,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998))
  1175. MD2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD2",Vector3.new(0.2574085, 0.259352177, 0.518704116))
  1176. MD2weld=weld(m,MN,MD2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.392555237, -0.573539257, 1.09872949, 0.999886394, -0.0152528733, -0.00162532134, 0.0119883548, 0.710953057, 0.70314008, -0.00956933573, -0.703074038, 0.71105516))
  1177. mesh("SpecialMesh",MD2,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  1178. MD3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD3",Vector3.new(0.247408509, 0.259352177, 0.518704116))
  1179. MD3weld=weld(m,MN,MD3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.397964478, -0.817667723, 0.487944126, 0.999890864, -0.0149886403, -0.00193861127, 0.0139457425, 0.964460015, -0.263861924, 0.00582473399, 0.26380372, 0.964563668))
  1180. mesh("SpecialMesh",MD3,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  1181. MD4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD4",Vector3.new(0.247408509, 0.259352177, 0.518704116))
  1182. MD4weld=weld(m,MN,MD4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.422103882, -0.82026124, 0.507567406, 0.999890864, -0.0149886403, -0.00193861127, 0.0139457425, 0.964460015, -0.263861924, 0.00582473399, 0.26380372, 0.964563668))
  1183. mesh("SpecialMesh",MD4,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  1184. MD5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD5",Vector3.new(0.2574085, 0.259352177, 0.518704116))
  1185. MD5weld=weld(m,MN,MD5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.427509308, -0.557831764, 1.11046171, 0.999886394, -0.0152528733, -0.00162532134, 0.0119883548, 0.710953057, 0.70314008, -0.00956933573, -0.703074038, 0.71105516))
  1186. mesh("SpecialMesh",MD5,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  1187. MD6=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD6",Vector3.new(0.237408489, 0.259352177, 0.518704116))
  1188. MD6weld=weld(m,MN,MD6,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.417263031, -0.972257376, 0.702233315, 0.99988991, -0.0150081124, -0.00168980728, 0.0149988253, 0.999872923, -0.00539785437, 0.00177063467, 0.00537188631, 0.999988079))
  1189. mesh("SpecialMesh",MD6,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  1190. MD7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD7",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  1191. MD7weld=weld(m,MN,MD7,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393))
  1192. mesh("SpecialMesh",MD7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  1193. MD8=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD8",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  1194. MD8weld=weld(m,MN,MD8,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, -0.960148811, -0.000584125519, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  1195. mesh("SpecialMesh",MD8,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998))
  1196. TR1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","TR1",Vector3.new(0.266768694, 0.54866457, 0.548664272))
  1197. TR1weld=weld(m,MN,TR1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.548826218, 0.30154109, 4.57763672e-05, -0.000205519143, -0.0001726388, -1, -4.31765802e-05, 1, -0.00017263052, 1, 4.314119e-05, -0.000205526594))
  1198. mesh("SpecialMesh",TR1,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 0.700000048, 0.700000048))
  1199. TR2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","TR2",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  1200. TR2weld=weld(m,MN,TR2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, 0.741921067, 0.198978901, 1.00000405, -2.92747281e-05, -1.7457176e-05, 2.37242784e-05, 0.965939343, -0.258769363, 2.44602561e-05, 0.25876832, 0.965943277))
  1201. mesh("SpecialMesh",TR2,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.02999997, 0.0822681859, 1.02999997))
  1202. TR3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","TR3",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  1203. TR3weld=weld(m,MN,TR3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-05, 0.603546381, 0.000186920166, 1.00000787, -8.63452442e-05, -2.6775524e-07, 8.62879679e-05, 1, -2.05411197e-07, 2.68686563e-07, 2.3024586e-07, 1.00000775))
  1204. mesh("SpecialMesh",TR3,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.05999994, 0.0822681859, 1.05999994))
  1205. TR4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","TR4",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  1206. TR4weld=weld(m,MN,TR4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000106811523, 0.93274045, 0.000304222107, 1.00000787, -8.63452442e-05, -2.6775524e-07, 8.62879679e-05, 1, -2.05411197e-07, 2.68686563e-07, 2.3024586e-07, 1.00000775))
  1207. mesh("SpecialMesh",TR4,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.05999994, 0.0822681859, 1.05999994))
  1208. TR5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","TR5",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  1209. TR5weld=weld(m,MN,TR5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, -0.960148811, -0.000584125519, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  1210. mesh("SpecialMesh",TR5,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1.02999997, 1.02999997))
  1211. TR6=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","TR6",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  1212. TR6weld=weld(m,MN,TR6,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.52587891e-05, -0.246893644, -0.00013256073, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
  1213. mesh("SpecialMesh",TR6,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.02999997, 0.0822681859, 1.02999997))
  1214. MD21=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","MD21",Vector3.new(0.266768694, 0.54866457, 0.548664272))
  1215. MD21weld=weld(m,MN,MD21,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.548921585, 0.301375628, 0.000118255615, -0.000262488145, -9.39509191e-05, -1.00000393, -0.000154611655, 1, -9.38984886e-05, 1.00000393, 0.000154557638, -0.000262471847))
  1216. mesh("SpecialMesh",MD21,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.411340952, 0.900000036, 0.900000036))
  1217.  
  1218. --[[TG1=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","Handle",Vector3.new(0.231713057, 0.953130603, 0.953130603))
  1219. TG1weld=weld(m,char["HumanoidRootPart"],TG1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.042350769, 2.25753069, -2.74072218, -0.0144443018, -0.00148237997, 0.999894559, 0.138804898, -0.99031961, 0.000536966661, 0.990214407, 0.138798028, 0.0145102367))
  1220. mesh("SpecialMesh",TG1,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 0.5, 0.5))]]
  1221.  
  1222.  
  1223. local edit = function(name,mat,col)
  1224. name.Material = mat
  1225. name.BrickColor = BrickColor.new(col)
  1226. end
  1227.  
  1228. local dark = function()
  1229. edit(TR1,"Neon","Institutional white")
  1230. edit(TR2,"Neon","Institutional white")
  1231. edit(TR3,"Neon","Institutional white")
  1232. edit(TR4,"Neon","Institutional white")
  1233. edit(TR5,"Neon","Institutional white")
  1234. edit(TR6,"Neon","Institutional white")
  1235. edit(TR7,"Neon","Institutional white")
  1236. edit(MN,"Neon","Institutional white")
  1237. --
  1238.  
  1239.  
  1240. end
  1241. local light = function()
  1242. edit(TR1,"Neon","Black")
  1243. edit(TR2,"Neon","Black")
  1244. edit(TR3,"Neon","Black")
  1245. edit(TR4,"Neon","Black")
  1246. edit(TR5,"Neon","Black")
  1247. edit(TR6,"Neon","Black")
  1248. edit(TR7,"Neon","Black")
  1249. edit(MN,"Neon","Black")
  1250. --
  1251.  
  1252. end
  1253.  
  1254.  
  1255. dark()
  1256.  
  1257. wait(.1)
  1258. --sword
  1259. player = game:GetService("Players").LocalPlayer
  1260. char = player.Character
  1261. mouse = player:GetMouse()
  1262. idleq = false
  1263. local skl = false
  1264. parts = {}
  1265. poses = {}
  1266. local obj3
  1267. local TARG10
  1268. local TARG11
  1269. stun = Instance.new("BoolValue",char)
  1270. stun.Name = "Stunned"
  1271. stun.Value = false
  1272. atk = Instance.new("NumberValue",char)
  1273. atk.Name = "Attack"
  1274. atk.Value = 1.2
  1275. def = Instance.new("NumberValue",char)
  1276. def.Name = "Defense"
  1277. def.Value = .9
  1278. spd = Instance.new("NumberValue",char)
  1279. spd.Name = "Speed"
  1280. spd.Value = 1.1
  1281. deft = Instance.new("NumberValue",char)
  1282. deft.Name = "DefenseTime"
  1283. deft.Value = 0
  1284. atkt = Instance.new("NumberValue",char)
  1285. atkt.Name = "AttackTime"
  1286. atkt.Value = 0
  1287. spdt = Instance.new("NumberValue",char)
  1288. spdt.Name = "SpeedTime"
  1289. spdt.Value = 0
  1290.  
  1291.  
  1292.  
  1293. -------------------------------SWORD BUILD
  1294. local hbox = Instance.new("Part",game.Workspace)
  1295. hbox.Size = Vector3.new(3,1,3)
  1296. hbox.CanCollide = false
  1297. hbox.CFrame = char.Torso.CFrame
  1298. hbox.Anchored = false
  1299. local hs = Instance.new("Weld",char)
  1300. hs.Part0 = char.Torso
  1301. hs.Part1 = hbox
  1302.  
  1303. local m = Instance.new("Model")
  1304. m.Name = "Manskit"
  1305. p1 = Instance.new("Part", m)
  1306. p1.BrickColor = BrickColor.new("Black")
  1307. p1.Material = Enum.Material.SmoothPlastic
  1308. p1.Name = "P18"
  1309. p1.CFrame = CFrame.new(-19.0608082, 6.06438351, -58.4301262, -0.0441558249, 0.998661101, 0.0269521326, -0.0369726643, -0.0285935216, 0.99890703, 0.99834013, 0.0431110859, 0.0381857231)
  1310. p1.CanCollide = false
  1311. p1.FormFactor = Enum.FormFactor.Symmetric
  1312. p1.Size = Vector3.new(1, 1, 1)
  1313. p1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1314. p1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1315. p1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1316. p1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1317. p1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1318. p1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1319. b1 = Instance.new("SpecialMesh", p1)
  1320. b1.MeshId = "http://www.roblox.com/asset/?id=1778999"
  1321. b1.TextureId = ""
  1322. b1.MeshType = Enum.MeshType.FileMesh
  1323. b1.Name = "Mesh"
  1324. b1.Scale = Vector3.new(0.150000006, 0.200000003, 0.150000006)
  1325. p2 = Instance.new("Part", m)
  1326. p2.BrickColor = BrickColor.new("Fossil")
  1327. p2.Material = Enum.Material.SmoothPlastic
  1328. p2.Name = "P1"
  1329. p2.CFrame = CFrame.new(-19.1150055, 6.06594896, -58.4324646, -0.0441558249, 0.998661101, 0.0269521326, -0.0369726643, -0.0285935216, 0.99890703, 0.99834013, 0.0431110859, 0.0381857231)
  1330. p2.CanCollide = false
  1331. p2.FormFactor = Enum.FormFactor.Symmetric
  1332. p2.Size = Vector3.new(1, 1, 1)
  1333. p2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1334. p2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1335. p2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1336. p2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1337. p2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1338. p2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1339. b2 = Instance.new("SpecialMesh", p2)
  1340. b2.MeshId = "http://www.roblox.com/asset/?id=1778999"
  1341. b2.TextureId = ""
  1342. b2.MeshType = Enum.MeshType.FileMesh
  1343. b2.Name = "Mesh"
  1344. b2.Scale = Vector3.new(0.180000007, 0.300000012, 0.180000007)
  1345. p3 = Instance.new("Part", m)
  1346. p3.BrickColor = BrickColor.new("Institutional White")
  1347. p3.Material = Enum.Material.SmoothPlastic
  1348. p3.Name = "P10"
  1349. p3.CFrame = CFrame.new(-20.9184875, 6.11529112, -58.5095253, 0.0434036367, -0.998727262, 0.0256902371, 0.0369505733, 0.0273016505, 0.998944044, -0.998373985, -0.0424085408, 0.0380885266)
  1350. p3.CanCollide = false
  1351. p3.FormFactor = Enum.FormFactor.Symmetric
  1352. p3.Elasticity = 0
  1353. p3.Size = Vector3.new(1, 1, 1)
  1354. p3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1355. p3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1356. p3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1357. p3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1358. p3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1359. p3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1360. b3 = Instance.new("SpecialMesh", p3)
  1361. b3.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1362. b3.TextureId = ""
  1363. b3.MeshType = Enum.MeshType.FileMesh
  1364. b3.Name = "Mesh"
  1365. b3.Scale = Vector3.new(0.100000001, 0.100000001, 1)
  1366. p4 = Instance.new("Part", m)
  1367. p4.BrickColor = BrickColor.new("Black")
  1368. p4.Material = Enum.Material.SmoothPlastic
  1369. p4.Name = "P11"
  1370. p4.CFrame = CFrame.new(-20.9184875, 6.11529112, -58.5095253, 0.0434036367, -0.998727262, 0.0256902371, 0.0369505733, 0.0273016505, 0.998944044, -0.998373985, -0.0424085408, 0.0380885266)
  1371. p4.CanCollide = false
  1372. p4.FormFactor = Enum.FormFactor.Symmetric
  1373. p4.Elasticity = 0
  1374. p4.Size = Vector3.new(1, 1, 1)
  1375. p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1376. p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1377. p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1378. p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1379. p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1380. p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1381. b4 = Instance.new("SpecialMesh", p4)
  1382. b4.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1383. b4.TextureId = ""
  1384. b4.MeshType = Enum.MeshType.FileMesh
  1385. b4.Name = "Mesh"
  1386. b4.Scale = Vector3.new(0.200000003, 0.200000003, 0.800000012)
  1387. p5 = Instance.new("Part", m)
  1388. p5.BrickColor = BrickColor.new("Black")
  1389. p5.Material = Enum.Material.SmoothPlastic
  1390. p5.Name = "P12"
  1391. p5.CFrame = CFrame.new(-20.9184875, 6.11525202, -58.5095634, -0.0259258598, -0.998731315, 0.0431692414, -0.998917758, 0.0275505185, 0.0374749303, -0.0386167206, -0.0421509482, -0.998364568)
  1392. p5.CanCollide = false
  1393. p5.FormFactor = Enum.FormFactor.Symmetric
  1394. p5.Elasticity = 0
  1395. p5.Size = Vector3.new(1, 1, 1)
  1396. p5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1397. p5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1398. p5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1399. p5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1400. p5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1401. p5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1402. b5 = Instance.new("SpecialMesh", p5)
  1403. b5.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1404. b5.TextureId = ""
  1405. b5.MeshType = Enum.MeshType.FileMesh
  1406. b5.Name = "Mesh"
  1407. b5.Scale = Vector3.new(0.200000003, 0.200000003, 0.800000012)
  1408. p6 = Instance.new("Part", m)
  1409. p6.BrickColor = BrickColor.new("Fossil")
  1410. p6.Material = Enum.Material.SmoothPlastic
  1411. p6.Name = "P2"
  1412. p6.CFrame = CFrame.new(-20.7343903, 6.11021328, -58.5007553, 0.0434036367, -0.998727262, 0.0256902371, 0.0369505733, 0.0273016505, 0.998944044, -0.998373985, -0.0424085408, 0.0380885266)
  1413. p6.CanCollide = false
  1414. p6.FormFactor = Enum.FormFactor.Symmetric
  1415. p6.Size = Vector3.new(1, 1, 1)
  1416. p6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1417. p6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1418. p6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1419. p6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1420. p6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1421. p6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1422. b6 = Instance.new("SpecialMesh", p6)
  1423. b6.MeshId = "http://www.roblox.com/asset/?id=1778999"
  1424. b6.TextureId = ""
  1425. b6.MeshType = Enum.MeshType.FileMesh
  1426. b6.Name = "Mesh"
  1427. b6.Scale = Vector3.new(0.180000007, 0.300000012, 0.180000007)
  1428. p7 = Instance.new("Part", m)
  1429. p7.BrickColor = BrickColor.new("Medium stone grey")
  1430. p7.Material = Enum.Material.SmoothPlastic
  1431. p7.Name = "P4"
  1432. p7.CFrame = CFrame.new(-23.7096386, 6.19430733, -58.6327591, 0.027054267, -0.998674333, -0.0437894873, 0.998916209, 0.0286685694, -0.0366667844, 0.0378735624, -0.0427500382, 0.998367667)
  1433. p7.CanCollide = false
  1434. p7.FormFactor = Enum.FormFactor.Symmetric
  1435. p7.Size = Vector3.new(0.200000003, 5.56999969, 0.200000003)
  1436. p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1437. p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1438. p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1439. p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1440. p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1441. p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1442. b7 = Instance.new("BlockMesh", p7)
  1443. b7.Name = "Mesh"
  1444. b7.Scale = Vector3.new(0.800000012, 1, 0.800000012)
  1445. p8 = Instance.new("Part", m)
  1446. p8.BrickColor = BrickColor.new("Institutional White")
  1447. p8.Transparency = 0.5
  1448. p8.Name = "Ray"
  1449. p8.CFrame = CFrame.new(-24.5139446, 6.36882734, -58.6568184, 0.0444062017, 0.0252407547, 0.998694599, 0.0364838243, 0.998972893, -0.0268700141, -0.998347104, 0.0376293883, 0.0434397161)
  1450. p8.CanCollide = false
  1451. p8.FormFactor = Enum.FormFactor.Symmetric
  1452. p8.Size = Vector3.new(0.200000003, 0.230000019, 4.42000008)
  1453. p8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1454. p8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1455. p8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1456. p8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1457. p8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1458. p8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1459. b8 = Instance.new("SpecialMesh", p8)
  1460. b8.MeshType = Enum.MeshType.Wedge
  1461. b8.Name = "Mesh"
  1462. b8.Scale = Vector3.new(0.200000003, 1, 1)
  1463. p9 = Instance.new("Part", m)
  1464. p9.BrickColor = BrickColor.new("Institutional White")
  1465. p9.Transparency = 0.5
  1466. p9.Name = "P15"
  1467. p9.CFrame = CFrame.new(-21.6231384, 6.30459452, -58.5343704, -0.0439244956, 0.0265293717, -0.998682559, -0.0371506512, 0.998912513, 0.0281694625, 0.998343766, 0.0383390337, -0.0428911597)
  1468. p9.CanCollide = false
  1469. p9.FormFactor = Enum.FormFactor.Symmetric
  1470. p9.Size = Vector3.new(0.200000003, 0.200000003, 1.39999998)
  1471. p9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1472. p9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1473. p9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1474. p9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1475. p9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1476. p9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1477. b9 = Instance.new("SpecialMesh", p9)
  1478. b9.MeshType = Enum.MeshType.Wedge
  1479. b9.Name = "Mesh"
  1480. b9.Scale = Vector3.new(0.200000003, 1, 1)
  1481. p10 = Instance.new("Part", m)
  1482. p10.BrickColor = BrickColor.new("Institutional White")
  1483. p10.Material = Enum.Material.SmoothPlastic
  1484. p10.Name = "P9"
  1485. p10.CFrame = CFrame.new(-20.9184875, 6.11525869, -58.5095634, 0.027054267, -0.998674452, -0.0437894836, 0.998916149, 0.0286685713, -0.0366667882, 0.037873555, -0.0427500494, 0.998367608)
  1486. p10.CanCollide = false
  1487. p10.FormFactor = Enum.FormFactor.Symmetric
  1488. p10.Elasticity = 0
  1489. p10.Size = Vector3.new(1, 1, 1)
  1490. p10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1491. p10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1492. p10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1493. p10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1494. p10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1495. p10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1496. b10 = Instance.new("SpecialMesh", p10)
  1497. b10.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1498. b10.TextureId = ""
  1499. b10.MeshType = Enum.MeshType.FileMesh
  1500. b10.Name = "Mesh"
  1501. b10.Scale = Vector3.new(0.100000001, 0.100000001, 1)
  1502. p11 = Instance.new("Part", m)
  1503. p11.BrickColor = BrickColor.new("Black")
  1504. p11.Material = Enum.Material.SmoothPlastic
  1505. p11.Name = "P8"
  1506. p11.CFrame = CFrame.new(-21.6173401, 6.1368413, -58.5444908, 0.027054267, -0.998674452, -0.0437894836, 0.998916149, 0.0286685713, -0.0366667882, 0.037873555, -0.0427500494, 0.998367608)
  1507. p11.CanCollide = false
  1508. p11.FormFactor = Enum.FormFactor.Symmetric
  1509. p11.Size = Vector3.new(0.200000003, 1.33999968, 0.200000003)
  1510. p11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1511. p11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1512. p11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1513. p11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1514. p11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1515. p11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1516. b11 = Instance.new("BlockMesh", p11)
  1517. b11.Name = "Mesh"
  1518. b11.Scale = Vector3.new(0.819999993, 1, 0.819999993)
  1519. p12 = Instance.new("Part", m)
  1520. p12.BrickColor = BrickColor.new("Institutional White")
  1521. p12.Material = Enum.Material.SmoothPlastic
  1522. p12.Name = "P7"
  1523. p12.CFrame = CFrame.new(-22.2863464, 6.1551919, -58.5725784, 0.027054267, -0.998674452, -0.0437894836, 0.998916149, 0.0286685713, -0.0366667882, 0.037873555, -0.0427500494, 0.998367608)
  1524. p12.CanCollide = false
  1525. p12.FormFactor = Enum.FormFactor.Symmetric
  1526. p12.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1527. p12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1528. p12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1529. p12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1530. p12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1531. p12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1532. p12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1533. b12 = Instance.new("BlockMesh", p12)
  1534. b12.Name = "Mesh"
  1535. b12.Scale = Vector3.new(0.899999976, 0.5, 0.899999976)
  1536. p13 = Instance.new("Part", m)
  1537. p13.BrickColor = BrickColor.new("Black")
  1538. p13.Material = Enum.Material.SmoothPlastic
  1539. p13.Name = "P14"
  1540. p13.CFrame = CFrame.new(-18.950943, 6.06136179, -58.426609, 0.027054267, -0.998674452, -0.0437894836, 0.998916149, 0.0286685713, -0.0366667882, 0.037873555, -0.0427500494, 0.998367608)
  1541. p13.CanCollide = false
  1542. p13.FormFactor = Enum.FormFactor.Symmetric
  1543. p13.Elasticity = 0
  1544. p13.Size = Vector3.new(1, 1, 1)
  1545. p13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1546. p13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1547. p13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1548. p13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1549. p13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1550. p13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1551. b13 = Instance.new("SpecialMesh", p13)
  1552. b13.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1553. b13.TextureId = ""
  1554. b13.MeshType = Enum.MeshType.FileMesh
  1555. b13.Name = "Mesh"
  1556. b13.Scale = Vector3.new(0.200000003, 0.5, 0.200000003)
  1557. p14 = Instance.new("Part", m)
  1558. p14.BrickColor = BrickColor.new("Black")
  1559. p14.Material = Enum.Material.SmoothPlastic
  1560. p14.Name = "P3"
  1561. p14.CFrame = CFrame.new(-20.9184875, 6.11529779, -58.5095253, 0.027054267, -0.998674452, -0.0437894836, 0.998916149, 0.0286685713, -0.0366667882, 0.037873555, -0.0427500494, 0.998367608)
  1562. p14.CanCollide = false
  1563. p14.FormFactor = Enum.FormFactor.Symmetric
  1564. p14.Elasticity = 0
  1565. p14.Size = Vector3.new(1, 1, 1)
  1566. p14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1567. p14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1568. p14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1569. p14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1570. p14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1571. p14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1572. b14 = Instance.new("SpecialMesh", p14)
  1573. b14.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1574. b14.TextureId = ""
  1575. b14.MeshType = Enum.MeshType.FileMesh
  1576. b14.Name = "Mesh"
  1577. b14.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
  1578. p15 = Instance.new("Part", m)
  1579. p15.BrickColor = BrickColor.new("Medium stone grey")
  1580. p15.Material = Enum.Material.SmoothPlastic
  1581. p15.Name = "P13"
  1582. p15.CFrame = CFrame.new(-26.4914284, 6.26805973, -58.7446289, 0.0126622282, 0.0483997129, 0.998743474, -0.680453718, 0.732297003, -0.026863426, -0.732675731, -0.679261506, 0.0422076061)
  1583. p15.CanCollide = false
  1584. p15.FormFactor = Enum.FormFactor.Symmetric
  1585. p15.Elasticity = 0
  1586. p15.Size = Vector3.new(1, 1, 1)
  1587. p15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1588. p15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1589. p15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1590. p15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1591. p15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1592. p15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1593. b15 = Instance.new("SpecialMesh", p15)
  1594. b15.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1595. b15.TextureId = ""
  1596. b15.MeshType = Enum.MeshType.FileMesh
  1597. b15.Name = "Mesh"
  1598. b15.Scale = Vector3.new(0.159999996, 0.159999996, 0.800000012)
  1599. p16 = Instance.new("Part", m)
  1600. p16.BrickColor = BrickColor.new("Black")
  1601. p16.Material = Enum.Material.SmoothPlastic
  1602. p16.Name = "P19"
  1603. p16.CFrame = CFrame.new(-20.7886677, 6.11172485, -58.503067, 0.0434036367, -0.998727262, 0.0256902371, 0.0369505733, 0.0273016505, 0.998944044, -0.998373985, -0.0424085408, 0.0380885266)
  1604. p16.CanCollide = false
  1605. p16.FormFactor = Enum.FormFactor.Symmetric
  1606. p16.Size = Vector3.new(1, 1, 1)
  1607. p16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1608. p16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1609. p16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1610. p16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1611. p16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1612. p16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1613. b16 = Instance.new("SpecialMesh", p16)
  1614. b16.MeshId = "http://www.roblox.com/asset/?id=1778999"
  1615. b16.TextureId = ""
  1616. b16.MeshType = Enum.MeshType.FileMesh
  1617. b16.Name = "Mesh"
  1618. b16.Scale = Vector3.new(0.150000006, 0.200000003, 0.150000006)
  1619. p17 = Instance.new("Part", m)
  1620. p17.BrickColor = BrickColor.new("Fossil")
  1621. p17.Material = Enum.Material.SmoothPlastic
  1622. p17.Name = "Main"
  1623. p17.CFrame = CFrame.new(-19.924942, 6.0879364, -58.4625053, -0.0430675782, -0.998712659, -0.0267992485, -0.0381202362, 0.0284472853, -0.998868108, 0.9983446, -0.0419972464, -0.0392963141)
  1624. p17.Size = Vector3.new(0.470000029, 0.990000129, 0.200000003)
  1625. p17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1626. p17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1627. p17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1628. p17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1629. p17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1630. p17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1631. b17 = Instance.new("SpecialMesh", p17)
  1632. b17.MeshType = Enum.MeshType.Head
  1633. b17.Name = "Mesh"
  1634. b17.Scale = Vector3.new(1.25, 1.25, 1.25)
  1635. p18 = Instance.new("Part", m)
  1636. p18.BrickColor = BrickColor.new("Institutional White")
  1637. p18.Transparency = 0.5
  1638. p18.Name = "P16"
  1639. p18.CFrame = CFrame.new(-21.6278362, 5.96487045, -58.5472298, 0.043134477, -0.025677599, -0.998739421, 0.0372657068, -0.9989326, 0.027292043, -0.998373926, -0.038395945, -0.0421315581)
  1640. p18.CanCollide = false
  1641. p18.FormFactor = Enum.FormFactor.Symmetric
  1642. p18.Size = Vector3.new(0.200000003, 0.200000003, 1.39999998)
  1643. p18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1644. p18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1645. p18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1646. p18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1647. p18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1648. p18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1649. b18 = Instance.new("SpecialMesh", p18)
  1650. b18.MeshType = Enum.MeshType.Wedge
  1651. b18.Name = "Mesh"
  1652. b18.Scale = Vector3.new(0.200000003, 1, 1)
  1653. p19 = Instance.new("Part", m)
  1654. p19.BrickColor = BrickColor.new("Institutional White")
  1655. p19.Material = Enum.Material.SmoothPlastic
  1656. p19.Name = "P5"
  1657. p19.CFrame = CFrame.new(-22.625948, 6.16448641, -58.5868835, 0.027054267, -0.998674452, -0.0437894836, 0.998916149, 0.0286685713, -0.0366667882, 0.037873555, -0.0427500494, 0.998367608)
  1658. p19.CanCollide = false
  1659. p19.FormFactor = Enum.FormFactor.Symmetric
  1660. p19.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1661. p19.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1662. p19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1663. p19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1664. p19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1665. p19.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1666. p19.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1667. b19 = Instance.new("BlockMesh", p19)
  1668. b19.Name = "Mesh"
  1669. b19.Scale = Vector3.new(0.899999976, 0.5, 0.899999976)
  1670. p20 = Instance.new("Part", m)
  1671. p20.BrickColor = BrickColor.new("Institutional White")
  1672. p20.Transparency = 0.5
  1673. p20.Name = "P17"
  1674. p20.CFrame = CFrame.new(-24.5177937, 6.05902338, -58.6685181, -0.0433318615, -0.0252162833, 0.998742461, -0.036540892, -0.998972476, -0.026807474, 0.998392165, -0.0376565494, 0.0423659272)
  1675. p20.CanCollide = false
  1676. p20.FormFactor = Enum.FormFactor.Symmetric
  1677. p20.Size = Vector3.new(0.200000003, 0.230000019, 4.42000008)
  1678. p20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1679. p20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1680. p20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1681. p20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1682. p20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1683. p20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1684. b20 = Instance.new("SpecialMesh", p20)
  1685. b20.MeshType = Enum.MeshType.Wedge
  1686. b20.Name = "Mesh"
  1687. b20.Scale = Vector3.new(0.200000003, 1, 1)
  1688. p21 = Instance.new("Part", m)
  1689. p21.BrickColor = BrickColor.new("Institutional White")
  1690. p21.Material = Enum.Material.SmoothPlastic
  1691. p21.Name = "P6"
  1692. p21.CFrame = CFrame.new(-22.4562702, 6.15998411, -58.5800438, 0.027054267, -0.998674452, -0.0437894836, 0.998916149, 0.0286685713, -0.0366667882, 0.037873555, -0.0427500494, 0.998367608)
  1693. p21.CanCollide = false
  1694. p21.FormFactor = Enum.FormFactor.Symmetric
  1695. p21.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1696. p21.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1697. p21.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1698. p21.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1699. p21.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1700. p21.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1701. p21.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1702. b21 = Instance.new("BlockMesh", p21)
  1703. b21.Name = "Mesh"
  1704. b21.Scale = Vector3.new(0.899999976, 0.5, 0.899999976)
  1705. w1 = Instance.new("Weld", p1)
  1706. w2 = Instance.new("Weld", p6)
  1707. w3 = Instance.new("Weld", p16)
  1708. w4 = Instance.new("Weld", p17)
  1709. w4.Name = "P18"
  1710. w4.Part0 = p17
  1711. w4.C0 = CFrame.new(-0.00399398804, -0.86505127, -0.000904321671, 0.999998689, 0.00111979246, -0.00111681968, 0.00111967698, -0.999999464, -0.000104936655, -0.00111693516, 0.000103683094, -0.999999344)
  1712. w4.Part1 = p1
  1713. w4.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1714. w5 = Instance.new("Weld", p17)
  1715. w5.Name = "P1"
  1716. w5.Part0 = p17
  1717. w5.C0 = CFrame.new(-0.0040512085, -0.810781479, -0.000923871994, 0.999998689, 0.00111979246, -0.00111681968, 0.00111967698, -0.999999464, -0.000104936655, -0.00111693516, 0.000103683094, -0.999999344)
  1718. w5.Part1 = p2
  1719. w5.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1720. w6 = Instance.new("Weld", p17)
  1721. w6.Name = "P10"
  1722. w6.Part0 = p17
  1723. w6.C0 = CFrame.new(-0.00519561768, 0.995019913, 0.00115013123, -0.999999225, -0.00036631152, -0.00116091967, -0.000367663801, 0.999999285, 0.00116046739, 0.00116048753, 0.00116089161, -0.999998689)
  1724. w6.Part1 = p3
  1725. w6.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1726. w7 = Instance.new("Weld", p17)
  1727. w7.Name = "P11"
  1728. w7.Part0 = p17
  1729. w7.C0 = CFrame.new(-0.00519561768, 0.995019913, 0.00115013123, -0.999999225, -0.00036631152, -0.00116091967, -0.000367663801, 0.999999285, 0.00116046739, 0.00116048753, 0.00116089161, -0.999998689)
  1730. w7.Part1 = p4
  1731. w7.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1732. w8 = Instance.new("Weld", p17)
  1733. w8.Name = "P12"
  1734. w8.Part0 = p17
  1735. w8.C0 = CFrame.new(-0.00523376465, 0.995019913, 0.00119066238, 0.000642742962, -0.000118460506, -0.999999702, -0.000902216649, 0.999999583, -0.000119049102, 0.999999464, 0.000902292435, 0.000642634928)
  1736. w8.Part1 = p5
  1737. w8.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1738. w9 = Instance.new("Weld", p17)
  1739. w9.Name = "P2"
  1740. w9.Part0 = p17
  1741. w9.C0 = CFrame.new(-0.00417327881, 0.810646057, 0.000943899155, -0.999999225, -0.00036631152, -0.00116091967, -0.000367663801, 0.999999285, 0.00116046739, 0.00116048753, 0.00116089161, -0.999998689)
  1742. w9.Part1 = p6
  1743. w9.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1744. w10 = Instance.new("Weld", p17)
  1745. w10.Name = "P4"
  1746. w10.Part0 = p17
  1747. w10.C0 = CFrame.new(-0.0110282898, 3.79000092, 0.00186681747, -0.00143321976, -0.000761635602, 0.999998629, -0.000193569693, 0.999999762, 0.000761356205, -0.999998927, -0.000192478881, -0.00143336132)
  1748. w10.Part1 = p7
  1749. w10.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1750. w11 = Instance.new("Weld", p17)
  1751. w11.Name = "Ray"
  1752. w11.Part0 = p17
  1753. w11.C0 = CFrame.new(-0.00706100464, 4.59924698, -0.149955511, -0.999997795, -0.00160103664, 0.00138073415, -0.00138334185, 0.00162947422, -0.999997675, 0.00159878284, -0.999997377, -0.00163168588)
  1754. w11.Part1 = p8
  1755. w11.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1756. w12 = Instance.new("Weld", p17)
  1757. w12.Name = "P15"
  1758. w12.Part0 = p17
  1759. w12.C0 = CFrame.new(-0.00686645508, 1.70519066, -0.168078423, 0.999999106, -0.000945765525, -0.00088313967, 0.000883430243, 0.000310996315, 0.999999583, -0.000945489854, -0.999999523, 0.000311830663)
  1760. w12.Part1 = p9
  1761. w12.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1762. w13 = Instance.new("Weld", p17)
  1763. w13.Name = "P9"
  1764. w13.Part0 = p17
  1765. w13.C0 = CFrame.new(-0.00523376465, 0.995019913, 0.00118398666, -0.00143321976, -0.000761635602, 0.999998629, -0.000193569693, 0.999999762, 0.000761356205, -0.999998927, -0.000192478881, -0.00143336132)
  1766. w13.Part1 = p10
  1767. w13.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1768. w14 = Instance.new("Weld", p17)
  1769. w14.Name = "P8"
  1770. w14.Part0 = p17
  1771. w14.C0 = CFrame.new(-0.0108261108, 1.6950531, -0.000272989273, -0.00143321976, -0.000761635602, 0.999998629, -0.000193569693, 0.999999762, 0.000761356205, -0.999998927, -0.000192478881, -0.00143336132)
  1772. w14.Part1 = p11
  1773. w14.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1774. w15 = Instance.new("Weld", p17)
  1775. w15.Name = "P7"
  1776. w15.Part0 = p17
  1777. w15.C0 = CFrame.new(-0.0107536316, 2.36490059, 0.000429868698, -0.00143321976, -0.000761635602, 0.999998629, -0.000193569693, 0.999999762, 0.000761356205, -0.999998927, -0.000192478881, -0.00143336132)
  1778. w15.Part1 = p12
  1779. w15.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1780. w16 = Instance.new("Weld", p17)
  1781. w16.Name = "P14"
  1782. w16.Part0 = p17
  1783. w16.C0 = CFrame.new(-0.00509643555, -0.975008011, -0.000968694687, -0.00143321976, -0.000761635602, 0.999998629, -0.000193569693, 0.999999762, 0.000761356205, -0.999998927, -0.000192478881, -0.00143336132)
  1784. w16.Part1 = p13
  1785. w16.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1786. w17 = Instance.new("Weld", p17)
  1787. w17.Name = "P3"
  1788. w17.Part0 = p17
  1789. w17.C0 = CFrame.new(-0.00519561768, 0.995019913, 0.00114345551, -0.00143321976, -0.000761635602, 0.999998629, -0.000193569693, 0.999999762, 0.000761356205, -0.999998927, -0.000192478881, -0.00143336132)
  1790. w17.Part1 = p14
  1791. w17.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1792. w18 = Instance.new("Weld", p17)
  1793. w18.Name = "P13"
  1794. w18.Part0 = p17
  1795. w18.C0 = CFrame.new(-0.0057220459, 6.57500458, 0.0071439743, -0.706069231, -0.708136916, 0.000148307532, -0.00123262778, 0.00102156401, -0.999994576, 0.708135664, -0.706072748, -0.00159115868)
  1796. w18.Part1 = p15
  1797. w18.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1798. w19 = Instance.new("Weld", p17)
  1799. w19.Name = "P19"
  1800. w19.Part0 = p17
  1801. w19.C0 = CFrame.new(-0.00420379639, 0.864994049, 0.000979423523, -0.999999225, -0.00036631152, -0.00116091967, -0.000367663801, 0.999999285, 0.00116046739, 0.00116048753, 0.00116089161, -0.999998689)
  1802. w19.Part1 = p16
  1803. w19.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1804. w20 = Instance.new("Weld", p17)
  1805. w20.Name = "P16"
  1806. w20.Part0 = p17
  1807. w20.C0 = CFrame.new(-0.0065536499, 1.70075989, 0.171892405, -0.999999583, 0.000853028148, -8.89003277e-05, -8.98912549e-05, -0.00115985179, 0.999999464, 0.00085292384, 0.999998987, 0.00115992757)
  1808. w20.Part1 = p18
  1809. w20.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1810. w21 = Instance.new("Weld", p17)
  1811. w21.Name = "P5"
  1812. w21.Part0 = p17
  1813. w21.C0 = CFrame.new(-0.0107650757, 2.70492935, 0.000809192657, -0.00143321976, -0.000761635602, 0.999998629, -0.000193569693, 0.999999762, 0.000761356205, -0.999998927, -0.000192478881, -0.00143336132)
  1814. w21.Part1 = p19
  1815. w21.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1816. w22 = Instance.new("Weld", p17)
  1817. w22.Name = "P17"
  1818. w22.Part0 = p17
  1819. w22.C0 = CFrame.new(-0.00676727295, 4.59476852, 0.160060644, 0.999998629, 0.00157285109, 0.000304274261, 0.000306874514, -0.00165276031, -0.999998629, -0.00157234445, 0.999997377, -0.00165324274)
  1820. w22.Part1 = p20
  1821. w22.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1822. w23 = Instance.new("Weld", p17)
  1823. w23.Name = "P6"
  1824. w23.Part0 = p17
  1825. w23.C0 = CFrame.new(-0.0110740662, 2.53505516, 0.000490188599, -0.00143321976, -0.000761635602, 0.999998629, -0.000193569693, 0.999999762, 0.000761356205, -0.999998927, -0.000192478881, -0.00143336132)
  1826. w23.Part1 = p21
  1827. w23.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1828. m.Parent = char
  1829. m:MakeJoints()
  1830.  
  1831.  
  1832. --------------------------------------------
  1833. bl = Instance.new("BoolValue",char)
  1834. bl.Name = "Blocking"
  1835. bl.Value = false
  1836.  
  1837. bll = Instance.new("BoolValue",char)
  1838. bll.Name = "BlockingLabel"
  1839. bll.Value = false
  1840.  
  1841. blt = Instance.new("NumberValue",char)
  1842. blt.Name = "BlockingLeft"
  1843. blt.Value = 50
  1844.  
  1845.  
  1846. pb = Instance.new("BoolValue",char)
  1847. pb.Name = "PauseBlock"
  1848. pb.Value = false
  1849. blm = 100
  1850.  
  1851. gd = Instance.new("BoolValue",char)
  1852. gd.Name = "Ground"
  1853.  
  1854. local TARG7
  1855. local obj
  1856. local TARG8
  1857. local obj2
  1858. for i,v in pairs (char:GetChildren())do
  1859. if v.ClassName == "Weld" then
  1860. v:destroy()
  1861. end
  1862. end
  1863. ----OPEN
  1864. local tr = char:WaitForChild("Torso")
  1865. local lr = char:WaitForChild("Left Arm")
  1866. local ra = char:WaitForChild("Right Arm")
  1867.  
  1868. local s1 = Instance.new("Sound",char.Head)
  1869. s1.Volume = 1
  1870. s1.SoundId = "rbxassetid://154965962"
  1871. s1.Pitch = 1.0
  1872. local s2 = Instance.new("Sound",char.Head)
  1873. s2.Volume = 1
  1874. s2.SoundId = "rbxassetid://344936315"
  1875. local s3 = Instance.new("Sound",char.Head)
  1876. s3.Volume = 1
  1877. s3.SoundId = "rbxassetid://344936310"
  1878. local s4 = Instance.new("Sound",char.Head)
  1879. s4.Volume = 1
  1880. s4.SoundId = "rbxassetid://320557518"
  1881. local s5 = Instance.new("Sound",char.Head)
  1882. s5.Volume = 1
  1883. s5.SoundId = "rbxassetid://320557537"
  1884. --WELDS --
  1885. local w3 = Instance.new("Weld",char)
  1886. run = game:GetService("RunService")
  1887. w3.Part0 = lr
  1888. w3.Part1 = tr
  1889. w3.C0 = CFrame.new(1.5,0,0)
  1890.  
  1891. local w4= Instance.new("Weld",char)
  1892. w4.Part0 = ra
  1893. w4.Part1 = tr
  1894. w4.C0 = CFrame.new(-1.5,0,0)
  1895.  
  1896. local nc = Instance.new("Weld",char)
  1897. nc.Part0 = char.Torso
  1898. nc.Part1 = char.Head
  1899. nc.C0 = CFrame.new(0,1.5,0)
  1900.  
  1901. local ll = Instance.new("Weld",char)
  1902. ll.Part0 = char.Torso
  1903. ll.Part1 = char["Left Leg"]
  1904. ll.C0 = CFrame.new(-.5,-2,0)
  1905.  
  1906. local rl = Instance.new("Weld",char)
  1907. rl.Part0 = char.Torso
  1908. rl.Part1 = char["Right Leg"]
  1909. rl.C0 = CFrame.new(.5,-2,0)
  1910.  
  1911. local ts = Instance.new("Weld",char)
  1912. ts.Part0 = char.HumanoidRootPart
  1913. ts.Part1 = char.Torso
  1914. ts.C0 = CFrame.new(0,0,0)* CFrame.Angles(0,0,0)
  1915. --MAKE AND UNDO WELDS
  1916.  
  1917. turnonwelds = function()
  1918. w3.Part1 = tr
  1919. w4.Part1 = tr
  1920. nc.Part1 = char.Head
  1921. ll.Part1 = char["Left Leg"]
  1922. rl.Part1 = char["Right Leg"]
  1923. end
  1924. turnoffwelds = function()
  1925. w3.Part1 = nil
  1926. w4.Part1 = nil
  1927. nc.Part1 = nil
  1928. ll.Part1 = nil
  1929. rl.Part1 = nil
  1930. end
  1931.  
  1932. turnoffwelds()
  1933. ----LERP POSES
  1934. ------- CFRAMES FOR LERP
  1935.  
  1936. local walk = {
  1937. --Left
  1938. ll.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(40),math.rad(20),math.rad(-10)), -- LEFT LEG
  1939. rl.C0 * CFrame.new(0,0,.5) * CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)), -- RIGHT LEG
  1940. --Right
  1941. ll.C0 * CFrame.new(0,0,.5) * CFrame.Angles(math.rad(-40),math.rad(20),math.rad(-10)), -- LEFT LEG
  1942. rl.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(45),math.rad(0),math.rad(0)), -- RIGHT LEG
  1943. -----------------------------------------------------------------------------------------------
  1944. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-20),math.rad(-35),0) , -- Torso Tilt
  1945. nc.C0 * CFrame.Angles(math.rad(10),math.rad(35),0), -- HEAD TILT UP
  1946. w4.C0 * CFrame.new(.7,1,-.3) * CFrame.Angles(math.rad(40),math.rad(0),math.rad(-30)), -- ARM MOVEMENT
  1947. w3.C0 * CFrame.new(-.5,.3,.65) * CFrame.Angles(math.rad(-120),math.rad(90),math.rad(0)) -- ARM MOVEMENT CFrame.new(-.5,0,1) * CFrame.Angles(math.rad(-120),math.rad(90),math.rad(0)) -- ARM MOVEMENT
  1948.  
  1949. }
  1950. local equip = {
  1951. nc.C0 * CFrame.Angles(math.rad(-10),math.rad(0),0), -- HEAD BOB EQUIP
  1952. w3.C0 * CFrame.new(-1.1,-.1,-1.2) * CFrame.Angles(math.rad(-160),0,math.rad(90)), -- LEFT ARM FOLD
  1953. w4.C0 * CFrame.new(1.1,-.2,-1.2) * CFrame.Angles(math.rad(-160),0,math.rad(-90)) -- RIGHT ARM FOLD
  1954. }
  1955. local idle = {
  1956. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(-30),0), -- TORSO TILT
  1957. nc.C0 * CFrame.Angles(0,math.rad(30),0), -- HEAD BOB EQUIP
  1958. ll.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-5),math.rad(30),math.rad(-10)), -- LEFT LEG idle
  1959. rl.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(5),math.rad(-30),math.rad(10)), -- RIGHT LEG Idle
  1960. w3.C0 * CFrame.new(0,.3,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), -- LEFT ARM Idle
  1961. w4.C0 * CFrame.new(0,.5,0) * CFrame.Angles(math.rad(0),math.rad(10),math.rad(-30)), -- RIGHT ARM Idle w4.C0 * CFrame.new(0,.5,-.2) * CFrame.Angles(math.rad(-100),math.rad(-30),math.rad(-30))
  1962. CFrame.new(0,-1,0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(-120))
  1963. }
  1964. local PA1 = {
  1965. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(15),math.rad(0)), -- TORSO TILT
  1966. ll.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), -- LEFT LEG PUNCH1
  1967. rl.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)), -- RIGHT LEG PUNCH
  1968. nc.C0 * CFrame.Angles(math.rad(-5),math.rad(-15),0), -- HEAD BOB PUNCH
  1969. w3.C0 * CFrame.new(0,1,0) * CFrame.Angles(math.rad(30),0,math.rad(40)), -- LEFT ARM Idle
  1970. w4.C0 * CFrame.new(3,.4,.4) * CFrame.Angles(math.rad(-30),math.rad(30),math.rad(130)), -- RIGHT ARM
  1971. }
  1972. local PA12 = {
  1973. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(-15),math.rad(0)), -- TORSO TILT
  1974. ll.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), -- LEFT LEG PUNCH1
  1975. rl.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(12)), -- RIGHT LEG PUNCH
  1976. nc.C0 * CFrame.Angles(math.rad(-10),math.rad(15),0), -- HEAD BOB PUNCH
  1977. w3.C0 * CFrame.new(-1,2,-.5) * CFrame.Angles(math.rad(0),math.rad(40),math.rad(90)), -- LEFT ARM Idle
  1978. w4.C0 * CFrame.new(1,1.3,.8) * CFrame.Angles(math.rad(30),math.rad(40),math.rad(-80)), -- RIGHT ARM
  1979. }
  1980. local PA2 = {
  1981. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0), -- TORSO TILT
  1982. ll.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(10),math.rad(-5)), -- LEFT LEG idle
  1983. rl.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(-10),math.rad(5)), -- RIGHT LEG Idle
  1984. nc.C0 * CFrame.Angles(math.rad(0),math.rad(-90),0), -- HEAD BOB PUNCH
  1985. w4.C0 * CFrame.new(1,2,0) * CFrame.Angles(math.rad(0),0,math.rad(-90)), -- LEFT ARM Idle
  1986. w3.C0 * CFrame.new(0,1,0) * CFrame.Angles(math.rad(0),0,math.rad(40)), -- RIGHT ARM Idle
  1987.  
  1988. }
  1989. local PA3 = {
  1990. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(0),0), -- TORSO TILT
  1991. nc.C0 * CFrame.Angles(math.rad(5),math.rad(-5),0), -- HEAD BOB PUNCH
  1992. w4.C0 * CFrame.new(.4,1.5,.4) * CFrame.Angles(math.rad(40),math.rad(20),math.rad(-80)), -- LEFT ARM PUNCH 3
  1993. w3.C0 * CFrame.new(-1,0,1) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(-90)), -- RIGHT ARM PUNCH 3
  1994. ll.C0 * CFrame.new(0,0,.5) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), -- LEFT LEG
  1995. rl.C0 * CFrame.new(0,1,-1) * CFrame.Angles(math.rad(120),0,math.rad(0)), -- RIGHT LEG Idle
  1996. }
  1997.  
  1998. local jump = {
  1999. nc.C0 * CFrame.Angles(math.rad(20),0,0), -- HEAD BOB EQUIP
  2000. w4.C0 * CFrame.new(0,.5,0) * CFrame.Angles(0,0,math.rad(-30)), -- LEFT ARM Idle
  2001. w3.C0 * CFrame.new(0,.5,0) * CFrame.Angles(0,0,math.rad(30)), -- RIGHT ARM Idle
  2002. ll.C0 * CFrame.new(-.3,0,0) * CFrame.Angles(0,0,math.rad(-20)), -- LEFT LEG idle
  2003. rl.C0 * CFrame.new(.3,0,0) * CFrame.Angles(0,0,math.rad(20)), -- RIGHT LEG Idle
  2004. }
  2005. local stunned = {
  2006. nc.C0 * CFrame.Angles(0,math.rad(90),0), -- HEAD BOB EQUIP
  2007. w4.C0 * CFrame.new(0,1,0) * CFrame.Angles(0,0,math.rad(-50)), -- LEFT ARM Idle
  2008. w3.C0 * CFrame.new(0,1,0) * CFrame.Angles(0,0,math.rad(50)), -- RIGHT ARM Idle
  2009. ll.C0 * CFrame.new(-.3,0,0) * CFrame.Angles(0,0,math.rad(-20)), -- LEFT LEG idle
  2010. rl.C0 * CFrame.new(.3,0,0) * CFrame.Angles(0,0,math.rad(20)), -- RIGHT LEG Idle
  2011. ts.C0 * CFrame.new(0,-2.5,0) * CFrame.Angles(math.rad(90),0,0), -- TORSO TILT
  2012. }
  2013. local PA1C = {
  2014. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-30),math.rad(-40),math.rad(-30)), -- TORSO TILT
  2015. ll.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(20),math.rad(30),math.rad(-10)), -- LEFT LEG PUNCH1
  2016. rl.C0 * CFrame.new(0,-.05,-.5) * CFrame.Angles(math.rad(20),math.rad(-30),math.rad(10)), -- RIGHT LEG PUNCH
  2017. nc.C0 * CFrame.Angles(math.rad(-7),math.rad(-20),0), -- HEAD BOB PUNCH
  2018. w3.C0 * CFrame.new(0,.5,-.2) * CFrame.Angles(math.rad(-100),math.rad(40),math.rad(30)), -- RIGHT ARM
  2019. w4.C0 * CFrame.new(0,.6,0) * CFrame.Angles(math.rad(30),0,math.rad(-20)), -- LEFT ARM Idle
  2020. }
  2021. local Stomp = {
  2022. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(0),0), -- TORSO TILT ~ NONE REQUIRED
  2023. nc.C0 * CFrame.Angles(math.rad(-13),math.rad(-20),0), -- HEAD BOB EQUIP
  2024. ll.C0 * CFrame.new(-.05,0,0) * CFrame.new(math.rad(0),math.rad(0),math.rad(00)), -- LEFT LEG
  2025. rl.C0 * CFrame.new(0,.6,-.6) * CFrame.Angles(math.rad(-0),0,math.rad(0)), -- RIGHT LEG Idle
  2026. w3.C0 * CFrame.new(0,.7,0) * CFrame.Angles(math.rad(-30),0,math.rad(30)), -- LEFT ARM Idle
  2027. w4.C0 * CFrame.new(0,.7,0) * CFrame.Angles(math.rad(-30),0,math.rad(-30)), -- RIGHT ARM Idle
  2028. }
  2029. local Stomp2 = {
  2030. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(0),0), -- TORSO TILT ~ NONE REQUIRED
  2031. nc.C0 * CFrame.Angles(math.rad(-25),math.rad(-20),0), -- HEAD BOB EQUIP
  2032. ll.C0 * CFrame.new(-.05,0,0) * CFrame.new(math.rad(0),math.rad(0),math.rad(00)), -- LEFT LEG
  2033. rl.C0 * CFrame.new(0,0,-.6) * CFrame.Angles(math.rad(-0),0,math.rad(0)), -- RIGHT LEG Idle
  2034. w3.C0 * CFrame.new(0,.7,0) * CFrame.Angles(math.rad(-30),0,math.rad(35)), -- LEFT ARM Idle
  2035. w4.C0 * CFrame.new(0,.7,0) * CFrame.Angles(math.rad(-30),0,math.rad(-35)), -- RIGHT ARM Idle
  2036. }
  2037. local dropkick = {
  2038. ts.C0 * CFrame.new(0,.8,0) * CFrame.Angles(math.rad(90),math.rad(45),0), -- TORSO TILT ~ NONE REQUIRED
  2039. nc.C0 * CFrame.new(0,0,-.2) * CFrame.Angles(math.rad(-30),math.rad(-20),0), -- HEAD BOB EQUIP
  2040. ll.C0 * CFrame.new(-.2,0,-.3) * CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), -- LEFT LEG
  2041. rl.C0 * CFrame.new(-.05,0,0) * CFrame.Angles(math.rad(00),math.rad(20),math.rad(0)), -- RIGHT LEG Idle
  2042. w3.C0 * CFrame.new(-2.7,1.5,0) * CFrame.Angles(math.rad(0),0,math.rad(170)), -- LEFT ARM Idle
  2043. w4.C0 * CFrame.new(2.7,1.5,0) * CFrame.Angles(math.rad(0),0,math.rad(-160)), -- RIGHT ARM Idle
  2044. }
  2045. local block = {
  2046. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0), -- TORSO TILT ~ NONE REQUIRED
  2047. nc.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-9),math.rad(-0),0), -- HEAD BOB EQUIP
  2048. ll.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0), -- LEFT LEG idle
  2049. rl.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0), -- RIGHT LEG Idle
  2050. w3.C0 * CFrame.new(-.8,1.3,-.6) * CFrame.Angles(math.rad(-160),math.rad(0),math.rad(0)), -- LEFT ARM Idle
  2051. w4.C0 * CFrame.new(.8,1.3,-.6) * CFrame.Angles(math.rad(-160),math.rad(0),math.rad(0)), -- RIGHT ARM Idle
  2052. }
  2053. local sjump = {
  2054. ts.C0 * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-10),0,0), -- TORSO TILT ~ NONE REQUIRED
  2055. nc.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-15),math.rad(-0),0), -- HEAD BOB EQUIP
  2056. ll.C0 * CFrame.new(0,.4,.8) * CFrame.Angles(math.rad(-70),0,0), -- LEFT LEG idle
  2057. rl.C0 * CFrame.new(0,.8,-.5) * CFrame.Angles(math.rad(-10),0,0), -- RIGHT LEG Idle
  2058. w3.C0 * CFrame.new(0,.5,.5) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), -- LEFT ARM Idle
  2059. w4.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(40),math.rad(0),math.rad(0)), -- RIGHT ARM Idle
  2060. }
  2061. local UpSideDownPunch = {
  2062. ts.C0 * CFrame.new(0,-.5,0) * CFrame.Angles(math.rad(180),0,0), -- TORSO TILT ~ NONE REQUIRED
  2063. nc.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0), -- HEAD BOB EQUIP
  2064. ll.C0 * CFrame.new(-.4,0,0) * CFrame.Angles(0,0,math.rad(-20)), -- LEFT LEG idle
  2065. rl.C0 * CFrame.new(.4,0,0) * CFrame.Angles(0,0,math.rad(20)), -- RIGHT LEG Idle
  2066. w3.C0 * CFrame.new(0,1.7,0) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(0)), -- LEFT ARM Idle
  2067. w4.C0 * CFrame.new(0,1.7,0) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(0)), -- RIGHT ARM Idle
  2068. }
  2069. local BackBreaker = {
  2070. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),0), -- TORSO TILT
  2071. nc.C0 * CFrame.Angles(math.rad(-15),math.rad(-5),0), -- HEAD BOB PUNCH
  2072. w4.C0 * CFrame.new(0,.1,.3) * CFrame.Angles(math.rad(-90),math.rad(-00),math.rad(0)), -- LEFT ARM PUNCH 3
  2073. w3.C0 * CFrame.new(0,.5,.5) * CFrame.Angles(math.rad(-90),math.rad(20),math.rad(0)), -- LEFT ARM PUNCH 3
  2074. ll.C0 * CFrame.new(-.3,0,.3) * CFrame.Angles(math.rad(-20),math.rad(30),math.rad(-10)), -- LEFT LEG
  2075. rl.C0 * CFrame.new(-.2,1,-.5) * CFrame.Angles(math.rad(-40),0,math.rad(0)), -- RIGHT LEG Idle
  2076. }
  2077. local FrontFlipKick1 = {
  2078. ts.C0 * CFrame.new(0,2,0) * CFrame.Angles(math.rad(-8),math.rad(0),0), -- TORSO TILT
  2079. nc.C0 * CFrame.Angles(math.rad(-15),math.rad(-5),0), -- HEAD BOB PUNCH
  2080. w4.C0 * CFrame.new(0,1,-.3) * CFrame.Angles(math.rad(140),math.rad(0),math.rad(0)), -- LEFT ARM PUNCH 3
  2081. w3.C0 * CFrame.new(0,1,-.3) * CFrame.Angles(math.rad(140),math.rad(0),math.rad(0)), -- LEFT ARM PUNCH 3
  2082. ll.C0 * CFrame.new(0,1,1) * CFrame.Angles(math.rad(-110),0,math.rad(0)), -- RIGHT LEG Idle
  2083. rl.C0 * CFrame.new(0,1,-1) * CFrame.Angles(math.rad(110),0,math.rad(0)), -- RIGHT LEG Idle
  2084. }
  2085. --[[for i = 0,1,wait() do
  2086. wait()
  2087. ts.C0 = ts.C0:lerp(FrontFlipKick1[1],.4)
  2088. nc.C0 = nc.C0:lerp(FrontFlipKick1[2],.4)
  2089. ll.C0 = ll.C0:lerp(FrontFlipKick1[5],.4)
  2090. rl.C0 = rl.C0:lerp(FrontFlipKick1[6],.4)
  2091. w3.C0 = w3.C0:lerp(FrontFlipKick1[4],.4)
  2092. w4.C0 = w4.C0:lerp(FrontFlipKick1[3],.4)
  2093. end--]]
  2094.  
  2095. --[[
  2096. --END
  2097. ts.C0 = ts.C0:lerp(UpSideDownPunch[1],.4)
  2098. nc.C0 = nc.C0:lerp(UpSideDownPunch[2],.4)
  2099. ll.C0 = ll.C0:lerp(UpSideDownPunch[3],.4)
  2100. rl.C0 = rl.C0:lerp(UpSideDownPunch[4],.4)
  2101. w3.C0 = w3.C0:lerp(UpSideDownPunch[5],.4)
  2102. w4.C0 = w4.C0:lerp(UpSideDownPunch[6],.4)
  2103. --START
  2104. ts.C0 = ts.C0:lerp(sjump[1],.4)
  2105. nc.C0 = nc.C0:lerp(sjump[2],.4)
  2106. ll.C0 = ll.C0:lerp(sjump[3],.4)
  2107. rl.C0 = rl.C0:lerp(sjump[4],.4)
  2108. w3.C0 = w3.C0:lerp(sjump[5],.4)
  2109. w4.C0 = w4.C0:lerp(sjump[6],.4)
  2110. --]]
  2111. -- CFrame.new(-.05,0,0) * CFrame.new(math.rad(0),math.rad(0),math.rad(00)), -- LEFT LEG
  2112. ------------------------------------CLASS UI ------------------------------------
  2113.  
  2114.  
  2115.  
  2116. f = Instance.new("ScreenGui",player.Backpack)
  2117. f.Name = "UI"
  2118.  
  2119. f1 = Instance.new("Frame",f)
  2120. f1.BorderSizePixel = 0
  2121. f1.BackgroundColor3 = Color3.new(0,0,0)
  2122. f1.Size = UDim2.new(0.3,0,0.05,0)
  2123. f1.Position = UDim2.new(0.2,0,0.84,0)
  2124.  
  2125. f1f = Instance.new("Frame",f1)
  2126. f1f.BorderSizePixel = 0
  2127. f1f.BackgroundColor3 = Color3.new(255,255,255)
  2128. f1f.Size = UDim2.new(1,0,1,0)
  2129.  
  2130. f1l = Instance.new("TextLabel",f1)
  2131. f1l.TextScaled = true
  2132. f1l.TextStrokeTransparency = 0
  2133. f1l.BackgroundTransparency = 1
  2134. f1l.TextColor3 = Color3.new(255,255,255)
  2135. f1l.BorderSizePixel = 0
  2136. f1l.Size = UDim2.new(1,0,1,0)
  2137. f1l.Text = "[Z] Zenatic Punch"
  2138.  
  2139.  
  2140. f2 = Instance.new("Frame",f)
  2141. f2.BorderSizePixel = 0
  2142. f2.BackgroundColor3 = Color3.new(0,0,0)
  2143. f2.Size = UDim2.new(0.3,0,0.05,0)
  2144. f2.Position = UDim2.new(0.52, 0,0.84, 0)
  2145.  
  2146. f2f = Instance.new("Frame",f2)
  2147. f2f.BorderSizePixel = 0
  2148. f2f.BackgroundColor3 = Color3.new(255,255,255)
  2149. f2f.Size = UDim2.new(1,0,1,0)
  2150.  
  2151. f2l = Instance.new("TextLabel",f2)
  2152. f2l.TextScaled = true
  2153. f2l.TextStrokeTransparency = 0
  2154. f2l.BackgroundTransparency = 1
  2155. f2l.TextColor3 = Color3.new(255,255,255)
  2156. f2l.BorderSizePixel = 0
  2157. f2l.Size = UDim2.new(1,0,1,0)
  2158. f2l.Text = "[X] Zenatic Stomp"
  2159.  
  2160.  
  2161. f3 = Instance.new("Frame",f)
  2162. f3.BorderSizePixel = 0
  2163. f3.BackgroundColor3 = Color3.new(0,0,0)
  2164. f3.Size = UDim2.new(0.3,0,0.05,0)
  2165. f3.Position = UDim2.new(0.2,0,0.9,0)
  2166.  
  2167. f3f = Instance.new("Frame",f3)
  2168. f3f.BorderSizePixel = 0
  2169. f3f.BackgroundColor3 = Color3.new(255,255,255)
  2170. f3f.Size = UDim2.new(1,0,1,0)
  2171.  
  2172. f3l = Instance.new("TextLabel",f3)
  2173. f3l.TextScaled = true
  2174. f3l.TextStrokeTransparency = 0
  2175. f3l.BackgroundTransparency = 1
  2176. f3l.TextColor3 = Color3.new(255,255,255)
  2177. f3l.BorderSizePixel = 0
  2178. f3l.Size = UDim2.new(1,0,1,0)
  2179. f3l.Text = "[C] Zenatic Kick"
  2180.  
  2181.  
  2182. f4 = Instance.new("Frame",f)
  2183. f4.BorderSizePixel = 0
  2184. f4.BackgroundColor3 = Color3.new(0,0,0)
  2185. f4.Size = UDim2.new(0.3,0,0.05,0)
  2186. f4.Position = UDim2.new(.52,0,.9,0)
  2187.  
  2188. f4f = Instance.new("Frame",f4)
  2189. f4f.BorderSizePixel = 0
  2190. f4f.BackgroundColor3 = Color3.new(255,255,255)
  2191. f4f.Size = UDim2.new(1,0,1,0)
  2192.  
  2193. f4l = Instance.new("TextLabel",f4)
  2194. f4l.TextScaled = true
  2195. f4l.TextStrokeTransparency = 0
  2196. f4l.BackgroundTransparency = 1
  2197. f4l.TextColor3 = Color3.new(255,255,255)
  2198. f4l.BorderSizePixel = 0
  2199. f4l.Size = UDim2.new(1,0,1,0)
  2200. f4l.Text = "[V] Zenatic Flip Kick "
  2201.  
  2202.  
  2203. ---HEALTH BAR
  2204.  
  2205. f5 = Instance.new("Frame",f)
  2206. f5.BorderSizePixel = 0
  2207. f5.BackgroundColor3 = Color3.new(255,255,255)
  2208. f5.Size = UDim2.new(0.3,0,0.03,0)
  2209. f5.Position = UDim2.new(.52,0,.8,0)
  2210.  
  2211. f5f = Instance.new("Frame",f5)
  2212. f5f.BorderSizePixel = 0
  2213. f5f.BackgroundColor3 = Color3.new(0,255,0)
  2214. f5f.Size = UDim2.new(1,0,1,0)
  2215.  
  2216. f5l = Instance.new("TextLabel",f5)
  2217. f5l.TextScaled = true
  2218. f5l.TextStrokeTransparency = 0
  2219. f5l.BackgroundTransparency = 1
  2220. f5l.TextColor3 = Color3.new(255,255,255)
  2221. f5l.BorderSizePixel = 0
  2222. f5l.Size = UDim2.new(1,0,1,0)
  2223. f5l.Text = "Health"
  2224.  
  2225.  
  2226. ---ENERGY BAR
  2227.  
  2228. f6 = Instance.new("Frame",f)
  2229. f6.BorderSizePixel = 0
  2230. f6.BackgroundColor3 = Color3.new(255,255,255)
  2231. f6.Size = UDim2.new(0.3,0,0.03,0)
  2232. f6.Position = UDim2.new(.2,0,.8,0)
  2233.  
  2234. f6f = Instance.new("Frame",f6)
  2235. f6f.BorderSizePixel = 0
  2236. f6f.BackgroundColor3 = BrickColor.new("Institutional White").Color
  2237. f6f.Size = UDim2.new(1,0,1,0)
  2238.  
  2239. f6l = Instance.new("TextLabel",f6)
  2240. f6l.TextScaled = true
  2241. f6l.TextStrokeTransparency = 0
  2242. f6l.BackgroundTransparency = 1
  2243. f6l.TextColor3 = Color3.new(215,197,154)
  2244. f6l.BorderSizePixel = 0
  2245. f6l.Size = UDim2.new(1,0,1,0)
  2246. f6l.Text = "Zenatic Power"
  2247.  
  2248. ------------ATK
  2249. fa = Instance.new("TextLabel",f)
  2250. fa.TextScaled = true
  2251. fa.TextStrokeTransparency = 0
  2252. fa.BackgroundTransparency = .5
  2253. fa.BackgroundColor3 = Color3.new(0,0,0)
  2254. fa.TextColor3 = Color3.new(255,0,0)
  2255. fa.BorderSizePixel = 0
  2256. fa.Size = UDim2.new(.2,0,0.05,0)
  2257. fa.Position = UDim2.new(0.2,0,0.74,0)
  2258. fa.Text = "Personality: Brave"
  2259. ------------SPD
  2260. fa2 = Instance.new("TextLabel",f)
  2261. fa2.TextScaled = true
  2262. fa2.TextStrokeTransparency = 0
  2263. fa2.BackgroundTransparency = .5
  2264. fa2.BackgroundColor3 = Color3.new(0,0,0)
  2265. fa2.TextColor3 = Color3.new(0,255,0)
  2266. fa2.BorderSizePixel = 0
  2267. fa2.Size = UDim2.new(.2,0,0.05,0)
  2268. fa2.Position = UDim2.new(0.41,0,0.74,0)
  2269. fa2.Text = "Agility : 1"
  2270. ------------DEF
  2271. fa3 = Instance.new("TextLabel",f)
  2272. fa3.TextScaled = true
  2273. fa3.TextStrokeTransparency = 0
  2274. fa3.BackgroundTransparency = .5
  2275. fa3.BackgroundColor3 = Color3.new(0,0,0)
  2276. fa3.TextColor3 = Color3.new(0,0,255)
  2277. fa3.BorderSizePixel = 0
  2278. fa3.Size = UDim2.new(.2,0,0.05,0)
  2279. fa3.Position = UDim2.new(0.62,0,0.74,0)
  2280. fa3.Text = "Zenatic : 1"
  2281. -------------------CLASS VARS--------------------------
  2282. S1 = true
  2283. S1T = 0
  2284. S1TF = 0
  2285. S2 = true
  2286. S2T = 0
  2287. S2TF = 0
  2288. S3 = true
  2289. S3T = 0
  2290. S3TF = 0
  2291. S4 = true
  2292. S4T = 0
  2293. S4TF = 0
  2294. energy = 0
  2295. ------------------------------------EXTRA WELDS AREA ------------------------------------
  2296.  
  2297.  
  2298.  
  2299.  
  2300.  
  2301. ----EQUIP FUNCTION
  2302. local Close1 = CFrame.new(1.5,0,0)
  2303. local Close2 = CFrame.new(-1.5,0,0)
  2304. local Speed = 0.3
  2305. local Open4 = w4.C0 * CFrame.new(0,.5,0) * CFrame.Angles(0,0,math.rad(-30))
  2306. local h1 = nc.C0 * CFrame.Angles(math.rad(20),math.rad(-30),0)
  2307. local h2 = CFrame.new(0,1.5,0)
  2308. local h3 = nc.C0 * CFrame.Angles(math.rad(-20),math.rad(30),0)
  2309. --leg anims
  2310. local opend = false
  2311. local current = true
  2312.  
  2313.  
  2314.  
  2315.  
  2316. sweld = Instance.new("Weld",char)
  2317. sweld.Part0 = char["Right Arm"]
  2318. sweld.Part1 = p17
  2319. sweld.C0 = CFrame.new(0,-1,0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(-120))
  2320.  
  2321. local STARG = CFrame.new(0,-1,0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(-120))
  2322. ---------------------------------------------------------------------------------------
  2323. ----DAMAGE UI N DMG
  2324. local DGU = function(p,txt)
  2325. s2:Play()
  2326. local par = Instance.new("Part",game.Workspace)
  2327. par.Transparency = 1
  2328. par.Anchored = true
  2329. par.CFrame = p.CFrame
  2330. par.CanCollide = false
  2331. game.Debris:AddItem(par,10)
  2332. local f = Instance.new("BillboardGui",par)
  2333. f.Size = UDim2.new(1.2,0,1.2,0)
  2334. f.AlwaysOnTop = true
  2335. f.StudsOffset = Vector3.new(0,2,0)
  2336. local fr = Instance.new("Frame",f)
  2337. fr.BackgroundTransparency = 1
  2338. fr.Size = UDim2.new(1,0,1,0)
  2339. fr.ClipsDescendants = true
  2340. local fe = Instance.new("TextLabel",fr)
  2341. fe.Size = UDim2.new(1,0,1,0)
  2342. fe.BackgroundTransparency = 1
  2343. fe.TextColor3 = BrickColor.new("Bright yellow").Color
  2344. fe.TextStrokeTransparency = 0
  2345. fe.Text = txt
  2346. fe.TextScaled = true
  2347. fe.Font = "Legacy"
  2348. fe.Position = UDim2.new(0,0,1,0)
  2349. fe:TweenPosition(UDim2.new(0,0,0,0),"In","Linear",.5)
  2350. wait(2)
  2351. fe:TweenPosition(UDim2.new(0,0,-1,0),"In","Linear",.4)
  2352. for i = 0,10 do
  2353. wait()
  2354. fe.TextTransparency = fe.TextTransparency + .1
  2355. end
  2356. end
  2357.  
  2358.  
  2359.  
  2360. makeui = function(color,txt)
  2361. local par = Instance.new("Part",game.Workspace)
  2362. par.Transparency = 1
  2363. par.Anchored = true
  2364. par.CFrame = char.Head.CFrame
  2365. par.CanCollide = false
  2366. game.Debris:AddItem(par,10)
  2367. local f = Instance.new("BillboardGui",par)
  2368. f.Size = UDim2.new(1.2,0,1.2,0)
  2369. f.AlwaysOnTop = true
  2370. f.StudsOffset = Vector3.new(0,4,0)
  2371. local fr = Instance.new("Frame",f)
  2372. fr.BackgroundTransparency = 1
  2373. fr.Size = UDim2.new(2,0,2,0)
  2374. fr.ClipsDescendants = true
  2375. local fe = Instance.new("TextLabel",fr)
  2376. fe.Size = UDim2.new(1,0,1,0)
  2377. fe.BackgroundTransparency = 1
  2378. fe.TextColor3 = Color3.new(255,255,255)
  2379. fe.TextStrokeTransparency = 0
  2380. fe.Text = txt
  2381. fe.TextScaled = true
  2382. fe.Font = "SourceSansBold"
  2383. game.Debris:AddItem(f,4)
  2384. fe.Position = UDim2.new(0,0,1,0)
  2385. fe:TweenPosition(UDim2.new(0,0,0,0),"In","Linear",.5)
  2386. wait(2)
  2387. fe:TweenPosition(UDim2.new(0,0,-1,0),"In","Linear",.4)
  2388. for i = 0,10 do
  2389. wait()
  2390. fe.TextTransparency = fe.TextTransparency + .1
  2391. end
  2392. end
  2393. ----TARG
  2394. local TARG1
  2395. local TARG2
  2396. local TARG3
  2397. local TARG4
  2398. local TARG5
  2399. local TARG6
  2400. local IdleAndWalk = false
  2401.  
  2402.  
  2403. turnonwelds()
  2404. opend = true
  2405.  
  2406. --------------SKILL/KEY EVENTS
  2407. --------------MOUSE EVENTS , ATTACKS
  2408. local wpb = true
  2409. local num = 1
  2410.  
  2411.  
  2412.  
  2413. mouse.Button1Down:connect(function()
  2414. if current == true and stun.Value == false and opend == true and wpb == true then
  2415. local fs
  2416.  
  2417. if num == 1 then
  2418. wpb = false
  2419. current = false
  2420. fr = true
  2421. p8.Touched:connect(function(hit)
  2422. if not fr then return end
  2423. if hit.Parent:FindFirstChild("Defense")then
  2424. fs = math.floor(math.random(4,9) * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  2425. else
  2426. fs = math.floor(math.random(4,9) * atk.Value)
  2427. end
  2428.  
  2429. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  2430. fr = false
  2431. if hit.Parent:FindFirstChild("Blocking")then
  2432. if hit.Parent:FindFirstChild("Blocking").Value == true then
  2433. hit.Parent.PauseBlock.Value = true wait() wait() hit.Parent.BlockingLeft.Value = 5 wait() wait() hit.Parent.PauseBlock.Value = false
  2434. hit.Parent.BlockingLabel.Value = true
  2435. stun.Value = true
  2436. else
  2437. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  2438. DGU(hit,fs)
  2439. fr = false
  2440. end
  2441. else
  2442. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  2443. DGU(hit,fs)
  2444. fr = false
  2445. end
  2446. --
  2447. end
  2448. end)
  2449. TARG1 = PA1[5]
  2450. TARG2 = PA1[6]
  2451. TARG3 = PA1[4]
  2452. TARG4 = PA1[3]
  2453. TARG5 = PA1[2]
  2454. TARG6 = PA1[1]
  2455. STARG = CFrame.new(0,-.9,0)* CFrame.Angles(math.rad(130),0,0)
  2456. wait(.05)
  2457. TARG1 = PA1[5]
  2458. TARG2 = PA1[6]
  2459. TARG3 = PA1[4]
  2460. TARG4 = PA1[3]
  2461. TARG5 = PA1[2]
  2462. TARG6 = PA1[1]
  2463. STARG = CFrame.new(0,-.9,0)* CFrame.Angles(math.rad(130),0,0)
  2464. wait(.05)
  2465. TARG1 = PA1[5]
  2466. TARG2 = PA1[6]
  2467. TARG3 = PA1[4]
  2468. TARG4 = PA1[3]
  2469. TARG5 = PA1[2]
  2470. TARG6 = PA1[1]
  2471. STARG = CFrame.new(0,-.9,0)* CFrame.Angles(math.rad(130),0,0)
  2472. wait(.05)
  2473. s5:Play()
  2474. wait(.05)
  2475. TARG1 = PA12[5]
  2476. TARG2 = PA12[6]
  2477. TARG3 = PA12[4]
  2478. TARG4 = PA12[3]
  2479. TARG5 = PA12[2]
  2480. TARG6 = PA12[1]
  2481. --STARG = CFrame.new(0,-.9,0) * CFrame.Angles(math.rad(130),0,0)
  2482. wait(.05)
  2483. TARG1 = PA12[5]
  2484. TARG2 = PA12[6]
  2485. TARG3 = PA12[4]
  2486. TARG4 = PA12[3]
  2487. TARG5 = PA12[2]
  2488. TARG6 = PA12[1]
  2489. --STARG = CFrame.new(0,-.9,0)* CFrame.Angles(math.rad(130),0,0)
  2490. wait(.05)
  2491. TARG1 = PA12[5]
  2492. TARG2 = PA12[6]
  2493. TARG3 = PA12[4]
  2494. TARG4 = PA12[3]
  2495. TARG5 = PA12[2]
  2496. TARG6 = PA12[1]
  2497. --STARG = CFrame.new(0,-.9,0)* CFrame.Angles(math.rad(130),0,0)
  2498. wait(.05)
  2499. TARG1 = PA12[5]
  2500. TARG2 = PA12[6]
  2501. TARG3 = PA12[4]
  2502. TARG4 = PA12[3]
  2503. TARG5 = PA12[2]
  2504. TARG6 = PA12[1]
  2505. --STARG = CFrame.new(0,-.9,0)* CFrame.Angles(math.rad(130),0,0)
  2506. wait(.2)
  2507. current = true
  2508. fr = false
  2509. wait(.1)
  2510. wpb = true
  2511. num=num+1
  2512. return
  2513. end
  2514. if num == 2 then
  2515. wpb = false
  2516. current = false
  2517. fr = true
  2518. p8.Touched:connect(function(hit)
  2519. if not fr then return end
  2520. if hit.Parent:FindFirstChild("Defense")then
  2521. fs = math.floor(math.random(5,11) * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  2522. else
  2523. fs = math.floor(math.random(5,11) * atk.Value)
  2524. end
  2525.  
  2526. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  2527. fr = false
  2528. if hit.Parent:FindFirstChild("Blocking")then
  2529. if hit.Parent:FindFirstChild("Blocking").Value == true then
  2530. hit.Parent.PauseBlock.Value = true wait() wait() hit.Parent.BlockingLeft.Value = 5 wait() wait() hit.Parent.PauseBlock.Value = false
  2531. hit.Parent.BlockingLabel.Value = true
  2532. stun.Value = true
  2533. else
  2534. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  2535. DGU(hit,fs)
  2536. fr = false
  2537. end
  2538. else
  2539. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  2540. DGU(hit,fs)
  2541. fr = false
  2542. end
  2543. --
  2544. end
  2545. end)
  2546. s4:Play()
  2547. wait(.1)
  2548. TARG1 = PA2[6]
  2549. TARG2 = PA2[5]
  2550. TARG3 = PA2[4]
  2551. TARG4 = PA2[3]
  2552. TARG5 = PA2[2]
  2553. TARG6 = PA2[1]
  2554. STARG = CFrame.new(0,-1,0) * CFrame.Angles(math.rad(180),0,0)
  2555. wait(.1)
  2556. TARG1 = PA2[6]
  2557. TARG2 = PA2[5]
  2558. TARG3 = PA2[4]
  2559. TARG4 = PA2[3]
  2560. TARG5 = PA2[2]
  2561. TARG6 = PA2[1]
  2562. STARG = CFrame.new(0,-1,0)* CFrame.Angles(math.rad(180),0,0)
  2563. wait(.1)
  2564. TARG1 = PA2[6]
  2565. TARG2 = PA2[5]
  2566. TARG3 = PA2[4]
  2567. TARG4 = PA2[3]
  2568. TARG5 = PA2[2]
  2569. TARG6 = PA2[1]
  2570. STARG = CFrame.new(0,-1,0)* CFrame.Angles(math.rad(180),0,0)
  2571. wait(.1)
  2572. TARG1 = PA2[6]
  2573. TARG2 = PA2[5]
  2574. TARG3 = PA2[4]
  2575. TARG4 = PA2[3]
  2576. TARG5 = PA2[2]
  2577. TARG6 = PA2[1]
  2578. STARG = CFrame.new(0,-1,0)* CFrame.Angles(math.rad(180),0,0)
  2579. wait(.2)
  2580. current = true
  2581. fr = false
  2582. wait(.1)
  2583. wpb = true
  2584. num=num+1
  2585. return
  2586. end
  2587. if num == 3 then
  2588. wpb = false
  2589. current = false
  2590. fr = true
  2591. char["Right Leg"].Touched:connect(function(hit)
  2592. if not fr then return end
  2593. if hit.Parent:FindFirstChild("Defense")then
  2594. fs = math.floor(math.random(5,11) * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  2595. else
  2596. fs = math.floor(math.random(5,11) * atk.Value)
  2597. end
  2598.  
  2599. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  2600. fr = false
  2601. if hit.Parent:FindFirstChild("Blocking")then
  2602. if hit.Parent:FindFirstChild("Blocking").Value == true then
  2603. hit.Parent.PauseBlock.Value = true wait() wait() hit.Parent.BlockingLeft.Value = 5 wait() wait() hit.Parent.PauseBlock.Value = false
  2604. hit.Parent.BlockingLabel.Value = true
  2605. stun.Value = true
  2606. else
  2607. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  2608. DGU(hit,fs)
  2609. fr = false
  2610. end
  2611. else
  2612. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  2613. DGU(hit,fs)
  2614. fr = false
  2615. end
  2616. --
  2617. end
  2618. end)
  2619. s1.Pitch = 1
  2620. s1:Play()
  2621. wait(.1)
  2622. TARG1 = PA3[4]
  2623. TARG2 = PA3[3]
  2624. TARG3 = PA3[2]
  2625. TARG4 = PA3[6]
  2626. TARG5 = PA3[5]
  2627. TARG6 = PA3[1]
  2628. TARG1 = PA3[4]
  2629. TARG2 = PA3[3]
  2630. TARG3 = PA3[2]
  2631. TARG4 = PA3[6]
  2632. TARG5 = PA3[5]
  2633. TARG6 = PA3[1]
  2634. wait(.1)
  2635. TARG1 = PA3[4]
  2636. TARG2 = PA3[3]
  2637. TARG3 = PA3[2]
  2638. TARG4 = PA3[6]
  2639. TARG5 = PA3[5]
  2640. TARG6 = PA3[1]
  2641. wait(.1)
  2642. TARG1 = PA3[4]
  2643. TARG2 = PA3[3]
  2644. TARG3 = PA3[2]
  2645. TARG4 = PA3[6]
  2646. TARG5 = PA3[5]
  2647. TARG6 = PA3[1]
  2648. wait(.2)
  2649. current = true
  2650. fr = false
  2651. wait(.1)
  2652. wpb = true
  2653. num=1
  2654. return
  2655. end
  2656.  
  2657. end
  2658. end)
  2659. mouse.KeyDown:connect(function(key)key = key:lower()
  2660. if key == "z" then
  2661. if current == true and opend == true and stun.Value == false and energy > 19 and S1 == true then
  2662. energy = energy - 20
  2663. S1T = 0
  2664. current = false
  2665. local num = 0
  2666. repeat
  2667. fr = true
  2668. local fs
  2669. s1.Pitch = 1.2
  2670. s1:Play()
  2671. char["Right Arm"].Touched:connect(function(hit)
  2672. if not fr then return end
  2673. if hit.Parent.Name == player.Name then return end
  2674. if hit.Parent:FindFirstChild("Defense") and hit.Parent.Name ~= player.Name then
  2675.  
  2676.  
  2677. hit.Parent:FindFirstChild("Defense").Value = hit.Parent:FindFirstChild("Defense").Value -.02
  2678. fs = math.floor(4 * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  2679.  
  2680.  
  2681. else
  2682. fs = math.floor(4 * atk.Value)
  2683. end
  2684. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  2685. fr = false
  2686. if hit.Parent:FindFirstChild("Blocking")then
  2687. if hit.Parent:FindFirstChild("Blocking").Value == true then
  2688. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  2689. hit.Parent.BlockingLabel.Value = true
  2690. stun.Value = true
  2691. else
  2692. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  2693. DGU(hit,fs)
  2694. fr = false
  2695. end
  2696. else
  2697. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  2698. DGU(hit,fs)
  2699. fr = false
  2700. end
  2701. --
  2702. end
  2703. end)
  2704. TARG1 = PA1[5]
  2705. TARG2 = PA1[6]
  2706. TARG3 = PA1[4]
  2707. TARG4 = PA1[3]
  2708. TARG5 = PA1[2]
  2709. TARG6 = PA1[1]
  2710. wait(.11)
  2711. fr = false
  2712. wait(.11)
  2713. fr = true
  2714. local fs
  2715. s1.Pitch = 1.2
  2716. s1:Play()
  2717. char["Left Arm"].Touched:connect(function(hit)
  2718. if not fr then return end
  2719. if hit.Parent.Name == player.Name then return end
  2720. if hit.Parent:FindFirstChild("Defense")and hit.Parent.Name ~= player.Name then
  2721. hit.Parent:FindFirstChild("Defense").Value = hit.Parent:FindFirstChild("Defense").Value -.02
  2722. fs = math.floor(4 * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  2723. else
  2724. fs = math.floor(4 * atk.Value)
  2725. end
  2726. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  2727. fr = false
  2728. if hit.Parent:FindFirstChild("Blocking")then
  2729. if hit.Parent:FindFirstChild("Blocking").Value == true then
  2730. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  2731. hit.Parent.BlockingLabel.Value = true
  2732. stun.Value = true
  2733. else
  2734. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  2735. DGU(hit,fs)
  2736. fr = false
  2737. end
  2738. else
  2739. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  2740. DGU(hit,fs)
  2741. fr = false
  2742. end
  2743. --
  2744. end
  2745. end)
  2746. TARG1 = PA1C[5]
  2747. TARG2 = PA1C[6]
  2748. TARG3 = PA1C[4]
  2749. TARG4 = PA1C[3]
  2750. TARG5 = PA1C[2]
  2751. TARG6 = PA1C[1]
  2752. wait(.11)
  2753. fr = false
  2754. wait(.11)
  2755. num = num + 2
  2756. until num == 10
  2757. current = true
  2758. wait(3)
  2759. end
  2760. end
  2761. end)
  2762. --- KEYDOWN 2
  2763. mouse.KeyDown:connect(function(key)key = key:lower()
  2764. if key == "x" then
  2765. if current == true and opend == true and stun.Value == false and energy > 24 and S2 == true then
  2766. energy = energy - 25
  2767. S2T = 0
  2768. skl = true
  2769. char.Humanoid.WalkSpeed = 0
  2770. f = Instance.new("Part",game.Workspace)
  2771. f.Position = char.Torso.Position + Vector3.new(0, -2, -12)
  2772. f.CanCollide = false
  2773. f.Transparency = 1
  2774. local asdf
  2775. local cf
  2776. f.Touched:connect(function(hit)
  2777. if hit.Parent:FindFirstChild("Humanoid") then
  2778. else
  2779. cf = f.CFrame
  2780. asdf = hit.BrickColor
  2781. end
  2782. end)
  2783. current = false
  2784. TARG1 = Stomp[5]
  2785. TARG2 = Stomp[6]
  2786. TARG3 = Stomp[2]
  2787. TARG4 = Stomp[4]
  2788. TARG5 = Stomp[3]
  2789. TARG6 = Stomp[1]
  2790. wait(.05)
  2791. TARG1 = Stomp[5]
  2792. TARG2 = Stomp[6]
  2793. TARG3 = Stomp[2]
  2794. TARG4 = Stomp[4]
  2795. TARG5 = Stomp[3]
  2796. TARG6 = Stomp[1]
  2797. wait(.05)
  2798. TARG1 = Stomp[5]
  2799. TARG2 = Stomp[6]
  2800. TARG3 = Stomp[2]
  2801. TARG4 = Stomp[4]
  2802. TARG5 = Stomp[3]
  2803. TARG6 = Stomp[1]
  2804. wait(.05)
  2805. TARG1 = Stomp[5]
  2806. TARG2 = Stomp[6]
  2807. TARG3 = Stomp[2]
  2808. TARG4 = Stomp[4]
  2809. TARG5 = Stomp[3]
  2810. TARG6 = Stomp[1]
  2811. wait(.05)
  2812. TARG1 = Stomp[5]
  2813. TARG2 = Stomp[6]
  2814. TARG3 = Stomp[2]
  2815. TARG4 = Stomp[4]
  2816. TARG5 = Stomp[3]
  2817. TARG6 = Stomp[1]
  2818. wait(.05)
  2819. TARG1 = Stomp2[5]
  2820. TARG2 = Stomp2[6]
  2821. TARG3 = Stomp2[2]
  2822. TARG4 = Stomp2[4]
  2823. TARG5 = Stomp2[3]
  2824. TARG6 = Stomp2[1]
  2825. wait(.05)
  2826. TARG1 = Stomp2[5]
  2827. TARG2 = Stomp2[6]
  2828. TARG3 = Stomp2[2]
  2829. TARG4 = Stomp2[4]
  2830. TARG5 = Stomp2[3]
  2831. TARG6 = Stomp2[1]
  2832. wait(.05)
  2833. TARG1 = Stomp2[5]
  2834. TARG2 = Stomp2[6]
  2835. TARG3 = Stomp2[2]
  2836. TARG4 = Stomp2[4]
  2837. TARG5 = Stomp2[3]
  2838. TARG6 = Stomp2[1]
  2839. wait(.05)
  2840. TARG1 = Stomp2[5]
  2841. TARG2 = Stomp2[6]
  2842. TARG3 = Stomp2[2]
  2843. TARG4 = Stomp2[4]
  2844. TARG5 = Stomp2[3]
  2845. TARG6 = Stomp2[1]
  2846. wait(.05)
  2847. local fs = Instance.new("Part",char)
  2848. fs.BrickColor = asdf
  2849. fs.Size = Vector3.new(1,1,1)
  2850. fs.CanCollide = false
  2851. fs.Anchored = true
  2852. fs.Transparency = 1
  2853. fs.CFrame = char.Torso.CFrame * CFrame.new(0,-2.5,0)
  2854. local fr = Instance.new("Part",char)
  2855. fr.BrickColor = asdf
  2856. fr.Size = Vector3.new(1,1,1)
  2857. fr.CanCollide = false
  2858. fr.Anchored = true
  2859. fr.CFrame = char.Torso.CFrame * CFrame.new(0,-2.5,0) * CFrame.Angles(math.rad(90),0,0)
  2860. local fms = Instance.new("SpecialMesh",fr)
  2861. fms.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2862. fms.Scale = Vector3.new(1,1,6)
  2863. TARG7 = Vector3.new(40,40,10)
  2864. obj = fms
  2865. obj2 = fs
  2866. TARG8 = Vector3.new(50,5,50)
  2867. local dmg = true
  2868. fs.Touched:connect(function(hit)
  2869. if dmg == true and hit.Parent:FindFirstChild("Humanoid") then
  2870. if hit.Parent:FindFirstChild("Humanoid").Health ~= 0 and hit.Parent.Name ~= player.Name then
  2871. if hit.Parent:FindFirstChild("Speed")then
  2872. hit.Parent:FindFirstChild("Speed").Value = hit.Parent:FindFirstChild("Speed").Value -.1
  2873. hit.Parent:FindFirstChild("Speed").Value = hit.Parent:FindFirstChild("Speed").Value -.1
  2874. --- I made it do that so this would stick for 12 Seconds ~ Thats how the stats work
  2875. local fx = math.floor(22 * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  2876. dmg = false
  2877. if hit.Parent:FindFirstChild("Blocking")then
  2878. if hit.Parent:FindFirstChild("Blocking").Value == true then
  2879. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  2880. hit.Parent.BlockingLabel.Value = true
  2881. stun.Value = true
  2882. else
  2883. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  2884. DGU(hit,fx)
  2885. fr = false
  2886. end
  2887. else
  2888. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  2889. DGU(hit,fx)
  2890. fr = false
  2891. end
  2892. else
  2893. local fx = math.floor(22 * atk.Value)
  2894. dmg = false
  2895. if hit.Parent:FindFirstChild("Blocking")then
  2896. if hit.Parent:FindFirstChild("Blocking").Value == true then
  2897. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  2898. hit.Parent.BlockingLabel.Value = true
  2899. stun.Value = true
  2900. else
  2901. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  2902. DGU(hit,fx)
  2903. fr = false
  2904. end
  2905. else
  2906. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  2907. DGU(hit,fx)
  2908. fr = false
  2909. end
  2910. end
  2911. end
  2912. end
  2913. end)--]]
  2914. wait(.3)
  2915. game.Debris:AddItem(fr,8)
  2916. game.Debris:AddItem(fs,8)
  2917. skl = false
  2918. current = true
  2919. for i = 1,10 do
  2920. wait()
  2921. fr.Transparency = fr.Transparency + .1
  2922. end
  2923. wait(.4)
  2924. dmg = false
  2925. wait(3)
  2926. end
  2927. end
  2928. end)
  2929.  
  2930.  
  2931.  
  2932. mouse.KeyDown:connect(function(key)key = key:lower()
  2933. if key == "c" then
  2934. if current == true and opend == true and stun.Value == false and energy > 34 and S3 == true then
  2935. energy = energy - 35
  2936. S3T = 0
  2937. current = false
  2938. TARG1 = dropkick[5]
  2939. TARG2 = dropkick[6]
  2940. TARG3 = dropkick[2]
  2941. TARG4 = dropkick[4]
  2942. TARG5 = dropkick[3]
  2943. TARG6 = dropkick[1]
  2944. wait(.05)
  2945. TARG1 = dropkick[5]
  2946. TARG2 = dropkick[6]
  2947. TARG3 = dropkick[2]
  2948. TARG4 = dropkick[4]
  2949. TARG5 = dropkick[3]
  2950. TARG6 = dropkick[1]
  2951. wait(.05)
  2952. TARG1 = dropkick[5]
  2953. TARG2 = dropkick[6]
  2954. TARG3 = dropkick[2]
  2955. TARG4 = dropkick[4]
  2956. TARG5 = dropkick[3]
  2957. TARG6 = dropkick[1]
  2958. wait(.05)
  2959. TARG1 = dropkick[5]
  2960. TARG2 = dropkick[6]
  2961. TARG3 = dropkick[2]
  2962. TARG4 = dropkick[4]
  2963. TARG5 = dropkick[3]
  2964. TARG6 = dropkick[1]
  2965. wait(.05)
  2966. local dmg = true
  2967. char["Right Leg"].Touched:connect(function(hit)
  2968. if dmg == true and hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= player.Name then
  2969. local fn = Instance.new("Part",char)
  2970. fn.BrickColor = BrickColor.new("Medium stone grey")
  2971. fn.Size = Vector3.new(1,1,1)
  2972. fn.CanCollide = false
  2973. fn.Anchored = true
  2974. s2.Pitch = .9
  2975. s2:Play()
  2976. game.Debris:AddItem(fn,8)
  2977. fn.CFrame = char.Torso.CFrame * CFrame.new(0,-2.5,0)
  2978. local fms = Instance.new("SpecialMesh",fn)
  2979. fms.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2980. fms.Scale = Vector3.new(1,1,6)
  2981. TARG7 = Vector3.new(10,5,10)
  2982. obj = fms
  2983. if hit.Parent:FindFirstChild("Humanoid").Health ~= 0 and hit.Parent.Name ~= player.Name then
  2984. if hit.Parent:FindFirstChild("Stunned")then
  2985. hit.Parent:FindFirstChild("Stunned").Value = true
  2986. --- I made it do that so this would stick for 12 Seconds ~ Thats how the stats work
  2987. local fx = math.floor(13 * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  2988. dmg = false
  2989. --[[
  2990. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  2991. fr = false
  2992. if hit.Parent:FindFirstChild("Blocking")then
  2993. if hit.Parent:FindFirstChild("Blocking").Value == true then
  2994. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  2995. hit.Parent.BlockingLabel.Value = true
  2996. else
  2997. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  2998. DGU(hit,fx)
  2999. fr = false
  3000. end
  3001. else
  3002. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  3003. DGU(hit,fx)
  3004. fr = false
  3005. end
  3006. --
  3007. end
  3008. --]]
  3009. if hit.Parent:FindFirstChild("Blocking")then
  3010. if hit.Parent:FindFirstChild("Blocking").Value == true then
  3011. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  3012. hit.Parent.BlockingLabel.Value = true
  3013. stun.Value = true
  3014. else
  3015. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  3016. DGU(hit,fx)
  3017. fr = false
  3018. end
  3019. else
  3020. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  3021. DGU(hit,fx)
  3022. fr = false
  3023. end
  3024. else
  3025. local fx = math.floor(13 * atk.Value)
  3026. dmg = false
  3027. if hit.Parent:FindFirstChild("Blocking")then
  3028. if hit.Parent:FindFirstChild("Blocking").Value == true then
  3029. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  3030. hit.Parent.BlockingLabel.Value = true
  3031. stun.Value = true
  3032. else
  3033. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  3034. DGU(hit,fx)
  3035. fr = false
  3036. end
  3037. else
  3038. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  3039. DGU(hit,fx)
  3040. fr = false
  3041. end
  3042. end
  3043. end
  3044.  
  3045. for i = 1,10 do
  3046. wait()
  3047. fn.Transparency = fn.Transparency + .1
  3048. end
  3049. end
  3050. end)--]]
  3051. wait(.1)
  3052. skl = false
  3053. current = true
  3054. wait(.2)
  3055. dmg = false
  3056. wait(3)
  3057. end
  3058. end
  3059. end)
  3060.  
  3061.  
  3062.  
  3063.  
  3064. mouse.KeyDown:connect(function(key)key = key:lower()
  3065. if key == "v" then
  3066. if current == true and opend == true and stun.Value == false and energy > 49 and S4 == true then
  3067. current = false
  3068. wait(0.05)
  3069. S4T = 0
  3070. energy = energy - 59
  3071. wait()
  3072. TARG1 = FrontFlipKick1[4] -- LEFT ARM
  3073. TARG2 = FrontFlipKick1[3]-- RIGHT ARM
  3074. TARG3 = FrontFlipKick1[2] -- NECK
  3075. TARG4 = FrontFlipKick1[6] -- RIGHT LEG
  3076. TARG5 = FrontFlipKick1[5] -- LEFT LEG
  3077. TARG6 = FrontFlipKick1[1] -- TORSO
  3078. wait(0.05)
  3079. TARG1 = FrontFlipKick1[4] -- LEFT ARM
  3080. TARG2 = FrontFlipKick1[3]-- RIGHT ARM
  3081. TARG3 = FrontFlipKick1[2] -- NECK
  3082. TARG4 = FrontFlipKick1[6] -- RIGHT LEG
  3083. TARG5 = FrontFlipKick1[5] -- LEFT LEG
  3084. TARG6 = FrontFlipKick1[1] -- TORSO
  3085. wait(0.05)
  3086. TARG1 = FrontFlipKick1[4] -- LEFT ARM
  3087. TARG2 = FrontFlipKick1[3]-- RIGHT ARM
  3088. TARG3 = FrontFlipKick1[2] -- NECK
  3089. TARG4 = FrontFlipKick1[6] -- RIGHT LEG
  3090. TARG5 = FrontFlipKick1[5] -- LEFT LEG
  3091. TARG6 = FrontFlipKick1[1] -- TORSO
  3092. wait(0.05)
  3093. TARG1 = FrontFlipKick1[4] -- LEFT ARM
  3094. TARG2 = FrontFlipKick1[3]-- RIGHT ARM
  3095. TARG3 = FrontFlipKick1[2] -- NECK
  3096. TARG4 = FrontFlipKick1[6] -- RIGHT LEG
  3097. TARG5 = FrontFlipKick1[5] -- LEFT LEG
  3098. TARG6 = FrontFlipKick1[1] -- TORSO
  3099. wait(0.05)
  3100. local dmg = true
  3101. char["Right Leg"].Touched:connect(function(hit)
  3102. if dmg == true and hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= player.Name then
  3103. dmg = false
  3104. TARG1 = FrontFlipKick1[4] -- LEFT ARM
  3105. TARG2 = FrontFlipKick1[3]-- RIGHT ARM
  3106. TARG3 = FrontFlipKick1[2] -- NECK
  3107. TARG4 = FrontFlipKick1[6] -- RIGHT LEG
  3108. TARG5 = FrontFlipKick1[5] -- LEFT LEG
  3109. TARG6 = FrontFlipKick1[1] -- TORSO
  3110. local fn = Instance.new("Part",char)
  3111. fn.BrickColor = BrickColor.new("Medium stone grey")
  3112. fn.Size = Vector3.new(1,1,1)
  3113. fn.CanCollide = false
  3114. fn.Anchored = true
  3115. local fn = Instance.new("Part",char)
  3116. fn.BrickColor = BrickColor.new("Medium stone grey")
  3117. fn.Size = Vector3.new(1,1,1)
  3118. fn.CanCollide = false
  3119. fn.Anchored = true
  3120. s2.Pitch = .9
  3121. s2:Play()
  3122. game.Debris:AddItem(fn,8)
  3123. fn.CFrame = char["Right Leg"].CFrame
  3124. local fms = Instance.new("SpecialMesh",fn)
  3125. fms.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3126. fms.Scale = Vector3.new(1,1,6)
  3127. TARG7 = Vector3.new(5,1,5)
  3128. obj = fms
  3129.  
  3130. if hit.Parent:FindFirstChild("Humanoid").Health ~= 0 and hit.Parent.Name ~= player.Name then
  3131. if hit.Parent:FindFirstChild("Stunned")then
  3132. hit.Parent:FindFirstChild("Stunned").Value = true
  3133. --- I made it do that so this would stick for 12 Seconds ~ Thats how the stats work
  3134. local fx = math.floor(13 * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  3135. dmg = false
  3136. --[[
  3137. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  3138. fr = false
  3139. if hit.Parent:FindFirstChild("Blocking")then
  3140. if hit.Parent:FindFirstChild("Blocking").Value == true then
  3141. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  3142. hit.Parent.BlockingLabel.Value = true
  3143. else
  3144. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  3145. DGU(hit,fx)
  3146. fr = false
  3147. end
  3148. else
  3149. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  3150. DGU(hit,fx)
  3151. fr = false
  3152. end
  3153. --
  3154. end
  3155. --]]
  3156. if hit.Parent:FindFirstChild("Blocking")then
  3157. if hit.Parent:FindFirstChild("Blocking").Value == true then
  3158. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  3159. hit.Parent.BlockingLabel.Value = true
  3160. stun.Value = true
  3161. else
  3162. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  3163. DGU(hit,fx)
  3164. fr = false
  3165. end
  3166. else
  3167. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  3168. DGU(hit,fx)
  3169. fr = false
  3170. end
  3171. else
  3172. local fx = math.floor(13 * atk.Value)
  3173. dmg = false
  3174. if hit.Parent:FindFirstChild("Blocking")then
  3175. if hit.Parent:FindFirstChild("Blocking").Value == true then
  3176. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  3177. hit.Parent.BlockingLabel.Value = true
  3178. stun.Value = true
  3179. else
  3180. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  3181. DGU(hit,fx)
  3182. fr = false
  3183. end
  3184. else
  3185. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  3186. DGU(hit,fx)
  3187. fr = false
  3188. end
  3189. end
  3190. end
  3191.  
  3192. for i = 0,10 do
  3193. wait()
  3194. fn.Transparency = fn.Transparency + .1
  3195. end
  3196. end
  3197. end)
  3198. --[[
  3199. ts.C0 = ts.C0:lerp(FrontFlipKick1[1],.4)
  3200. nc.C0 = nc.C0:lerp(FrontFlipKick1[2],.4)
  3201. ll.C0 = ll.C0:lerp(FrontFlipKick1[5],.4)
  3202. rl.C0 = rl.C0:lerp(FrontFlipKick1[6],.4)
  3203. w3.C0 = w3.C0:lerp(FrontFlipKick1[4],.4)
  3204. w4.C0 = w4.C0:lerp(FrontFlipKick1[3],.4)
  3205. --]]
  3206.  
  3207.  
  3208. wait(.1)
  3209. dmg = false
  3210. current = true
  3211. end
  3212. end
  3213. end)
  3214. --[[
  3215. --END
  3216. ts.C0 = ts.C0:lerp(UpSideDownPunch[1],.4)
  3217. nc.C0 = nc.C0:lerp(UpSideDownPunch[2],.4)
  3218. ll.C0 = ll.C0:lerp(UpSideDownPunch[3],.4)
  3219. rl.C0 = rl.C0:lerp(UpSideDownPunch[4],.4)
  3220. w3.C0 = w3.C0:lerp(UpSideDownPunch[5],.4)
  3221. w4.C0 = w4.C0:lerp(UpSideDownPunch[6],.4)
  3222. --START
  3223. ts.C0 = ts.C0:lerp(sjump[1],.4)
  3224. nc.C0 = nc.C0:lerp(sjump[2],.4)
  3225. ll.C0 = ll.C0:lerp(sjump[3],.4)
  3226. rl.C0 = rl.C0:lerp(sjump[4],.4)
  3227. w3.C0 = w3.C0:lerp(sjump[5],.4)
  3228. w4.C0 = w4.C0:lerp(sjump[6],.4)
  3229. --OTHER
  3230. TARG1 = walk[8] -- LEFT ARM
  3231. TARG2 = walk[7]-- RIGHT ARM
  3232. TARG3 = walk[6] -- NECK
  3233. TARG4 = walk[] -- RIGHT LEG
  3234. TARG5 = walk[] -- LEFT LEG
  3235. TARG6 = walk[5] -- TORSO
  3236. --]]
  3237. local Speed = .4
  3238. local lspeed = .2
  3239. game:GetService("RunService").RenderStepped:connect(function()
  3240. if Vector3.new(char.Torso.Velocity.X,0,char.Torso.Velocity.Z).magnitude > 2 then
  3241. IdleAndWalk = true
  3242. else
  3243. IdleAndWalk = false
  3244. end
  3245. if TARG4 ~= nil then
  3246. rl.C0 = rl.C0:lerp(TARG4,lspeed)
  3247. end
  3248. if TARG5 ~= nil then
  3249. ll.C0 = ll.C0:lerp(TARG5,lspeed)
  3250. end
  3251. if TARG3 ~= nil then
  3252. nc.C0 = nc.C0:lerp(TARG3,lspeed)
  3253. end
  3254. if STARG ~= nil then
  3255. sweld.C0 = sweld.C0:lerp(STARG,Speed)
  3256. end
  3257. if TARG1 ~= nil then
  3258. w3.C0 = w3.C0:lerp(TARG1,Speed)
  3259. end
  3260. if TARG2 ~= nil then
  3261. w4.C0 = w4.C0:lerp(TARG2,Speed)
  3262. end
  3263. if TARG6 ~= nil then
  3264. ts.C0 = ts.C0:lerp(TARG6,Speed)
  3265. end
  3266. if TARG7 ~= nil and obj ~= nil then
  3267. obj.Scale = obj.Scale:lerp(TARG7,.05)
  3268. end
  3269. if TARG8 ~= nil and obj2 ~= nil then
  3270. obj2.Size = obj2.Size:lerp(TARG8,.05)
  3271. obj2.CFrame = char.Torso.CFrame * CFrame.new(0,-2.5,0)
  3272. end
  3273. if TARG10 ~= nil and obj3 ~= nil and TARG11 ~= nil then
  3274. obj3.Size = obj3.Size:lerp(TARG10,.05)
  3275. obj3.CFrame = char.Torso.CFrame * CFrame.new(0,-2.5,0) * TARG11
  3276. end
  3277. if TARG10 ~= nil and obj3 ~= nil and obj3.Transparency ~= 1 then
  3278. obj2.Transparency = obj2.Transparency + .05
  3279. obj3.Transparency = obj3.Transparency + .05
  3280. wait(.1)
  3281. end
  3282. if char.Humanoid.Jump == true then
  3283. gd.Value = true
  3284. else
  3285. gd.Value = false
  3286. end
  3287. if energy < 100 and current == true then
  3288. energy = energy + .05
  3289. end
  3290. for i=1,#parts do
  3291. local Part = parts[i]
  3292. Part.Size = Part.Size:lerp(Vector3.new(6, 32, 7),.05)
  3293. for x=1,#poses do
  3294. Part.CFrame = poses[i]
  3295. end
  3296. end
  3297. if blt.Value < 99 and bl.Value == false and stun.Value == false then
  3298. blt.Value = blt.Value + 0.03
  3299. end
  3300. if bl.Value == true and blt.Value < 5 then
  3301. bl.Value = false
  3302. current = true
  3303. skl = false
  3304. end
  3305. if bl.Value == true then
  3306. blt.Value = blt.Value - .5
  3307. end
  3308. if atkt.Value > 0 then
  3309. atkt.Value = atkt.Value - .02
  3310. else
  3311. atk.Value = 1.2
  3312. end
  3313. if deft.Value > 0 then
  3314. deft.Value = deft.Value - .02
  3315. else
  3316. def.Value = .9
  3317. end
  3318. if spdt.Value > 0 then
  3319. spdt.Value = spdt.Value - .02
  3320. else
  3321. wait()
  3322. if spdt.Value < 1 then
  3323. spd.Value = 1.1
  3324. end
  3325. end
  3326.  
  3327. --Skill 1
  3328. local DV2 = S1T / S1TF
  3329. local initX6 = f1.Size.X.Scale
  3330. f1f:TweenSize( UDim2.new( initX6*DV2* 1.665, 0, 1, 0),"In","Linear",1 )
  3331.  
  3332.  
  3333.  
  3334. if S1T < 14 then
  3335. S1T = S1T + .02
  3336. S1 = false
  3337. else
  3338. S1 = true
  3339. end
  3340. if S1T == 14 then
  3341. S1 = true
  3342. end
  3343.  
  3344.  
  3345. --Skill 2
  3346. local DV2 = S2T / S2TF
  3347. local initX6 = f2.Size.X.Scale
  3348. f2f:TweenSize( UDim2.new( initX6*DV2* 3.566, 0, 1, 0),"In","Linear",1 )
  3349.  
  3350.  
  3351.  
  3352. if S2T < 14 then
  3353. S2T = S2T + .01
  3354. S2 = false
  3355. else
  3356. S2 = true
  3357. end
  3358. if S2T == 15 then
  3359. S2 = true
  3360. end
  3361.  
  3362.  
  3363. --Skill 3
  3364. local DV2 = S3T / S3TF
  3365. local initX6 = f3.Size.X.Scale
  3366. f3f:TweenSize( UDim2.new( initX6*DV2* 2.855, 0, 1, 0),"In","Linear",1 )
  3367.  
  3368.  
  3369.  
  3370. if S3T < 14 then
  3371. S3T = S3T + .01
  3372. S3 = false
  3373. else
  3374. S3 = true
  3375. end
  3376. if S3T == 15 then
  3377. S3 = true
  3378. end
  3379.  
  3380. --Skill 4
  3381. local DV2 = S4T / S4TF
  3382. local initX6 = f4.Size.X.Scale
  3383. f4f:TweenSize( UDim2.new( initX6*DV2*3.45, 0, 1, 0),"In","Linear",1 )
  3384.  
  3385.  
  3386. if S4T < 29 then
  3387. S4T = S4T + .01
  3388. S4 = false
  3389. else
  3390. S4= true
  3391. end
  3392. if S4T == 30 then
  3393. S4 = true
  3394. end
  3395.  
  3396. end)
  3397. --SEC HANDLER
  3398. --[[
  3399. S1 = true
  3400. S1T = 7
  3401. S1TF = 7
  3402. S2 = true
  3403. S2T = 15
  3404. S2TF = 15
  3405. S3 = true
  3406. S3T = 12
  3407. S3TF = 12
  3408. S4 = true
  3409. S4T = 30
  3410. S4TF = 30
  3411. energy = 0
  3412. --]]
  3413.  
  3414.  
  3415.  
  3416.  
  3417. --makeui(Color3.new(0,255,0),"+Speed")
  3418. --makeui(Color3.new(255,0,0),"+Damage")
  3419. --makeui(Color3.new(0,0,255),"+Defense")
  3420. ---VALUE CHANGERS
  3421. satk = atk.Value
  3422. sdef = def.Value
  3423. sspd = spd.Value
  3424. atk.Changed:connect(function()
  3425. if satk > atk.Value then
  3426. atkt.Value = atkt.Value + 4
  3427. makeui(Color3.new(255,0,0),"-Damage")
  3428. satk = atk.Value
  3429. else
  3430. atkt.Value = atkt.Value + 4
  3431. makeui(Color3.new(255,0,0),"+Damage")
  3432. satk = atk.Value
  3433. end
  3434. end)
  3435. def.Changed:connect(function()
  3436. if sdef > def.Value then
  3437. deft.Value = deft.Value + 4
  3438. makeui(Color3.new(0,0,255),"-Defense")
  3439. sdef = def.Value
  3440. else
  3441. deft.Value = deft.Value + 4
  3442. makeui(Color3.new(0,0,255),"+Defense")
  3443. sdef = def.Value
  3444. end
  3445. end)
  3446. spd.Changed:connect(function()
  3447. if sspd > spd.Value then
  3448. spdt.Value = spdt.Value + 4
  3449. makeui(Color3.new(0,255,0),"-Speed")
  3450. sspd = spd.Value
  3451. else
  3452. spdt.Value = spdt.Value + 4
  3453. makeui(Color3.new(0,255,0),"+Speed")
  3454. sspd = spd.Value
  3455. end
  3456. end)
  3457. bll.Changed:connect(function()
  3458. if bll.Value == true then
  3459.  
  3460. local c = Instance.new("Part",game.Workspace)
  3461. c.Anchored = true
  3462. c.CanCollide = false
  3463. c.BrickColor = BrickColor.new("Medium stone grey")
  3464. c.Shape = "Ball"
  3465. c.Size = Vector3.new(1,1,1)
  3466. c.CFrame = char.Torso.CFrame
  3467. c.TopSurface = "Smooth"
  3468. c.BottomSurface = "Smooth"
  3469. c.Transparency = .1
  3470. local v = Instance.new("Part",game.Workspace)
  3471. v.Anchored = true
  3472. v.CanCollide = false
  3473. v.BrickColor = BrickColor.new("Medium stone grey")
  3474. v.Size = Vector3.new(1,1,1)
  3475. v.CFrame = char.Torso.CFrame
  3476. v.TopSurface = "Smooth"
  3477. v.BottomSurface = "Smooth"
  3478. v.Transparency = .1
  3479. obj2 = c
  3480. TARG8 = Vector3.new(30,30,30)
  3481. obj3 = v
  3482. TARG10 = Vector3.new(15,21,15)
  3483. TARG11 = CFrame.new(0,0,0)
  3484. makeui(BrickColor.new("Bright bluish green").Color,"Blocked!")
  3485. bll.Value = false
  3486. end
  3487. end)
  3488. stun.Changed:connect(function()
  3489. if stun.Value == true then
  3490. makeui(Color3.new(255,255,0),"+Stunned")
  3491. wait(4)
  3492. if opend == true then
  3493. stun.Value = false
  3494. end
  3495. end
  3496. if stun.Value == false then
  3497. makeui(Color3.new(255,255,0),"-Stunned")
  3498. end
  3499. end)
  3500. -------------------
  3501. while wait() do
  3502. wait()
  3503. fa.Text = "Attack : "..atk.Value
  3504. fa2.Text = "Speed : "..spd.Value
  3505. fa3.Text = "Defense : "..def.Value
  3506. ----HP
  3507. local initX5 = f5.Size.X.Scale
  3508. local maxhp = char.Humanoid.MaxHealth
  3509. local hp = char.Humanoid.Health
  3510. local Pie = (hp / maxhp)
  3511. f5f:TweenSize( UDim2.new( initX5*Pie*3.33, 0, 1, 0),"In","Linear",1 )
  3512. ---Energy
  3513. local DV1 = energy / 100
  3514. local initX6 = f6.Size.X.Scale
  3515. f6f:TweenSize( UDim2.new( initX6*DV1*3.33, 0, 1, 0),"In","Linear",1 )
  3516. if opend == true and current == true and idleq == false then
  3517. if stun.Value == true then
  3518. TARG1 = stunned[3] -- LEFT ARM
  3519. TARG2 = stunned[2]-- RIGHT ARM
  3520. TARG3 = stunned[1] -- NECK
  3521. TARG4 = stunned[5] -- RIGHT LEG
  3522. TARG5 = stunned[4] -- LEFT LEG
  3523. TARG6 = stunned[6] -- TORSO TILT
  3524. char.Humanoid.WalkSpeed = 0
  3525. end
  3526. if stun.Value == false and skl == false then
  3527. char.Humanoid.WalkSpeed = 16 * spd.Value
  3528. end
  3529. if char.Humanoid.Jump == true and stun.Value == false and bl.Value == false then
  3530. TARG1 = jump[3] -- LEFT ARM
  3531. TARG2 = jump[2]-- RIGHT ARM
  3532. TARG3 = jump[1] -- NECK
  3533. TARG4 = jump[5] -- RIGHT LEG
  3534. TARG5 = jump[4] -- LEFT LEG
  3535. TARG6 = CFrame.new(0,0,0)
  3536. end
  3537. --ts.C0 = ts.C0:lerp(stunned[6],.4)
  3538. --nc.C0 = nc.C0:lerp(stunned[1],.4)
  3539. --ll.C0 = ll.C0:lerp(stunned[4],.4)
  3540. --rl.C0 = rl.C0:lerp(stunned[5],.4)
  3541. --w3.C0 = w3.C0:lerp(stunned[3],.4)
  3542. --w4.C0 = w4.C0:lerp(stunned[2],.4)
  3543. local lilwl = ll.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(30),math.rad(0),math.rad(0))
  3544. local lirwl = rl.C0 * CFrame.new(0,0,.5) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0))
  3545.  
  3546. --RIGHT
  3547. local lilwr = ll.C0 * CFrame.new(0,0,.5) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0))
  3548. local lirwr = rl.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(30),math.rad(0),math.rad(0))
  3549.  
  3550.  
  3551. --
  3552. if bl.Value == false then
  3553. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false then
  3554. TARG1 = walk[8] -- LEFT ARM
  3555. TARG2 = walk[7]-- RIGHT ARM
  3556. TARG3 = walk[6] -- NECK
  3557. TARG4 = walk[4] -- RIGHT LEG
  3558. TARG5 = walk[3] -- LEFT LEG
  3559. TARG6 = walk[5] -- TORSO
  3560. STARG = CFrame.new(0,-1,0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(-120))
  3561. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  3562. wait(.05)
  3563. end
  3564. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  3565. wait(.05)
  3566. end
  3567. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  3568. wait(.05)
  3569. end
  3570. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  3571. wait(.05)
  3572. end
  3573. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  3574. TARG1 = walk[8] -- LEFT ARM
  3575. TARG2 = walk[7]-- RIGHT ARM
  3576. TARG3 = walk[6] -- NECK
  3577. TARG4 = walk[2] -- RIGHT LEG
  3578. TARG5 = walk[1] -- LEFT LEG
  3579. TARG6 = walk[5] -- TORSO
  3580. STARG = CFrame.new(0,-1,0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(-120))
  3581. end
  3582. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  3583. wait(.05)
  3584. end
  3585. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  3586. wait(.05)
  3587. end
  3588. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  3589. wait(.05)
  3590. end
  3591. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  3592. wait(.05)
  3593. end
  3594. else
  3595. if IdleAndWalk == false and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  3596. TARG1 = idle[5]
  3597. TARG2 = idle[6]
  3598. TARG3 = idle[2]
  3599. TARG4 = idle[4]
  3600. TARG5 = idle[3]
  3601. TARG6 = idle[1]
  3602. STARG = CFrame.new(0,-1,0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(-120))
  3603. end
  3604. end
  3605. end
  3606. --
  3607. end
  3608. end
  3609.  
  3610. --[[
  3611.  
  3612.  
  3613.  
  3614.  
  3615. ts.C0 = ts.C0:lerp(idle[1],.4)
  3616. nc.C0 = nc.C0:lerp(idle[2],.4)
  3617. ll.C0 = ll.C0:lerp(idle[3],.4)
  3618. rl.C0 = rl.C0:lerp(idle[4],.4)
  3619. w3.C0 = w3.C0:lerp(idle[5],.4)
  3620. w4.C0 = w4.C0:lerp(idle[6],.4)
  3621.  
  3622. TARG1 = idle[5]
  3623. TARG2 = idle[6]
  3624. TARG3 = idle[2]
  3625. TARG4 = idle[5]
  3626. TARG5 = idle[3]
  3627. TARG6 = idle[2]
  3628. if TARG4 ~= nil then
  3629. rl.C0 = rl.C0:lerp(TARG4,lspeed)
  3630. end
  3631. if TARG5 ~= nil then
  3632. ll.C0 = ll.C0:lerp(TARG5,lspeed)
  3633. end
  3634. if TARG3 ~= nil then
  3635. nc.C0 = nc.C0:lerp(TARG3,lspeed)
  3636. end
  3637. if TARG1 ~= nil then
  3638. w3.C0 = w3.C0:lerp(TARG1,Speed)
  3639. end
  3640. if TARG2 ~= nil then
  3641. w4.C0 = w4.C0:lerp(TARG2,Speed)
  3642. end
  3643.  
  3644. ll.C0 = ll.C0:lerp(walk[3],.4)
  3645. rl.C0 = rl.C0:lerp(walk[4],.4)
  3646. ---OTHER ANIMS
  3647. ts.C0 = ts.C0:lerp(walk[5],.4)
  3648. nc.C0 = nc.C0:lerp(walk[6],.4)
  3649. w4.C0 = w4.C0:lerp(walk[7],.4)
  3650. w3.C0 = w3.C0:lerp(walk[8],.4)
  3651.  
  3652. TARG1 = walk[8] -- LEFT ARM
  3653. TARG2 = walk[7]-- RIGHT ARM
  3654. TARG3 = walk[6] -- NECK
  3655. TARG4 = walk[] -- RIGHT LEG
  3656. TARG5 = walk[] -- LEFT LEG
  3657. TARG6 = walk[5] -- TORSO
  3658.  
  3659. for i = 0,1,wait() do
  3660. wait()
  3661. ll.C0 = ll.C0:lerp(walk[3],.4)
  3662. rl.C0 = rl.C0:lerp(walk[4],.4)
  3663. ---OTHER ANIMS
  3664. ts.C0 = ts.C0:lerp(walk[5],.4)
  3665. nc.C0 = nc.C0:lerp(walk[6],.4)
  3666. w4.C0 = w4.C0:lerp(walk[7],.4)
  3667. w3.C0 = w3.C0:lerp(walk[8],.4)
  3668. end--]]
  3669.  
  3670. -- Player declarations
  3671. local player = game.Players.megatron2006
  3672. local char = player.Character
  3673.  
  3674. -- Body parts
  3675. local torso = char.Torso
  3676.  
  3677. -- Tool declarations
  3678. local mouseDown = false
  3679. local keysDown = {}
  3680.  
  3681. -- Earth bending declarations
  3682. local raisingEarth = false
  3683. local raisingTower = false
  3684. local wall = false
  3685. local groundAttack = false
  3686. local lastTower = nil
  3687. local disabled = {}
  3688. local frames = {}
  3689. local parts = {}
  3690. local Taunts = {"You aren't dead yet?", "Just die!", "Take these, I insist!", "I told you it's useless!", "You will not be the first to die by my hand!", "You will suffer!", "Don't try to evade the inevitable!", "I will tear you apart!","You are pathetic!","You will never defeat me!","I AM GOD!"}
  3691. local raisechats = {"I will make you realize the depth of my power, even if I have to grind your body into dust!","I suggest you run.", "Now you're just pissing me off.", "Hmph.", "It's useless.",".....", "Your life ends here!","Foolish!","Do you know who I am?","What stupidity.","Hmm.","Hmph. Your confidence is annoying.","You cannot kill a god."}
  3692.  
  3693. -- Main
  3694. function main(mouse)
  3695. while true do wait(1/30)
  3696. local look = CFrame.new(torso.Position, torso.Position + mouse.Hit.lookVector)
  3697.  
  3698. -- Reset parts
  3699. parts = {}
  3700.  
  3701. -- Get parts
  3702. for x = -20, 20, 10 do
  3703. for y = -20, 20, 10 do
  3704. for z = -30, -10, 10 do
  3705. local pos = look * Vector3.new(x, y, z)
  3706. getPartsInRegion3(
  3707. Region3.new(
  3708. pos + Vector3.new(1,1,1)*-9,
  3709. pos + Vector3.new(1,1,1)* 9
  3710. ),
  3711. parts
  3712. )
  3713. end
  3714. end
  3715. end
  3716.  
  3717. -- Mouse down
  3718. if mouseDown then
  3719. -- Create dif and bodies
  3720. for _, part in pairs(parts) do
  3721. if part.Name == "Earth" and not disabled[part] then
  3722. if not frames[part] and part ~= lastTower then
  3723. frames[part] = look:toObjectSpace(part.CFrame)
  3724.  
  3725. part:ClearAllChildren()
  3726. part.Anchored = false
  3727.  
  3728. -- Create bodies
  3729. createBody("Position", part)
  3730. createBody("Gyro", part)
  3731. end
  3732. end
  3733. end
  3734.  
  3735. -- Move bodies
  3736. for part in pairs(frames) do
  3737. local bodyPos = part:FindFirstChild("BodyPosition")
  3738. local bodyGyr = part:FindFirstChild("BodyGyro")
  3739.  
  3740. -- Bodies exist
  3741. if bodyPos and bodyGyr then
  3742. local dif = look * frames[part]
  3743.  
  3744. bodyPos.position = dif.p
  3745. bodyGyr.cframe = dif
  3746. else
  3747. frames[part] = nil
  3748. end
  3749. end
  3750. else
  3751. for part in pairs(frames) do
  3752. if part.Name == "Earth" then
  3753. frames[part] = nil
  3754.  
  3755. part:ClearAllChildren()
  3756. end
  3757. end
  3758. end
  3759. end
  3760. end
  3761.  
  3762. -- On key change
  3763. function onKeyChange(mouse, key, state)
  3764. -- Raise earth
  3765. if key == "m" and state and not raisingEarth then
  3766. game:GetService("Chat"):Chat(char.Head, raisechats[math.random(1,#raisechats)], Enum.ChatColor.Red)
  3767. raisingEarth = true
  3768. while keysDown[key] do
  3769. local torsoY = torso.Position.y + 3
  3770. local pos = planeY(torso.Position, 0.4 - 4/2)
  3771. local dir = planeY(mouse.Hit.lookVector).unit
  3772. local frame = CFrame.new(pos, pos + dir) * CFrame.new(r(-10, 10), 0, r(-20, -5))
  3773.  
  3774. -- Create earth part
  3775. local part = createEarth(workspace)
  3776. part.Anchored = true
  3777. part.Size = Vector3.new(4, 4, 4)
  3778. disabled[part] = true
  3779.  
  3780. -- Raise earth
  3781. for i = 1, 4 do i = i/4
  3782. part.CFrame = frame * CFrame.new(0, (torsoY - frame.y)*i, 0)
  3783. wait(1/10000000)
  3784. if not part.Anchored then
  3785. break
  3786. end
  3787. end
  3788.  
  3789. disabled[part] = nil
  3790. part.Anchored = false
  3791.  
  3792. wait(1/100)
  3793. end
  3794. raisingEarth = false
  3795.  
  3796.  
  3797.  
  3798.  
  3799.  
  3800. elseif key == "c" and state and not raisingEarth then
  3801. game:GetService("Chat"):Chat(char.Head, raisechats[math.random(1,#raisechats)], Enum.ChatColor.Red)
  3802. raisingEarth = true
  3803. while keysDown[key] do
  3804. local torsoY = torso.Position.y + 3
  3805. local pos = planeY(torso.Position, 0.4 - 4/2)
  3806. local dir = planeY(mouse.Hit.lookVector).unit
  3807. local frame = CFrame.new(pos, pos + dir) * CFrame.new(r(-10, 10), 0, r(-20, -5))
  3808.  
  3809. -- Create earth part
  3810. local part = createEarth(workspace)
  3811. part.Anchored = true
  3812. part.Size = Vector3.new(2, 2, 2)
  3813. disabled[part] = true
  3814.  
  3815. -- Raise earth
  3816. for i = 1, 4 do i = i/4
  3817. part.CFrame = frame * CFrame.new(0, (torsoY - frame.y)*i, 0)
  3818. wait(1/10000000)
  3819. if not part.Anchored then
  3820. break
  3821. end
  3822. end
  3823.  
  3824. disabled[part] = nil
  3825. part.Anchored = false
  3826.  
  3827. wait(1/100)
  3828. end
  3829. raisingEarth = false
  3830.  
  3831.  
  3832.  
  3833. -- Push earth
  3834. elseif key == "f" and state then
  3835. game:GetService("Chat"):Chat(char.Head, Taunts[math.random(1,#Taunts)], Enum.ChatColor.Red)
  3836. for _, part in pairs(parts) do
  3837. if part.Name == "Earth" and part ~= lastTower then
  3838. part:ClearAllChildren()
  3839. part.Anchored = false
  3840.  
  3841. -- Add force
  3842. local bodyForce = createBody("Force", part)
  3843. bodyForce.force = mouse.Hit.lookVector*1.5e4 * part:GetMass()
  3844.  
  3845. game.Debris:AddItem(bodyForce, 1/30)
  3846.  
  3847. -- Disable part
  3848. disabled[part] = true
  3849. delay(1, function()
  3850. disabled[part] = nil
  3851. end)
  3852. end
  3853. end
  3854.  
  3855. -- Monster Ability
  3856. elseif key == "n" and state then
  3857. wait(.1)
  3858. f = Instance.new("Fire")
  3859. f.Parent = char.Head
  3860. f.Color = Color3.new(0,0,0)
  3861. f.Size = 5
  3862. f.Heat = 5
  3863. wait(.1)
  3864. g = Instance.new("Fire")
  3865. g.Parent = char["Right Arm"]
  3866. g.Color = Color3.new(0,0.8,0.9)
  3867. g.Size = 5
  3868. g.Heat = 10
  3869. wait(.1)
  3870. h = Instance.new("Fire")
  3871. h.Parent = char["Left Arm"]
  3872. h.Color = Color3.new(0.7,0,0)
  3873. h.Size = 5
  3874. h.Heat = 10
  3875. wait(.1)
  3876. z = Instance.new("Sound")
  3877. z.Parent = game.Workspace
  3878. z.SoundId = "http://www.roblox.com/asset/?id="
  3879. z.Looped = false
  3880. z.Volume = 8
  3881. z.Pitch = 0.8
  3882. wait(1.8)
  3883. game:GetService("Chat"):Chat(char.Head, "Hmph.", Enum.ChatColor.Red)
  3884. wait(3.4)
  3885. game:GetService("Chat"):Chat(char.Head, "This has become a pointless battle.", Enum.ChatColor.Red)
  3886. wait(2.4)
  3887. game:GetService("Chat"):Chat(char.Head, "I will end this quickly", Enum.ChatColor.Red)
  3888. wait(.1)
  3889. z:Play()
  3890. char.Humanoid.MaxHealth = 900000000
  3891. wait(1)
  3892. char.Humanoid.Health = 900000000
  3893. wait(182)
  3894. char.Humanoid.MaxHealth = 600
  3895. z:Remove()
  3896. f:Remove()
  3897. g:Remove()
  3898. h:Remove()
  3899.  
  3900. -- N-Rage
  3901. elseif key == "n" and state then
  3902. c = Instance.new("Sound")
  3903. c.Parent = game.Workspace
  3904. c.SoundId = "http://www.roblox.com/asset/?id=157747165"
  3905. c.Looped = false
  3906. c.Volume = 1
  3907. c.Pitch = .7
  3908. wait(1.8)
  3909. game:GetService("Chat"):Chat(char.Head, "What the hell was that?", Enum.ChatColor.Red)
  3910. wait(2)
  3911. game:GetService("Chat"):Chat(char.Head, "Did you actually believe you could harm me?", Enum.ChatColor.Red)
  3912. wait(2.4)
  3913. game:GetService("Chat"):Chat(char.Head, "If you would simply let yourself die, you would not have to go through this pointless suffering.", Enum.ChatColor.Red)
  3914. wait(3.5)
  3915. game:GetService("Chat"):Chat(char.Head, "All you have done is waste my time.", Enum.ChatColor.Red)
  3916. wait(.1)
  3917. c:Play()
  3918. char.Humanoid.MaxHealth = math.huge
  3919. wait(160)
  3920. char.Humanoid.MaxHealth = 10000
  3921. c:Remove()
  3922.  
  3923. -- Break earth
  3924. elseif key == "b" and state then
  3925. game:GetService("Chat"):Char(char.Head, "Hmph.", Enum.ChatColor.Red)
  3926. wait(.01)
  3927. for part in pairs(frames) do
  3928. if part.Size == Vector3.new(4, 4, 4) then
  3929. for x = -1, 2, 2 do
  3930. for y = -1, 2, 2 do
  3931. for z = -1, 1, 2 do
  3932. local oPart = createEarth(workspace)
  3933. oPart.Size = Vector3.new(2, 2, 2)
  3934. oPart.CFrame = part.CFrame * CFrame.new(x*1.1, y*1.1, z*1.1)
  3935. end
  3936. end
  3937. end
  3938. part:Destroy()
  3939. end
  3940.  
  3941. end
  3942.  
  3943. for part in pairs(frames) do
  3944. if part.Size == Vector3.new(25, 15, 25) then
  3945. for x = -3, 2, 2 do
  3946. for y = -3, 2, 2 do
  3947. for z = -3, 1, 2 do
  3948. local oPart = createEarth(workspace)
  3949. oPart.Size = Vector3.new(2, 2, 2)
  3950. oPart.CFrame = part.CFrame * CFrame.new(x*1.1, y*1.1, z*1.1)
  3951. end
  3952. end
  3953. end
  3954. part:Destroy()
  3955. end
  3956.  
  3957. end
  3958.  
  3959. for part in pairs(frames) do
  3960. if part.Size == Vector3.new(2, 2, 2) then
  3961. for x = -0.5, 2, 2 do
  3962. for y = -0.5, 2, 2 do
  3963. for z = -0.5, 1, 2 do
  3964. local oPart = createEarth(workspace)
  3965. oPart.Size = Vector3.new(1, 1, 1)
  3966. oPart.CFrame = part.CFrame * CFrame.new(x*1.1, y*1.1, z*1.1)
  3967. end
  3968. end
  3969. end
  3970. part:Destroy()
  3971. end
  3972.  
  3973. end
  3974.  
  3975.  
  3976.  
  3977.  
  3978. -- Raise tower
  3979. elseif key == "r" and state and not raisingTower then
  3980. game:GetService("Chat"):Chat(char.Head, raisechats[math.random(1,#raisechats)], Enum.ChatColor.Red)
  3981. raisingTower = true
  3982. lastTower = nil
  3983. if torso.Position.y - 5/2 < 20.4 then
  3984. local part = createEarth(workspace)
  3985. part.Anchored = true
  3986. disabled[part] = true
  3987.  
  3988. for i = 0, 20, 4 do
  3989. part.Size = Vector3.new(5, i, 5)
  3990. part.CFrame = CFrame.new(torso.Position.x, 0.4 + part.Size.y/2, torso.Position.z)
  3991. torso.CFrame = (torso.CFrame - torso.CFrame.p) + Vector3.new(torso.Position.x, part.Position.y + part.Size.y/2 + 5/2, torso.Position.z)
  3992. wait(1/30)
  3993. end
  3994.  
  3995. lastTower = part
  3996.  
  3997. disabled[part] = nil
  3998. part.Anchored = false
  3999. end
  4000. raisingTower = false
  4001.  
  4002.  
  4003. -- Raise wall
  4004. elseif key == "t" and state and not wall then
  4005. game:GetService("Chat"):Chat(char.Head, raisechats[math.random(1,#raisechats)], Enum.ChatColor.Red)
  4006. wall = true
  4007. lastWall = nil
  4008. if torso.Position.y - 5/2 < 20.4 then
  4009. local part = createEarth(workspace)
  4010. part.Anchored = true
  4011. disabled[part] = true
  4012.  
  4013. for i = 0, 1, 20 do
  4014. part.Size = Vector3.new(25, 15, 25)
  4015. part.CFrame = CFrame.new(torso.Position.x, 0.4 + part.Size.y/2, torso.Position.z)
  4016. torso.CFrame = (torso.CFrame - torso.CFrame.p) + Vector3.new(torso.Position.x, part.Position.y + part.Size.y/2 + 5/2, torso.Position.z)
  4017. wait(1/30)
  4018. end
  4019.  
  4020. lastWall = part
  4021.  
  4022. disabled[part] = nil
  4023. part.Anchored = false
  4024. end
  4025. wall = false
  4026.  
  4027. -- Ground attack
  4028. elseif key == "g" and state and not groundAttack then
  4029. game:GetService("Chat"):Chat(char.Head, Taunts[math.random(1,#Taunts)], Enum.ChatColor.Red)
  4030. groundAttack = true
  4031. delay(1, function()
  4032. groundAttack = false
  4033. end)
  4034.  
  4035. local dir = planeY(mouse.Hit.p - torso.Position).unit
  4036. local pos = planeY(torso.Position, 0.4 + 1) + dir*5
  4037.  
  4038. local ground = {}
  4039.  
  4040. delay(5, function()
  4041. for i = 1, 20 do
  4042. for _, part in pairs(ground) do
  4043. if part.Anchored then
  4044. part.CFrame = part.CFrame + Vector3.new(0, -1/7, 0)
  4045. end
  4046. end
  4047. wait(1/30)
  4048. end
  4049. for _, part in pairs(ground) do
  4050. if part.Anchored then
  4051. part:Destroy()
  4052. end
  4053. end
  4054. end)
  4055.  
  4056. for i = 1, 10 do
  4057. local hit, pos2 = rayCast(pos, dir*5, {char})
  4058.  
  4059. local part = createEarth(workspace)
  4060. part.Anchored = true
  4061. part.Size = Vector3.new(4, 4, 4)
  4062. part.CFrame = CFrame.new(pos2, pos2 + dir) * CFrame.Angles(math.rad(-50), 0, 0) + Vector3.new(0, -0, 0)
  4063.  
  4064. ground[#ground + 1] = part
  4065.  
  4066. -- Add force
  4067. if hit then
  4068. local mass = hit:GetMass()
  4069.  
  4070. -- Hit player
  4071. for _, oPlayer in pairs(game.Players:GetPlayers()) do
  4072. if oPlayer.Character and oPlayer.Character:FindFirstChild("Torso") and hit:IsDescendantOf(oPlayer.Character) then
  4073. hit = oPlayer.Character.Torso
  4074. mass = 20
  4075. end
  4076. end
  4077.  
  4078. if hit.Name ~= "Torso" then
  4079. hit:ClearAllChildren()
  4080. end
  4081. hit.Anchored = false
  4082.  
  4083. -- Add force
  4084. local bodyForce = createBody("Force", hit)
  4085. bodyForce.force = (dir + Vector3.new(0, 0.2, 0)).unit*1e4 * mass
  4086.  
  4087. game.Debris:AddItem(bodyForce, 1/30)
  4088. break
  4089. end
  4090.  
  4091. pos = pos2
  4092. wait(1/20)
  4093. end
  4094. end
  4095. end
  4096.  
  4097. --- CORE CODE BELOW --- CORE CODE BELOW --- CORE CODE BELOW ---
  4098. --- CORE CODE BELOW --- CORE CODE BELOW --- CORE CODE BELOW ---
  4099. --- CORE CODE BELOW --- CORE CODE BELOW --- CORE CODE BELOW ---
  4100.  
  4101. -- Clear old tool
  4102. player.Backpack:ClearAllChildren()
  4103.  
  4104. -- Create tool
  4105. local tool = Instance.new("HopperBin")
  4106. tool.Parent = player.Backpack
  4107. tool.Name = "Doom"
  4108.  
  4109. -- Tool selected
  4110. tool.Selected:connect(function(mouse)
  4111. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  4112.  
  4113. -- Mouse events
  4114. mouse.Button1Down:connect(function()
  4115. mouseDown = true
  4116. end)
  4117. mouse.Button1Up:connect(function()
  4118. mouseDown = false
  4119. end)
  4120. mouse.KeyDown:connect(function(key)
  4121. keysDown[key:lower()] = true
  4122. onKeyChange(mouse, key:lower(), true)
  4123. end)
  4124. mouse.KeyUp:connect(function(key)
  4125. keysDown[key:lower()] = false
  4126. onKeyChange(mouse, key:lower(), false)
  4127. end)
  4128.  
  4129. -- Call main
  4130. main(mouse)
  4131. end)
  4132.  
  4133. --- LIBRARY BELOW --- LIBRARY BELOW --- LIBRARY BELOW ---
  4134. --- LIBRARY BELOW --- LIBRARY BELOW --- LIBRARY BELOW ---
  4135. --- LIBRARY BELOW --- LIBRARY BELOW --- LIBRARY BELOW ---
  4136.  
  4137. -- Ray cast
  4138. function rayCast(pos, dir, ignore)
  4139. return workspace:FindPartOnRayWithIgnoreList(Ray.new(pos, dir), ignore)
  4140. end
  4141.  
  4142. -- Create body
  4143. function createBody(type, path)
  4144. local body = Instance.new("Body" .. type)
  4145. if type == "Gyro" then
  4146. body.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  4147. elseif type ~= "Force" then
  4148. body.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  4149. end
  4150. body.Parent = path
  4151. return body
  4152. end
  4153.  
  4154. -- Get parts in region 3
  4155. function getPartsInRegion3(region, parts)
  4156. repeat
  4157. local regParts = workspace:FindPartsInRegion3WithIgnoreList(region, parts, 100)
  4158. for i, part in pairs(regParts) do
  4159. parts[#parts + 1] = part
  4160. end
  4161. until #regParts < 100
  4162. end
  4163.  
  4164. -- Random
  4165. function r(min, max)
  4166. return math.random()*(max - min) + min
  4167. end
  4168.  
  4169. -- Plane y
  4170. function planeY(v, y)
  4171. return Vector3.new(v.x, y or 0, v.z)
  4172. end
  4173.  
  4174. -- Create earth
  4175. function createEarth(path)
  4176. local part = createPart("Earth", path)
  4177. part.BrickColor = BrickColor.new("Really red")
  4178. part.Material = "Neon"
  4179. m = Instance.new("Fire",part)
  4180. m.Heat = 100
  4181. m.size = 100
  4182. m.Color = Color3.new(0,0.8,0.9)
  4183. part.Parent = path
  4184. return part
  4185. end
  4186.  
  4187. -- Create part
  4188. function createPart(name, path)
  4189. local part = Instance.new("Part")
  4190. part.FormFactor = "Symmetric"
  4191. part.BottomSurface = "Smooth"
  4192. part.TopSurface = "Smooth"
  4193. part.Size = Vector3.new(1, 1, 1)
  4194. part.Name = name
  4195. part.Parent = path
  4196. return part
  4197. end
  4198.  
  4199. lp=game.Players.LocalPlayer
  4200. chr=lp.Character
  4201. attacking=false
  4202. mouse = game.Players.LocalPlayer:GetMouse()
  4203. Weld = function(p0,p1,x,y,z,rx,ry,rz,par)
  4204. p0.Position = p1.Position
  4205. local w = Instance.new('Motor',par or p0)
  4206. w.Part0 = p0
  4207. w.Part1 = p1
  4208. w.C1 = CFrame.new(x,y,z)*CFrame.Angles(rx,ry,rz)
  4209. return w
  4210. end
  4211. z=Instance.new("Part",chr)
  4212. z.Size=chr.Torso.Size
  4213. cloud=Instance.new("SpecialMesh",z)
  4214. cloud.MeshId="rbxassetid://1095708"
  4215. cloud.Scale=Vector3.new(2,2,2)
  4216. z.Transparency=1
  4217. Weld(z,chr.Torso,0,15,0,0,0,0,z)
  4218. Song = function(Volume,SoundId,Looped,Object)
  4219. sound=Instance.new("Sound")
  4220. sound.Parent=Object
  4221. sound.Volume=Volume
  4222. sound.SoundId="rbxassetid://"..SoundId
  4223. sound.Looped=Looped
  4224. sound:Play()
  4225. end
  4226. Lightning = function(Start,End,Times,Offset,Color,Thickness,Transparency)
  4227. local magz = (Start - End).magnitude local curpos = Start local trz = {-Offset,Offset}
  4228. for i=1,Times do
  4229. local li = Instance.new("Part",workspace)
  4230. li.TopSurface =0
  4231. li.BottomSurface = 0
  4232. li.Anchored = true
  4233. li.Material = 288
  4234. li.Transparency = Transparency or 0.4
  4235. li.BrickColor = BrickColor.new("Cyan")
  4236. li.formFactor = "Custom"
  4237. li.CanCollide = false
  4238. li.Size = Vector3.new(Thickness,Thickness,magz/Times) local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  4239. local trolpos = CFrame.new(curpos,End)*CFrame.new(0,0,magz/Times).p+ofz
  4240. if Times == i then
  4241. local magz2 = (curpos - End).magnitude li.Size = Vector3.new(Thickness,Thickness,magz2)
  4242. li.CFrame = CFrame.new(curpos,End)*CFrame.new(0,0,-magz2/2)
  4243. else
  4244. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  4245. end
  4246. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p game.Debris:AddItem(li,0.25)
  4247. end
  4248. end
  4249. mouse.KeyDown:connect(function(key)
  4250. key:lower()
  4251. if key == "q" and attacking == false then
  4252. attacking= true
  4253. for i=1,4 do
  4254. Lightning(chr.Head.Position,mouse.Hit.p,10,math.random(5,10),math.random(-2.5,2.5),"New Yeller",0.05,0.3)
  4255. explode=Instance.new("Explosion",Workspace)
  4256. explode.Position=mouse.Hit.p
  4257. end
  4258. attacking=false
  4259. end
  4260. end)
  4261. mouse.KeyDown:connect(function(key)
  4262. key:lower()
  4263. if key == "." and attacking == false then
  4264. attacking = true
  4265. Instance.new("ForceField",chr)
  4266. chr.Torso.Anchored=true
  4267. z.Transparency=0
  4268. z.Material = 288
  4269. for i=1,20 do
  4270. Wait()
  4271. Lightning(z.Position,chr.Torso.Position,10,math.random(5,10),math.random(-2.5,2.5),"New Yeller",0.05,0.3)
  4272. explode=Instance.new("Explosion",chr)
  4273. explode.Position=chr.Torso.Position
  4274. end
  4275. wait(2)
  4276. chr.ForceField:Destroy()
  4277. chr.Torso.Anchored=false
  4278. z.Transparency=1
  4279. z.Material = 288
  4280. attacking=false
  4281. end
  4282. end)
  4283. mouse.KeyDown:connect(function(key)
  4284. key:lower()
  4285. if key == "." and attacking == false then
  4286. Song(math.huge,172949886,true,chr.Head)
  4287. end
  4288. end)
  4289. mouse.KeyDown:connect(function(key)
  4290. key:lower()
  4291. if key == "e" and attacking == false then
  4292. wait()
  4293. for i=1,5 do
  4294. Lightning(chr.Torso.Position,mouse.Hit.p,10,math.random(5,10),math.random(-2.5,2.5),"New Yeller",0.05,0.3)
  4295. end
  4296. Wait()
  4297. x=Instance.new("Part",chr)
  4298. x.Transparency=1
  4299. x.Material = 288
  4300. x.Position=mouse.Hit.p
  4301. chr.Torso.CFrame=x.CFrame*CFrame.new(0,5,0)
  4302. x:Destroy()
  4303. end
  4304. end)
  4305. mouse.KeyDown:connect(function(key)
  4306. key:lower()
  4307. if key == "y" and attacking == false then
  4308. for i,v in pairs(chr.Head:GetChildren()) do
  4309. if v:IsA("Sound") then
  4310. v:Destroy()
  4311. end
  4312. end
  4313. end
  4314. end)
  4315. mouse.KeyDown:connect(function(key)
  4316. key:lower()
  4317. if key == "j" and attacking == false then
  4318. for i=1,10 do
  4319. wait()
  4320. Lightning(z.Position,chr.Torso.Position,10,math.random(5,10),math.random(-2.5,2.5),"New Yeller",0.05,0.3)
  4321. explode=Instance.new("Explosion",chr)
  4322. explode.Position=chr.Torso.Position
  4323. explode.BlastPressure=0
  4324. chr.Humanoid.Health=chr.Humanoid.Health+10
  4325. end
  4326. end
  4327. end)
  4328. mouse.KeyDown:connect(function(key)
  4329. key:lower()
  4330. if key == "r" and attacking == false then
  4331. attacking=true
  4332. z.Transparency=0
  4333. Lightning(z.Position,mouse.Hit.p,10,math.random(5,10),math.random(-2.5,2.5),"New Yeller",0.05,0.3)
  4334. explode=Instance.new("Explosion",chr)
  4335. explode.Position=mouse.Hit.p
  4336. z.Transparency=1
  4337. attacking=false
  4338. end
  4339. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement