Advertisement
Godofadmin1337

Zenetic

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