Advertisement
xx_g

roblox ZenaticV2

May 10th, 2017
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 126.28 KB | None | 0 0
  1. --[[
  2. @Name: Zenatic
  3. @Author: Chromium
  4. @Date: 7/24/16
  5. @Engine: Lua 5.1
  6.  
  7. ]]
  8.  
  9. --[[
  10.  
  11. CREDITS:
  12. - Citrus for the Modified Cape
  13. - PixelFir3 for his Gauntlet
  14. - Spectroxis for the sword build
  15. - Savagemunkey's Legacy rings
  16. - Tyrantv for his GUI (I removed the gui for now)
  17.  
  18. ]]
  19.  
  20. --[[
  21.  
  22. Version 2 - 9/3/16
  23.  
  24. - Added Variables
  25. - Cleaned up Script
  26. - added cape, hood, and the suit (all toggleable)
  27. - made the script use less fps because all the welds crash sometimes
  28. - removed armor
  29. - removed blood
  30. - anims should be good now
  31. - removed intro
  32. - no more errors as all variables should be set correctly now
  33. - P.S fuck you Lapis
  34.  
  35. Version 1 - 7/24/16
  36.  
  37. - Added Cape
  38. - Added Armor
  39. - Added Intro
  40. - Added blood
  41. - Added sound
  42. - Tried (?) to add walking sounds
  43.  
  44. ]]
  45.  
  46. --[[
  47. Controls:
  48.  
  49. --Z: Zenatic PUNCH
  50. --X: Zenatic KICK
  51. --C: Zenatic Stomp
  52. --V: Zenatic FLIP KICK
  53. --Left Click: Slash 3 times and then fourth time click you get a special kick
  54.  
  55. ]]
  56.  
  57. print'Zenatic Loaded.'
  58.  
  59. --Variables
  60. Gui = true -- change true to false for no gui
  61. Cape = true --change true to false for no cape
  62. Hood = true --change true to false for no hood
  63. PrimaryColor = 'Really black' --Choose the color of the rings under you
  64. SecondaryColor = 'Institutional white' --Choose the color of the rings under you
  65. Suit = true --If you want the suit or not
  66.  
  67. --[[CHROMIUM_WEAPONRY]]--
  68. wait(1 / 60)
  69. local Player = game.Players.localPlayer
  70. local Character = Player.Character
  71. local Humanoid = Character.Humanoid
  72. local mouse = Player:GetMouse()
  73. local LeftArm = Character["Left Arm"]
  74. local RightArm = Character["Right Arm"]
  75. local LeftLeg = Character["Left Leg"]
  76. local RightLeg = Character["Right Leg"]
  77. local Head = Character.Head
  78. local Torso = Character.Torso
  79. local cam = game.Workspace.CurrentCamera
  80. local RootPart = Character.HumanoidRootPart
  81. local RootJoint = RootPart.RootJoint
  82. local cf = CFrame.new
  83. local mr = math.rad
  84. local angles = CFrame.Angles
  85. local ud = UDim2.new
  86. local c3 = Color3.new
  87. ---------------------------------------
  88. local p = game.Players.LocalPlayer
  89. local char = p.Character
  90. local mouse = p:GetMouse()
  91. local larm = char["Left Arm"]
  92. local rarm = char["Right Arm"]
  93. local lleg = char["Left Leg"]
  94. local rleg = char["Right Leg"]
  95. local hed = char.Head
  96. local torso = char.Torso
  97. local hum = char.Humanoid
  98. local cam = game.Workspace.CurrentCamera
  99. local root = char.HumanoidRootPart
  100. local vt=Vector3.new
  101. local deb = false
  102. local CanAttack = true
  103. local shot = 0
  104. local animpose = "Idle"
  105. local lastanimpose = "Idle"
  106. local stanceToggle = "Normal"
  107. local l = game:GetService("Lighting")
  108. local rs = game:GetService("RunService").RenderStepped
  109. math.randomseed(os.time())
  110. hum.MaxHealth = 9001
  111. wait(1)
  112. hum.Health = 9001
  113.  
  114. Mesh2 = function(par,num,x,y,z)
  115. local msh = _
  116. if num == 1 then
  117. msh = Instance.new("CylinderMesh",par)
  118. elseif num == 2 then
  119. msh = Instance.new("SpecialMesh",par)
  120. msh.MeshType = 3
  121. elseif num == 3 then
  122. msh = Instance.new("BlockMesh",par)
  123. elseif num == 4 then
  124. msh = Instance.new("SpecialMesh",par)
  125. msh.MeshType = "Torso"
  126. elseif type(num) == 'string' then
  127. msh = Instance.new("SpecialMesh",par)
  128. msh.MeshId = num
  129. end
  130. msh.Scale = Vector3.new(x,y,z)
  131. return msh
  132. end
  133.  
  134. Weld2 = function(p0,p1,x,y,z,rx,ry,rz,par)
  135. local w = Instance.new('Motor',par or p0)
  136. w.Part0 = p0
  137. w.Part1 = p1
  138. w.C1 = CFrame.new(x,y,z)*CFrame.Angles(rx,ry,rz)
  139. return w
  140. end
  141.  
  142. function NoOutline(Part)
  143. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  144. end
  145.  
  146. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  147. local fp=Instance.new("Part")
  148. fp.formFactor=formfactor
  149. fp.Parent=parent
  150. fp.Reflectance=reflectance
  151. fp.Transparency=transparency
  152. fp.CanCollide=false
  153. fp.Locked=true
  154. fp.BrickColor=brickcolor
  155. fp.Name=name
  156. fp.Size=size
  157. fp.Position=torso.Position
  158. NoOutline(fp)
  159. fp.Material="SmoothPlastic"
  160. fp:BreakJoints()
  161. return fp
  162. end
  163.  
  164. local plrs = game:GetService('Players')
  165. local plr = plrs.LocalPlayer
  166. local char = plr.Character
  167. local bp = plr.Backpack
  168. local hum = char.Humanoid
  169. -------------------------------------
  170. if Suit == true then
  171. char.Head.BrickColor = BrickColor.new('Really black')
  172. local s = Instance.new('Shirt', char)
  173. s.Name = 'Wild Gladiator\'s Felweave Raiment'
  174. s.ShirtTemplate = 'http://www.roblox.com/asset/?id=166273878'
  175. local p = Instance.new('Pants', char)
  176. p.Name = 'Wild Gladiator\'s Felweave Trousers'
  177. p.PantsTemplate = 'http://www.roblox.com/asset/?id=166273938'
  178. end
  179. -------------------------------------
  180. if Hood == true then
  181. local h = Instance.new('Part', char)
  182. h.Name = 'DK Hood'
  183. h.TopSurface,h.BottomSurface = 0,0
  184. h.Size = Vector3.new(2.3, 2.3, 2.3)
  185. h.CFrame = torso.CFrame
  186. h.CanCollide = false
  187. h:BreakJoints()
  188. local m = Instance.new('SpecialMesh', h)
  189. m.Name = "Wild Gladiator's Felweave Cowl"
  190. m.MeshType = 'FileMesh'
  191. m.Scale = Vector3.new(1, 1, 1)
  192. m.MeshId = 'http://www.roblox.com/asset/?id=85855767'
  193. m.TextureId = 'http://www.roblox.com/asset/?id=85855750'
  194. m.VertexColor = Vector3.new(0,0,0)
  195. local Weld = Instance.new("Weld")
  196. Weld.Part0 = char.Head
  197. Weld.Part1 = h
  198. Weld.Parent = char.Head
  199. Weld.C0 = CFrame.new(0, -.2, 0)
  200. end
  201. -------------------------------------
  202.  
  203.  
  204. if Cape == true then
  205.  
  206. local verlet = {}
  207. verlet.step_time = 1 / 50
  208. verlet.gravity = Vector3.new(0, -150, 0)
  209.  
  210. local char = game.Players.LocalPlayer.Character
  211. local torso = char:WaitForChild("Torso")
  212. local parts = {}
  213. local render = game:GetService("RunService").RenderStepped
  214.  
  215. wait()
  216.  
  217. local point = {}
  218. local link = {}
  219. local rope = {}
  220.  
  221. local function ccw(A,B,C)
  222. return (C.y-A.y) * (B.x-A.x) > (B.y-A.y) * (C.x-A.x)
  223. end
  224.  
  225. local function intersect(A,B,C,D)
  226. return ccw(A,C,D) ~= ccw(B,C,D) and ccw(A,B,C) ~= ccw(A,B,D)
  227. end
  228.  
  229. local function vec2(v)
  230. return Vector2.new(v.x, v.z)
  231. end
  232.  
  233. function point:step()
  234. if not self.fixed then
  235. local derivative = (self.position - self.last_position) * 0.95
  236. self.last_position = self.position
  237. self.position = self.position + derivative + ((verlet.gravity + (torso.CFrame.lookVector * -90)) * verlet.step_time ^ 2) --//
  238. --[[local torsoP = torso.CFrame * CFrame.new(-1, 0, 0.5)
  239. local torsoE = torso.CFrame * CFrame.new(1, 0, 0.5)
  240. local pointE = self.position + torso.CFrame.lookVector * 100
  241. local doIntersect = intersect(vec2(torsoP.p), vec2(torsoE.p), vec2(self.position), vec2(pointE))
  242. if not doIntersect then
  243. self.postition = self.position - torso.CFrame.lookVector * 10
  244. end]]
  245. end
  246. end
  247.  
  248. function link:step()
  249. for i = 1, 1 do
  250. local distance = self.point1.position - self.point2.position
  251. local magnitude = distance.magnitude
  252. local differance = (self.length - magnitude) / magnitude
  253. local translation = ((self.point1.fixed or self.point2.fixed) and 1 or 0.6) * distance * differance
  254. if not self.point1.fixed then
  255. self.point1.position = self.point1.position + translation
  256. end
  257. if not self.point2.fixed then
  258. self.point2.position = self.point2.position - translation
  259. end
  260. end
  261. end
  262.  
  263. function verlet.new(class, a, b, c)
  264. if class == "Point" then
  265. local new = {}
  266. setmetatable(new, {__index = point})
  267. new.class = class
  268. new.position = a or Vector3.new()
  269. new.last_position = new.position
  270. new.velocity = verlet.gravity
  271. new.fixed = false
  272. return new
  273. elseif class == "Link" then
  274. local new = {}
  275. setmetatable(new, {__index = link})
  276. new.class = class
  277. new.point1 = a
  278. new.point2 = b
  279. new.length = c or (a.position - b.position).magnitude
  280. return new
  281. elseif class == "Rope" then
  282. local new = {}
  283. setmetatable(new, {__index = link})
  284. new.class = class
  285. new.start_point = a
  286. new.finish_point = b
  287. new.points = {}
  288. new.links = {}
  289. local inc = (b - a) / 10
  290. for i = 0, 10 do
  291. table.insert(new.points, verlet.new("Point", a + (i * inc)))
  292. end
  293. for i = 2, #new.points do
  294. table.insert(new.links, verlet.new("Link", new.points[i - 1], new.points[i]))
  295. end
  296. return new
  297. end
  298. end
  299.  
  300. local tris = {}
  301. local triParts = {}
  302.  
  303. local function GetDiscoColor(hue)
  304. local section = hue % 1 * 3
  305. local secondary = 0.5 * math.pi * (section % 1)
  306. if section < 1 then
  307. return Color3.new(0, 0, 0)
  308. elseif section < 2 then
  309. return Color3.new(0, 0, 0)
  310. else
  311. return Color3.new(0, 0, 0)
  312. end
  313. end
  314.  
  315. local function setupPart(part)
  316. part.Anchored = true
  317. part.FormFactor = 3
  318. part.CanCollide = false
  319. part.TopSurface = 10
  320. part.BottomSurface = 10
  321. part.LeftSurface = 10
  322. part.RightSurface = 10
  323. part.FrontSurface = 10
  324. part.BackSurface = 10
  325. part.Material = "Neon"
  326. local m = Instance.new("SpecialMesh", part)
  327. m.MeshType = "Wedge"
  328. m.Scale = Vector3.new(0.2, 1, 1)
  329. return part
  330. end
  331.  
  332. local function CFrameFromTopBack(at, top, back)
  333. local right = top:Cross(back)
  334. 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)
  335. end
  336.  
  337. local function drawTri(parent, a, b, c)
  338. local this = {}
  339. local mPart1 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  340. local mPart2 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  341. function this:Set(a, b, c)
  342. local ab, bc, ca = b-a, c-b, a-c
  343. local abm, bcm, cam = ab.magnitude, bc.magnitude, ca.magnitude
  344. local edg1 = math.abs(0.5 + ca:Dot(ab)/(abm*abm))
  345. local edg2 = math.abs(0.5 + ab:Dot(bc)/(bcm*bcm))
  346. local edg3 = math.abs(0.5 + bc:Dot(ca)/(cam*cam))
  347. if edg1 < edg2 then
  348. if edg1 >= edg3 then
  349. a, b, c = c, a, b
  350. ab, bc, ca = ca, ab, bc
  351. abm = cam
  352. end
  353. else
  354. if edg2 < edg3 then
  355. a, b, c = b, c, a
  356. ab, bc, ca = bc, ca, ab
  357. abm = bcm
  358. else
  359. a, b, c = c, a, b
  360. ab, bc, ca = ca, ab, bc
  361. abm = cam
  362. end
  363. end
  364.  
  365. local len1 = -ca:Dot(ab)/abm
  366. local len2 = abm - len1
  367. local width = (ca + ab.unit*len1).magnitude
  368.  
  369. local maincf = CFrameFromTopBack(a, ab:Cross(bc).unit, -ab.unit)
  370.  
  371. if len1 > 0.2 then
  372. mPart1.Parent = parent
  373. mPart1.Size = Vector3.new(0.2, width, len1)
  374. mPart1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  375. else
  376. mPart1.Parent = nil
  377. end
  378.  
  379. if len2 > 0.2 then
  380. mPart2.Parent = parent
  381. mPart2.Size = Vector3.new(0.2, width, len2)
  382. mPart2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  383. else
  384. mPart2.Parent = nil
  385. end
  386. end
  387. function this:SetProperty(prop, value)
  388. mPart1[prop] = value
  389. mPart2[prop] = value
  390. end
  391. this:Set(a, b, c)
  392. function this:Destroy()
  393. mPart1:Destroy()
  394. mPart2:Destroy()
  395. end
  396. this.p1 = mPart1
  397. this.p2 = mPart2
  398. this.p1.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p1.CFrame.Y * 0.5 + time())))
  399. this.p2.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p2.CFrame.Y * 0.5 + time())))
  400. return this
  401. end
  402.  
  403. function verlet.draw(object, id)
  404. if object.class == "Point" then
  405. local part = parts[id]
  406. part.BrickColor = BrickColor.new(255, 0, 0)
  407. part.Transparency = 0
  408. part.formFactor = 3
  409. part.Anchored = true
  410. part.CanCollide = false
  411. part.TopSurface = 0
  412. part.BottomSurface = 0
  413. part.Size = Vector3.new(0.35, 0.35, 0.35)
  414. part.Material = "Neon"
  415. part.CFrame = CFrame.new(object.position)
  416. part.Parent = torso
  417. return part
  418. elseif object.class == "Link" then
  419. local part = parts[id]
  420. local dist = (object.point1.position - object.point2.position).magnitude
  421. part.Size = Vector3.new(0.2, 0.2, dist)
  422. part.CFrame = CFrame.new(object.point1.position, object.point2.position) * CFrame.new(0, 0, dist * -0.5)
  423. part.Parent = torso
  424. return part
  425. end
  426. end
  427.  
  428. function verlet.clear()
  429. for _, v in pairs(workspace:GetChildren()) do
  430. if v.Name == "Part" then
  431. v:Destroy()
  432. end
  433. end
  434. end
  435.  
  436. local points = {}
  437. local links = {}
  438.  
  439. for x = 0, 2 do
  440. points[x] = {}
  441. for y = 0, 3 do
  442. points[x][y] = verlet.new("Point", torso.Position + Vector3.new(x * 0.8 - 2, 2 - y * 0.8, 5 + y * 0.4))
  443. points[x][y].fixed = y == 0
  444. end
  445. end
  446.  
  447. for x = 1, 2 do
  448. for y = 0, 3 do
  449. links[#links + 1] = verlet.new("Link", points[x][y], points[x - 1][y], 1 + y * 0.08)
  450. end
  451. end
  452.  
  453. for x = 0, 2 do
  454. for y = 1, 3 do
  455. links[#links + 1] = verlet.new("Link", points[x][y], points[x][y - 1], 1.2 + y * 0.03)
  456. end
  457. end
  458.  
  459. render:connect(function()
  460. for x = 0, 2 do
  461. for y = 0, 3 do
  462. if y == 0 then
  463. points[x][y].position = (torso.CFrame * CFrame.new(x * 1 - 1, 1, 0.5)).p
  464. else
  465. points[x][y]:step()
  466. end
  467. end
  468. end
  469. for i = 1, #links do
  470. links[i]:step()
  471. end
  472. for i = 1, #tris do
  473. triParts[#triParts + 1] = tris[i].p1
  474. triParts[#triParts + 1] = tris[i].p2
  475. end
  476. tris = {}
  477. for x = 1, 2 do
  478. for y = 1, 3 do
  479. tris[#tris + 1] = drawTri(torso, points[x - 1][y - 1].position, points[x - 1][y].position, points[x][y - 1].position)
  480. tris[#tris + 1] = drawTri(torso, points[x][y].position, points[x - 1][y].position, points[x][y - 1].position)
  481. end
  482. end
  483. end)
  484. end
  485.  
  486. local hum = game.Players.LocalPlayer.Character.Humanoid
  487. local plr = game.Players.LocalPlayer
  488. wait(0.1)
  489. hum.WalkSpeed = 32
  490. Shirt = Instance.new("Shirt",Character)
  491. Shirt.Parent = plr
  492. Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=249639658"
  493. Pant = Instance.new("Pants",Character)
  494. Pant.Parent = plr
  495. Pant.PantsTemplate = "http://www.roblox.com/asset/?id=249639685"
  496. lite = Instance.new("PointLight")
  497. lite.Parent = game.Players.LocalPlayer.Character.Torso
  498. lite.Brightness = 100
  499. lite.Range = 8
  500. lite.Color = Color3.new(1,1,1)
  501. ------------------------
  502. local Plr = game.Players.LocalPlayer --LocalScript
  503. local Char = Plr.Character
  504. local Mouse = Plr:GetMouse()
  505. local ra = Char:FindFirstChild('Right Arm')
  506. local ts = Char.Torso
  507. local la = Char:FindFirstChild('Left Arm')
  508. local ll = Char:FindFirstChild('Left Leg')
  509. local rl = Char:FindFirstChild('Right Leg')
  510. local hd = Char.Head
  511. local root = Char:FindFirstChild('HumanoidRootPart')
  512.  
  513. rarm = ra
  514. larm = la
  515. torso = ts
  516. hed = hd
  517. root = root
  518. lleg = ll
  519. rleg = rl
  520.  
  521. FloatPart = function()
  522. local Part = Instance.new('Part',torso)
  523. Part.CFrame = CFrame.new(torso.CFrame.X,workspace.Base.CFrame.Y+1,torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87)
  524. Part.Anchored = true
  525. Part.Material = 'Neon'
  526. Part.CanCollide = false
  527. Part.BrickColor = BrickColor.new(PrimaryColor)
  528. local Mesh = Instance.new('SpecialMesh',Part)
  529. Mesh.Scale = Vector3.new(4,4,.2)
  530. Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017'
  531. Mesh.VertexColor = Vector3.new(0,170,255)
  532. spawn(function()
  533. for i = 1,30 do
  534. Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0)
  535. Part.Transparency = Part.Transparency + .035
  536. game["Run Service"].RenderStepped:wait()
  537. end
  538. Part:Destroy()
  539. end)
  540. end;
  541.  
  542. DubPart = function()
  543. local Part = Instance.new('Part',torso)
  544. Part.CFrame = CFrame.new(torso.CFrame.X,workspace.Base.CFrame.Y+1,torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87)
  545. Part.Anchored = true
  546. Part.CanCollide = false
  547. Part.Material = 'Neon'
  548. Part.BrickColor = BrickColor.new(SecondaryColor)
  549. local Mesh = Instance.new('SpecialMesh',Part)
  550. Mesh.Scale = Vector3.new(7,7,.2)
  551. Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017'
  552. Mesh.VertexColor = Vector3.new(0,170,255)
  553. spawn(function()
  554. for i = 1,30 do
  555. Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0)
  556. Part.Transparency = Part.Transparency + .035
  557. game["Run Service"].RenderStepped:wait()
  558. end
  559. Part:Destroy()
  560. end)
  561. end;
  562.  
  563. OnTouch = function(Toucher)
  564. if Toucher.Parent.Name ~= Plr.Name and Toucher.Parent:FindFirstChild('Humanoid') then
  565. local Hum = Toucher.Parent:FindFirstChild('Humanoid')
  566. Hum.Health = Hum.Health - .7
  567. end
  568. end;
  569.  
  570. Fade = function(Item,t)
  571. spawn(function()
  572. for i = 1,20 do
  573. Item.Transparency = Item.Transparency + .05
  574. if t then
  575. wait(t)
  576. else
  577. wait()
  578. end
  579. end
  580. Item:Destroy()
  581. end)
  582. end
  583.  
  584. TouchKill = function(Toucher)
  585. if Toucher.Parent then
  586. if Toucher.Parent:FindFirstChild('Humanoid') then
  587. local P = Toucher.Parent:FindFirstChild('Humanoid')
  588. if P ~= nil and P.Parent.Name ~= Plr.Name then
  589. P.Health = P.Health - math.random(4,17)
  590. end
  591. end
  592. end
  593. end;
  594.  
  595. Particle = function()
  596. local Part = Instance.new('Part',torso)
  597. Part.BrickColor = BrickColor.new(PrimaryColor)
  598. Part.Anchored = true
  599. Part.Transparency = .3
  600. Part.Touched:connect(function(I)OnTouch(I)end)
  601. Part.CanCollide = false
  602. 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())
  603. local Mesh = Instance.new('BlockMesh',Part)
  604. Mesh.Scale = Vector3.new(.05,.1,.1)
  605. spawn(function()
  606. for i = 1,40 do
  607. Part.Transparency = Part.Transparency + .0125
  608. Part.CFrame = Part.CFrame * CFrame.new(0,-.07,0)
  609. game["Run Service"].RenderStepped:wait()
  610. end
  611. Part:Destroy()
  612. end)
  613. end;
  614.  
  615. spawn(function()
  616. while wait() do
  617. wait(.05)
  618. FloatPart()
  619. wait(.08)
  620. FloatPart()
  621. wait(.05)
  622. DubPart()
  623. wait(.08)
  624. end
  625. end)
  626.  
  627. wait(0.1)
  628.  
  629. rs = game:GetService'RunService'
  630. plrs = game:GetService'Players'
  631. lp = plrs.LocalPlayer
  632. c = lp.Character
  633. root = lp.Character.HumanoidRootPart
  634. human = c.Humanoid
  635. FPS = 0
  636. inf = 0
  637. opos1 = Vector3.new()
  638. opos2 = Vector3.new()
  639. opos3 = Vector3.new()
  640. waves = Instance.new("Model", c)
  641. res = Instance.new("Model", c)
  642.  
  643. local function b()
  644. local t=tick();
  645. local l=t%1*3;
  646. local t=.5*math.pi*(l%1);
  647. if l<1 then
  648. return Color3.new(47,0,32);
  649. elseif l<2 then
  650. return Color3.new(47,0,35);
  651. else
  652. return Color3.new(0,0,0);
  653. end;
  654. end;
  655. speedParts = function()
  656. for i = 1, 4 do
  657. 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)
  658. local CFramepos = root.CFrame:toWorldSpace(CFrame.new(pos)).p
  659. local opos
  660. if i == 1 then
  661. opos = opos1
  662. elseif i == 2 then
  663. opos = opos2
  664. else
  665. opos = opos3
  666. end
  667. if human.MoveDirection ~= Vector3.new(0, 0, 0) then
  668. local e
  669. if #res:children() <= 3 then
  670. e = Instance.new("Part")
  671. else
  672. e = res:FindFirstChild("Trail")
  673. end
  674. e.Parent = waves
  675. e.Anchored = true
  676. e.CanCollide = false
  677. e.Transparency = 0
  678. e.Material = "Neon"
  679. e.Name = "Trail"
  680. e.Color = b(); --Color = a();
  681. e.Size = Vector3.new(.2, (CFramepos - opos).magnitude, .2)
  682. e.CFrame = CFrame.new((CFramepos + opos) / 2, opos) * CFrame.Angles(math.pi / 2, 0, 0)
  683. end
  684. if i == 1 then
  685. opos1 = CFramepos
  686. elseif i == 2 then
  687. opos2 = CFramepos
  688. else
  689. opos3 = CFramepos
  690. end
  691. end
  692. end
  693.  
  694. rs.RenderStepped:connect(function()
  695. FPS = 1 / rs.RenderStepped:wait()
  696. for i, v in pairs (waves:children()) do
  697. v.Transparency = v.Transparency + .05 / (FPS / 60)
  698. if v.Transparency >= .98 then
  699. v.Transparency = 1
  700. v.Parent = res
  701. end
  702. end
  703. inf = inf + (8 + root.Velocity.magnitude / 15) / (FPS / 60)
  704. speedParts()
  705. end)
  706.  
  707. wait(1/60)
  708. Player = game.Players.LocalPlayer
  709. Character = Player.Character
  710. PlayerGui = Player.PlayerGui
  711. Backpack = Player.Backpack
  712. Torso = Character.Torso
  713. Head = Character.Head
  714. Humanoid = Character.Humanoid
  715. LeftArm = Character["Left Arm"]
  716. LeftLeg = Character["Left Leg"]
  717. RightArm = Character["Right Arm"]
  718. RightLeg = Character["Right Leg"]
  719. Character = Player.Character
  720. PlayerGui = Player.PlayerGui
  721. Backpack = Player.Backpack
  722. Torso = Character.Torso
  723. Head = Character.Head
  724. Humanoid = Character.Humanoid
  725. LeftArm = Character["Left Arm"]
  726. LeftLeg = Character["Left Leg"]
  727. RightArm = Character["Right Arm"]
  728. RightLeg = Character["Right Leg"]
  729. LS = Torso["Left Shoulder"]
  730. LH = Torso["Left Hip"]
  731. RS = Torso["Right Shoulder"]
  732. RH = Torso["Right Hip"]
  733. Neck = Torso.Neck
  734. attacktype = 1
  735. vt = Vector3.new
  736. cf = CFrame.new
  737. euler = CFrame.fromEulerAnglesXYZ
  738. angles = CFrame.Angles
  739.  
  740. local co1 = 0--how long it will take for skill to cooldown
  741. local co2 = 0
  742. local co3 = 0
  743. local co4 = 0
  744.  
  745. local cooldown1 = 0
  746. local cooldown2 = 0
  747. local cooldown3 = 0
  748. local cooldown4 = 0
  749.  
  750. local maxEnergy = 100
  751. local Energy = 100--Energy you start out with
  752. local skill1stam = 0--how much Energy is needed for a skill
  753. local skill2stam = 0
  754. local skill3stam = 0
  755. local skill4stam = 0
  756. local recovermana = 100--how much mana per second
  757.  
  758. local skillcolorscheme = BrickColor.new("Institutional white").Color
  759.  
  760. local scrn = Instance.new('ScreenGui', Player.PlayerGui)
  761. function makeframe(par, trans, pos, size, color)
  762. local frame = Instance.new('Frame', par)
  763. frame.BackgroundTransparency = trans
  764. frame.BorderSizePixel = 0
  765. frame.Position = pos
  766. frame.Size = size
  767. frame.BackgroundColor3 = color
  768. return frame
  769. end
  770. function makelabel(par, text)
  771. local label = Instance.new('TextLabel', par)
  772. label.BackgroundTransparency = 1
  773. label.Size = UDim2.new(1, 0, 1, 0)
  774. label.Position = UDim2.new(0, 0, 0, 0)
  775. label.TextColor3 = Color3.new(255, 255, 255)
  776. label.TextStrokeTransparency = 0
  777. label.FontSize = Enum.FontSize.Size32
  778. label.Font = Enum.Font.SourceSansBold
  779. label.BorderSizePixel = 0
  780. label.TextScaled = true
  781. label.Text = text
  782. end
  783. if gui == true then
  784. framesk1 = makeframe(scrn, .5, UDim2.new(.23, 0, .93, 0), UDim2.new(.26, 0, .06, 0), skillcolorscheme)
  785. framesk2 = makeframe(scrn, .5, UDim2.new(.5, 0, .93, 0), UDim2.new(.26, 0, .06, 0), skillcolorscheme)
  786. framesk3 = makeframe(scrn, .5, UDim2.new(.5, 0, .86, 0), UDim2.new(.26, 0, .06, 0), skillcolorscheme)
  787. framesk4 = makeframe(scrn, .5, UDim2.new(.23, 0, .86, 0), UDim2.new(.26, 0, .06, 0), skillcolorscheme)
  788. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  789. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  790. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  791. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  792. text1 = makelabel(framesk1, '[c] Zenatic Stomp')
  793. text2 = makelabel(framesk2, '[v] Zenatic Flip Kick')
  794. text3 = makelabel(framesk3, "[x] Zenatic Kick")
  795. text4 = makelabel(framesk4, '[z] Zenatic Punch')
  796. Energybar = makeframe(scrn, .5, UDim2.new(.23, 0, .82, 0), UDim2.new(.26, 0, .03, 0), BrickColor.new("Institutional white").Color)
  797. Energycover = makeframe(Energybar, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), BrickColor.new("Very black").Color)
  798. Energytext = makelabel(Energybar, 'Energy')
  799. healthbar = makeframe(scrn, .5, UDim2.new(.5, 0, .82, 0), UDim2.new(.26, 0, .03, 0), BrickColor.new("Institutional white").Color)
  800. healthcover = makeframe(healthbar, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), BrickColor.new("Very black").Color)
  801. healthtext = makelabel(healthbar, 'Health')
  802.  
  803. local stats=Instance.new('Folder',Character)
  804. stats.Name='Stats'
  805. local block=Instance.new('BoolValue',stats)
  806. block.Name='Block'
  807. block.Value=false
  808. local stun=Instance.new('BoolValue',stats)
  809. stun.Name='Stun'
  810. stun.Value=false
  811. local defense=Instance.new('NumberValue',stats)
  812. defense.Name='Defence'
  813. defense.Value=1
  814. local speed=Instance.new('NumberValue',stats)
  815. speed.Name='Speed'
  816. speed.Value=1
  817. local damagea=Instance.new('NumberValue',stats)
  818. damagea.Name='Damage'
  819. damagea.Value=1
  820. end
  821.  
  822. function NoOutline(Part)
  823. Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
  824. end
  825.  
  826. function nooutline(part)
  827. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  828. end
  829.  
  830. --Dont change these, these work for the rings
  831. local Plr = game.Players.LocalPlayer --LocalScript
  832. local Char = Plr.Character
  833. local Mouse = Plr:GetMouse()
  834. workspace.CurrentCamera.CameraSubject = Char.Head
  835.  
  836. local ra = Char:FindFirstChild('Right Arm')
  837. local ts = Char.Torso
  838. local la = Char:FindFirstChild('Left Arm')
  839. local ll = Char:FindFirstChild('Left Leg')
  840. local rl = Char:FindFirstChild('Right Leg')
  841. local hd = Char.Head
  842. local root = Char:FindFirstChild('HumanoidRootPart')
  843.  
  844. rarm = ra
  845. larm = la
  846. torso = ts
  847. hed = hd
  848. root = root
  849. lleg = ll
  850. rleg = rl
  851. local Handle = Instance.new('Part',Hat)
  852. local Handle2 = Instance.new('Part',Hat2)
  853. local Handle3 = Instance.new('Part',Hat3)
  854.  
  855. game["Run Service"].RenderStepped:connect(function()
  856. Handle.CFrame = Char.Head.CFrame * CFrame.new(0,.16,-.3)
  857. Handle2.CFrame = Char.Head.CFrame * CFrame.new(0,.6,0)
  858. Handle3.CFrame = Char.Head.CFrame * CFrame.new(0,1.3,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  859. end)
  860.  
  861. Char.Torso.Anchored = false
  862.  
  863. local Face = Instance.new('Decal',Char.Head)
  864. Face.Name = 'face'
  865. if Char.Head:findFirstChild('face') then
  866. Char.Head['face']:Destroy()
  867. end
  868. Face.Texture = 'rbxassetid://13603673'
  869. wait(0.1)
  870.  
  871. s=Instance.new'Sound';
  872. s.Parent=game.Players.LocalPlayer.Character.Torso;
  873. s.SoundId='rbxassetid://211759002';
  874. s.Pitch=0.8;
  875. s.Volume=1;
  876. s.Looped=true;
  877. s:play();
  878.  
  879. local function setupPart(part)
  880. part.Anchored = true
  881. part.FormFactor = 3
  882. part.CanCollide = false
  883. part.TopSurface = 10
  884. part.BottomSurface = 10
  885. part.LeftSurface = 10
  886. part.RightSurface = 10
  887. part.FrontSurface = 10
  888. part.BackSurface = 10
  889. part.Material = "Neon"
  890. local m = Instance.new("SpecialMesh", part)
  891. m.MeshType = "Wedge"
  892. m.Scale = Vector3.new(0.2, 1, 1)
  893. return part
  894. end
  895.  
  896. local function CFrameFromTopBack(at, top, back)
  897. local right = top:Cross(back)
  898. 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)
  899. end
  900.  
  901. local function drawTri(parent, a, b, c)
  902. local this = {}
  903. local mPart1 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  904. local mPart2 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  905. function this:Set(a, b, c)
  906. local ab, bc, ca = b-a, c-b, a-c
  907. local abm, bcm, cam = ab.magnitude, bc.magnitude, ca.magnitude
  908. local edg1 = math.abs(0.5 + ca:Dot(ab)/(abm*abm))
  909. local edg2 = math.abs(0.5 + ab:Dot(bc)/(bcm*bcm))
  910. local edg3 = math.abs(0.5 + bc:Dot(ca)/(cam*cam))
  911. if edg1 < edg2 then
  912. if edg1 >= edg3 then
  913. a, b, c = c, a, b
  914. ab, bc, ca = ca, ab, bc
  915. abm = cam
  916. end
  917. else
  918. if edg2 < edg3 then
  919. a, b, c = b, c, a
  920. ab, bc, ca = bc, ca, ab
  921. abm = bcm
  922. else
  923. a, b, c = c, a, b
  924. ab, bc, ca = ca, ab, bc
  925. abm = cam
  926. end
  927. end
  928.  
  929. local len1 = -ca:Dot(ab)/abm
  930. local len2 = abm - len1
  931. local width = (ca + ab.unit*len1).magnitude
  932.  
  933. local maincf = CFrameFromTopBack(a, ab:Cross(bc).unit, -ab.unit)
  934.  
  935. if len1 > 0.2 then
  936. mPart1.Parent = parent
  937. mPart1.Size = Vector3.new(0.2, width, len1)
  938. mPart1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  939. else
  940. mPart1.Parent = nil
  941. end
  942.  
  943. if len2 > 0.2 then
  944. mPart2.Parent = parent
  945. mPart2.Size = Vector3.new(0.2, width, len2)
  946. mPart2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  947. else
  948. mPart2.Parent = nil
  949. end
  950. end
  951. function this:SetProperty(prop, value)
  952. mPart1[prop] = value
  953. mPart2[prop] = value
  954. end
  955. this:Set(a, b, c)
  956. function this:Destroy()
  957. mPart1:Destroy()
  958. mPart2:Destroy()
  959. end
  960. this.p1 = mPart1
  961. this.p2 = mPart2
  962. this.p1.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p1.CFrame.Y * 0.5 + time())))
  963. this.p2.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p2.CFrame.Y * 0.5 + time())))
  964. return this
  965. end
  966.  
  967. FloatPart = function()
  968. local Part = Instance.new('Part',torso)
  969. Part.CFrame = CFrame.new(torso.CFrame.X,workspace.Base.CFrame.Y+1,torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87)
  970. Part.Anchored = true
  971. Part.Material = 'Neon'
  972. Part.CanCollide = false
  973. Part.BrickColor = BrickColor.new(PrimaryColor)
  974. local Mesh = Instance.new('SpecialMesh',Part)
  975. Mesh.Scale = Vector3.new(4,4,.2)
  976. Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017'
  977. Mesh.VertexColor = Vector3.new(0,170,255)
  978. spawn(function()
  979. for i = 1,30 do
  980. Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0)
  981. Part.Transparency = Part.Transparency + .035
  982. game["Run Service"].RenderStepped:wait()
  983. end
  984. Part:Destroy()
  985. end)
  986. end;
  987.  
  988. DubPart = function()
  989. local Part = Instance.new('Part',torso)
  990. Part.CFrame = CFrame.new(torso.CFrame.X,workspace.Base.CFrame.Y+1,torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87)
  991. Part.Anchored = true
  992. Part.CanCollide = false
  993. Part.Material = 'Neon'
  994. Part.BrickColor = BrickColor.new(SecondaryColor)
  995. local Mesh = Instance.new('SpecialMesh',Part)
  996. Mesh.Scale = Vector3.new(7,7,.2)
  997. Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017'
  998. Mesh.VertexColor = Vector3.new(0,170,255)
  999. spawn(function()
  1000. for i = 1,30 do
  1001. Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0)
  1002. Part.Transparency = Part.Transparency + .035
  1003. game["Run Service"].RenderStepped:wait()
  1004. end
  1005. Part:Destroy()
  1006. end)
  1007. end;
  1008.  
  1009. OnTouch = function(Toucher)
  1010. if Toucher.Parent.Name ~= Plr.Name and Toucher.Parent:FindFirstChild('Humanoid') then
  1011. local Hum = Toucher.Parent:FindFirstChild('Humanoid')
  1012. Hum.Health = Hum.Health - .7
  1013. end
  1014. end;
  1015.  
  1016. Fade = function(Item,t)
  1017. spawn(function()
  1018. for i = 1,20 do
  1019. Item.Transparency = Item.Transparency + .05
  1020. if t then
  1021. wait(t)
  1022. else
  1023. wait()
  1024. end
  1025. end
  1026. Item:Destroy()
  1027. end)
  1028. end
  1029.  
  1030. TouchKill = function(Toucher)
  1031. if Toucher.Parent then
  1032. if Toucher.Parent:FindFirstChild('Humanoid') then
  1033. local P = Toucher.Parent:FindFirstChild('Humanoid')
  1034. if P ~= nil and P.Parent.Name ~= Plr.Name then
  1035. P.Health = P.Health - math.random(4,17)
  1036. end
  1037. end
  1038. end
  1039. end;
  1040.  
  1041. Particle = function()
  1042. local Part = Instance.new('Part',torso)
  1043. Part.BrickColor = BrickColor.new(PrimaryColor)
  1044. Part.Anchored = true
  1045. Part.Transparency = .3
  1046. Part.Touched:connect(function(I)OnTouch(I)end)
  1047. Part.CanCollide = false
  1048. 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())
  1049. local Mesh = Instance.new('BlockMesh',Part)
  1050. Mesh.Scale = Vector3.new(.05,.1,.1)
  1051. spawn(function()
  1052. for i = 1,40 do
  1053. Part.Transparency = Part.Transparency + .0125
  1054. Part.CFrame = Part.CFrame * CFrame.new(0,-.07,0)
  1055. game["Run Service"].RenderStepped:wait()
  1056. end
  1057. Part:Destroy()
  1058. end)
  1059. end;
  1060.  
  1061. spawn(function()
  1062. while wait() do
  1063. wait(.05)
  1064. FloatPart()
  1065. wait(.08)
  1066. FloatPart()
  1067. wait(.05)
  1068. DubPart()
  1069. wait(.08)
  1070. end
  1071. end)
  1072.  
  1073. wait(.1)
  1074. --gaunt fitting for zenatic
  1075. --wip
  1076.  
  1077. m=Instance.new('Model',char)
  1078.  
  1079.  
  1080. local function weldBetween(a, b)
  1081. local weldd = Instance.new("ManualWeld")
  1082. weldd.Part0 = a
  1083. weldd.Part1 = b
  1084. weldd.C0 = CFrame.new()
  1085. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1086. weldd.Parent = a
  1087. return weldd
  1088. end
  1089.  
  1090. it=Instance.new
  1091.  
  1092. function nooutline(part)
  1093. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  1094. end
  1095.  
  1096. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  1097. local fp=it("Part")
  1098. fp.formFactor=formfactor
  1099. fp.Parent=parent
  1100. fp.Reflectance=reflectance
  1101. fp.Transparency=transparency
  1102. fp.CanCollide=false
  1103. fp.Locked=true
  1104. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  1105. fp.Name=name
  1106. fp.Size=size
  1107. fp.Position=char.Torso.Position
  1108. nooutline(fp)
  1109. fp.Material=material
  1110. fp:BreakJoints()
  1111. return fp
  1112. end
  1113.  
  1114. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1115. local mesh=it(Mesh)
  1116. mesh.Parent=part
  1117. if Mesh=="SpecialMesh" then
  1118. mesh.MeshType=meshtype
  1119. mesh.MeshId=meshid
  1120. end
  1121. mesh.Offset=offset
  1122. mesh.Scale=scale
  1123. return mesh
  1124. end
  1125.  
  1126. function weld(parent,part0,part1,c0,c1)
  1127. local weld=it("Weld")
  1128. weld.Parent=parent
  1129. weld.Part0=part0
  1130. weld.Part1=part1
  1131. weld.C0=c0
  1132. weld.C1=c1
  1133. return weld
  1134. end
  1135.  
  1136. MN=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Handle",Vector3.new(1.09732866, 2.19465828, 1.09732854))
  1137. 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))
  1138. TR7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","TR7",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  1139. 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))
  1140. mesh("SpecialMesh",TR7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1.02999997, 1.02999997))
  1141. MD9=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD9",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  1142. 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))
  1143. mesh("SpecialMesh",MD9,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998))
  1144. MD1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD1",Vector3.new(0.237408489, 0.259352177, 0.518704116))
  1145. 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))
  1146. mesh("SpecialMesh",MD1,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  1147. MD10=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD10",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  1148. 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))
  1149. mesh("SpecialMesh",MD10,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  1150. MD11=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD11",Vector3.new(0.266768694, 1.09732914, 0.658397138))
  1151. 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))
  1152. mesh("SpecialMesh",MD11,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999))
  1153. MD12=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD12",Vector3.new(0.266768694, 1.09732914, 0.658397138))
  1154. 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))
  1155. mesh("SpecialMesh",MD12,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999))
  1156. MD13=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD13",Vector3.new(1.09732866, 0.822996795, 1.09732854))
  1157. 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))
  1158. mesh("SpecialMesh",MD13,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  1159. MD14=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD14",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  1160. 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))
  1161. mesh("SpecialMesh",MD14,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995))
  1162. MD15=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD15",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  1163. 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))
  1164. mesh("SpecialMesh",MD15,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  1165. MD16=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD16",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  1166. 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))
  1167. mesh("SpecialMesh",MD16,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995))
  1168. MD19=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD19",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  1169. 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))
  1170. mesh("SpecialMesh",MD19,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998))
  1171. MD18=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD18",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  1172. 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))
  1173. mesh("SpecialMesh",MD18,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998))
  1174. MD2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD2",Vector3.new(0.2574085, 0.259352177, 0.518704116))
  1175. 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))
  1176. mesh("SpecialMesh",MD2,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  1177. MD3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD3",Vector3.new(0.247408509, 0.259352177, 0.518704116))
  1178. 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))
  1179. mesh("SpecialMesh",MD3,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  1180. MD4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD4",Vector3.new(0.247408509, 0.259352177, 0.518704116))
  1181. 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))
  1182. mesh("SpecialMesh",MD4,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  1183. MD5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD5",Vector3.new(0.2574085, 0.259352177, 0.518704116))
  1184. 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))
  1185. mesh("SpecialMesh",MD5,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  1186. MD6=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD6",Vector3.new(0.237408489, 0.259352177, 0.518704116))
  1187. 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))
  1188. mesh("SpecialMesh",MD6,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
  1189. MD7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD7",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  1190. 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))
  1191. mesh("SpecialMesh",MD7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  1192. MD8=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD8",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  1193. 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))
  1194. mesh("SpecialMesh",MD8,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998))
  1195. TR1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","TR1",Vector3.new(0.266768694, 0.54866457, 0.548664272))
  1196. 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))
  1197. mesh("SpecialMesh",TR1,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 0.700000048, 0.700000048))
  1198. TR2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","TR2",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  1199. 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))
  1200. mesh("SpecialMesh",TR2,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.02999997, 0.0822681859, 1.02999997))
  1201. TR3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","TR3",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  1202. 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))
  1203. mesh("SpecialMesh",TR3,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.05999994, 0.0822681859, 1.05999994))
  1204. TR4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","TR4",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  1205. 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))
  1206. mesh("SpecialMesh",TR4,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.05999994, 0.0822681859, 1.05999994))
  1207. TR5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","TR5",Vector3.new(1.09732866, 0.274332285, 1.09732854))
  1208. 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))
  1209. mesh("SpecialMesh",TR5,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1.02999997, 1.02999997))
  1210. TR6=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","TR6",Vector3.new(1.09732866, 0.266768783, 1.09732854))
  1211. 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))
  1212. mesh("SpecialMesh",TR6,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.02999997, 0.0822681859, 1.02999997))
  1213. MD21=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","MD21",Vector3.new(0.266768694, 0.54866457, 0.548664272))
  1214. 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))
  1215. mesh("SpecialMesh",MD21,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.411340952, 0.900000036, 0.900000036))
  1216.  
  1217. --[[TG1=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","Handle",Vector3.new(0.231713057, 0.953130603, 0.953130603))
  1218. 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))
  1219. mesh("SpecialMesh",TG1,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 0.5, 0.5))]]
  1220.  
  1221.  
  1222. local edit = function(name,mat,col)
  1223. name.Material = mat
  1224. name.BrickColor = BrickColor.new(col)
  1225. end
  1226.  
  1227. local dark = function()
  1228. edit(TR1,"Neon","Institutional white")
  1229. edit(TR2,"Neon","Institutional white")
  1230. edit(TR3,"Neon","Institutional white")
  1231. edit(TR4,"Neon","Institutional white")
  1232. edit(TR5,"Neon","Institutional white")
  1233. edit(TR6,"Neon","Institutional white")
  1234. edit(TR7,"Neon","Institutional white")
  1235. edit(MN,"Neon","Institutional white")
  1236. --
  1237.  
  1238.  
  1239. end
  1240. local light = function()
  1241. edit(TR1,"Neon","Black")
  1242. edit(TR2,"Neon","Black")
  1243. edit(TR3,"Neon","Black")
  1244. edit(TR4,"Neon","Black")
  1245. edit(TR5,"Neon","Black")
  1246. edit(TR6,"Neon","Black")
  1247. edit(TR7,"Neon","Black")
  1248. edit(MN,"Neon","Black")
  1249. --
  1250.  
  1251. end
  1252.  
  1253.  
  1254. dark()
  1255.  
  1256. wait(.1)
  1257. --sword
  1258. player = game:GetService("Players").LocalPlayer
  1259. char = player.Character
  1260. mouse = player:GetMouse()
  1261. idleq = false
  1262. local skl = false
  1263. parts = {}
  1264. poses = {}
  1265. local obj3
  1266. local TARG10
  1267. local TARG11
  1268. stun = Instance.new("BoolValue",char)
  1269. stun.Name = "Stunned"
  1270. stun.Value = false
  1271. atk = Instance.new("NumberValue",char)
  1272. atk.Name = "Attack"
  1273. atk.Value = 1.2
  1274. def = Instance.new("NumberValue",char)
  1275. def.Name = "Defense"
  1276. def.Value = .9
  1277. spd = Instance.new("NumberValue",char)
  1278. spd.Name = "Speed"
  1279. spd.Value = 1.1
  1280. deft = Instance.new("NumberValue",char)
  1281. deft.Name = "DefenseTime"
  1282. deft.Value = 0
  1283. atkt = Instance.new("NumberValue",char)
  1284. atkt.Name = "AttackTime"
  1285. atkt.Value = 0
  1286. spdt = Instance.new("NumberValue",char)
  1287. spdt.Name = "SpeedTime"
  1288. spdt.Value = 0
  1289.  
  1290.  
  1291.  
  1292. -------------------------------SWORD BUILD
  1293. local hbox = Instance.new("Part",game.Workspace)
  1294. hbox.Size = Vector3.new(3,1,3)
  1295. hbox.CanCollide = false
  1296. hbox.CFrame = char.Torso.CFrame
  1297. hbox.Anchored = false
  1298. local hs = Instance.new("Weld",char)
  1299. hs.Part0 = char.Torso
  1300. hs.Part1 = hbox
  1301.  
  1302. local m = Instance.new("Model")
  1303. m.Name = "Manskit"
  1304. p1 = Instance.new("Part", m)
  1305. p1.BrickColor = BrickColor.new("Black")
  1306. p1.Material = Enum.Material.SmoothPlastic
  1307. p1.Name = "P18"
  1308. 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)
  1309. p1.CanCollide = false
  1310. p1.FormFactor = Enum.FormFactor.Symmetric
  1311. p1.Size = Vector3.new(1, 1, 1)
  1312. p1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1313. p1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1314. p1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1315. p1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1316. p1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1317. p1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1318. b1 = Instance.new("SpecialMesh", p1)
  1319. b1.MeshId = "http://www.roblox.com/asset/?id=1778999"
  1320. b1.TextureId = ""
  1321. b1.MeshType = Enum.MeshType.FileMesh
  1322. b1.Name = "Mesh"
  1323. b1.Scale = Vector3.new(0.150000006, 0.200000003, 0.150000006)
  1324. p2 = Instance.new("Part", m)
  1325. p2.BrickColor = BrickColor.new("Fossil")
  1326. p2.Material = Enum.Material.SmoothPlastic
  1327. p2.Name = "P1"
  1328. 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)
  1329. p2.CanCollide = false
  1330. p2.FormFactor = Enum.FormFactor.Symmetric
  1331. p2.Size = Vector3.new(1, 1, 1)
  1332. p2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1333. p2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1334. p2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1335. p2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1336. p2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1337. p2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1338. b2 = Instance.new("SpecialMesh", p2)
  1339. b2.MeshId = "http://www.roblox.com/asset/?id=1778999"
  1340. b2.TextureId = ""
  1341. b2.MeshType = Enum.MeshType.FileMesh
  1342. b2.Name = "Mesh"
  1343. b2.Scale = Vector3.new(0.180000007, 0.300000012, 0.180000007)
  1344. p3 = Instance.new("Part", m)
  1345. p3.BrickColor = BrickColor.new("Institutional White")
  1346. p3.Material = Enum.Material.SmoothPlastic
  1347. p3.Name = "P10"
  1348. 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)
  1349. p3.CanCollide = false
  1350. p3.FormFactor = Enum.FormFactor.Symmetric
  1351. p3.Elasticity = 0
  1352. p3.Size = Vector3.new(1, 1, 1)
  1353. p3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1354. p3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1355. p3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1356. p3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1357. p3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1358. p3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1359. b3 = Instance.new("SpecialMesh", p3)
  1360. b3.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1361. b3.TextureId = ""
  1362. b3.MeshType = Enum.MeshType.FileMesh
  1363. b3.Name = "Mesh"
  1364. b3.Scale = Vector3.new(0.100000001, 0.100000001, 1)
  1365. p4 = Instance.new("Part", m)
  1366. p4.BrickColor = BrickColor.new("Black")
  1367. p4.Material = Enum.Material.SmoothPlastic
  1368. p4.Name = "P11"
  1369. 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)
  1370. p4.CanCollide = false
  1371. p4.FormFactor = Enum.FormFactor.Symmetric
  1372. p4.Elasticity = 0
  1373. p4.Size = Vector3.new(1, 1, 1)
  1374. p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1375. p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1376. p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1377. p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1378. p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1379. p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1380. b4 = Instance.new("SpecialMesh", p4)
  1381. b4.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1382. b4.TextureId = ""
  1383. b4.MeshType = Enum.MeshType.FileMesh
  1384. b4.Name = "Mesh"
  1385. b4.Scale = Vector3.new(0.200000003, 0.200000003, 0.800000012)
  1386. p5 = Instance.new("Part", m)
  1387. p5.BrickColor = BrickColor.new("Black")
  1388. p5.Material = Enum.Material.SmoothPlastic
  1389. p5.Name = "P12"
  1390. 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)
  1391. p5.CanCollide = false
  1392. p5.FormFactor = Enum.FormFactor.Symmetric
  1393. p5.Elasticity = 0
  1394. p5.Size = Vector3.new(1, 1, 1)
  1395. p5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1396. p5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1397. p5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1398. p5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1399. p5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1400. p5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1401. b5 = Instance.new("SpecialMesh", p5)
  1402. b5.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1403. b5.TextureId = ""
  1404. b5.MeshType = Enum.MeshType.FileMesh
  1405. b5.Name = "Mesh"
  1406. b5.Scale = Vector3.new(0.200000003, 0.200000003, 0.800000012)
  1407. p6 = Instance.new("Part", m)
  1408. p6.BrickColor = BrickColor.new("Fossil")
  1409. p6.Material = Enum.Material.SmoothPlastic
  1410. p6.Name = "P2"
  1411. 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)
  1412. p6.CanCollide = false
  1413. p6.FormFactor = Enum.FormFactor.Symmetric
  1414. p6.Size = Vector3.new(1, 1, 1)
  1415. p6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1416. p6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1417. p6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1418. p6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1419. p6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1420. p6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1421. b6 = Instance.new("SpecialMesh", p6)
  1422. b6.MeshId = "http://www.roblox.com/asset/?id=1778999"
  1423. b6.TextureId = ""
  1424. b6.MeshType = Enum.MeshType.FileMesh
  1425. b6.Name = "Mesh"
  1426. b6.Scale = Vector3.new(0.180000007, 0.300000012, 0.180000007)
  1427. p7 = Instance.new("Part", m)
  1428. p7.BrickColor = BrickColor.new("Medium stone grey")
  1429. p7.Material = Enum.Material.SmoothPlastic
  1430. p7.Name = "P4"
  1431. 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)
  1432. p7.CanCollide = false
  1433. p7.FormFactor = Enum.FormFactor.Symmetric
  1434. p7.Size = Vector3.new(0.200000003, 5.56999969, 0.200000003)
  1435. p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1436. p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1437. p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1438. p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1439. p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1440. p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1441. b7 = Instance.new("BlockMesh", p7)
  1442. b7.Name = "Mesh"
  1443. b7.Scale = Vector3.new(0.800000012, 1, 0.800000012)
  1444. p8 = Instance.new("Part", m)
  1445. p8.BrickColor = BrickColor.new("Institutional White")
  1446. p8.Transparency = 0.5
  1447. p8.Name = "Ray"
  1448. 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)
  1449. p8.CanCollide = false
  1450. p8.FormFactor = Enum.FormFactor.Symmetric
  1451. p8.Size = Vector3.new(0.200000003, 0.230000019, 4.42000008)
  1452. p8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1453. p8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1454. p8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1455. p8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1456. p8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1457. p8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1458. b8 = Instance.new("SpecialMesh", p8)
  1459. b8.MeshType = Enum.MeshType.Wedge
  1460. b8.Name = "Mesh"
  1461. b8.Scale = Vector3.new(0.200000003, 1, 1)
  1462. p9 = Instance.new("Part", m)
  1463. p9.BrickColor = BrickColor.new("Institutional White")
  1464. p9.Transparency = 0.5
  1465. p9.Name = "P15"
  1466. 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)
  1467. p9.CanCollide = false
  1468. p9.FormFactor = Enum.FormFactor.Symmetric
  1469. p9.Size = Vector3.new(0.200000003, 0.200000003, 1.39999998)
  1470. p9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1471. p9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1472. p9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1473. p9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1474. p9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1475. p9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1476. b9 = Instance.new("SpecialMesh", p9)
  1477. b9.MeshType = Enum.MeshType.Wedge
  1478. b9.Name = "Mesh"
  1479. b9.Scale = Vector3.new(0.200000003, 1, 1)
  1480. p10 = Instance.new("Part", m)
  1481. p10.BrickColor = BrickColor.new("Institutional White")
  1482. p10.Material = Enum.Material.SmoothPlastic
  1483. p10.Name = "P9"
  1484. 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)
  1485. p10.CanCollide = false
  1486. p10.FormFactor = Enum.FormFactor.Symmetric
  1487. p10.Elasticity = 0
  1488. p10.Size = Vector3.new(1, 1, 1)
  1489. p10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1490. p10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1491. p10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1492. p10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1493. p10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1494. p10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1495. b10 = Instance.new("SpecialMesh", p10)
  1496. b10.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1497. b10.TextureId = ""
  1498. b10.MeshType = Enum.MeshType.FileMesh
  1499. b10.Name = "Mesh"
  1500. b10.Scale = Vector3.new(0.100000001, 0.100000001, 1)
  1501. p11 = Instance.new("Part", m)
  1502. p11.BrickColor = BrickColor.new("Black")
  1503. p11.Material = Enum.Material.SmoothPlastic
  1504. p11.Name = "P8"
  1505. 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)
  1506. p11.CanCollide = false
  1507. p11.FormFactor = Enum.FormFactor.Symmetric
  1508. p11.Size = Vector3.new(0.200000003, 1.33999968, 0.200000003)
  1509. p11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1510. p11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1511. p11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1512. p11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1513. p11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1514. p11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1515. b11 = Instance.new("BlockMesh", p11)
  1516. b11.Name = "Mesh"
  1517. b11.Scale = Vector3.new(0.819999993, 1, 0.819999993)
  1518. p12 = Instance.new("Part", m)
  1519. p12.BrickColor = BrickColor.new("Institutional White")
  1520. p12.Material = Enum.Material.SmoothPlastic
  1521. p12.Name = "P7"
  1522. 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)
  1523. p12.CanCollide = false
  1524. p12.FormFactor = Enum.FormFactor.Symmetric
  1525. p12.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1526. p12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1527. p12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1528. p12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1529. p12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1530. p12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1531. p12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1532. b12 = Instance.new("BlockMesh", p12)
  1533. b12.Name = "Mesh"
  1534. b12.Scale = Vector3.new(0.899999976, 0.5, 0.899999976)
  1535. p13 = Instance.new("Part", m)
  1536. p13.BrickColor = BrickColor.new("Black")
  1537. p13.Material = Enum.Material.SmoothPlastic
  1538. p13.Name = "P14"
  1539. 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)
  1540. p13.CanCollide = false
  1541. p13.FormFactor = Enum.FormFactor.Symmetric
  1542. p13.Elasticity = 0
  1543. p13.Size = Vector3.new(1, 1, 1)
  1544. p13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1545. p13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1546. p13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1547. p13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1548. p13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1549. p13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1550. b13 = Instance.new("SpecialMesh", p13)
  1551. b13.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1552. b13.TextureId = ""
  1553. b13.MeshType = Enum.MeshType.FileMesh
  1554. b13.Name = "Mesh"
  1555. b13.Scale = Vector3.new(0.200000003, 0.5, 0.200000003)
  1556. p14 = Instance.new("Part", m)
  1557. p14.BrickColor = BrickColor.new("Black")
  1558. p14.Material = Enum.Material.SmoothPlastic
  1559. p14.Name = "P3"
  1560. 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)
  1561. p14.CanCollide = false
  1562. p14.FormFactor = Enum.FormFactor.Symmetric
  1563. p14.Elasticity = 0
  1564. p14.Size = Vector3.new(1, 1, 1)
  1565. p14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1566. p14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1567. p14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1568. p14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1569. p14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1570. p14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1571. b14 = Instance.new("SpecialMesh", p14)
  1572. b14.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1573. b14.TextureId = ""
  1574. b14.MeshType = Enum.MeshType.FileMesh
  1575. b14.Name = "Mesh"
  1576. b14.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
  1577. p15 = Instance.new("Part", m)
  1578. p15.BrickColor = BrickColor.new("Medium stone grey")
  1579. p15.Material = Enum.Material.SmoothPlastic
  1580. p15.Name = "P13"
  1581. 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)
  1582. p15.CanCollide = false
  1583. p15.FormFactor = Enum.FormFactor.Symmetric
  1584. p15.Elasticity = 0
  1585. p15.Size = Vector3.new(1, 1, 1)
  1586. p15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1587. p15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1588. p15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1589. p15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1590. p15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1591. p15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1592. b15 = Instance.new("SpecialMesh", p15)
  1593. b15.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1594. b15.TextureId = ""
  1595. b15.MeshType = Enum.MeshType.FileMesh
  1596. b15.Name = "Mesh"
  1597. b15.Scale = Vector3.new(0.159999996, 0.159999996, 0.800000012)
  1598. p16 = Instance.new("Part", m)
  1599. p16.BrickColor = BrickColor.new("Black")
  1600. p16.Material = Enum.Material.SmoothPlastic
  1601. p16.Name = "P19"
  1602. 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)
  1603. p16.CanCollide = false
  1604. p16.FormFactor = Enum.FormFactor.Symmetric
  1605. p16.Size = Vector3.new(1, 1, 1)
  1606. p16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1607. p16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1608. p16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1609. p16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1610. p16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1611. p16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1612. b16 = Instance.new("SpecialMesh", p16)
  1613. b16.MeshId = "http://www.roblox.com/asset/?id=1778999"
  1614. b16.TextureId = ""
  1615. b16.MeshType = Enum.MeshType.FileMesh
  1616. b16.Name = "Mesh"
  1617. b16.Scale = Vector3.new(0.150000006, 0.200000003, 0.150000006)
  1618. p17 = Instance.new("Part", m)
  1619. p17.BrickColor = BrickColor.new("Fossil")
  1620. p17.Material = Enum.Material.SmoothPlastic
  1621. p17.Name = "Main"
  1622. 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)
  1623. p17.Size = Vector3.new(0.470000029, 0.990000129, 0.200000003)
  1624. p17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1625. p17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1626. p17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1627. p17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1628. p17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1629. p17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1630. b17 = Instance.new("SpecialMesh", p17)
  1631. b17.MeshType = Enum.MeshType.Head
  1632. b17.Name = "Mesh"
  1633. b17.Scale = Vector3.new(1.25, 1.25, 1.25)
  1634. p18 = Instance.new("Part", m)
  1635. p18.BrickColor = BrickColor.new("Institutional White")
  1636. p18.Transparency = 0.5
  1637. p18.Name = "P16"
  1638. 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)
  1639. p18.CanCollide = false
  1640. p18.FormFactor = Enum.FormFactor.Symmetric
  1641. p18.Size = Vector3.new(0.200000003, 0.200000003, 1.39999998)
  1642. p18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1643. p18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1644. p18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1645. p18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1646. p18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1647. p18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1648. b18 = Instance.new("SpecialMesh", p18)
  1649. b18.MeshType = Enum.MeshType.Wedge
  1650. b18.Name = "Mesh"
  1651. b18.Scale = Vector3.new(0.200000003, 1, 1)
  1652. p19 = Instance.new("Part", m)
  1653. p19.BrickColor = BrickColor.new("Institutional White")
  1654. p19.Material = Enum.Material.SmoothPlastic
  1655. p19.Name = "P5"
  1656. 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)
  1657. p19.CanCollide = false
  1658. p19.FormFactor = Enum.FormFactor.Symmetric
  1659. p19.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1660. p19.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1661. p19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1662. p19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1663. p19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1664. p19.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1665. p19.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1666. b19 = Instance.new("BlockMesh", p19)
  1667. b19.Name = "Mesh"
  1668. b19.Scale = Vector3.new(0.899999976, 0.5, 0.899999976)
  1669. p20 = Instance.new("Part", m)
  1670. p20.BrickColor = BrickColor.new("Institutional White")
  1671. p20.Transparency = 0.5
  1672. p20.Name = "P17"
  1673. 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)
  1674. p20.CanCollide = false
  1675. p20.FormFactor = Enum.FormFactor.Symmetric
  1676. p20.Size = Vector3.new(0.200000003, 0.230000019, 4.42000008)
  1677. p20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1678. p20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1679. p20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1680. p20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1681. p20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1682. p20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1683. b20 = Instance.new("SpecialMesh", p20)
  1684. b20.MeshType = Enum.MeshType.Wedge
  1685. b20.Name = "Mesh"
  1686. b20.Scale = Vector3.new(0.200000003, 1, 1)
  1687. p21 = Instance.new("Part", m)
  1688. p21.BrickColor = BrickColor.new("Institutional White")
  1689. p21.Material = Enum.Material.SmoothPlastic
  1690. p21.Name = "P6"
  1691. 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)
  1692. p21.CanCollide = false
  1693. p21.FormFactor = Enum.FormFactor.Symmetric
  1694. p21.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1695. p21.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1696. p21.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1697. p21.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1698. p21.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1699. p21.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1700. p21.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1701. b21 = Instance.new("BlockMesh", p21)
  1702. b21.Name = "Mesh"
  1703. b21.Scale = Vector3.new(0.899999976, 0.5, 0.899999976)
  1704. w1 = Instance.new("Weld", p1)
  1705. w2 = Instance.new("Weld", p6)
  1706. w3 = Instance.new("Weld", p16)
  1707. w4 = Instance.new("Weld", p17)
  1708. w4.Name = "P18"
  1709. w4.Part0 = p17
  1710. 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)
  1711. w4.Part1 = p1
  1712. w4.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1713. w5 = Instance.new("Weld", p17)
  1714. w5.Name = "P1"
  1715. w5.Part0 = p17
  1716. 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)
  1717. w5.Part1 = p2
  1718. w5.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1719. w6 = Instance.new("Weld", p17)
  1720. w6.Name = "P10"
  1721. w6.Part0 = p17
  1722. 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)
  1723. w6.Part1 = p3
  1724. w6.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1725. w7 = Instance.new("Weld", p17)
  1726. w7.Name = "P11"
  1727. w7.Part0 = p17
  1728. 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)
  1729. w7.Part1 = p4
  1730. w7.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1731. w8 = Instance.new("Weld", p17)
  1732. w8.Name = "P12"
  1733. w8.Part0 = p17
  1734. 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)
  1735. w8.Part1 = p5
  1736. w8.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1737. w9 = Instance.new("Weld", p17)
  1738. w9.Name = "P2"
  1739. w9.Part0 = p17
  1740. 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)
  1741. w9.Part1 = p6
  1742. w9.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1743. w10 = Instance.new("Weld", p17)
  1744. w10.Name = "P4"
  1745. w10.Part0 = p17
  1746. 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)
  1747. w10.Part1 = p7
  1748. w10.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1749. w11 = Instance.new("Weld", p17)
  1750. w11.Name = "Ray"
  1751. w11.Part0 = p17
  1752. 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)
  1753. w11.Part1 = p8
  1754. w11.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1755. w12 = Instance.new("Weld", p17)
  1756. w12.Name = "P15"
  1757. w12.Part0 = p17
  1758. 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)
  1759. w12.Part1 = p9
  1760. w12.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1761. w13 = Instance.new("Weld", p17)
  1762. w13.Name = "P9"
  1763. w13.Part0 = p17
  1764. 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)
  1765. w13.Part1 = p10
  1766. w13.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1767. w14 = Instance.new("Weld", p17)
  1768. w14.Name = "P8"
  1769. w14.Part0 = p17
  1770. 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)
  1771. w14.Part1 = p11
  1772. w14.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1773. w15 = Instance.new("Weld", p17)
  1774. w15.Name = "P7"
  1775. w15.Part0 = p17
  1776. 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)
  1777. w15.Part1 = p12
  1778. w15.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1779. w16 = Instance.new("Weld", p17)
  1780. w16.Name = "P14"
  1781. w16.Part0 = p17
  1782. 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)
  1783. w16.Part1 = p13
  1784. w16.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1785. w17 = Instance.new("Weld", p17)
  1786. w17.Name = "P3"
  1787. w17.Part0 = p17
  1788. 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)
  1789. w17.Part1 = p14
  1790. w17.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1791. w18 = Instance.new("Weld", p17)
  1792. w18.Name = "P13"
  1793. w18.Part0 = p17
  1794. 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)
  1795. w18.Part1 = p15
  1796. w18.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1797. w19 = Instance.new("Weld", p17)
  1798. w19.Name = "P19"
  1799. w19.Part0 = p17
  1800. 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)
  1801. w19.Part1 = p16
  1802. w19.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1803. w20 = Instance.new("Weld", p17)
  1804. w20.Name = "P16"
  1805. w20.Part0 = p17
  1806. 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)
  1807. w20.Part1 = p18
  1808. w20.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1809. w21 = Instance.new("Weld", p17)
  1810. w21.Name = "P5"
  1811. w21.Part0 = p17
  1812. 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)
  1813. w21.Part1 = p19
  1814. w21.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1815. w22 = Instance.new("Weld", p17)
  1816. w22.Name = "P17"
  1817. w22.Part0 = p17
  1818. 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)
  1819. w22.Part1 = p20
  1820. w22.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1821. w23 = Instance.new("Weld", p17)
  1822. w23.Name = "P6"
  1823. w23.Part0 = p17
  1824. 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)
  1825. w23.Part1 = p21
  1826. w23.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1827. m.Parent = char
  1828. m:MakeJoints()
  1829.  
  1830.  
  1831. --------------------------------------------
  1832. bl = Instance.new("BoolValue",char)
  1833. bl.Name = "Blocking"
  1834. bl.Value = false
  1835.  
  1836. bll = Instance.new("BoolValue",char)
  1837. bll.Name = "BlockingLabel"
  1838. bll.Value = false
  1839.  
  1840. blt = Instance.new("NumberValue",char)
  1841. blt.Name = "BlockingLeft"
  1842. blt.Value = 50
  1843.  
  1844.  
  1845. pb = Instance.new("BoolValue",char)
  1846. pb.Name = "PauseBlock"
  1847. pb.Value = false
  1848. blm = 100
  1849.  
  1850. gd = Instance.new("BoolValue",char)
  1851. gd.Name = "Ground"
  1852.  
  1853. local TARG7
  1854. local obj
  1855. local TARG8
  1856. local obj2
  1857. for i,v in pairs (char:GetChildren())do
  1858. if v.ClassName == "Weld" then
  1859. v:destroy()
  1860. end
  1861. end
  1862. ----OPEN
  1863. local tr = char:WaitForChild("Torso")
  1864. local lr = char:WaitForChild("Left Arm")
  1865. local ra = char:WaitForChild("Right Arm")
  1866.  
  1867. local s1 = Instance.new("Sound",char.Head)
  1868. s1.Volume = 1
  1869. s1.SoundId = "rbxassetid://154965962"
  1870. s1.Pitch = 1.0
  1871. local s2 = Instance.new("Sound",char.Head)
  1872. s2.Volume = 1
  1873. s2.SoundId = "rbxassetid://344936315"
  1874. local s3 = Instance.new("Sound",char.Head)
  1875. s3.Volume = 1
  1876. s3.SoundId = "rbxassetid://344936310"
  1877. local s4 = Instance.new("Sound",char.Head)
  1878. s4.Volume = 1
  1879. s4.SoundId = "rbxassetid://320557518"
  1880. local s5 = Instance.new("Sound",char.Head)
  1881. s5.Volume = 1
  1882. s5.SoundId = "rbxassetid://320557537"
  1883. --WELDS --
  1884. local w3 = Instance.new("Weld",char)
  1885. run = game:GetService("RunService")
  1886. w3.Part0 = lr
  1887. w3.Part1 = tr
  1888. w3.C0 = CFrame.new(1.5,0,0)
  1889.  
  1890. local w4= Instance.new("Weld",char)
  1891. w4.Part0 = ra
  1892. w4.Part1 = tr
  1893. w4.C0 = CFrame.new(-1.5,0,0)
  1894.  
  1895. local nc = Instance.new("Weld",char)
  1896. nc.Part0 = char.Torso
  1897. nc.Part1 = char.Head
  1898. nc.C0 = CFrame.new(0,1.5,0)
  1899.  
  1900. local ll = Instance.new("Weld",char)
  1901. ll.Part0 = char.Torso
  1902. ll.Part1 = char["Left Leg"]
  1903. ll.C0 = CFrame.new(-.5,-2,0)
  1904.  
  1905. local rl = Instance.new("Weld",char)
  1906. rl.Part0 = char.Torso
  1907. rl.Part1 = char["Right Leg"]
  1908. rl.C0 = CFrame.new(.5,-2,0)
  1909.  
  1910. local ts = Instance.new("Weld",char)
  1911. ts.Part0 = char.HumanoidRootPart
  1912. ts.Part1 = char.Torso
  1913. ts.C0 = CFrame.new(0,0,0)* CFrame.Angles(0,0,0)
  1914. --MAKE AND UNDO WELDS
  1915.  
  1916. turnonwelds = function()
  1917. w3.Part1 = tr
  1918. w4.Part1 = tr
  1919. nc.Part1 = char.Head
  1920. ll.Part1 = char["Left Leg"]
  1921. rl.Part1 = char["Right Leg"]
  1922. end
  1923. turnoffwelds = function()
  1924. w3.Part1 = nil
  1925. w4.Part1 = nil
  1926. nc.Part1 = nil
  1927. ll.Part1 = nil
  1928. rl.Part1 = nil
  1929. end
  1930.  
  1931. turnoffwelds()
  1932. ----LERP POSES
  1933. ------- CFRAMES FOR LERP
  1934.  
  1935. local walk = {
  1936. --Left
  1937. ll.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(40),math.rad(20),math.rad(-10)), -- LEFT LEG
  1938. rl.C0 * CFrame.new(0,0,.5) * CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)), -- RIGHT LEG
  1939. --Right
  1940. ll.C0 * CFrame.new(0,0,.5) * CFrame.Angles(math.rad(-40),math.rad(20),math.rad(-10)), -- LEFT LEG
  1941. rl.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(45),math.rad(0),math.rad(0)), -- RIGHT LEG
  1942. -----------------------------------------------------------------------------------------------
  1943. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-20),math.rad(-35),0) , -- Torso Tilt
  1944. nc.C0 * CFrame.Angles(math.rad(10),math.rad(35),0), -- HEAD TILT UP
  1945. w4.C0 * CFrame.new(.7,1,-.3) * CFrame.Angles(math.rad(40),math.rad(0),math.rad(-30)), -- ARM MOVEMENT
  1946. 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
  1947.  
  1948. }
  1949. local equip = {
  1950. nc.C0 * CFrame.Angles(math.rad(-10),math.rad(0),0), -- HEAD BOB EQUIP
  1951. w3.C0 * CFrame.new(-1.1,-.1,-1.2) * CFrame.Angles(math.rad(-160),0,math.rad(90)), -- LEFT ARM FOLD
  1952. w4.C0 * CFrame.new(1.1,-.2,-1.2) * CFrame.Angles(math.rad(-160),0,math.rad(-90)) -- RIGHT ARM FOLD
  1953. }
  1954. local idle = {
  1955. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(-30),0), -- TORSO TILT
  1956. nc.C0 * CFrame.Angles(0,math.rad(30),0), -- HEAD BOB EQUIP
  1957. ll.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-5),math.rad(30),math.rad(-10)), -- LEFT LEG idle
  1958. rl.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(5),math.rad(-30),math.rad(10)), -- RIGHT LEG Idle
  1959. w3.C0 * CFrame.new(0,.3,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), -- LEFT ARM Idle
  1960. 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))
  1961. CFrame.new(0,-1,0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(-120))
  1962. }
  1963. local PA1 = {
  1964. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(15),math.rad(0)), -- TORSO TILT
  1965. ll.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), -- LEFT LEG PUNCH1
  1966. rl.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)), -- RIGHT LEG PUNCH
  1967. nc.C0 * CFrame.Angles(math.rad(-5),math.rad(-15),0), -- HEAD BOB PUNCH
  1968. w3.C0 * CFrame.new(0,1,0) * CFrame.Angles(math.rad(30),0,math.rad(40)), -- LEFT ARM Idle
  1969. w4.C0 * CFrame.new(3,.4,.4) * CFrame.Angles(math.rad(-30),math.rad(30),math.rad(130)), -- RIGHT ARM
  1970. }
  1971. local PA12 = {
  1972. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(-15),math.rad(0)), -- TORSO TILT
  1973. ll.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), -- LEFT LEG PUNCH1
  1974. rl.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(12)), -- RIGHT LEG PUNCH
  1975. nc.C0 * CFrame.Angles(math.rad(-10),math.rad(15),0), -- HEAD BOB PUNCH
  1976. w3.C0 * CFrame.new(-1,2,-.5) * CFrame.Angles(math.rad(0),math.rad(40),math.rad(90)), -- LEFT ARM Idle
  1977. w4.C0 * CFrame.new(1,1.3,.8) * CFrame.Angles(math.rad(30),math.rad(40),math.rad(-80)), -- RIGHT ARM
  1978. }
  1979. local PA2 = {
  1980. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0), -- TORSO TILT
  1981. ll.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(10),math.rad(-5)), -- LEFT LEG idle
  1982. rl.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(-10),math.rad(5)), -- RIGHT LEG Idle
  1983. nc.C0 * CFrame.Angles(math.rad(0),math.rad(-90),0), -- HEAD BOB PUNCH
  1984. w4.C0 * CFrame.new(1,2,0) * CFrame.Angles(math.rad(0),0,math.rad(-90)), -- LEFT ARM Idle
  1985. w3.C0 * CFrame.new(0,1,0) * CFrame.Angles(math.rad(0),0,math.rad(40)), -- RIGHT ARM Idle
  1986.  
  1987. }
  1988. local PA3 = {
  1989. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(0),0), -- TORSO TILT
  1990. nc.C0 * CFrame.Angles(math.rad(5),math.rad(-5),0), -- HEAD BOB PUNCH
  1991. w4.C0 * CFrame.new(.4,1.5,.4) * CFrame.Angles(math.rad(40),math.rad(20),math.rad(-80)), -- LEFT ARM PUNCH 3
  1992. w3.C0 * CFrame.new(-1,0,1) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(-90)), -- RIGHT ARM PUNCH 3
  1993. ll.C0 * CFrame.new(0,0,.5) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), -- LEFT LEG
  1994. rl.C0 * CFrame.new(0,1,-1) * CFrame.Angles(math.rad(120),0,math.rad(0)), -- RIGHT LEG Idle
  1995. }
  1996.  
  1997. local jump = {
  1998. nc.C0 * CFrame.Angles(math.rad(20),0,0), -- HEAD BOB EQUIP
  1999. w4.C0 * CFrame.new(0,.5,0) * CFrame.Angles(0,0,math.rad(-30)), -- LEFT ARM Idle
  2000. w3.C0 * CFrame.new(0,.5,0) * CFrame.Angles(0,0,math.rad(30)), -- RIGHT ARM Idle
  2001. ll.C0 * CFrame.new(-.3,0,0) * CFrame.Angles(0,0,math.rad(-20)), -- LEFT LEG idle
  2002. rl.C0 * CFrame.new(.3,0,0) * CFrame.Angles(0,0,math.rad(20)), -- RIGHT LEG Idle
  2003. }
  2004. local stunned = {
  2005. nc.C0 * CFrame.Angles(0,math.rad(90),0), -- HEAD BOB EQUIP
  2006. w4.C0 * CFrame.new(0,1,0) * CFrame.Angles(0,0,math.rad(-50)), -- LEFT ARM Idle
  2007. w3.C0 * CFrame.new(0,1,0) * CFrame.Angles(0,0,math.rad(50)), -- RIGHT ARM Idle
  2008. ll.C0 * CFrame.new(-.3,0,0) * CFrame.Angles(0,0,math.rad(-20)), -- LEFT LEG idle
  2009. rl.C0 * CFrame.new(.3,0,0) * CFrame.Angles(0,0,math.rad(20)), -- RIGHT LEG Idle
  2010. ts.C0 * CFrame.new(0,-2.5,0) * CFrame.Angles(math.rad(90),0,0), -- TORSO TILT
  2011. }
  2012. local PA1C = {
  2013. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-30),math.rad(-40),math.rad(-30)), -- TORSO TILT
  2014. ll.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(20),math.rad(30),math.rad(-10)), -- LEFT LEG PUNCH1
  2015. rl.C0 * CFrame.new(0,-.05,-.5) * CFrame.Angles(math.rad(20),math.rad(-30),math.rad(10)), -- RIGHT LEG PUNCH
  2016. nc.C0 * CFrame.Angles(math.rad(-7),math.rad(-20),0), -- HEAD BOB PUNCH
  2017. w3.C0 * CFrame.new(0,.5,-.2) * CFrame.Angles(math.rad(-100),math.rad(40),math.rad(30)), -- RIGHT ARM
  2018. w4.C0 * CFrame.new(0,.6,0) * CFrame.Angles(math.rad(30),0,math.rad(-20)), -- LEFT ARM Idle
  2019. }
  2020. local Stomp = {
  2021. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(0),0), -- TORSO TILT ~ NONE REQUIRED
  2022. nc.C0 * CFrame.Angles(math.rad(-13),math.rad(-20),0), -- HEAD BOB EQUIP
  2023. ll.C0 * CFrame.new(-.05,0,0) * CFrame.new(math.rad(0),math.rad(0),math.rad(00)), -- LEFT LEG
  2024. rl.C0 * CFrame.new(0,.6,-.6) * CFrame.Angles(math.rad(-0),0,math.rad(0)), -- RIGHT LEG Idle
  2025. w3.C0 * CFrame.new(0,.7,0) * CFrame.Angles(math.rad(-30),0,math.rad(30)), -- LEFT ARM Idle
  2026. w4.C0 * CFrame.new(0,.7,0) * CFrame.Angles(math.rad(-30),0,math.rad(-30)), -- RIGHT ARM Idle
  2027. }
  2028. local Stomp2 = {
  2029. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(0),0), -- TORSO TILT ~ NONE REQUIRED
  2030. nc.C0 * CFrame.Angles(math.rad(-25),math.rad(-20),0), -- HEAD BOB EQUIP
  2031. ll.C0 * CFrame.new(-.05,0,0) * CFrame.new(math.rad(0),math.rad(0),math.rad(00)), -- LEFT LEG
  2032. rl.C0 * CFrame.new(0,0,-.6) * CFrame.Angles(math.rad(-0),0,math.rad(0)), -- RIGHT LEG Idle
  2033. w3.C0 * CFrame.new(0,.7,0) * CFrame.Angles(math.rad(-30),0,math.rad(35)), -- LEFT ARM Idle
  2034. w4.C0 * CFrame.new(0,.7,0) * CFrame.Angles(math.rad(-30),0,math.rad(-35)), -- RIGHT ARM Idle
  2035. }
  2036. local dropkick = {
  2037. ts.C0 * CFrame.new(0,.8,0) * CFrame.Angles(math.rad(90),math.rad(45),0), -- TORSO TILT ~ NONE REQUIRED
  2038. nc.C0 * CFrame.new(0,0,-.2) * CFrame.Angles(math.rad(-30),math.rad(-20),0), -- HEAD BOB EQUIP
  2039. ll.C0 * CFrame.new(-.2,0,-.3) * CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), -- LEFT LEG
  2040. rl.C0 * CFrame.new(-.05,0,0) * CFrame.Angles(math.rad(00),math.rad(20),math.rad(0)), -- RIGHT LEG Idle
  2041. w3.C0 * CFrame.new(-2.7,1.5,0) * CFrame.Angles(math.rad(0),0,math.rad(170)), -- LEFT ARM Idle
  2042. w4.C0 * CFrame.new(2.7,1.5,0) * CFrame.Angles(math.rad(0),0,math.rad(-160)), -- RIGHT ARM Idle
  2043. }
  2044. local block = {
  2045. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0), -- TORSO TILT ~ NONE REQUIRED
  2046. nc.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-9),math.rad(-0),0), -- HEAD BOB EQUIP
  2047. ll.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0), -- LEFT LEG idle
  2048. rl.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0), -- RIGHT LEG Idle
  2049. w3.C0 * CFrame.new(-.8,1.3,-.6) * CFrame.Angles(math.rad(-160),math.rad(0),math.rad(0)), -- LEFT ARM Idle
  2050. w4.C0 * CFrame.new(.8,1.3,-.6) * CFrame.Angles(math.rad(-160),math.rad(0),math.rad(0)), -- RIGHT ARM Idle
  2051. }
  2052. local sjump = {
  2053. ts.C0 * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-10),0,0), -- TORSO TILT ~ NONE REQUIRED
  2054. nc.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-15),math.rad(-0),0), -- HEAD BOB EQUIP
  2055. ll.C0 * CFrame.new(0,.4,.8) * CFrame.Angles(math.rad(-70),0,0), -- LEFT LEG idle
  2056. rl.C0 * CFrame.new(0,.8,-.5) * CFrame.Angles(math.rad(-10),0,0), -- RIGHT LEG Idle
  2057. w3.C0 * CFrame.new(0,.5,.5) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), -- LEFT ARM Idle
  2058. w4.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(40),math.rad(0),math.rad(0)), -- RIGHT ARM Idle
  2059. }
  2060. local UpSideDownPunch = {
  2061. ts.C0 * CFrame.new(0,-.5,0) * CFrame.Angles(math.rad(180),0,0), -- TORSO TILT ~ NONE REQUIRED
  2062. nc.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0), -- HEAD BOB EQUIP
  2063. ll.C0 * CFrame.new(-.4,0,0) * CFrame.Angles(0,0,math.rad(-20)), -- LEFT LEG idle
  2064. rl.C0 * CFrame.new(.4,0,0) * CFrame.Angles(0,0,math.rad(20)), -- RIGHT LEG Idle
  2065. w3.C0 * CFrame.new(0,1.7,0) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(0)), -- LEFT ARM Idle
  2066. w4.C0 * CFrame.new(0,1.7,0) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(0)), -- RIGHT ARM Idle
  2067. }
  2068. local BackBreaker = {
  2069. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),0), -- TORSO TILT
  2070. nc.C0 * CFrame.Angles(math.rad(-15),math.rad(-5),0), -- HEAD BOB PUNCH
  2071. w4.C0 * CFrame.new(0,.1,.3) * CFrame.Angles(math.rad(-90),math.rad(-00),math.rad(0)), -- LEFT ARM PUNCH 3
  2072. w3.C0 * CFrame.new(0,.5,.5) * CFrame.Angles(math.rad(-90),math.rad(20),math.rad(0)), -- LEFT ARM PUNCH 3
  2073. ll.C0 * CFrame.new(-.3,0,.3) * CFrame.Angles(math.rad(-20),math.rad(30),math.rad(-10)), -- LEFT LEG
  2074. rl.C0 * CFrame.new(-.2,1,-.5) * CFrame.Angles(math.rad(-40),0,math.rad(0)), -- RIGHT LEG Idle
  2075. }
  2076. local FrontFlipKick1 = {
  2077. ts.C0 * CFrame.new(0,2,0) * CFrame.Angles(math.rad(-8),math.rad(0),0), -- TORSO TILT
  2078. nc.C0 * CFrame.Angles(math.rad(-15),math.rad(-5),0), -- HEAD BOB PUNCH
  2079. w4.C0 * CFrame.new(0,1,-.3) * CFrame.Angles(math.rad(140),math.rad(0),math.rad(0)), -- LEFT ARM PUNCH 3
  2080. w3.C0 * CFrame.new(0,1,-.3) * CFrame.Angles(math.rad(140),math.rad(0),math.rad(0)), -- LEFT ARM PUNCH 3
  2081. ll.C0 * CFrame.new(0,1,1) * CFrame.Angles(math.rad(-110),0,math.rad(0)), -- RIGHT LEG Idle
  2082. rl.C0 * CFrame.new(0,1,-1) * CFrame.Angles(math.rad(110),0,math.rad(0)), -- RIGHT LEG Idle
  2083. }
  2084. --[[for i = 0,1,wait() do
  2085. wait()
  2086. ts.C0 = ts.C0:lerp(FrontFlipKick1[1],.4)
  2087. nc.C0 = nc.C0:lerp(FrontFlipKick1[2],.4)
  2088. ll.C0 = ll.C0:lerp(FrontFlipKick1[5],.4)
  2089. rl.C0 = rl.C0:lerp(FrontFlipKick1[6],.4)
  2090. w3.C0 = w3.C0:lerp(FrontFlipKick1[4],.4)
  2091. w4.C0 = w4.C0:lerp(FrontFlipKick1[3],.4)
  2092. end--]]
  2093.  
  2094. --[[
  2095. --END
  2096. ts.C0 = ts.C0:lerp(UpSideDownPunch[1],.4)
  2097. nc.C0 = nc.C0:lerp(UpSideDownPunch[2],.4)
  2098. ll.C0 = ll.C0:lerp(UpSideDownPunch[3],.4)
  2099. rl.C0 = rl.C0:lerp(UpSideDownPunch[4],.4)
  2100. w3.C0 = w3.C0:lerp(UpSideDownPunch[5],.4)
  2101. w4.C0 = w4.C0:lerp(UpSideDownPunch[6],.4)
  2102. --START
  2103. ts.C0 = ts.C0:lerp(sjump[1],.4)
  2104. nc.C0 = nc.C0:lerp(sjump[2],.4)
  2105. ll.C0 = ll.C0:lerp(sjump[3],.4)
  2106. rl.C0 = rl.C0:lerp(sjump[4],.4)
  2107. w3.C0 = w3.C0:lerp(sjump[5],.4)
  2108. w4.C0 = w4.C0:lerp(sjump[6],.4)
  2109. --]]
  2110. -- CFrame.new(-.05,0,0) * CFrame.new(math.rad(0),math.rad(0),math.rad(00)), -- LEFT LEG
  2111. ------------------------------------CLASS UI ------------------------------------
  2112.  
  2113.  
  2114.  
  2115. f = Instance.new("ScreenGui",player.Backpack)
  2116. f.Name = "UI"
  2117.  
  2118. f1 = Instance.new("Frame",f)
  2119. f1.BorderSizePixel = 0
  2120. f1.BackgroundColor3 = Color3.new(0,0,0)
  2121. f1.Size = UDim2.new(0.3,0,0.05,0)
  2122. f1.Position = UDim2.new(0.2,0,0.84,0)
  2123.  
  2124. f1f = Instance.new("Frame",f1)
  2125. f1f.BorderSizePixel = 0
  2126. f1f.BackgroundColor3 = Color3.new(255,255,255)
  2127. f1f.Size = UDim2.new(1,0,1,0)
  2128.  
  2129. f1l = Instance.new("TextLabel",f1)
  2130. f1l.TextScaled = true
  2131. f1l.TextStrokeTransparency = 0
  2132. f1l.BackgroundTransparency = 1
  2133. f1l.TextColor3 = Color3.new(255,255,255)
  2134. f1l.BorderSizePixel = 0
  2135. f1l.Size = UDim2.new(1,0,1,0)
  2136. f1l.Text = "[Z] Zenatic Punch"
  2137.  
  2138.  
  2139. f2 = Instance.new("Frame",f)
  2140. f2.BorderSizePixel = 0
  2141. f2.BackgroundColor3 = Color3.new(0,0,0)
  2142. f2.Size = UDim2.new(0.3,0,0.05,0)
  2143. f2.Position = UDim2.new(0.52, 0,0.84, 0)
  2144.  
  2145. f2f = Instance.new("Frame",f2)
  2146. f2f.BorderSizePixel = 0
  2147. f2f.BackgroundColor3 = Color3.new(255,255,255)
  2148. f2f.Size = UDim2.new(1,0,1,0)
  2149.  
  2150. f2l = Instance.new("TextLabel",f2)
  2151. f2l.TextScaled = true
  2152. f2l.TextStrokeTransparency = 0
  2153. f2l.BackgroundTransparency = 1
  2154. f2l.TextColor3 = Color3.new(255,255,255)
  2155. f2l.BorderSizePixel = 0
  2156. f2l.Size = UDim2.new(1,0,1,0)
  2157. f2l.Text = "[X] Zenatic Stomp"
  2158.  
  2159.  
  2160. f3 = Instance.new("Frame",f)
  2161. f3.BorderSizePixel = 0
  2162. f3.BackgroundColor3 = Color3.new(0,0,0)
  2163. f3.Size = UDim2.new(0.3,0,0.05,0)
  2164. f3.Position = UDim2.new(0.2,0,0.9,0)
  2165.  
  2166. f3f = Instance.new("Frame",f3)
  2167. f3f.BorderSizePixel = 0
  2168. f3f.BackgroundColor3 = Color3.new(255,255,255)
  2169. f3f.Size = UDim2.new(1,0,1,0)
  2170.  
  2171. f3l = Instance.new("TextLabel",f3)
  2172. f3l.TextScaled = true
  2173. f3l.TextStrokeTransparency = 0
  2174. f3l.BackgroundTransparency = 1
  2175. f3l.TextColor3 = Color3.new(255,255,255)
  2176. f3l.BorderSizePixel = 0
  2177. f3l.Size = UDim2.new(1,0,1,0)
  2178. f3l.Text = "[C] Zenatic Kick"
  2179.  
  2180.  
  2181. f4 = Instance.new("Frame",f)
  2182. f4.BorderSizePixel = 0
  2183. f4.BackgroundColor3 = Color3.new(0,0,0)
  2184. f4.Size = UDim2.new(0.3,0,0.05,0)
  2185. f4.Position = UDim2.new(.52,0,.9,0)
  2186.  
  2187. f4f = Instance.new("Frame",f4)
  2188. f4f.BorderSizePixel = 0
  2189. f4f.BackgroundColor3 = Color3.new(255,255,255)
  2190. f4f.Size = UDim2.new(1,0,1,0)
  2191.  
  2192. f4l = Instance.new("TextLabel",f4)
  2193. f4l.TextScaled = true
  2194. f4l.TextStrokeTransparency = 0
  2195. f4l.BackgroundTransparency = 1
  2196. f4l.TextColor3 = Color3.new(255,255,255)
  2197. f4l.BorderSizePixel = 0
  2198. f4l.Size = UDim2.new(1,0,1,0)
  2199. f4l.Text = "[V] Zenatic Flip Kick "
  2200.  
  2201.  
  2202. ---HEALTH BAR
  2203.  
  2204. f5 = Instance.new("Frame",f)
  2205. f5.BorderSizePixel = 0
  2206. f5.BackgroundColor3 = Color3.new(255,255,255)
  2207. f5.Size = UDim2.new(0.3,0,0.03,0)
  2208. f5.Position = UDim2.new(.52,0,.8,0)
  2209.  
  2210. f5f = Instance.new("Frame",f5)
  2211. f5f.BorderSizePixel = 0
  2212. f5f.BackgroundColor3 = Color3.new(0,255,0)
  2213. f5f.Size = UDim2.new(1,0,1,0)
  2214.  
  2215. f5l = Instance.new("TextLabel",f5)
  2216. f5l.TextScaled = true
  2217. f5l.TextStrokeTransparency = 0
  2218. f5l.BackgroundTransparency = 1
  2219. f5l.TextColor3 = Color3.new(255,255,255)
  2220. f5l.BorderSizePixel = 0
  2221. f5l.Size = UDim2.new(1,0,1,0)
  2222. f5l.Text = "Health"
  2223.  
  2224.  
  2225. ---ENERGY BAR
  2226.  
  2227. f6 = Instance.new("Frame",f)
  2228. f6.BorderSizePixel = 0
  2229. f6.BackgroundColor3 = Color3.new(255,255,255)
  2230. f6.Size = UDim2.new(0.3,0,0.03,0)
  2231. f6.Position = UDim2.new(.2,0,.8,0)
  2232.  
  2233. f6f = Instance.new("Frame",f6)
  2234. f6f.BorderSizePixel = 0
  2235. f6f.BackgroundColor3 = BrickColor.new("Institutional White").Color
  2236. f6f.Size = UDim2.new(1,0,1,0)
  2237.  
  2238. f6l = Instance.new("TextLabel",f6)
  2239. f6l.TextScaled = true
  2240. f6l.TextStrokeTransparency = 0
  2241. f6l.BackgroundTransparency = 1
  2242. f6l.TextColor3 = Color3.new(215,197,154)
  2243. f6l.BorderSizePixel = 0
  2244. f6l.Size = UDim2.new(1,0,1,0)
  2245. f6l.Text = "Zenatic Power"
  2246.  
  2247. ------------ATK
  2248. fa = Instance.new("TextLabel",f)
  2249. fa.TextScaled = true
  2250. fa.TextStrokeTransparency = 0
  2251. fa.BackgroundTransparency = .5
  2252. fa.BackgroundColor3 = Color3.new(0,0,0)
  2253. fa.TextColor3 = Color3.new(255,0,0)
  2254. fa.BorderSizePixel = 0
  2255. fa.Size = UDim2.new(.2,0,0.05,0)
  2256. fa.Position = UDim2.new(0.2,0,0.74,0)
  2257. fa.Text = "Personality: Brave"
  2258. ------------SPD
  2259. fa2 = Instance.new("TextLabel",f)
  2260. fa2.TextScaled = true
  2261. fa2.TextStrokeTransparency = 0
  2262. fa2.BackgroundTransparency = .5
  2263. fa2.BackgroundColor3 = Color3.new(0,0,0)
  2264. fa2.TextColor3 = Color3.new(0,255,0)
  2265. fa2.BorderSizePixel = 0
  2266. fa2.Size = UDim2.new(.2,0,0.05,0)
  2267. fa2.Position = UDim2.new(0.41,0,0.74,0)
  2268. fa2.Text = "Agility : 1"
  2269. ------------DEF
  2270. fa3 = Instance.new("TextLabel",f)
  2271. fa3.TextScaled = true
  2272. fa3.TextStrokeTransparency = 0
  2273. fa3.BackgroundTransparency = .5
  2274. fa3.BackgroundColor3 = Color3.new(0,0,0)
  2275. fa3.TextColor3 = Color3.new(0,0,255)
  2276. fa3.BorderSizePixel = 0
  2277. fa3.Size = UDim2.new(.2,0,0.05,0)
  2278. fa3.Position = UDim2.new(0.62,0,0.74,0)
  2279. fa3.Text = "Zenatic : 1"
  2280. -------------------CLASS VARS--------------------------
  2281. S1 = true
  2282. S1T = 0
  2283. S1TF = 0
  2284. S2 = true
  2285. S2T = 0
  2286. S2TF = 0
  2287. S3 = true
  2288. S3T = 0
  2289. S3TF = 0
  2290. S4 = true
  2291. S4T = 0
  2292. S4TF = 0
  2293. energy = 0
  2294. ------------------------------------EXTRA WELDS AREA ------------------------------------
  2295.  
  2296.  
  2297.  
  2298.  
  2299.  
  2300. ----EQUIP FUNCTION
  2301. local Close1 = CFrame.new(1.5,0,0)
  2302. local Close2 = CFrame.new(-1.5,0,0)
  2303. local Speed = 0.3
  2304. local Open4 = w4.C0 * CFrame.new(0,.5,0) * CFrame.Angles(0,0,math.rad(-30))
  2305. local h1 = nc.C0 * CFrame.Angles(math.rad(20),math.rad(-30),0)
  2306. local h2 = CFrame.new(0,1.5,0)
  2307. local h3 = nc.C0 * CFrame.Angles(math.rad(-20),math.rad(30),0)
  2308. --leg anims
  2309. local opend = false
  2310. local current = true
  2311.  
  2312.  
  2313.  
  2314.  
  2315. sweld = Instance.new("Weld",char)
  2316. sweld.Part0 = char["Right Arm"]
  2317. sweld.Part1 = p17
  2318. sweld.C0 = CFrame.new(0,-1,0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(-120))
  2319.  
  2320. local STARG = CFrame.new(0,-1,0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(-120))
  2321. ---------------------------------------------------------------------------------------
  2322. ----DAMAGE UI N DMG
  2323. local DGU = function(p,txt)
  2324. s2:Play()
  2325. local par = Instance.new("Part",game.Workspace)
  2326. par.Transparency = 1
  2327. par.Anchored = true
  2328. par.CFrame = p.CFrame
  2329. par.CanCollide = false
  2330. game.Debris:AddItem(par,10)
  2331. local f = Instance.new("BillboardGui",par)
  2332. f.Size = UDim2.new(1.2,0,1.2,0)
  2333. f.AlwaysOnTop = true
  2334. f.StudsOffset = Vector3.new(0,2,0)
  2335. local fr = Instance.new("Frame",f)
  2336. fr.BackgroundTransparency = 1
  2337. fr.Size = UDim2.new(1,0,1,0)
  2338. fr.ClipsDescendants = true
  2339. local fe = Instance.new("TextLabel",fr)
  2340. fe.Size = UDim2.new(1,0,1,0)
  2341. fe.BackgroundTransparency = 1
  2342. fe.TextColor3 = BrickColor.new("Bright yellow").Color
  2343. fe.TextStrokeTransparency = 0
  2344. fe.Text = txt
  2345. fe.TextScaled = true
  2346. fe.Font = "Legacy"
  2347. fe.Position = UDim2.new(0,0,1,0)
  2348. fe:TweenPosition(UDim2.new(0,0,0,0),"In","Linear",.5)
  2349. wait(2)
  2350. fe:TweenPosition(UDim2.new(0,0,-1,0),"In","Linear",.4)
  2351. for i = 0,10 do
  2352. wait()
  2353. fe.TextTransparency = fe.TextTransparency + .1
  2354. end
  2355. end
  2356.  
  2357.  
  2358.  
  2359. makeui = function(color,txt)
  2360. local par = Instance.new("Part",game.Workspace)
  2361. par.Transparency = 1
  2362. par.Anchored = true
  2363. par.CFrame = char.Head.CFrame
  2364. par.CanCollide = false
  2365. game.Debris:AddItem(par,10)
  2366. local f = Instance.new("BillboardGui",par)
  2367. f.Size = UDim2.new(1.2,0,1.2,0)
  2368. f.AlwaysOnTop = true
  2369. f.StudsOffset = Vector3.new(0,4,0)
  2370. local fr = Instance.new("Frame",f)
  2371. fr.BackgroundTransparency = 1
  2372. fr.Size = UDim2.new(2,0,2,0)
  2373. fr.ClipsDescendants = true
  2374. local fe = Instance.new("TextLabel",fr)
  2375. fe.Size = UDim2.new(1,0,1,0)
  2376. fe.BackgroundTransparency = 1
  2377. fe.TextColor3 = Color3.new(255,255,255)
  2378. fe.TextStrokeTransparency = 0
  2379. fe.Text = txt
  2380. fe.TextScaled = true
  2381. fe.Font = "SourceSansBold"
  2382. game.Debris:AddItem(f,4)
  2383. fe.Position = UDim2.new(0,0,1,0)
  2384. fe:TweenPosition(UDim2.new(0,0,0,0),"In","Linear",.5)
  2385. wait(2)
  2386. fe:TweenPosition(UDim2.new(0,0,-1,0),"In","Linear",.4)
  2387. for i = 0,10 do
  2388. wait()
  2389. fe.TextTransparency = fe.TextTransparency + .1
  2390. end
  2391. end
  2392. ----TARG
  2393. local TARG1
  2394. local TARG2
  2395. local TARG3
  2396. local TARG4
  2397. local TARG5
  2398. local TARG6
  2399. local IdleAndWalk = false
  2400.  
  2401.  
  2402. turnonwelds()
  2403. opend = true
  2404.  
  2405. --------------SKILL/KEY EVENTS
  2406. --------------MOUSE EVENTS , ATTACKS
  2407. local wpb = true
  2408. local num = 1
  2409.  
  2410.  
  2411.  
  2412. mouse.Button1Down:connect(function()
  2413. if current == true and stun.Value == false and opend == true and wpb == true then
  2414. local fs
  2415.  
  2416. if num == 1 then
  2417. wpb = false
  2418. current = false
  2419. fr = true
  2420. p8.Touched:connect(function(hit)
  2421. if not fr then return end
  2422. if hit.Parent:FindFirstChild("Defense")then
  2423. fs = math.floor(math.random(4,9) * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  2424. else
  2425. fs = math.floor(math.random(4,9) * atk.Value)
  2426. end
  2427.  
  2428. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  2429. fr = false
  2430. if hit.Parent:FindFirstChild("Blocking")then
  2431. if hit.Parent:FindFirstChild("Blocking").Value == true then
  2432. hit.Parent.PauseBlock.Value = true wait() wait() hit.Parent.BlockingLeft.Value = 5 wait() wait() hit.Parent.PauseBlock.Value = false
  2433. hit.Parent.BlockingLabel.Value = true
  2434. stun.Value = true
  2435. else
  2436. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  2437. DGU(hit,fs)
  2438. fr = false
  2439. end
  2440. else
  2441. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  2442. DGU(hit,fs)
  2443. fr = false
  2444. end
  2445. --
  2446. end
  2447. end)
  2448. TARG1 = PA1[5]
  2449. TARG2 = PA1[6]
  2450. TARG3 = PA1[4]
  2451. TARG4 = PA1[3]
  2452. TARG5 = PA1[2]
  2453. TARG6 = PA1[1]
  2454. STARG = CFrame.new(0,-.9,0)* CFrame.Angles(math.rad(130),0,0)
  2455. wait(.05)
  2456. TARG1 = PA1[5]
  2457. TARG2 = PA1[6]
  2458. TARG3 = PA1[4]
  2459. TARG4 = PA1[3]
  2460. TARG5 = PA1[2]
  2461. TARG6 = PA1[1]
  2462. STARG = CFrame.new(0,-.9,0)* CFrame.Angles(math.rad(130),0,0)
  2463. wait(.05)
  2464. TARG1 = PA1[5]
  2465. TARG2 = PA1[6]
  2466. TARG3 = PA1[4]
  2467. TARG4 = PA1[3]
  2468. TARG5 = PA1[2]
  2469. TARG6 = PA1[1]
  2470. STARG = CFrame.new(0,-.9,0)* CFrame.Angles(math.rad(130),0,0)
  2471. wait(.05)
  2472. s5:Play()
  2473. wait(.05)
  2474. TARG1 = PA12[5]
  2475. TARG2 = PA12[6]
  2476. TARG3 = PA12[4]
  2477. TARG4 = PA12[3]
  2478. TARG5 = PA12[2]
  2479. TARG6 = PA12[1]
  2480. --STARG = CFrame.new(0,-.9,0) * CFrame.Angles(math.rad(130),0,0)
  2481. wait(.05)
  2482. TARG1 = PA12[5]
  2483. TARG2 = PA12[6]
  2484. TARG3 = PA12[4]
  2485. TARG4 = PA12[3]
  2486. TARG5 = PA12[2]
  2487. TARG6 = PA12[1]
  2488. --STARG = CFrame.new(0,-.9,0)* CFrame.Angles(math.rad(130),0,0)
  2489. wait(.05)
  2490. TARG1 = PA12[5]
  2491. TARG2 = PA12[6]
  2492. TARG3 = PA12[4]
  2493. TARG4 = PA12[3]
  2494. TARG5 = PA12[2]
  2495. TARG6 = PA12[1]
  2496. --STARG = CFrame.new(0,-.9,0)* CFrame.Angles(math.rad(130),0,0)
  2497. wait(.05)
  2498. TARG1 = PA12[5]
  2499. TARG2 = PA12[6]
  2500. TARG3 = PA12[4]
  2501. TARG4 = PA12[3]
  2502. TARG5 = PA12[2]
  2503. TARG6 = PA12[1]
  2504. --STARG = CFrame.new(0,-.9,0)* CFrame.Angles(math.rad(130),0,0)
  2505. wait(.2)
  2506. current = true
  2507. fr = false
  2508. wait(.1)
  2509. wpb = true
  2510. num=num+1
  2511. return
  2512. end
  2513. if num == 2 then
  2514. wpb = false
  2515. current = false
  2516. fr = true
  2517. p8.Touched:connect(function(hit)
  2518. if not fr then return end
  2519. if hit.Parent:FindFirstChild("Defense")then
  2520. fs = math.floor(math.random(5,11) * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  2521. else
  2522. fs = math.floor(math.random(5,11) * atk.Value)
  2523. end
  2524.  
  2525. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  2526. fr = false
  2527. if hit.Parent:FindFirstChild("Blocking")then
  2528. if hit.Parent:FindFirstChild("Blocking").Value == true then
  2529. hit.Parent.PauseBlock.Value = true wait() wait() hit.Parent.BlockingLeft.Value = 5 wait() wait() hit.Parent.PauseBlock.Value = false
  2530. hit.Parent.BlockingLabel.Value = true
  2531. stun.Value = true
  2532. else
  2533. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  2534. DGU(hit,fs)
  2535. fr = false
  2536. end
  2537. else
  2538. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  2539. DGU(hit,fs)
  2540. fr = false
  2541. end
  2542. --
  2543. end
  2544. end)
  2545. s4:Play()
  2546. wait(.1)
  2547. TARG1 = PA2[6]
  2548. TARG2 = PA2[5]
  2549. TARG3 = PA2[4]
  2550. TARG4 = PA2[3]
  2551. TARG5 = PA2[2]
  2552. TARG6 = PA2[1]
  2553. STARG = CFrame.new(0,-1,0) * CFrame.Angles(math.rad(180),0,0)
  2554. wait(.1)
  2555. TARG1 = PA2[6]
  2556. TARG2 = PA2[5]
  2557. TARG3 = PA2[4]
  2558. TARG4 = PA2[3]
  2559. TARG5 = PA2[2]
  2560. TARG6 = PA2[1]
  2561. STARG = CFrame.new(0,-1,0)* CFrame.Angles(math.rad(180),0,0)
  2562. wait(.1)
  2563. TARG1 = PA2[6]
  2564. TARG2 = PA2[5]
  2565. TARG3 = PA2[4]
  2566. TARG4 = PA2[3]
  2567. TARG5 = PA2[2]
  2568. TARG6 = PA2[1]
  2569. STARG = CFrame.new(0,-1,0)* CFrame.Angles(math.rad(180),0,0)
  2570. wait(.1)
  2571. TARG1 = PA2[6]
  2572. TARG2 = PA2[5]
  2573. TARG3 = PA2[4]
  2574. TARG4 = PA2[3]
  2575. TARG5 = PA2[2]
  2576. TARG6 = PA2[1]
  2577. STARG = CFrame.new(0,-1,0)* CFrame.Angles(math.rad(180),0,0)
  2578. wait(.2)
  2579. current = true
  2580. fr = false
  2581. wait(.1)
  2582. wpb = true
  2583. num=num+1
  2584. return
  2585. end
  2586. if num == 3 then
  2587. wpb = false
  2588. current = false
  2589. fr = true
  2590. char["Right Leg"].Touched:connect(function(hit)
  2591. if not fr then return end
  2592. if hit.Parent:FindFirstChild("Defense")then
  2593. fs = math.floor(math.random(5,11) * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  2594. else
  2595. fs = math.floor(math.random(5,11) * atk.Value)
  2596. end
  2597.  
  2598. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  2599. fr = false
  2600. if hit.Parent:FindFirstChild("Blocking")then
  2601. if hit.Parent:FindFirstChild("Blocking").Value == true then
  2602. hit.Parent.PauseBlock.Value = true wait() wait() hit.Parent.BlockingLeft.Value = 5 wait() wait() hit.Parent.PauseBlock.Value = false
  2603. hit.Parent.BlockingLabel.Value = true
  2604. stun.Value = true
  2605. else
  2606. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  2607. DGU(hit,fs)
  2608. fr = false
  2609. end
  2610. else
  2611. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  2612. DGU(hit,fs)
  2613. fr = false
  2614. end
  2615. --
  2616. end
  2617. end)
  2618. s1.Pitch = 1
  2619. s1:Play()
  2620. wait(.1)
  2621. TARG1 = PA3[4]
  2622. TARG2 = PA3[3]
  2623. TARG3 = PA3[2]
  2624. TARG4 = PA3[6]
  2625. TARG5 = PA3[5]
  2626. TARG6 = PA3[1]
  2627. TARG1 = PA3[4]
  2628. TARG2 = PA3[3]
  2629. TARG3 = PA3[2]
  2630. TARG4 = PA3[6]
  2631. TARG5 = PA3[5]
  2632. TARG6 = PA3[1]
  2633. wait(.1)
  2634. TARG1 = PA3[4]
  2635. TARG2 = PA3[3]
  2636. TARG3 = PA3[2]
  2637. TARG4 = PA3[6]
  2638. TARG5 = PA3[5]
  2639. TARG6 = PA3[1]
  2640. wait(.1)
  2641. TARG1 = PA3[4]
  2642. TARG2 = PA3[3]
  2643. TARG3 = PA3[2]
  2644. TARG4 = PA3[6]
  2645. TARG5 = PA3[5]
  2646. TARG6 = PA3[1]
  2647. wait(.2)
  2648. current = true
  2649. fr = false
  2650. wait(.1)
  2651. wpb = true
  2652. num=1
  2653. return
  2654. end
  2655.  
  2656. end
  2657. end)
  2658. mouse.KeyDown:connect(function(key)key = key:lower()
  2659. if key == "z" then
  2660. if current == true and opend == true and stun.Value == false and energy > 19 and S1 == true then
  2661. energy = energy - 20
  2662. S1T = 0
  2663. current = false
  2664. local num = 0
  2665. repeat
  2666. fr = true
  2667. local fs
  2668. s1.Pitch = 1.2
  2669. s1:Play()
  2670. char["Right Arm"].Touched:connect(function(hit)
  2671. if not fr then return end
  2672. if hit.Parent.Name == player.Name then return end
  2673. if hit.Parent:FindFirstChild("Defense") and hit.Parent.Name ~= player.Name then
  2674.  
  2675.  
  2676. hit.Parent:FindFirstChild("Defense").Value = hit.Parent:FindFirstChild("Defense").Value -.02
  2677. fs = math.floor(4 * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  2678.  
  2679.  
  2680. else
  2681. fs = math.floor(4 * atk.Value)
  2682. end
  2683. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  2684. fr = false
  2685. if hit.Parent:FindFirstChild("Blocking")then
  2686. if hit.Parent:FindFirstChild("Blocking").Value == true then
  2687. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  2688. hit.Parent.BlockingLabel.Value = true
  2689. stun.Value = true
  2690. else
  2691. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  2692. DGU(hit,fs)
  2693. fr = false
  2694. end
  2695. else
  2696. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  2697. DGU(hit,fs)
  2698. fr = false
  2699. end
  2700. --
  2701. end
  2702. end)
  2703. TARG1 = PA1[5]
  2704. TARG2 = PA1[6]
  2705. TARG3 = PA1[4]
  2706. TARG4 = PA1[3]
  2707. TARG5 = PA1[2]
  2708. TARG6 = PA1[1]
  2709. wait(.11)
  2710. fr = false
  2711. wait(.11)
  2712. fr = true
  2713. local fs
  2714. s1.Pitch = 1.2
  2715. s1:Play()
  2716. char["Left Arm"].Touched:connect(function(hit)
  2717. if not fr then return end
  2718. if hit.Parent.Name == player.Name then return end
  2719. if hit.Parent:FindFirstChild("Defense")and hit.Parent.Name ~= player.Name then
  2720. hit.Parent:FindFirstChild("Defense").Value = hit.Parent:FindFirstChild("Defense").Value -.02
  2721. fs = math.floor(4 * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  2722. else
  2723. fs = math.floor(4 * atk.Value)
  2724. end
  2725. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  2726. fr = false
  2727. if hit.Parent:FindFirstChild("Blocking")then
  2728. if hit.Parent:FindFirstChild("Blocking").Value == true then
  2729. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  2730. hit.Parent.BlockingLabel.Value = true
  2731. stun.Value = true
  2732. else
  2733. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  2734. DGU(hit,fs)
  2735. fr = false
  2736. end
  2737. else
  2738. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  2739. DGU(hit,fs)
  2740. fr = false
  2741. end
  2742. --
  2743. end
  2744. end)
  2745. TARG1 = PA1C[5]
  2746. TARG2 = PA1C[6]
  2747. TARG3 = PA1C[4]
  2748. TARG4 = PA1C[3]
  2749. TARG5 = PA1C[2]
  2750. TARG6 = PA1C[1]
  2751. wait(.11)
  2752. fr = false
  2753. wait(.11)
  2754. num = num + 2
  2755. until num == 10
  2756. current = true
  2757. wait(3)
  2758. end
  2759. end
  2760. end)
  2761. --- KEYDOWN 2
  2762. mouse.KeyDown:connect(function(key)key = key:lower()
  2763. if key == "x" then
  2764. if current == true and opend == true and stun.Value == false and energy > 24 and S2 == true then
  2765. energy = energy - 25
  2766. S2T = 0
  2767. skl = true
  2768. char.Humanoid.WalkSpeed = 0
  2769. f = Instance.new("Part",game.Workspace)
  2770. f.Position = char.Torso.Position + Vector3.new(0, -2, -12)
  2771. f.CanCollide = false
  2772. f.Transparency = 1
  2773. local asdf
  2774. local cf
  2775. f.Touched:connect(function(hit)
  2776. if hit.Parent:FindFirstChild("Humanoid") then
  2777. else
  2778. cf = f.CFrame
  2779. asdf = hit.BrickColor
  2780. end
  2781. end)
  2782. current = false
  2783. TARG1 = Stomp[5]
  2784. TARG2 = Stomp[6]
  2785. TARG3 = Stomp[2]
  2786. TARG4 = Stomp[4]
  2787. TARG5 = Stomp[3]
  2788. TARG6 = Stomp[1]
  2789. wait(.05)
  2790. TARG1 = Stomp[5]
  2791. TARG2 = Stomp[6]
  2792. TARG3 = Stomp[2]
  2793. TARG4 = Stomp[4]
  2794. TARG5 = Stomp[3]
  2795. TARG6 = Stomp[1]
  2796. wait(.05)
  2797. TARG1 = Stomp[5]
  2798. TARG2 = Stomp[6]
  2799. TARG3 = Stomp[2]
  2800. TARG4 = Stomp[4]
  2801. TARG5 = Stomp[3]
  2802. TARG6 = Stomp[1]
  2803. wait(.05)
  2804. TARG1 = Stomp[5]
  2805. TARG2 = Stomp[6]
  2806. TARG3 = Stomp[2]
  2807. TARG4 = Stomp[4]
  2808. TARG5 = Stomp[3]
  2809. TARG6 = Stomp[1]
  2810. wait(.05)
  2811. TARG1 = Stomp[5]
  2812. TARG2 = Stomp[6]
  2813. TARG3 = Stomp[2]
  2814. TARG4 = Stomp[4]
  2815. TARG5 = Stomp[3]
  2816. TARG6 = Stomp[1]
  2817. wait(.05)
  2818. TARG1 = Stomp2[5]
  2819. TARG2 = Stomp2[6]
  2820. TARG3 = Stomp2[2]
  2821. TARG4 = Stomp2[4]
  2822. TARG5 = Stomp2[3]
  2823. TARG6 = Stomp2[1]
  2824. wait(.05)
  2825. TARG1 = Stomp2[5]
  2826. TARG2 = Stomp2[6]
  2827. TARG3 = Stomp2[2]
  2828. TARG4 = Stomp2[4]
  2829. TARG5 = Stomp2[3]
  2830. TARG6 = Stomp2[1]
  2831. wait(.05)
  2832. TARG1 = Stomp2[5]
  2833. TARG2 = Stomp2[6]
  2834. TARG3 = Stomp2[2]
  2835. TARG4 = Stomp2[4]
  2836. TARG5 = Stomp2[3]
  2837. TARG6 = Stomp2[1]
  2838. wait(.05)
  2839. TARG1 = Stomp2[5]
  2840. TARG2 = Stomp2[6]
  2841. TARG3 = Stomp2[2]
  2842. TARG4 = Stomp2[4]
  2843. TARG5 = Stomp2[3]
  2844. TARG6 = Stomp2[1]
  2845. wait(.05)
  2846. local fs = Instance.new("Part",char)
  2847. fs.BrickColor = asdf
  2848. fs.Size = Vector3.new(1,1,1)
  2849. fs.CanCollide = false
  2850. fs.Anchored = true
  2851. fs.Transparency = 1
  2852. fs.CFrame = char.Torso.CFrame * CFrame.new(0,-2.5,0)
  2853. local fr = Instance.new("Part",char)
  2854. fr.BrickColor = asdf
  2855. fr.Size = Vector3.new(1,1,1)
  2856. fr.CanCollide = false
  2857. fr.Anchored = true
  2858. fr.CFrame = char.Torso.CFrame * CFrame.new(0,-2.5,0) * CFrame.Angles(math.rad(90),0,0)
  2859. local fms = Instance.new("SpecialMesh",fr)
  2860. fms.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2861. fms.Scale = Vector3.new(1,1,6)
  2862. TARG7 = Vector3.new(40,40,10)
  2863. obj = fms
  2864. obj2 = fs
  2865. TARG8 = Vector3.new(50,5,50)
  2866. local dmg = true
  2867. fs.Touched:connect(function(hit)
  2868. if dmg == true and hit.Parent:FindFirstChild("Humanoid") then
  2869. if hit.Parent:FindFirstChild("Humanoid").Health ~= 0 and hit.Parent.Name ~= player.Name then
  2870. if hit.Parent:FindFirstChild("Speed")then
  2871. hit.Parent:FindFirstChild("Speed").Value = hit.Parent:FindFirstChild("Speed").Value -.1
  2872. hit.Parent:FindFirstChild("Speed").Value = hit.Parent:FindFirstChild("Speed").Value -.1
  2873. --- I made it do that so this would stick for 12 Seconds ~ Thats how the stats work
  2874. local fx = math.floor(22 * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  2875. dmg = false
  2876. if hit.Parent:FindFirstChild("Blocking")then
  2877. if hit.Parent:FindFirstChild("Blocking").Value == true then
  2878. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  2879. hit.Parent.BlockingLabel.Value = true
  2880. stun.Value = true
  2881. else
  2882. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  2883. DGU(hit,fx)
  2884. fr = false
  2885. end
  2886. else
  2887. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  2888. DGU(hit,fx)
  2889. fr = false
  2890. end
  2891. else
  2892. local fx = math.floor(22 * atk.Value)
  2893. dmg = false
  2894. if hit.Parent:FindFirstChild("Blocking")then
  2895. if hit.Parent:FindFirstChild("Blocking").Value == true then
  2896. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  2897. hit.Parent.BlockingLabel.Value = true
  2898. stun.Value = true
  2899. else
  2900. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  2901. DGU(hit,fx)
  2902. fr = false
  2903. end
  2904. else
  2905. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  2906. DGU(hit,fx)
  2907. fr = false
  2908. end
  2909. end
  2910. end
  2911. end
  2912. end)--]]
  2913. wait(.3)
  2914. game.Debris:AddItem(fr,8)
  2915. game.Debris:AddItem(fs,8)
  2916. skl = false
  2917. current = true
  2918. for i = 1,10 do
  2919. wait()
  2920. fr.Transparency = fr.Transparency + .1
  2921. end
  2922. wait(.4)
  2923. dmg = false
  2924. wait(3)
  2925. end
  2926. end
  2927. end)
  2928.  
  2929.  
  2930.  
  2931. mouse.KeyDown:connect(function(key)key = key:lower()
  2932. if key == "c" then
  2933. if current == true and opend == true and stun.Value == false and energy > 34 and S3 == true then
  2934. energy = energy - 35
  2935. S3T = 0
  2936. current = false
  2937. TARG1 = dropkick[5]
  2938. TARG2 = dropkick[6]
  2939. TARG3 = dropkick[2]
  2940. TARG4 = dropkick[4]
  2941. TARG5 = dropkick[3]
  2942. TARG6 = dropkick[1]
  2943. wait(.05)
  2944. TARG1 = dropkick[5]
  2945. TARG2 = dropkick[6]
  2946. TARG3 = dropkick[2]
  2947. TARG4 = dropkick[4]
  2948. TARG5 = dropkick[3]
  2949. TARG6 = dropkick[1]
  2950. wait(.05)
  2951. TARG1 = dropkick[5]
  2952. TARG2 = dropkick[6]
  2953. TARG3 = dropkick[2]
  2954. TARG4 = dropkick[4]
  2955. TARG5 = dropkick[3]
  2956. TARG6 = dropkick[1]
  2957. wait(.05)
  2958. TARG1 = dropkick[5]
  2959. TARG2 = dropkick[6]
  2960. TARG3 = dropkick[2]
  2961. TARG4 = dropkick[4]
  2962. TARG5 = dropkick[3]
  2963. TARG6 = dropkick[1]
  2964. wait(.05)
  2965. local dmg = true
  2966. char["Right Leg"].Touched:connect(function(hit)
  2967. if dmg == true and hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= player.Name then
  2968. local fn = Instance.new("Part",char)
  2969. fn.BrickColor = BrickColor.new("Medium stone grey")
  2970. fn.Size = Vector3.new(1,1,1)
  2971. fn.CanCollide = false
  2972. fn.Anchored = true
  2973. s2.Pitch = .9
  2974. s2:Play()
  2975. game.Debris:AddItem(fn,8)
  2976. fn.CFrame = char.Torso.CFrame * CFrame.new(0,-2.5,0)
  2977. local fms = Instance.new("SpecialMesh",fn)
  2978. fms.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2979. fms.Scale = Vector3.new(1,1,6)
  2980. TARG7 = Vector3.new(10,5,10)
  2981. obj = fms
  2982. if hit.Parent:FindFirstChild("Humanoid").Health ~= 0 and hit.Parent.Name ~= player.Name then
  2983. if hit.Parent:FindFirstChild("Stunned")then
  2984. hit.Parent:FindFirstChild("Stunned").Value = true
  2985. --- I made it do that so this would stick for 12 Seconds ~ Thats how the stats work
  2986. local fx = math.floor(13 * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  2987. dmg = false
  2988. --[[
  2989. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  2990. fr = false
  2991. if hit.Parent:FindFirstChild("Blocking")then
  2992. if hit.Parent:FindFirstChild("Blocking").Value == true then
  2993. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  2994. hit.Parent.BlockingLabel.Value = true
  2995. else
  2996. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  2997. DGU(hit,fx)
  2998. fr = false
  2999. end
  3000. else
  3001. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  3002. DGU(hit,fx)
  3003. fr = false
  3004. end
  3005. --
  3006. end
  3007. --]]
  3008. if hit.Parent:FindFirstChild("Blocking")then
  3009. if hit.Parent:FindFirstChild("Blocking").Value == true then
  3010. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  3011. hit.Parent.BlockingLabel.Value = true
  3012. stun.Value = true
  3013. else
  3014. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  3015. DGU(hit,fx)
  3016. fr = false
  3017. end
  3018. else
  3019. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  3020. DGU(hit,fx)
  3021. fr = false
  3022. end
  3023. else
  3024. local fx = math.floor(13 * atk.Value)
  3025. dmg = false
  3026. if hit.Parent:FindFirstChild("Blocking")then
  3027. if hit.Parent:FindFirstChild("Blocking").Value == true then
  3028. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  3029. hit.Parent.BlockingLabel.Value = true
  3030. stun.Value = true
  3031. else
  3032. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  3033. DGU(hit,fx)
  3034. fr = false
  3035. end
  3036. else
  3037. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  3038. DGU(hit,fx)
  3039. fr = false
  3040. end
  3041. end
  3042. end
  3043.  
  3044. for i = 1,10 do
  3045. wait()
  3046. fn.Transparency = fn.Transparency + .1
  3047. end
  3048. end
  3049. end)--]]
  3050. wait(.1)
  3051. skl = false
  3052. current = true
  3053. wait(.2)
  3054. dmg = false
  3055. wait(3)
  3056. end
  3057. end
  3058. end)
  3059.  
  3060.  
  3061.  
  3062.  
  3063. mouse.KeyDown:connect(function(key)key = key:lower()
  3064. if key == "v" then
  3065. if current == true and opend == true and stun.Value == false and energy > 49 and S4 == true then
  3066. current = false
  3067. wait(0.05)
  3068. S4T = 0
  3069. energy = energy - 59
  3070. wait()
  3071. TARG1 = FrontFlipKick1[4] -- LEFT ARM
  3072. TARG2 = FrontFlipKick1[3]-- RIGHT ARM
  3073. TARG3 = FrontFlipKick1[2] -- NECK
  3074. TARG4 = FrontFlipKick1[6] -- RIGHT LEG
  3075. TARG5 = FrontFlipKick1[5] -- LEFT LEG
  3076. TARG6 = FrontFlipKick1[1] -- TORSO
  3077. wait(0.05)
  3078. TARG1 = FrontFlipKick1[4] -- LEFT ARM
  3079. TARG2 = FrontFlipKick1[3]-- RIGHT ARM
  3080. TARG3 = FrontFlipKick1[2] -- NECK
  3081. TARG4 = FrontFlipKick1[6] -- RIGHT LEG
  3082. TARG5 = FrontFlipKick1[5] -- LEFT LEG
  3083. TARG6 = FrontFlipKick1[1] -- TORSO
  3084. wait(0.05)
  3085. TARG1 = FrontFlipKick1[4] -- LEFT ARM
  3086. TARG2 = FrontFlipKick1[3]-- RIGHT ARM
  3087. TARG3 = FrontFlipKick1[2] -- NECK
  3088. TARG4 = FrontFlipKick1[6] -- RIGHT LEG
  3089. TARG5 = FrontFlipKick1[5] -- LEFT LEG
  3090. TARG6 = FrontFlipKick1[1] -- TORSO
  3091. wait(0.05)
  3092. TARG1 = FrontFlipKick1[4] -- LEFT ARM
  3093. TARG2 = FrontFlipKick1[3]-- RIGHT ARM
  3094. TARG3 = FrontFlipKick1[2] -- NECK
  3095. TARG4 = FrontFlipKick1[6] -- RIGHT LEG
  3096. TARG5 = FrontFlipKick1[5] -- LEFT LEG
  3097. TARG6 = FrontFlipKick1[1] -- TORSO
  3098. wait(0.05)
  3099. local dmg = true
  3100. char["Right Leg"].Touched:connect(function(hit)
  3101. if dmg == true and hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= player.Name then
  3102. dmg = false
  3103. TARG1 = FrontFlipKick1[4] -- LEFT ARM
  3104. TARG2 = FrontFlipKick1[3]-- RIGHT ARM
  3105. TARG3 = FrontFlipKick1[2] -- NECK
  3106. TARG4 = FrontFlipKick1[6] -- RIGHT LEG
  3107. TARG5 = FrontFlipKick1[5] -- LEFT LEG
  3108. TARG6 = FrontFlipKick1[1] -- TORSO
  3109. local fn = Instance.new("Part",char)
  3110. fn.BrickColor = BrickColor.new("Medium stone grey")
  3111. fn.Size = Vector3.new(1,1,1)
  3112. fn.CanCollide = false
  3113. fn.Anchored = true
  3114. local fn = Instance.new("Part",char)
  3115. fn.BrickColor = BrickColor.new("Medium stone grey")
  3116. fn.Size = Vector3.new(1,1,1)
  3117. fn.CanCollide = false
  3118. fn.Anchored = true
  3119. s2.Pitch = .9
  3120. s2:Play()
  3121. game.Debris:AddItem(fn,8)
  3122. fn.CFrame = char["Right Leg"].CFrame
  3123. local fms = Instance.new("SpecialMesh",fn)
  3124. fms.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3125. fms.Scale = Vector3.new(1,1,6)
  3126. TARG7 = Vector3.new(5,1,5)
  3127. obj = fms
  3128.  
  3129. if hit.Parent:FindFirstChild("Humanoid").Health ~= 0 and hit.Parent.Name ~= player.Name then
  3130. if hit.Parent:FindFirstChild("Stunned")then
  3131. hit.Parent:FindFirstChild("Stunned").Value = true
  3132. --- I made it do that so this would stick for 12 Seconds ~ Thats how the stats work
  3133. local fx = math.floor(13 * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  3134. dmg = false
  3135. --[[
  3136. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  3137. fr = false
  3138. if hit.Parent:FindFirstChild("Blocking")then
  3139. if hit.Parent:FindFirstChild("Blocking").Value == true then
  3140. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  3141. hit.Parent.BlockingLabel.Value = true
  3142. else
  3143. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  3144. DGU(hit,fx)
  3145. fr = false
  3146. end
  3147. else
  3148. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  3149. DGU(hit,fx)
  3150. fr = false
  3151. end
  3152. --
  3153. end
  3154. --]]
  3155. if hit.Parent:FindFirstChild("Blocking")then
  3156. if hit.Parent:FindFirstChild("Blocking").Value == true then
  3157. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  3158. hit.Parent.BlockingLabel.Value = true
  3159. stun.Value = true
  3160. else
  3161. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  3162. DGU(hit,fx)
  3163. fr = false
  3164. end
  3165. else
  3166. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  3167. DGU(hit,fx)
  3168. fr = false
  3169. end
  3170. else
  3171. local fx = math.floor(13 * atk.Value)
  3172. dmg = false
  3173. if hit.Parent:FindFirstChild("Blocking")then
  3174. if hit.Parent:FindFirstChild("Blocking").Value == true then
  3175. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  3176. hit.Parent.BlockingLabel.Value = true
  3177. stun.Value = true
  3178. else
  3179. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  3180. DGU(hit,fx)
  3181. fr = false
  3182. end
  3183. else
  3184. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  3185. DGU(hit,fx)
  3186. fr = false
  3187. end
  3188. end
  3189. end
  3190.  
  3191. for i = 0,10 do
  3192. wait()
  3193. fn.Transparency = fn.Transparency + .1
  3194. end
  3195. end
  3196. end)
  3197. --[[
  3198. ts.C0 = ts.C0:lerp(FrontFlipKick1[1],.4)
  3199. nc.C0 = nc.C0:lerp(FrontFlipKick1[2],.4)
  3200. ll.C0 = ll.C0:lerp(FrontFlipKick1[5],.4)
  3201. rl.C0 = rl.C0:lerp(FrontFlipKick1[6],.4)
  3202. w3.C0 = w3.C0:lerp(FrontFlipKick1[4],.4)
  3203. w4.C0 = w4.C0:lerp(FrontFlipKick1[3],.4)
  3204. --]]
  3205.  
  3206.  
  3207. wait(.1)
  3208. dmg = false
  3209. current = true
  3210. end
  3211. end
  3212. end)
  3213. --[[
  3214. --END
  3215. ts.C0 = ts.C0:lerp(UpSideDownPunch[1],.4)
  3216. nc.C0 = nc.C0:lerp(UpSideDownPunch[2],.4)
  3217. ll.C0 = ll.C0:lerp(UpSideDownPunch[3],.4)
  3218. rl.C0 = rl.C0:lerp(UpSideDownPunch[4],.4)
  3219. w3.C0 = w3.C0:lerp(UpSideDownPunch[5],.4)
  3220. w4.C0 = w4.C0:lerp(UpSideDownPunch[6],.4)
  3221. --START
  3222. ts.C0 = ts.C0:lerp(sjump[1],.4)
  3223. nc.C0 = nc.C0:lerp(sjump[2],.4)
  3224. ll.C0 = ll.C0:lerp(sjump[3],.4)
  3225. rl.C0 = rl.C0:lerp(sjump[4],.4)
  3226. w3.C0 = w3.C0:lerp(sjump[5],.4)
  3227. w4.C0 = w4.C0:lerp(sjump[6],.4)
  3228. --OTHER
  3229. TARG1 = walk[8] -- LEFT ARM
  3230. TARG2 = walk[7]-- RIGHT ARM
  3231. TARG3 = walk[6] -- NECK
  3232. TARG4 = walk[] -- RIGHT LEG
  3233. TARG5 = walk[] -- LEFT LEG
  3234. TARG6 = walk[5] -- TORSO
  3235. --]]
  3236. local Speed = .4
  3237. local lspeed = .2
  3238. game:GetService("RunService").RenderStepped:connect(function()
  3239. if Vector3.new(char.Torso.Velocity.X,0,char.Torso.Velocity.Z).magnitude > 2 then
  3240. IdleAndWalk = true
  3241. else
  3242. IdleAndWalk = false
  3243. end
  3244. if TARG4 ~= nil then
  3245. rl.C0 = rl.C0:lerp(TARG4,lspeed)
  3246. end
  3247. if TARG5 ~= nil then
  3248. ll.C0 = ll.C0:lerp(TARG5,lspeed)
  3249. end
  3250. if TARG3 ~= nil then
  3251. nc.C0 = nc.C0:lerp(TARG3,lspeed)
  3252. end
  3253. if STARG ~= nil then
  3254. sweld.C0 = sweld.C0:lerp(STARG,Speed)
  3255. end
  3256. if TARG1 ~= nil then
  3257. w3.C0 = w3.C0:lerp(TARG1,Speed)
  3258. end
  3259. if TARG2 ~= nil then
  3260. w4.C0 = w4.C0:lerp(TARG2,Speed)
  3261. end
  3262. if TARG6 ~= nil then
  3263. ts.C0 = ts.C0:lerp(TARG6,Speed)
  3264. end
  3265. if TARG7 ~= nil and obj ~= nil then
  3266. obj.Scale = obj.Scale:lerp(TARG7,.05)
  3267. end
  3268. if TARG8 ~= nil and obj2 ~= nil then
  3269. obj2.Size = obj2.Size:lerp(TARG8,.05)
  3270. obj2.CFrame = char.Torso.CFrame * CFrame.new(0,-2.5,0)
  3271. end
  3272. if TARG10 ~= nil and obj3 ~= nil and TARG11 ~= nil then
  3273. obj3.Size = obj3.Size:lerp(TARG10,.05)
  3274. obj3.CFrame = char.Torso.CFrame * CFrame.new(0,-2.5,0) * TARG11
  3275. end
  3276. if TARG10 ~= nil and obj3 ~= nil and obj3.Transparency ~= 1 then
  3277. obj2.Transparency = obj2.Transparency + .05
  3278. obj3.Transparency = obj3.Transparency + .05
  3279. wait(.1)
  3280. end
  3281. if char.Humanoid.Jump == true then
  3282. gd.Value = true
  3283. else
  3284. gd.Value = false
  3285. end
  3286. if energy < 100 and current == true then
  3287. energy = energy + .05
  3288. end
  3289. for i=1,#parts do
  3290. local Part = parts[i]
  3291. Part.Size = Part.Size:lerp(Vector3.new(6, 32, 7),.05)
  3292. for x=1,#poses do
  3293. Part.CFrame = poses[i]
  3294. end
  3295. end
  3296. if blt.Value < 99 and bl.Value == false and stun.Value == false then
  3297. blt.Value = blt.Value + 0.03
  3298. end
  3299. if bl.Value == true and blt.Value < 5 then
  3300. bl.Value = false
  3301. current = true
  3302. skl = false
  3303. end
  3304. if bl.Value == true then
  3305. blt.Value = blt.Value - .5
  3306. end
  3307. if atkt.Value > 0 then
  3308. atkt.Value = atkt.Value - .02
  3309. else
  3310. atk.Value = 1.2
  3311. end
  3312. if deft.Value > 0 then
  3313. deft.Value = deft.Value - .02
  3314. else
  3315. def.Value = .9
  3316. end
  3317. if spdt.Value > 0 then
  3318. spdt.Value = spdt.Value - .02
  3319. else
  3320. wait()
  3321. if spdt.Value < 1 then
  3322. spd.Value = 1.1
  3323. end
  3324. end
  3325.  
  3326. --Skill 1
  3327. local DV2 = S1T / S1TF
  3328. local initX6 = f1.Size.X.Scale
  3329. f1f:TweenSize( UDim2.new( initX6*DV2* 1.665, 0, 1, 0),"In","Linear",1 )
  3330.  
  3331.  
  3332.  
  3333. if S1T < 14 then
  3334. S1T = S1T + .02
  3335. S1 = false
  3336. else
  3337. S1 = true
  3338. end
  3339. if S1T == 14 then
  3340. S1 = true
  3341. end
  3342.  
  3343.  
  3344. --Skill 2
  3345. local DV2 = S2T / S2TF
  3346. local initX6 = f2.Size.X.Scale
  3347. f2f:TweenSize( UDim2.new( initX6*DV2* 3.566, 0, 1, 0),"In","Linear",1 )
  3348.  
  3349.  
  3350.  
  3351. if S2T < 14 then
  3352. S2T = S2T + .01
  3353. S2 = false
  3354. else
  3355. S2 = true
  3356. end
  3357. if S2T == 15 then
  3358. S2 = true
  3359. end
  3360.  
  3361.  
  3362. --Skill 3
  3363. local DV2 = S3T / S3TF
  3364. local initX6 = f3.Size.X.Scale
  3365. f3f:TweenSize( UDim2.new( initX6*DV2* 2.855, 0, 1, 0),"In","Linear",1 )
  3366.  
  3367.  
  3368.  
  3369. if S3T < 14 then
  3370. S3T = S3T + .01
  3371. S3 = false
  3372. else
  3373. S3 = true
  3374. end
  3375. if S3T == 15 then
  3376. S3 = true
  3377. end
  3378.  
  3379. --Skill 4
  3380. local DV2 = S4T / S4TF
  3381. local initX6 = f4.Size.X.Scale
  3382. f4f:TweenSize( UDim2.new( initX6*DV2*3.45, 0, 1, 0),"In","Linear",1 )
  3383.  
  3384.  
  3385. if S4T < 29 then
  3386. S4T = S4T + .01
  3387. S4 = false
  3388. else
  3389. S4= true
  3390. end
  3391. if S4T == 30 then
  3392. S4 = true
  3393. end
  3394.  
  3395. end)
  3396. --SEC HANDLER
  3397. --[[
  3398. S1 = true
  3399. S1T = 7
  3400. S1TF = 7
  3401. S2 = true
  3402. S2T = 15
  3403. S2TF = 15
  3404. S3 = true
  3405. S3T = 12
  3406. S3TF = 12
  3407. S4 = true
  3408. S4T = 30
  3409. S4TF = 30
  3410. energy = 0
  3411. --]]
  3412.  
  3413.  
  3414.  
  3415.  
  3416. --makeui(Color3.new(0,255,0),"+Speed")
  3417. --makeui(Color3.new(255,0,0),"+Damage")
  3418. --makeui(Color3.new(0,0,255),"+Defense")
  3419. ---VALUE CHANGERS
  3420. satk = atk.Value
  3421. sdef = def.Value
  3422. sspd = spd.Value
  3423. atk.Changed:connect(function()
  3424. if satk > atk.Value then
  3425. atkt.Value = atkt.Value + 4
  3426. makeui(Color3.new(255,0,0),"-Damage")
  3427. satk = atk.Value
  3428. else
  3429. atkt.Value = atkt.Value + 4
  3430. makeui(Color3.new(255,0,0),"+Damage")
  3431. satk = atk.Value
  3432. end
  3433. end)
  3434. def.Changed:connect(function()
  3435. if sdef > def.Value then
  3436. deft.Value = deft.Value + 4
  3437. makeui(Color3.new(0,0,255),"-Defense")
  3438. sdef = def.Value
  3439. else
  3440. deft.Value = deft.Value + 4
  3441. makeui(Color3.new(0,0,255),"+Defense")
  3442. sdef = def.Value
  3443. end
  3444. end)
  3445. spd.Changed:connect(function()
  3446. if sspd > spd.Value then
  3447. spdt.Value = spdt.Value + 4
  3448. makeui(Color3.new(0,255,0),"-Speed")
  3449. sspd = spd.Value
  3450. else
  3451. spdt.Value = spdt.Value + 4
  3452. makeui(Color3.new(0,255,0),"+Speed")
  3453. sspd = spd.Value
  3454. end
  3455. end)
  3456. bll.Changed:connect(function()
  3457. if bll.Value == true then
  3458.  
  3459. local c = Instance.new("Part",game.Workspace)
  3460. c.Anchored = true
  3461. c.CanCollide = false
  3462. c.BrickColor = BrickColor.new("Medium stone grey")
  3463. c.Shape = "Ball"
  3464. c.Size = Vector3.new(1,1,1)
  3465. c.CFrame = char.Torso.CFrame
  3466. c.TopSurface = "Smooth"
  3467. c.BottomSurface = "Smooth"
  3468. c.Transparency = .1
  3469. local v = Instance.new("Part",game.Workspace)
  3470. v.Anchored = true
  3471. v.CanCollide = false
  3472. v.BrickColor = BrickColor.new("Medium stone grey")
  3473. v.Size = Vector3.new(1,1,1)
  3474. v.CFrame = char.Torso.CFrame
  3475. v.TopSurface = "Smooth"
  3476. v.BottomSurface = "Smooth"
  3477. v.Transparency = .1
  3478. obj2 = c
  3479. TARG8 = Vector3.new(30,30,30)
  3480. obj3 = v
  3481. TARG10 = Vector3.new(15,21,15)
  3482. TARG11 = CFrame.new(0,0,0)
  3483. makeui(BrickColor.new("Bright bluish green").Color,"Blocked!")
  3484. bll.Value = false
  3485. end
  3486. end)
  3487. stun.Changed:connect(function()
  3488. if stun.Value == true then
  3489. makeui(Color3.new(255,255,0),"+Stunned")
  3490. wait(4)
  3491. if opend == true then
  3492. stun.Value = false
  3493. end
  3494. end
  3495. if stun.Value == false then
  3496. makeui(Color3.new(255,255,0),"-Stunned")
  3497. end
  3498. end)
  3499. -------------------
  3500. while wait() do
  3501. wait()
  3502. fa.Text = "Attack : "..atk.Value
  3503. fa2.Text = "Speed : "..spd.Value
  3504. fa3.Text = "Defense : "..def.Value
  3505. ----HP
  3506. local initX5 = f5.Size.X.Scale
  3507. local maxhp = char.Humanoid.MaxHealth
  3508. local hp = char.Humanoid.Health
  3509. local Pie = (hp / maxhp)
  3510. f5f:TweenSize( UDim2.new( initX5*Pie*3.33, 0, 1, 0),"In","Linear",1 )
  3511. ---Energy
  3512. local DV1 = energy / 100
  3513. local initX6 = f6.Size.X.Scale
  3514. f6f:TweenSize( UDim2.new( initX6*DV1*3.33, 0, 1, 0),"In","Linear",1 )
  3515. if opend == true and current == true and idleq == false then
  3516. if stun.Value == true then
  3517. TARG1 = stunned[3] -- LEFT ARM
  3518. TARG2 = stunned[2]-- RIGHT ARM
  3519. TARG3 = stunned[1] -- NECK
  3520. TARG4 = stunned[5] -- RIGHT LEG
  3521. TARG5 = stunned[4] -- LEFT LEG
  3522. TARG6 = stunned[6] -- TORSO TILT
  3523. char.Humanoid.WalkSpeed = 0
  3524. end
  3525. if stun.Value == false and skl == false then
  3526. char.Humanoid.WalkSpeed = 16 * spd.Value
  3527. end
  3528. if char.Humanoid.Jump == true and stun.Value == false and bl.Value == false then
  3529. TARG1 = jump[3] -- LEFT ARM
  3530. TARG2 = jump[2]-- RIGHT ARM
  3531. TARG3 = jump[1] -- NECK
  3532. TARG4 = jump[5] -- RIGHT LEG
  3533. TARG5 = jump[4] -- LEFT LEG
  3534. TARG6 = CFrame.new(0,0,0)
  3535. end
  3536. --ts.C0 = ts.C0:lerp(stunned[6],.4)
  3537. --nc.C0 = nc.C0:lerp(stunned[1],.4)
  3538. --ll.C0 = ll.C0:lerp(stunned[4],.4)
  3539. --rl.C0 = rl.C0:lerp(stunned[5],.4)
  3540. --w3.C0 = w3.C0:lerp(stunned[3],.4)
  3541. --w4.C0 = w4.C0:lerp(stunned[2],.4)
  3542. local lilwl = ll.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(30),math.rad(0),math.rad(0))
  3543. local lirwl = rl.C0 * CFrame.new(0,0,.5) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0))
  3544.  
  3545. --RIGHT
  3546. local lilwr = ll.C0 * CFrame.new(0,0,.5) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0))
  3547. local lirwr = rl.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(30),math.rad(0),math.rad(0))
  3548.  
  3549.  
  3550. --
  3551. if bl.Value == false then
  3552. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false then
  3553. TARG1 = walk[8] -- LEFT ARM
  3554. TARG2 = walk[7]-- RIGHT ARM
  3555. TARG3 = walk[6] -- NECK
  3556. TARG4 = walk[4] -- RIGHT LEG
  3557. TARG5 = walk[3] -- LEFT LEG
  3558. TARG6 = walk[5] -- TORSO
  3559. STARG = CFrame.new(0,-1,0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(-120))
  3560. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  3561. wait(.05)
  3562. end
  3563. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  3564. wait(.05)
  3565. end
  3566. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  3567. wait(.05)
  3568. end
  3569. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  3570. wait(.05)
  3571. end
  3572. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  3573. TARG1 = walk[8] -- LEFT ARM
  3574. TARG2 = walk[7]-- RIGHT ARM
  3575. TARG3 = walk[6] -- NECK
  3576. TARG4 = walk[2] -- RIGHT LEG
  3577. TARG5 = walk[1] -- LEFT LEG
  3578. TARG6 = walk[5] -- TORSO
  3579. STARG = CFrame.new(0,-1,0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(-120))
  3580. end
  3581. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  3582. wait(.05)
  3583. end
  3584. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  3585. wait(.05)
  3586. end
  3587. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  3588. wait(.05)
  3589. end
  3590. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  3591. wait(.05)
  3592. end
  3593. else
  3594. if IdleAndWalk == false and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  3595. TARG1 = idle[5]
  3596. TARG2 = idle[6]
  3597. TARG3 = idle[2]
  3598. TARG4 = idle[4]
  3599. TARG5 = idle[3]
  3600. TARG6 = idle[1]
  3601. STARG = CFrame.new(0,-1,0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(-120))
  3602. end
  3603. end
  3604. end
  3605. --
  3606. end
  3607. end
  3608.  
  3609. --[[
  3610.  
  3611.  
  3612.  
  3613.  
  3614. ts.C0 = ts.C0:lerp(idle[1],.4)
  3615. nc.C0 = nc.C0:lerp(idle[2],.4)
  3616. ll.C0 = ll.C0:lerp(idle[3],.4)
  3617. rl.C0 = rl.C0:lerp(idle[4],.4)
  3618. w3.C0 = w3.C0:lerp(idle[5],.4)
  3619. w4.C0 = w4.C0:lerp(idle[6],.4)
  3620.  
  3621. TARG1 = idle[5]
  3622. TARG2 = idle[6]
  3623. TARG3 = idle[2]
  3624. TARG4 = idle[5]
  3625. TARG5 = idle[3]
  3626. TARG6 = idle[2]
  3627. if TARG4 ~= nil then
  3628. rl.C0 = rl.C0:lerp(TARG4,lspeed)
  3629. end
  3630. if TARG5 ~= nil then
  3631. ll.C0 = ll.C0:lerp(TARG5,lspeed)
  3632. end
  3633. if TARG3 ~= nil then
  3634. nc.C0 = nc.C0:lerp(TARG3,lspeed)
  3635. end
  3636. if TARG1 ~= nil then
  3637. w3.C0 = w3.C0:lerp(TARG1,Speed)
  3638. end
  3639. if TARG2 ~= nil then
  3640. w4.C0 = w4.C0:lerp(TARG2,Speed)
  3641. end
  3642.  
  3643. ll.C0 = ll.C0:lerp(walk[3],.4)
  3644. rl.C0 = rl.C0:lerp(walk[4],.4)
  3645. ---OTHER ANIMS
  3646. ts.C0 = ts.C0:lerp(walk[5],.4)
  3647. nc.C0 = nc.C0:lerp(walk[6],.4)
  3648. w4.C0 = w4.C0:lerp(walk[7],.4)
  3649. w3.C0 = w3.C0:lerp(walk[8],.4)
  3650.  
  3651. TARG1 = walk[8] -- LEFT ARM
  3652. TARG2 = walk[7]-- RIGHT ARM
  3653. TARG3 = walk[6] -- NECK
  3654. TARG4 = walk[] -- RIGHT LEG
  3655. TARG5 = walk[] -- LEFT LEG
  3656. TARG6 = walk[5] -- TORSO
  3657.  
  3658. for i = 0,1,wait() do
  3659. wait()
  3660. ll.C0 = ll.C0:lerp(walk[3],.4)
  3661. rl.C0 = rl.C0:lerp(walk[4],.4)
  3662. ---OTHER ANIMS
  3663. ts.C0 = ts.C0:lerp(walk[5],.4)
  3664. nc.C0 = nc.C0:lerp(walk[6],.4)
  3665. w4.C0 = w4.C0:lerp(walk[7],.4)
  3666. w3.C0 = w3.C0:lerp(walk[8],.4)
  3667. end--]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement