Advertisement
Derek227

Sparta Master 2

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