Advertisement
Upscalefanatic3

Zenatic

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