Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 149.96 KB | None | 0 0
  1. print("Moonman edit has been loaded,enjoy!")
  2. wait(0.5)
  3. print("accessing Moonman account,Please wait.")
  4. wait(0.5)
  5. print("accessing Moonman account,Please wait..")
  6. wait(0.5)
  7. print("accessing Moonman account,Please wait...")
  8. print("Username : Moonman")
  9. wait(0.5)
  10. print("Password : Moonmanforlife007")
  11. wait(0.3)
  12. megmgm = Instance.new("Message", workspace)
  13. megmgm.Text = "1Hope_Sniper is here"
  14. wait(0.4)
  15. megmgm:Remove()
  16. Player=game:GetService("Players").LocalPlayer
  17. Character=Player.Character
  18. PlayerGui=Player.PlayerGui
  19. Backpack=Player.Backpack
  20. Torso=Character.Torso
  21. Head=Character.Head
  22. Humanoid=Character.Humanoid
  23. m=Instance.new('Model',Character)
  24. LeftArm=Character["Left Arm"]
  25. LeftLeg=Character["Left Leg"]
  26. RightArm=Character["Right Arm"]
  27. RightLeg=Character["Right Leg"]
  28. LS=Torso["Left Shoulder"]
  29. LH=Torso["Left Hip"]
  30. RS=Torso["Right Shoulder"]
  31. RH=Torso["Right Hip"]
  32. Face = Head.face
  33. Neck=Torso.Neck
  34. it=Instance.new
  35. attacktype=1
  36. vt=Vector3.new
  37. cf=CFrame.new
  38. euler=CFrame.fromEulerAnglesXYZ
  39. angles=CFrame.Angles
  40. cloaked=false
  41. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  42. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  43. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  44. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  45. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  46. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  47. RootPart=Character.HumanoidRootPart
  48. RootJoint=RootPart.RootJoint
  49. RootCF=euler(-1.57,0,3.14)
  50. attack = false
  51. attackdebounce = false
  52. deb=false
  53. equipped=true
  54. hand=false
  55. MMouse=nil
  56. combo=0
  57. mana=0
  58. trispeed=1
  59. pathtrans=.7
  60. attackmode='none'
  61. local idle=0
  62. local Anim="Idle"
  63. local Effects={}
  64. local gun=true
  65. local shoot=false
  66. player=nil
  67. cloak=true
  68. lightcolor='Bright blue'
  69.  
  70. local Color1=Torso.BrickColor
  71.  
  72.  
  73. mouse=Player:GetMouse()
  74. --save shoulders
  75. RSH, LSH=nil, nil
  76. --welds
  77. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  78. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  79. LH=Torso["Left Hip"]
  80. RH=Torso["Right Hip"]
  81. TorsoColor=Torso.BrickColor
  82. function NoOutline(Part)
  83. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  84. end
  85.  
  86.  
  87.  
  88. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  89. local fp=it("Part")
  90. fp.formFactor=formfactor
  91. fp.Parent=parent
  92. fp.Reflectance=reflectance
  93. fp.Transparency=transparency
  94. fp.CanCollide=false
  95. fp.Locked=true
  96. fp.BrickColor=brickcolor
  97. fp.Name=name
  98. fp.Size=size
  99. fp.Position=Torso.Position
  100. NoOutline(fp)
  101. fp.Material="SmoothPlastic"
  102. fp:BreakJoints()
  103. return fp
  104. end
  105.  
  106. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  107. local mesh=it(Mesh)
  108. mesh.Parent=part
  109. if Mesh=="SpecialMesh" then
  110. mesh.MeshType=meshtype
  111. if meshid~="nil" then
  112. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  113. end
  114. end
  115. mesh.Offset=offset
  116. mesh.Scale=scale
  117. return mesh
  118. end
  119.  
  120. function weld(parent,part0,part1,c0)
  121. local weld=it("Weld")
  122. weld.Parent=parent
  123. weld.Part0=part0
  124. weld.Part1=part1
  125. weld.C0=c0
  126. return weld
  127. end
  128.  
  129. local Color1=Torso.BrickColor
  130.  
  131.  
  132.  
  133.  
  134.  
  135. Player=game:GetService('Players').LocalPlayer
  136. Character=Player.Character
  137. Mouse=Player:GetMouse()
  138. m=Instance.new('Model',Character)
  139.  
  140.  
  141. local function weldBetween(a, b)
  142. local weldd = Instance.new("ManualWeld")
  143. weldd.Part0 = a
  144. weldd.Part1 = b
  145. weldd.C0 = CFrame.new()
  146. weldd.C1 = b.CFrame:inverse() * a.CFrame
  147. weldd.Parent = a
  148. return weldd
  149. end
  150.  
  151. it=Instance.new
  152.  
  153. function nooutline(part)
  154. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  155. end
  156.  
  157. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  158. local fp=it("Part")
  159. fp.formFactor=formfactor
  160. fp.Parent=parent
  161. fp.Reflectance=reflectance
  162. fp.Transparency=transparency
  163. fp.CanCollide=false
  164. fp.Locked=true
  165. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  166. fp.Name=name
  167. fp.Size=size
  168. fp.Position=Character.Torso.Position
  169. nooutline(fp)
  170. fp.Material=material
  171. fp:BreakJoints()
  172. return fp
  173. end
  174.  
  175. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  176. local mesh=it(Mesh)
  177. mesh.Parent=part
  178. if Mesh=="SpecialMesh" then
  179. mesh.MeshType=meshtype
  180. mesh.MeshId=meshid
  181. end
  182. mesh.Offset=offset
  183. mesh.Scale=scale
  184. return mesh
  185. end
  186.  
  187. function weld(parent,part0,part1,c0,c1)
  188. local weld=it("Weld")
  189. weld.Parent=parent
  190. weld.Part0=part0
  191. weld.Part1=part1
  192. weld.C0=c0
  193. weld.C1=c1
  194. return weld
  195. end
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205. --------------------------------
  206. local p = game.Players.LocalPlayer
  207. local char = p.Character
  208. local mouse = p:GetMouse()
  209. local larm = char["Left Arm"]
  210. local rarm = char["Right Arm"]
  211. local lleg = char["Left Leg"]
  212. local rleg = char["Right Leg"]
  213. local hed = char.Head
  214. local torso = char.Torso
  215. local hum = char.Humanoid
  216. local cam = game.Workspace.CurrentCamera
  217. local root = char.HumanoidRootPart
  218. local deb = false
  219. local shot = 0
  220. local debris=game:service"Debris"
  221. local l = game:GetService("Lighting")
  222. local rs = game:GetService("RunService").RenderStepped
  223. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  224. math.randomseed(os.time())
  225. for i,v in pairs(char:children()) do
  226. if v:IsA("Hat") then
  227. v:Destroy()
  228. end
  229. end
  230. for i,v in pairs (hed:GetChildren()) do
  231. if v:IsA("Sound") then
  232. v:Destroy()
  233. end
  234. end
  235. ----------------------------------------------------//Mesh setting
  236. local cmeshes = {}
  237. local ll,rl,la,ra,t = Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char)
  238. ll.BodyPart = 'LeftLeg'
  239. rl.BodyPart = 'RightLeg'
  240. la.BodyPart = 'LeftArm'
  241. ra.BodyPart = 'RightArm'
  242. t.BodyPart = 'Torso'
  243. ll.MeshId,ll.OverlayTextureId,rl.MeshId,rl.OverlayTextureId = 68241558,14769524,68241677,14769524
  244. ra.MeshId,ra.OverlayTextureId,la.MeshId,la.OverlayTextureId = 68241658,14769524,68241543,70284482
  245. t.MeshId,t.OverlayTextureId=68241695,31100020
  246. ----------------------------------------------------
  247. z = Instance.new("Sound", torso)
  248. z.SoundId = "rbxassetid://511517339" -- Put Music ID Here.
  249. z.Looped = true -- Set it to true if you wanted it loopable.
  250. z.Volume = 3
  251. wait(.1)
  252. z:Play()
  253.  
  254. ----------------------------------------------------
  255. local verlet = {}
  256. verlet.step_time = 1 / 50
  257. verlet.gravity = Vector3.new(-50, -10, -50)
  258.  
  259. local char = game.Players.LocalPlayer.Character
  260. local torso = char:WaitForChild("Torso")
  261. local parts = {}
  262. local render = game:GetService("RunService").RenderStepped
  263.  
  264. wait(2)
  265.  
  266. local point = {}
  267. local link = {}
  268. local rope = {}
  269.  
  270. local function ccw(A,B,C)
  271. return (C.y-A.y) * (B.x-A.x) > (B.y-A.y) * (C.x-A.x)
  272. end
  273.  
  274. local function intersect(A,B,C,D)
  275. return ccw(A,C,D) ~= ccw(B,C,D) and ccw(A,B,C) ~= ccw(A,B,D)
  276. end
  277.  
  278. local function vec2(v)
  279. return Vector2.new(v.x, v.z)
  280. end
  281.  
  282. function point:step()
  283. if not self.fixed then
  284. local derivative = (self.position - self.last_position) * 0.95
  285. self.last_position = self.position
  286. self.position = self.position + derivative + (self.velocity * verlet.step_time ^ 2)
  287. --[[local torsoP = torso.CFrame * CFrame.new(-1, 0, 0.5)
  288. local torsoE = torso.CFrame * CFrame.new(1, 0, 0.5)
  289. local pointE = self.position + torso.CFrame.lookVector * 100
  290. local doIntersect = intersect(vec2(torsoP.p), vec2(torsoE.p), vec2(self.position), vec2(pointE))
  291. if not doIntersect then
  292. self.postition = self.position - torso.CFrame.lookVector * 10
  293. end]]
  294. end
  295. end
  296.  
  297. function link:step()
  298. for i = 1, 1 do
  299. local distance = self.point1.position - self.point2.position
  300. local magnitude = distance.magnitude
  301. local differance = (self.length - magnitude) / magnitude
  302. local translation = ((self.point1.fixed or self.point2.fixed) and 1 or 0.6) * distance * differance
  303. if not self.point1.fixed then
  304. self.point1.position = self.point1.position + translation
  305. end
  306. if not self.point2.fixed then
  307. self.point2.position = self.point2.position - translation
  308. end
  309. end
  310. end
  311.  
  312. function verlet.new(class, a, b, c)
  313. if class == "Point" then
  314. local new = {}
  315. setmetatable(new, {__index = point})
  316. new.class = class
  317. new.position = a or Vector3.new()
  318. new.last_position = new.position
  319. new.velocity = verlet.gravity
  320. new.fixed = false
  321. return new
  322. elseif class == "Link" then
  323. local new = {}
  324. setmetatable(new, {__index = link})
  325. new.class = class
  326. new.point1 = a
  327. new.point2 = b
  328. new.length = c or (a.position - b.position).magnitude
  329. return new
  330. elseif class == "Rope" then
  331. local new = {}
  332. setmetatable(new, {__index = link})
  333. new.class = class
  334. new.start_point = a
  335. new.finish_point = b
  336. new.points = {}
  337. new.links = {}
  338. local inc = (b - a) / 10
  339. for i = 0, 10 do
  340. table.insert(new.points, verlet.new("Point", a + (i * inc)))
  341. end
  342. for i = 2, #new.points do
  343. table.insert(new.links, verlet.new("Link", new.points[i - 1], new.points[i]))
  344. end
  345. return new
  346. end
  347. end
  348.  
  349. local tris = {}
  350. local triParts = {}
  351.  
  352. local function GetDiscoColor(hue)
  353. local section = hue % 99999999999999 * 9999999999999
  354. local secondary = 0.5 * math.pi * (section % 1)
  355. if section < 1 then
  356. return Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  357. elseif section < 2 then
  358. return Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  359. else
  360. return Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  361. end
  362. end
  363.  
  364. local function setupPart(part)
  365. part.Anchored = true
  366. part.FormFactor = 3
  367. part.CanCollide = false
  368. part.TopSurface = 10
  369. part.BottomSurface = 10
  370. part.LeftSurface = 10
  371. part.RightSurface = 10
  372. part.FrontSurface = 10
  373. part.BackSurface = 10
  374. part.Material = "Neon"
  375. local m = Instance.new("SpecialMesh", part)
  376. m.MeshType = "Wedge"
  377. m.Scale = Vector3.new(0.2, 1, 1)
  378. return part
  379. end
  380.  
  381. local function CFrameFromTopBack(at, top, back)
  382. local right = top:Cross(back)
  383. 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)
  384. end
  385.  
  386. local function drawTri(parent, a, b, c)
  387. local this = {}
  388. local mPart1 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  389. local mPart2 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  390. function this:Set(a, b, c)
  391. local ab, bc, ca = b-a, c-b, a-c
  392. local abm, bcm, cam = ab.magnitude, bc.magnitude, ca.magnitude
  393. local edg1 = math.abs(0.5 + ca:Dot(ab)/(abm*abm))
  394. local edg2 = math.abs(0.5 + ab:Dot(bc)/(bcm*bcm))
  395. local edg3 = math.abs(0.5 + bc:Dot(ca)/(cam*cam))
  396. if edg1 < edg2 then
  397. if edg1 >= edg3 then
  398. a, b, c = c, a, b
  399. ab, bc, ca = ca, ab, bc
  400. abm = cam
  401. end
  402. else
  403. if edg2 < edg3 then
  404. a, b, c = b, c, a
  405. ab, bc, ca = bc, ca, ab
  406. abm = bcm
  407. else
  408. a, b, c = c, a, b
  409. ab, bc, ca = ca, ab, bc
  410. abm = cam
  411. end
  412. end
  413.  
  414. local len1 = -ca:Dot(ab)/abm
  415. local len2 = abm - len1
  416. local width = (ca + ab.unit*len1).magnitude
  417.  
  418. local maincf = CFrameFromTopBack(a, ab:Cross(bc).unit, -ab.unit)
  419.  
  420. if len1 > 0.2 then
  421. mPart1.Parent = parent
  422. mPart1.Size = Vector3.new(0.2, width, len1)
  423. mPart1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  424. else
  425. mPart1.Parent = nil
  426. end
  427.  
  428. if len2 > 0.2 then
  429. mPart2.Parent = parent
  430. mPart2.Size = Vector3.new(0.2, width, len2)
  431. mPart2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  432. else
  433. mPart2.Parent = nil
  434. end
  435. end
  436. function this:SetProperty(prop, value)
  437. mPart1[prop] = value
  438. mPart2[prop] = value
  439. end
  440. this:Set(a, b, c)
  441. function this:Destroy()
  442. mPart1:Destroy()
  443. mPart2:Destroy()
  444. end
  445. this.p1 = mPart1
  446. this.p2 = mPart2
  447. this.p1.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p1.CFrame.Y * 0.5 + time())))
  448. this.p2.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p2.CFrame.Y * 0.5 + time())))
  449. return this
  450. end
  451.  
  452. function verlet.draw(object, id)
  453. if object.class == "Point" then
  454. local part = parts[id]
  455. part.BrickColor = BrickColor.new(1, 1, 1)
  456. part.Transparency = 0
  457. part.formFactor = 3
  458. part.Anchored = true
  459. part.CanCollide = false
  460. part.TopSurface = 0
  461. part.BottomSurface = 0
  462. part.Size = Vector3.new(0.35, 0.35, 0.35)
  463. part.Material = "Neon"
  464. part.CFrame = CFrame.new(object.position)
  465. part.Parent = torso
  466. return part
  467. elseif object.class == "Link" then
  468. local part = parts[id]
  469. local dist = (object.point1.position - object.point2.position).magnitude
  470. part.Size = Vector3.new(0.2, 0.2, dist)
  471. part.CFrame = CFrame.new(object.point1.position, object.point2.position) * CFrame.new(0, 0, dist * -0.5)
  472. part.Parent = torso
  473. return part
  474. end
  475. end
  476.  
  477. function verlet.clear()
  478. for _, v in pairs(workspace:GetChildren()) do
  479. if v.Name == "Part" then
  480. v:Destroy()
  481. end
  482. end
  483. end
  484.  
  485. local points = {}
  486. local links = {}
  487.  
  488. for x = 0, 2 do
  489. points[x] = {}
  490. for y = 0, 3 do
  491. points[x][y] = verlet.new("Point", torso.Position + Vector3.new(x * 0.8 - 2, 2 - y * 0.8, 5 + y * 0.4))
  492. points[x][y].fixed = y == 0
  493. end
  494. end
  495.  
  496. for x = 1, 2 do
  497. for y = 0, 3 do
  498. links[#links + 1] = verlet.new("Link", points[x][y], points[x - 1][y], 1 + y * 0.08)
  499. end
  500. end
  501.  
  502. for x = 0, 2 do
  503. for y = 1, 3 do
  504. links[#links + 1] = verlet.new("Link", points[x][y], points[x][y - 1], 1.2 + y * 0.03)
  505. end
  506. end
  507.  
  508. render:connect(function()
  509. for x = 0, 2 do
  510. for y = 0, 3 do
  511. if y == 0 then
  512. points[x][y].position = (torso.CFrame * CFrame.new(x * 1 - 1, 1, 0.5)).p
  513. else
  514. points[x][y]:step()
  515. end
  516. end
  517. end
  518. for i = 1, #links do
  519. links[i]:step()
  520. end
  521. for i = 1, #tris do
  522. triParts[#triParts + 1] = tris[i].p1
  523. triParts[#triParts + 1] = tris[i].p2
  524. end
  525. tris = {}
  526. for x = 1, 2 do
  527. for y = 1, 3 do
  528. tris[#tris + 1] = drawTri(torso, points[x - 1][y - 1].position, points[x - 1][y].position, points[x][y - 1].position)
  529. tris[#tris + 1] = drawTri(torso, points[x][y].position, points[x - 1][y].position, points[x][y - 1].position)
  530. end
  531. end
  532. end)
  533. ----------------------------------------------------
  534. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  535. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22326851, -3.5562191, -0.038143158, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  536. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1))
  537. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  538. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  539. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 0.950000048, 1.16999996))
  540. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  541. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  542. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 3, 0.863999963))
  543. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(3.79999995, 4, 1.39999998))
  544. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
  545. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.77400017, 4.96199989, 4.73800039))
  546. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998))
  547. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
  548. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.4920001, 4.70400047, 4.73800039))
  549. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  550. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.48671532, -1.09328079, 1, -2.52891718e-012, -6.81310423e-013, 2.53075664e-012, 0.866021812, 0.500005603, -6.74442273e-013, -0.500005603, 0.866021752))
  551. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  552. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100009918, -3.09970522, 1.40989685, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  553. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  554. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100009918, -3.09970522, 1.39007568, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
  555. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  556. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.61302567, 0.360752106, 1, -3.69486299e-012, 1.70532143e-012, 3.81851625e-012, 0.707111537, -0.707102001, 1.40679254e-012, 0.70710206, 0.707111537))
  557. ----------------------------------------------------
  558. Sit = false
  559. mouse.KeyDown:connect(function(key)
  560. if key == "v" then
  561. if Sit == false then
  562. Sit = true
  563. hum.WalkSpeed = 20
  564. stanceToggle = "Sitting"
  565. elseif Sit == true then
  566. Sit = false
  567. hum.WalkSpeed = 50
  568. stanceToggle = "Normal"
  569. end
  570. end
  571. end)
  572. ----------------------------------------------------
  573. Debounces = {
  574. CanAttack = true;
  575. NoIdl = false;
  576. Slashing = false;
  577. Slashed = false;
  578. RPunch = false;
  579. RPunched = false;
  580. LPunch = false;
  581. LPunched = false;
  582. }
  583. local Touche = {char.Name, }
  584. ----------------------------------------------------
  585.  
  586. mouse.KeyDown:connect(function(key)
  587. if key == "r" then
  588. larm.BrickColor = BrickColor.new("Bright red")
  589. rarm.BrickColor = BrickColor.new("Bright red")
  590. if Debounces.CanAttack == true then
  591. Debounces.CanAttack = false
  592. Debounces.on = true
  593. Debounces.NoIdl = true
  594. to = char.Absolution.Thingy2.Touched:connect(function(ht)
  595. hit = ht.Parent
  596. if ht and hit:IsA("Model") then
  597. if hit:FindFirstChild("Humanoid") then
  598. if hit.Name ~= p.Name then
  599. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  600. Debounces.Slashed = true]]--
  601. hit:FindFirstChild("Humanoid"):TakeDamage(10)
  602. wait(1)
  603. --Debounces.Slashed = false
  604. --end
  605. end
  606. end
  607. elseif ht and hit:IsA("Hat") then
  608. if hit.Parent.Name ~= p.Name then
  609. if hit.Parent:FindFirstChild("Humanoid") then
  610. --[[ if Debounces.Slashing == true and Debounces.Slashed == false then
  611. Debounces.Slashed = true]]--
  612. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
  613. wait(1)
  614. --Debounces.Slashed = false
  615. end
  616. end
  617. end
  618. end)
  619. q = Instance.new("Sound",hed)
  620. q.SoundId = "http://www.roblox.com/asset/?id=134012322"
  621. q.Pitch = 0.85
  622. q.Looped = false
  623. q1 = Instance.new("Sound",hed)
  624. q1.SoundId = "http://www.roblox.com/asset/?id=134012322"
  625. q1.Pitch = 0.85
  626. q1.Looped = false
  627. q:Play()
  628. q1:Play()
  629. for i = 1,20 do
  630. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(-55)), 0.4)
  631. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(55)), 0.4)
  632. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),0.4)
  633. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 4, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4)
  634. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 1) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4)
  635. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4)
  636. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -2.2, -3) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(0)), 0.5)
  637. if Debounces.on == false then break end
  638. wait()
  639. end
  640. n = Instance.new("Sound",hed)
  641. n.SoundId = "http://www.roblox.com/asset/?id=168514932"
  642. n.Pitch = 0.94
  643. n.Looped = false
  644. n1 = Instance.new("Sound",hed)
  645. n1.SoundId = "http://www.roblox.com/asset/?id=168514932"
  646. n1.Pitch = 0.94
  647. n1.Looped = false
  648. n:Play()
  649. n1:Play()
  650. b = Instance.new("Sound",hed)
  651. b.SoundId = "http://www.roblox.com/asset/?id=168586586"
  652. b.Pitch = 0.94
  653. b.Looped = false
  654. b1 = Instance.new("Sound",hed)
  655. b1.SoundId = "http://www.roblox.com/asset/?id=168586586"
  656. b1.Pitch = 0.94
  657. b1.Looped = false
  658. b:Play()
  659. b1:Play()
  660. for i = 1,26 do
  661. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-55)), 0.5)
  662. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(55)), 0.5)
  663. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)),0.5)
  664. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), 0), 0.5)
  665. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -1) * CFrame.Angles(math.rad(50), 0, math.rad(0)), 0.5)
  666. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .4) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.5)
  667. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 0.5)
  668. if Debounces.on == false then break end
  669. wait()
  670. end
  671. wait(.5)
  672. to:disconnect()
  673. q:Destroy()
  674. q1:Destroy()
  675. n:Destroy()
  676. n1:Destroy()
  677. larm.BrickColor = BrickColor.new("Really black")
  678. rarm.BrickColor = BrickColor.new("Really black")
  679. if Debounces.CanAttack == false then
  680. Debounces.CanAttack = true
  681. Debounces.on = false
  682. Debounces.NoIdl = false
  683. end
  684. end
  685. end
  686. end)
  687. ----------------------------------------------------
  688. hed.face.Texture = "rbxassetid://34668268"
  689. char["Body Colors"].HeadColor = BrickColor.new("CGA Brown")
  690. char["Body Colors"].TorsoColor = BrickColor.new("Black")
  691. char["Body Colors"].LeftArmColor = BrickColor.new("Black")
  692. char["Body Colors"].RightArmColor = BrickColor.new("Black")
  693. char["Body Colors"].LeftLegColor = BrickColor.new("Black")
  694. char["Body Colors"].RightLegColor = BrickColor.new("Black")
  695. ----------------------------------------------------
  696. ypcall(function()
  697. shirt = Instance.new("Shirt", char)
  698. shirt.Name = "Shirt"
  699. pants = Instance.new("Pants", char)
  700. pants.Name = "Pants"
  701. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=393374766"
  702. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=237836991"
  703. end)
  704. ----------------------------------------------------
  705. local LocalPlayer = game:GetService("Players").LocalPlayer
  706. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
  707.  
  708. Character.Head.Transparency = 0
  709.  
  710. local Orb = Instance.new("Part", Character)
  711. Orb.Name = "Orb"
  712.  
  713. Orb.CanCollide = false
  714. Orb.BrickColor = BrickColor.new("Institutional white")
  715. Orb.Transparency = 0
  716. Orb.Material = "Plastic"
  717. Orb.Size = Vector3.new(1, 1, 1)
  718.  
  719.  
  720. local M = Instance.new("SpecialMesh")
  721. M.Parent = Orb
  722. M.MeshId = "http://www.roblox.com/asset/?id=430411019"
  723.  
  724.  
  725. local Weld = Instance.new("Weld", Orb)
  726. Weld.Part0 = Character.Head
  727. Weld.Part1 = Orb
  728. Weld.C1 = CFrame.new(0, -0.5, 0)
  729. ------------------------------------------------------
  730. CV="Institutional white"
  731.  
  732. local txt = Instance.new("BillboardGui", char)
  733. txt.Adornee = char .Orb
  734. txt.Name = "_status"
  735. txt.Size = UDim2.new(2, 0, 1.2, 0)
  736. txt.StudsOffset = Vector3.new(-2, 1.5, 0)
  737. local text = Instance.new("TextLabel", txt)
  738. text.Size = UDim2.new(3, 0, 0.5, 0)
  739. text.FontSize = "Size8"
  740. text.TextScaled = true
  741. text.TextTransparency = 0
  742. text.BackgroundTransparency = 1
  743. text.TextTransparency = 1
  744. text.TextStrokeTransparency = 0
  745. text.Font = "Cartoon"
  746. text.TextStrokeColor3 = Color3.new(250,0,0)
  747.  
  748. v=Instance.new("Part")
  749. v.Name = "ColorBrick"
  750. v.Parent=p.Character
  751. v.FormFactor="Symmetric"
  752. v.Anchored=true
  753. v.CanCollide=false
  754. v.BottomSurface="Smooth"
  755. v.TopSurface="Smooth"
  756. v.Size=Vector3.new(10,5,3)
  757. v.Transparency=0.7
  758. v.CFrame=char.Torso.CFrame
  759. v.BrickColor=BrickColor.new(CV)
  760. v.Transparency=1
  761. text.TextColor3 = v.BrickColor.Color
  762. v.Shape="Block"
  763. text.Text = "1Hope_Sniper"
  764.  
  765.  
  766.  
  767.  
  768. --------------------------------------------------------
  769. local Orbd = Instance.new("Part", Character)
  770. Orbd.Name = "Orbd"
  771. Orbd.Shape = Enum.PartType.Ball
  772. Orbd.CanCollide = false
  773. Orbd.BrickColor = BrickColor.new("Crimson")
  774. Orbd.Transparency = 1
  775. Orbd.Material = "Neon"
  776. Orbd.Size = Vector3.new(0.1, 0.1, 0.1)
  777. Orbd.TopSurface = Enum.SurfaceType.Smooth
  778. Orbd.BottomSurface = Enum.SurfaceType.Smooth
  779.  
  780. local Weld = Instance.new("Weld", Orbd)
  781. Weld.Part0 = Character.Head
  782. Weld.Part1 = Orbd
  783. Weld.C1 = CFrame.new(-0.2, -0.2, 0.5)
  784.  
  785. --------------------------------------------------------
  786. local Orbvc = Instance.new("Part", Character)
  787. Orbvc.Name = "Orbvc"
  788. Orbvc.Shape = Enum.PartType.Ball
  789. Orbvc.CanCollide = false
  790. Orbvc.BrickColor = BrickColor.new("New Yeller")
  791. Orbvc.Transparency = 1
  792. Orbvc.Material = "Neon"
  793. Orbvc.Size = Vector3.new(0.1, 0.1, 0.1)
  794. Orbvc.TopSurface = Enum.SurfaceType.Smooth
  795. Orbvc.BottomSurface = Enum.SurfaceType.Smooth
  796.  
  797. local Weld = Instance.new("Weld", Orbvc)
  798. Weld.Part0 = Character.Head
  799. Weld.Part1 = Orbvc
  800. Weld.C1 = CFrame.new(0.2, -0.2, 0.5)
  801. ---------------------
  802. local LocalPlayer = game:GetService("Players").LocalPlayer
  803. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
  804.  
  805. Character.Head.Transparency = 0
  806.  
  807. local Camisa = Instance.new("Part", Character)
  808. Camisa.Name = "Camisa"
  809.  
  810. Camisa.CanCollide = false
  811. Camisa.BrickColor = BrickColor.new("Institutional white")
  812. Camisa.Transparency = 1
  813. Camisa.Material = "Plastic"
  814. Camisa.Size = Vector3.new(1.5, 1.5, 1)
  815.  
  816. local Weld = Instance.new("Weld", Camisa)
  817. Weld.Part0 = Character.Torso
  818. Weld.Part1 = Camisa
  819. Weld.C1 = CFrame.new(0, 0, 0)
  820. ----------------------------------------
  821. local p = game.Players.LocalPlayer
  822. local char = p.Character
  823. local mouse = p:GetMouse()
  824. local larm = char["Left Arm"]
  825. local rarm = char["Right Arm"]
  826. local lleg = char["Left Leg"]
  827. local rleg = char["Right Leg"]
  828. local hed = char.Head
  829. local torso = char.Torso
  830. local hum = char.Humanoid
  831. local cam = game.Workspace.CurrentCamera
  832. local root = char.HumanoidRootPart
  833. local rj = root.RootJoint
  834. local deb = false
  835. local shot = 0
  836. local stanceToggle = "Idle1"
  837. local l = game:GetService("Lighting")
  838. local rs = game:GetService("RunService").RenderStepped
  839. local hb = game:GetService("RunService").Heartbeat
  840. local Stepped = game:GetService("RunService").Stepped
  841. math.randomseed(os.time())
  842. hum.JumpPower = 200
  843. ----------------------------------------------------
  844. fat = Instance.new("BindableEvent",script)
  845. fat.Name = "Heartbeat"
  846.  
  847. script:WaitForChild("Heartbeat")
  848.  
  849. frame = 1/30
  850. tf = 0
  851. allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater.
  852. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  853. lastframe = tick()
  854. script.Heartbeat:Fire() --ayy lmao
  855.  
  856. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  857. tf = tf + s
  858. if tf >= frame then
  859. if allowframeloss then
  860. script.Heartbeat:Fire()
  861. lastframe=tick()
  862. else
  863. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  864. for i=1, math.floor(tf/frame) do
  865. script.Heartbeat:Fire()
  866. end
  867. lastframe=tick()
  868. end
  869. if tossremainder then
  870. tf = 0
  871. else
  872. tf = tf - frame * math.floor(tf/frame)
  873. end
  874. end
  875. end)
  876. ----------------------------------------------------
  877. for i,v in pairs(char:children()) do
  878. if v:IsA("Hat") then
  879. v:Destroy()
  880. end
  881. end
  882. for i,v in pairs (hed:GetChildren()) do
  883. if v:IsA("Sound") then
  884. v:Destroy()
  885. end
  886. end
  887. ----------------------------------------------------
  888. Debounces = {
  889. CanAttack = true;
  890. CanJoke = false;
  891. NoIdl = false;
  892. Slashing = false;
  893. Slashed = false;
  894. ks = false;
  895. }
  896. ----------------------------------------------------
  897. function weld5(part0, part1, c0, c1)
  898. weeld=Instance.new("Weld", part0)
  899. weeld.Part0=part0
  900. weeld.Part1=part1
  901. weeld.C0=c0
  902. weeld.C1=c1
  903. return weeld
  904. end
  905. ----------------------------------------------------
  906. function NewPart(prnt,siz,cf,trans,anc,mat,col)
  907. local prt=Instance.new("Part")
  908. prt.Parent=prnt
  909. prt.Name="Part"
  910. prt.Size=siz
  911. prt.CanCollide=false
  912. prt.Anchored=anc
  913. prt.Locked=true
  914. prt.Transparency = trans
  915. prt.TopSurface=10
  916. prt.BottomSurface=10
  917. prt.FrontSurface=10
  918. prt.BackSurface=10
  919. prt.LeftSurface=10
  920. prt.RightSurface=10
  921. prt:BreakJoints()
  922. prt.CFrame=cf or CFrame.new(30,10,30)
  923. prt.Material=mat
  924. prt.BrickColor=BrickColor.new(col)
  925. m=Instance.new("SpecialMesh",prt)
  926. m.MeshType=6
  927. return prt
  928. end
  929. ----------------------------------------------------
  930. function lerp(a, b, t) -- Linear interpolation
  931. return a + (b - a)*t
  932. end
  933.  
  934. function slerp(a, b, t) --Spherical interpolation
  935. dot = a:Dot(b)
  936. if dot > 0.99999 or dot < -0.99999 then
  937. return t <= 0.5 and a or b
  938. else
  939. r = math.acos(dot)
  940. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  941. end
  942. end
  943.  
  944. function matrixInterpolate(a, b, t)
  945. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  946. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  947. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  948. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  949. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  950. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  951. local t = v1:Dot(v2)
  952. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  953. return CFrame.new()
  954. end
  955. return CFrame.new(
  956. v0.x, v0.y, v0.z,
  957. v1.x, v1.y, v1.z,
  958. v2.x, v2.y, v2.z,
  959. v3.x, v3.y, v3.z)
  960. end
  961. ----------------------------------------------------
  962. function genWeld(a,b)
  963. local w = Instance.new("Weld",a)
  964. w.Part0 = a
  965. w.Part1 = b
  966. return w
  967. end
  968. function weld(a, b)
  969. local weld = Instance.new("Weld")
  970. weld.Name = "W"
  971. weld.Part0 = a
  972. weld.Part1 = b
  973. weld.C0 = a.CFrame:inverse() * b.CFrame
  974. weld.Parent = a
  975. return weld;
  976. end
  977. ----------------------------------------------------
  978. function Lerp(c1,c2,al)
  979. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  980. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  981. for i,v in pairs(com1) do
  982. com1[i] = v+(com2[i]-v)*al
  983. end
  984. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  985. end
  986. ----------------------------------------------------
  987. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  988. local wld = Instance.new("Weld", wp1)
  989. wld.Part0 = wp0
  990. wld.Part1 = wp1
  991. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  992. end
  993. ----------------------------------------------------
  994. newWeld(torso, larm, -1.5, 0.5, 0)
  995. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  996. newWeld(torso, rarm, 1.5, 0.5, 0)
  997. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  998. newWeld(torso, hed, 0, 1.5, 0)
  999. newWeld(torso, lleg, -0.5, -1, 0)
  1000. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  1001. newWeld(torso, rleg, 0.5, -1, 0)
  1002. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  1003. newWeld(root, torso, 0, -1, 0)
  1004. torso.Weld.C1 = CFrame.new(0, -1, 0)
  1005. ----------------------------------------------------
  1006. z = Instance.new("Sound",char) --Smile: print("ÃÆ’Æ’Æ’ÃÆ’†’ÃÆ’ÆÃ��’¢âÃ��€šÂ¬Ã¢â€žÂ¢ÃƒÆ’ƒÂ¢Ã¢â€šÂ¬ ÃÆ’¢â‚¬â„¢ÃÆ’Æ’Æââââ���¬Å¡Ã‚¬Ã¢â€žÂ¢ÃƒÆ’Æ’¢â‚¬ ÃÆ’Æ’¢ÃÆ’ÂÃÆ���‚¢ÃƒÂ¢Ã¢â€šÂ¬Ã…¡Ã‚¬ÃÆ’¢â€žÂ¢ÃÆ’Æ’Æ’ÃÆ’†’ÃÆ’Æ’ÂÃâââ€��¬Å¡Ãƒâ€šÃ‚¢ÃƒÆ’Æ’¢â€šÂ¬ÃÆ’…¡ÃÆ’Æ’Æ’ÃÆ’¢ââ€��ƒâ€¦Ã‚¡Ãƒâ€šÃ‚¬Ãƒâ€¦Ã‚¡ÃÆ’Æ’‚ÃÆ’‚¢?ÃÆ’Æ’Æ’ÃÆ’ââÃÂ��€šÂ¬ ’ÃÆ’Æ’†ÃÆ’¢â‚¬â„¢ÃÆ’Æ’Æâââ���šÂ¬Ã¢��€žÂ¢ÃƒÆ’Æ’‚¢ÃÃ��†â��‚¬â„¢ÃƒÆ’†’Æ’Ã��¢ÃÆ’¢â‚¬Å¡ÃÆ’ââââ���¬Å¡Ã‚¬Ã…¡Ãƒâ€šÃ‚¬ÃÆ’Æ’…ÃÆ’‚¡ÃÆ’Æ’Æ’ÃÆ’†’ÃÆ’Æ’¢ÃÆ’¢â€šÂ¬ÃÆ’…¡ÃÆ’ÆââÃ��€šÂ¬Ã¢â€žÂ¢ÃƒÆ’ƒâ€ ’ÃÆ’¢â‚¬Å¡ÃÆ’Æ’‚ÃÆ’‚ÃÃ��¢Ã¢â€šÂ¬Ã…¡Ãƒâ€šÃ‚º")
  1007. z.SoundId = "rbxassetid://0"--410761150, 411368002
  1008. z.Looped = true
  1009. z.Pitch = 1
  1010. z.Volume = 1
  1011. wait(0.1)
  1012. z:Play()
  1013. ----------------------------------------------------
  1014. New = function(Object, Parent, Name, Data)
  1015. local Object = Instance.new(Object)
  1016. for Index, Value in pairs(Data or {}) do
  1017. Object[Index] = Value
  1018. end
  1019. Object.Parent = Parent
  1020. Object.Name = Name
  1021. return Object
  1022. end
  1023. ----------------------------------------------------
  1024. --Left Arm
  1025. m = Instance.new("Model")
  1026. m.Name = "LeftArm"
  1027.  
  1028. p4 = Instance.new("Part", m)
  1029. p4.BrickColor = BrickColor.new("Really black")
  1030. p4.Material = Enum.Material.SmoothPlastic
  1031. p4.Name = "LeftArmPlate"
  1032. p4.Size = Vector3.new(1, 2, 1)
  1033. p4.Transparency = 1
  1034. p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1035. p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1036. p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1037. p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1038. p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1039. p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1040. b4 = Instance.new("SpecialMesh", p4)
  1041. b4.MeshType = Enum.MeshType.Brick
  1042. b4.Name = "Mesh"
  1043. b4.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049. w1 = Instance.new("Weld", p1)
  1050. w1.Name = "Part_Weld"
  1051. w1.Part0 = p1
  1052. w1.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1053. w1.Part1 = p2
  1054. w1.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1055. w2 = Instance.new("Weld", p2)
  1056. w2.Name = "Part_Weld"
  1057. w2.Part0 = p2
  1058. w2.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1059. w2.Part1 = p3
  1060. w2.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1061. w3 = Instance.new("Weld", p3)
  1062. w3.Name = "LeftArmPlate_Weld"
  1063. w3.Part0 = p3
  1064. w3.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1065. w3.Part1 = p4
  1066. w3.C1 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1067. w4 = Instance.new("Weld", p4)
  1068. w4.Name = "Part_Weld"
  1069. w4.Part0 = p4
  1070. w4.C0 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1071. w4.Part1 = p5
  1072. w4.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1073. w5 = Instance.new("Weld", p5)
  1074. w5.Name = "Part_Weld"
  1075. w5.Part0 = p5
  1076. w5.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1077. w5.Part1 = p6
  1078. w5.C1 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1079. w6 = Instance.new("Weld", p6)
  1080. w6.Name = "Part_Weld"
  1081. w6.Part0 = p6
  1082. w6.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1083. w6.Part1 = p7
  1084. w6.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1085. w7 = Instance.new("Weld", p7)
  1086. w7.Name = "Part_Weld"
  1087. w7.Part0 = p7
  1088. w7.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1089. w7.Part1 = p8
  1090. w7.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1091. w8 = Instance.new("Weld", p8)
  1092. w8.Name = "Part_Weld"
  1093. w8.Part0 = p8
  1094. w8.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1095. w8.Part1 = p9
  1096. w8.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1097. w9 = Instance.new("Weld", p9)
  1098. w9.Name = "Part_Weld"
  1099. w9.Part0 = p9
  1100. w9.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1101. w9.Part1 = p10
  1102. w9.C1 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1103. w10 = Instance.new("Weld", p10)
  1104. w10.Name = "Part_Weld"
  1105. w10.Part0 = p10
  1106. w10.C0 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1107. w10.Part1 = p11
  1108. w10.C1 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1109. w11 = Instance.new("Weld", p11)
  1110. w11.Name = "Part_Weld"
  1111. w11.Part0 = p11
  1112. w11.C0 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1113. w11.Part1 = p12
  1114. w11.C1 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1115. w12 = Instance.new("Weld", p12)
  1116. w12.Name = "Part_Weld"
  1117. w12.Part0 = p12
  1118. w12.C0 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1119. w12.Part1 = p13
  1120. w12.C1 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1121. w13 = Instance.new("Weld", p13)
  1122. w13.Name = "Part_Weld"
  1123. w13.Part0 = p13
  1124. w13.C0 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1125. w13.Part1 = p14
  1126. w13.C1 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1127. w14 = Instance.new("Weld", p14)
  1128. w14.Name = "Part_Weld"
  1129. w14.Part0 = p14
  1130. w14.C0 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1131. w14.Part1 = p15
  1132. w14.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1133. w15 = Instance.new("Weld", p15)
  1134. w15.Name = "Part_Weld"
  1135. w15.Part0 = p15
  1136. w15.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1137. w15.Part1 = p16
  1138. w15.C1 = CFrame.new(1.49142683, -27.338007, 3.81166649, 1, -2.04123751e-007, -6.57511308e-008, 1.67448022e-007, 0.500000119, 0.866025329, -1.06342185e-007, -0.866025269, 0.5)
  1139.  
  1140. m.Parent = larm
  1141. m:MakeJoints()
  1142. ----------------------------------------------------
  1143. local cor = Instance.new("Part", larm.LeftArm)
  1144. cor.Name = "Thingy"
  1145. cor.Locked = true
  1146. cor.BottomSurface = 0
  1147. cor.CanCollide = false
  1148. cor.Size = Vector3.new(1, 1, 1)
  1149. cor.Transparency = 1
  1150. cor.TopSurface = 0
  1151. corw = Instance.new("Weld", cor)
  1152. corw.Part0 = larm
  1153. corw.Part1 = cor
  1154. corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1155. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1156. weld1 = Instance.new("Weld", larm.LeftArm)
  1157. weld1.Part0 = cor
  1158. weld1.Part1 = larm.LeftArm.LeftArmPlate
  1159. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1160. --Right Arm
  1161. m2 = Instance.new("Model")
  1162. m2.Name = "RightArm"
  1163.  
  1164. p7 = Instance.new("Part", m2)
  1165. p7.BrickColor = BrickColor.new("Institutional white")
  1166. p7.Material = Enum.Material.SmoothPlastic
  1167. p7.Transparency = 1
  1168. p7.Name = "RightArmPlate"
  1169. p7.CFrame = CFrame.new(3.5, -9.54201603, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1170. p7.FormFactor = Enum.FormFactor.Symmetric
  1171. p7.Size = Vector3.new(1, 2, 1)
  1172. p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1173. p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1174. p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1175. p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1176. p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1177. p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1178. b7 = Instance.new("SpecialMesh", p7)
  1179. b7.MeshType = Enum.MeshType.Brick
  1180. b7.Name = "Mesh"
  1181. b7.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  1182.  
  1183.  
  1184. w1 = Instance.new("Weld", p1)
  1185. w1.Name = "Part_Weld"
  1186. w1.Part0 = p1
  1187. w1.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1188. w1.Part1 = p2
  1189. w1.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1190. w2 = Instance.new("Weld", p2)
  1191. w2.Name = "Part_Weld"
  1192. w2.Part0 = p2
  1193. w2.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1194. w2.Part1 = p3
  1195. w2.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1196. w3 = Instance.new("Weld", p3)
  1197. w3.Name = "Part_Weld"
  1198. w3.Part0 = p3
  1199. w3.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1200. w3.Part1 = p4
  1201. w3.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1202. w4 = Instance.new("Weld", p4)
  1203. w4.Name = "Part_Weld"
  1204. w4.Part0 = p4
  1205. w4.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1206. w4.Part1 = p5
  1207. w4.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1208. w5 = Instance.new("Weld", p5)
  1209. w5.Name = "Part_Weld"
  1210. w5.Part0 = p5
  1211. w5.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1212. w5.Part1 = p6
  1213. w5.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1214. w6 = Instance.new("Weld", p6)
  1215. w6.Name = "RightArmPlate_Weld"
  1216. w6.Part0 = p6
  1217. w6.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1218. w6.Part1 = p7
  1219. w6.C1 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1220. w7 = Instance.new("Weld", p7)
  1221. w7.Name = "Part_Weld"
  1222. w7.Part0 = p7
  1223. w7.C0 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1224. w7.Part1 = p8
  1225. w7.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1226. w8 = Instance.new("Weld", p8)
  1227. w8.Name = "Part_Weld"
  1228. w8.Part0 = p8
  1229. w8.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1230. w8.Part1 = p9
  1231. w8.C1 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1232. w9 = Instance.new("Weld", p9)
  1233. w9.Name = "Part_Weld"
  1234. w9.Part0 = p9
  1235. w9.C0 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1236. w9.Part1 = p10
  1237. w9.C1 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1238. w10 = Instance.new("Weld", p10)
  1239. w10.Name = "Part_Weld"
  1240. w10.Part0 = p10
  1241. w10.C0 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1242. w10.Part1 = p11
  1243. w10.C1 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1244. w11 = Instance.new("Weld", p11)
  1245. w11.Name = "Part_Weld"
  1246. w11.Part0 = p11
  1247. w11.C0 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1248. w11.Part1 = p12
  1249. w11.C1 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1250. w12 = Instance.new("Weld", p12)
  1251. w12.Name = "Part_Weld"
  1252. w12.Part0 = p12
  1253. w12.C0 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1254. w12.Part1 = p13
  1255. w12.C1 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1256. w13 = Instance.new("Weld", p13)
  1257. w13.Name = "Part_Weld"
  1258. w13.Part0 = p13
  1259. w13.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1260. w13.Part1 = p14
  1261. w13.C1 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1262. w14 = Instance.new("Weld", p14)
  1263. w14.Name = "Part_Weld"
  1264. w14.Part0 = p14
  1265. w14.C0 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1266. w14.Part1 = p15
  1267. w14.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1268. w15 = Instance.new("Weld", p15)
  1269. w15.Name = "Part_Weld"
  1270. w15.Part0 = p15
  1271. w15.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1272. w15.Part1 = p16
  1273. w15.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1274. w16 = Instance.new("Weld", p16)
  1275. w16.Name = "Part_Weld"
  1276. w16.Part0 = p16
  1277. w16.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1278. w16.Part1 = p17
  1279. w16.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1280. w17 = Instance.new("Weld", p17)
  1281. w17.Name = "Part_Weld"
  1282. w17.Part0 = p17
  1283. w17.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1284. w17.Part1 = p18
  1285. w17.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1286. w18 = Instance.new("Weld", p18)
  1287. w18.Name = "Part_Weld"
  1288. w18.Part0 = p18
  1289. w18.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1290. w18.Part1 = p19
  1291. w18.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1292. m2.Parent = rarm
  1293. m2:MakeJoints()
  1294. ----------------------------------------------------
  1295. local cor2 = Instance.new("Part", rarm.RightArm)
  1296. cor2.Name = "Thingy"
  1297. cor2.Locked = true
  1298. cor2.BottomSurface = 0
  1299. cor2.CanCollide = false
  1300. cor2.Size = Vector3.new(1, 1, 1)
  1301. cor2.Transparency = 1
  1302. cor2.TopSurface = 0
  1303. corw2 = Instance.new("Weld", cor2)
  1304. corw2.Part0 = rarm
  1305. corw2.Part1 = cor2
  1306. corw2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1307. corw2.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1308. weld2 = Instance.new("Weld", rarm.RightArm)
  1309. weld2.Part0 = cor2
  1310. weld2.Part1 = rarm.RightArm.RightArmPlate
  1311. weld2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1312.  
  1313.  
  1314. --Zyrodoxa
  1315. m8 = Instance.new("Model")
  1316. m8.Name = "Zyrodoxa"
  1317.  
  1318. p16 = Instance.new("Part", m8)
  1319. p16.BrickColor = BrickColor.new("Instutional white")
  1320. p16.Material = Enum.Material.Metal
  1321. p16.Name = "Handle"
  1322. p16.CFrame = CFrame.new(2.7e-005, -11.8500671, -1.1215378, 1, -4.08902174e-008, -5.95266769e-008, -5.95264673e-008, 4.47054163e-008, -1.00000322, 4.08900469e-008, 1.00000393, 3.27827877e-007)
  1323. p16.CanCollide = false
  1324. p16.Locked = true
  1325. p16.FormFactor = Enum.FormFactor.Custom
  1326. p16.Size = Vector3.new(0, 0, 0)
  1327. p16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1328. p16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1329. p16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1330. p16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1331. p16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1332. p16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1333. b16 = Instance.new("BlockMesh", p16)
  1334. b16.Name = "Mesh"
  1335. b16.Scale = Vector3.new(0, 0, 0)
  1336.  
  1337. w16 = Instance.new("Weld", p16)
  1338. w16.Name = "Block_Weld"
  1339. w16.Part0 = p16
  1340. w16.C0 = CFrame.new(-2.69356715e-005, 1.12153399, 0.310250998, 1, -5.9526446e-008, 4.08900576e-008, -4.08900576e-008, 0, 1, -5.95264495e-008, -1, -2.43403981e-015)
  1341. w16.Part1 = p17
  1342. w16.C1 = CFrame.new(-2.69897973e-005, 0.238820702, 1.16951191, 1, -3.32849588e-008, -1.92696081e-009, -3.32849588e-008, -1, -5.96046448e-007, -1.92694105e-009, 5.96046448e-007, -1)
  1343.  
  1344. m8.Parent = rarm
  1345. m8:MakeJoints()
  1346. ----------------------------------------------------
  1347. local cor8 = Instance.new("Part", rarm.Zyrodoxa)
  1348. cor8.Name = "Thingy"
  1349. cor8.Locked = true
  1350. cor8.BottomSurface = 0
  1351. cor8.CanCollide = false
  1352. cor8.Size = Vector3.new(1, 1, 1)
  1353. cor8.Transparency = 1
  1354. cor8.TopSurface = 0
  1355. corw8 = Instance.new("Weld", cor8)
  1356. corw8.Part0 = rarm
  1357. corw8.Part1 = cor8
  1358. corw8.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180))
  1359. corw8.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1360. weld8 = Instance.new("Weld", rarm.Zyrodoxa)
  1361. weld8.Part0 = cor8
  1362. weld8.Part1 = rarm.Zyrodoxa.Handle
  1363. weld8.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1364. ----------------------------------------------------
  1365. models = {m,m2,m3,m4,m5,m6,m7,m8}
  1366. parts = {}
  1367. Stepped:connect(function()
  1368. for i,v in pairs(models) do
  1369. for _, a in pairs(v:GetChildren()) do
  1370. if v:IsA("Part") and v.Name ~= "Thingy" then
  1371. table.insert(parts, a)
  1372. for i,v in pairs(parts) do
  1373. v.CanCollide = false
  1374. end
  1375. end
  1376. end
  1377. end
  1378. end)
  1379. ----------------------------------------------------
  1380. local animpose = "Idle3"
  1381. local lastanimpose = "Idle1"
  1382. local grab = false
  1383. local Smooth = 1
  1384. local sine = 0
  1385. local change = 1
  1386. local val = 0
  1387. local ffing = true
  1388. ----------------------------------------------------
  1389. --[[local hitbox = rarm.Zyrodoxa.Hitbox--Zyrodoxa is the name of the dagger k
  1390.  
  1391. function FindHumanoids()
  1392. local function c_region(Position, Size)
  1393. local SizeOffset = Size/2
  1394. local Point1 = Position - SizeOffset
  1395. local Point2 = Position + SizeOffset
  1396. local a = Instance.new("Part", workspace)
  1397. a.Anchored = true
  1398. a.Size = Size
  1399. a.Position = Position
  1400. print("Hey!, I'm making a part!")
  1401. return Region3.new(Point1, Point2)
  1402. end
  1403.  
  1404. local a = c_region((hitbox.CFrame * CFrame.new(0, -1.285, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1405. local b = c_region((hitbox.CFrame * CFrame.new(0, -0.6425, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1406. local c = c_region((hitbox.CFrame * CFrame.new(0, 0.6425, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1407. local d = c_region((hitbox.CFrame * CFrame.new(0, 1.285, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1408.  
  1409. local regions = {a, b, c, d}
  1410.  
  1411. local found_humanoids = {}
  1412. local already_found = {char.Name}
  1413.  
  1414. for _, region in pairs(regions) do
  1415. for _, part in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(region, rarm.Zyrodoxa:GetChildren(), 100)) do
  1416. print(part, part.Parent, part.Name) ---nope
  1417. if part.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.ClassName == "Model" and not part:isDescendantOf(char) then
  1418. local humanoid = part.Parent:FindFirstChild("Humanoid")
  1419. local name = humanoid.Parent.Name
  1420. local exists = false
  1421. for _, n in pairs(already_found) do
  1422. if n == name then
  1423. exists = true
  1424. end
  1425. end
  1426. if not exists then
  1427. table.insert(already_found, name)
  1428. table.insert(found_humanoids, humanoid)
  1429. end
  1430. elseif part.Parent.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.Parent.ClassName == "Model" and not part:isDescendantOf(char) then
  1431. local humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
  1432. local name = humanoid.Parent.Parent.Name
  1433. local exists = false
  1434. for _, n in pairs(already_found) do
  1435. if n == name then
  1436. exists = true
  1437. end
  1438. end
  1439. if not exists then
  1440. table.insert(already_found, name)
  1441. table.insert(found_humanoids, humanoid)
  1442. end
  1443. end
  1444. end
  1445. end
  1446. return found_humanoids
  1447. end
  1448.  
  1449. local humanoids = FindHumanoids()
  1450. if #humanoids == 0 then
  1451. for i, v in pairs(humanoids) do
  1452. print(v.Parent.Name)
  1453. if Debounces.Slashing == true then
  1454. v:TakeDamage(math.random(10,20) * math.random(1,3)) --max 60 damage?
  1455. elseif Debounces.Slashing == false then
  1456. wait()
  1457. end
  1458. end
  1459. wait(0.3)
  1460. end]]--
  1461. ----------------------------------------------------
  1462. --[[mouse.KeyDown:connect(function(key)
  1463. if key == "f" then
  1464. if Debounces.CanAttack == true then
  1465. Debounces.CanAttack = false
  1466. Debounces.NoIdl = true
  1467. Debounces.on = true
  1468. for i = 1, 20 do
  1469. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1.05, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1470. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1471. CR.Joint.C1 = Lerp(CR.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(-4),0,0),0.1)
  1472. CR2.Joint.C1 = Lerp(CR2.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1473. CR3.Joint.C1 = Lerp(CR3.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1474. CR4.Joint.C1 = Lerp(CR4.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1475. CR5.Joint.C1 = Lerp(CR5.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1476. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.6,0.6,-0.2)*CFrame.Angles(math.rad(8),math.rad(22),math.rad(15)), 0.8)
  1477. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1478. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.6,0.6,0.2)*CFrame.Angles(math.rad(-8),math.rad(12),math.rad(-12)), 0.8)
  1479. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1480. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)), 0.5)
  1481. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(20),math.rad(0)), 0.5)
  1482. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-6), math.rad(0), 0), 0.1)
  1483. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), 0), 0.1)
  1484. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.14) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), 0.1)
  1485. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(5)), 0.1)
  1486. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(3), math.rad(0), math.rad(0)), 0.1)
  1487. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(10), math.rad(-5)), 0.1)
  1488. if Debounces.on == false then
  1489. break
  1490. end
  1491. fat.Event:wait()
  1492. end
  1493. end
  1494. end
  1495. end)]]--
  1496. ----------------------------------------------------
  1497. mod4 = Instance.new("Model",char)
  1498.  
  1499. ptez = {0.7, 0.8, 0.9, 1}
  1500.  
  1501. function FindNearestTorso(Position,Distance,SinglePlayer)
  1502. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1503. local List = {}
  1504. for i,v in pairs(workspace:GetChildren())do
  1505. if v:IsA("Model")then
  1506. if v:findFirstChild("Torso")then
  1507. if v ~= char then
  1508. if(v.Torso.Position -Position).magnitude <= Distance then
  1509. table.insert(List,v)
  1510. end
  1511. end
  1512. end
  1513. end
  1514. end
  1515. return List
  1516. end
  1517.  
  1518. function Slam()
  1519. local part=Instance.new('Part',mod4)
  1520. part.Anchored=true
  1521. part.CanCollide=false
  1522. part.FormFactor='Custom'
  1523. part.Size=Vector3.new(.2,.2,.2)
  1524. part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
  1525. part.Transparency=.7
  1526. part.BrickColor=BrickColor.new('Really black')
  1527. mesh=Instance.new('SpecialMesh',part)
  1528. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1529. mesh.Scale=Vector3.new(3,10,3)
  1530. local part2=Instance.new('Part',mod4)
  1531. part2.Anchored=true
  1532. part2.CanCollide=false
  1533. part2.FormFactor='Custom'
  1534. part2.Size=Vector3.new(.2,.2,.2)
  1535. part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
  1536. part2.Transparency=.7
  1537. part2.BrickColor=BrickColor.new('Institutional white')
  1538. mesh2=Instance.new('SpecialMesh',part2)
  1539. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  1540. mesh2.Scale=Vector3.new(3,10,3)
  1541. x = Instance.new("Sound",larm)
  1542. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  1543. x.Pitch = ptez[math.random(1,#ptez)]
  1544. x.Volume = 1
  1545. wait(.1)
  1546. x1 = Instance.new("Sound",larm)
  1547. x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  1548. x1.Pitch = ptez[math.random(1,#ptez)]
  1549. x1.Volume = 1
  1550. wait(.1)
  1551. x:Play()
  1552. x1:Play()
  1553. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  1554. if v:FindFirstChild('Humanoid') then
  1555. v.Humanoid:TakeDamage(math.random(999999,999999))
  1556. end
  1557. end
  1558. coroutine.resume(coroutine.create(function()
  1559. for i=0,0.62,0.13 do
  1560. wait()
  1561. part.CFrame=part.CFrame
  1562. part.Transparency=i
  1563. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  1564. part2.CFrame=part2.CFrame
  1565. part2.Transparency=i
  1566. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  1567. end
  1568. part.Parent=nil
  1569. part2.Parent=nil
  1570. x:Destroy()
  1571. end))
  1572. end
  1573. ----------------------------------------------------
  1574. wPart = function(x,y,z,color,tr,cc,an,parent)
  1575. local wp = Instance.new('WedgePart',parent or Weapon)
  1576. wp.formFactor = 'Custom'
  1577. wp.Size = Vector3.new(x,y,z)
  1578. wp.BrickColor = BrickColor.new(color)
  1579. wp.CanCollide = cc
  1580. wp.Transparency = tr
  1581. wp.Anchored = an
  1582. wp.TopSurface,wp.BottomSurface = 0,0
  1583. return wp
  1584. end
  1585.  
  1586. Mesh = function(par,num,x,y,z)
  1587. local msh = _
  1588. if num == 1 then
  1589. msh = Instance.new("CylinderMesh",par)
  1590. elseif num == 2 then
  1591. msh = Instance.new("SpecialMesh",par)
  1592. msh.MeshType = 3
  1593. elseif num == 3 then
  1594. msh = Instance.new("BlockMesh",par)
  1595. elseif num == 4 then
  1596. msh = Instance.new("SpecialMesh",par)
  1597. msh.MeshType = "Torso"
  1598. elseif type(num) == 'string' then
  1599. msh = Instance.new("SpecialMesh",par)
  1600. msh.MeshId = num
  1601. end
  1602. msh.Scale = Vector3.new(x,y,z)
  1603. return msh
  1604. end
  1605.  
  1606. local function CFrameFromTopBack(at, top, back)
  1607. local right = top:Cross(back)
  1608. return CFrame.new(at.x, at.y, at.z,
  1609. right.x, top.x, back.x,
  1610. right.y, top.y, back.y,
  1611. right.z, top.z, back.z)
  1612. end
  1613.  
  1614. function Triangle(a, b, c)
  1615. local edg1 = (c-a):Dot((b-a).unit)
  1616. local edg2 = (a-b):Dot((c-b).unit)
  1617. local edg3 = (b-c):Dot((a-c).unit)
  1618. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1619. a, b, c = a, b, c
  1620. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1621. a, b, c = b, c, a
  1622. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1623. a, b, c = c, a, b
  1624. else
  1625. print("unreachable")
  1626. end
  1627. local len1 = (c-a):Dot((b-a).unit)
  1628. local len2 = (b-a).magnitude - len1
  1629. local width = (a + (b-a).unit*len1 - c).magnitude
  1630. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1631. local list = {}
  1632. if len1 > 0.01 then
  1633. local w1 = wPart(0,0,0,'Institutional white',0.5,false,true,char)
  1634. local sz = Vector3.new(0.2, width, len1)
  1635. w1.Size = sz
  1636. local sp = Mesh(w1,2,0,0,0)
  1637. sp.MeshType='Wedge'
  1638. sp.Scale=Vector3.new(0,1,1)*sz/w1.Size
  1639. w1:BreakJoints()
  1640. w1.Anchored = true
  1641. w1.Transparency = 0.7
  1642. Spawn(function()
  1643. for i=0,1,0.1 do
  1644. fat.Event:wait()
  1645. w1.Transparency=w1.Transparency+0.03
  1646. end
  1647. end)
  1648. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1649. table.insert(list,w1)
  1650. end
  1651. if len2 > 0.01 then
  1652. local w2 = wPart(0,0,0,'Institutional white',0.5,false,true,char)
  1653. local sz = Vector3.new(0.2, width, len2)
  1654. w2.Size = sz
  1655. local sp = Mesh(w2,2,0,0,0)
  1656. sp.MeshType='Wedge'
  1657. sp.Scale=Vector3.new(0,1,1)*sz/w2.Size
  1658. w2:BreakJoints()
  1659. w2.Anchored = true
  1660. w2.Transparency = 0.7
  1661. Spawn(function()
  1662. for i=0,1,0.1 do
  1663. fat.Event:wait()
  1664. w2.Transparency=w2.Transparency+0.03
  1665. end
  1666. end)
  1667. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1668. table.insert(list,w2)
  1669. end
  1670. return unpack(list)
  1671. end
  1672.  
  1673. function trail(p,t,h)
  1674. Spawn(function()
  1675. local blcf = p.CFrame
  1676. local scfr = blcf
  1677. for i=1,t do
  1678. local blcf = p.CFrame
  1679. if scfr and (p.Position-scfr.p).magnitude > .1 then
  1680. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1681. if a then game.Debris:AddItem(a,1) end
  1682. if b then game.Debris:AddItem(b,1) end
  1683. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1684. if a then game.Debris:AddItem(a,1) end
  1685. if b then game.Debris:AddItem(b,1) end
  1686. scfr = blcf
  1687. elseif not scfr then
  1688. scfr = blcf
  1689. end
  1690. fat.Event:wait()
  1691. end
  1692. scfr=nil
  1693. end)
  1694. end
  1695. --trail(char.Sword.Blade,1e1000,5)
  1696. ----------------------------------------------------
  1697. function Dmg()
  1698. local partofdeath = rarm.Zyrodoxa.Hitbox
  1699. local function CreateRegion3FromLocAndSize(Position, Size)
  1700. local SizeOffset = Size/2
  1701. local Point1 = Position - SizeOffset
  1702. local Point2 = Position + SizeOffset
  1703. return Region3.new(Point1, Point2)
  1704. end
  1705. local reg = CreateRegion3FromLocAndSize(partofdeath.Position, partofdeath.Size)
  1706. for i, v in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(reg, char:GetChildren(), 100)) do
  1707. Spawn(function()
  1708. if Debounces.Slashing == true and Debounces.Slashed == false then
  1709. Debounces.Slashed = true
  1710. ypcall(function()
  1711. local humanoid = v.Parent:FindFirstChild("Humanoid") or v.Parent.Parent:FindFirstChild("Humanoid")
  1712. humanoid:TakeDamage(math.random(10,18))
  1713. end)
  1714. wait(.4)
  1715. Debounces.Slashed = false
  1716. end
  1717. end)
  1718. end
  1719. end
  1720. ----------------------------------------------------
  1721. pts = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  1722. ptz = {0.7, 0.8, 0.9, 1}
  1723. idz = {"161006212", "161006195"}
  1724. function attackone()
  1725. for i = 1, 13 do
  1726. corw8.C0 = Lerp(corw8.C0, CFrame.new(-0.3, -1, -0.3) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.8)
  1727. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), math.rad(30), math.rad(0)), 0.8)
  1728. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2, 0.5, -0.3)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(-10)), 0.3)
  1729. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
  1730. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0.4)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-10)), 0.5)
  1731. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(-40),math.rad(0)), 0.5)
  1732. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(-50),0), 0.5)
  1733. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.5)
  1734. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.7)
  1735. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(18), math.rad(0), math.rad(15)), 0.7)
  1736. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.4, -1.3, 0) * CFrame.Angles(math.rad(0), math.rad(40), math.rad(0)), 0.5)
  1737. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(15)), 0.5)
  1738. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.7, -0.9, -0.4) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), 0.5)
  1739. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.5)
  1740. if Debounces.on == false then
  1741. break
  1742. end
  1743. fat.Event:wait()
  1744. end
  1745. trail(rarm.Zyrodoxa.Hitbox,20,2)
  1746. Debounces.Slashing = true
  1747. wait(0.2)
  1748. --[[z = Instance.new("Sound", hed)
  1749. z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  1750. z.Pitch = ptz[math.random(1,#ptz)]
  1751. z.Volume = 1
  1752. wait(.01)
  1753. z:Play()]]--
  1754. for i = 1, 14 do
  1755. Dmg()
  1756. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0.2) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.8)
  1757. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-40), math.rad(30), math.rad(0)), 0.8)
  1758. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0.4)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(100)), 0.4)
  1759. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(40),math.rad(0)), 0.4)
  1760. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, -0.3)*CFrame.Angles(math.rad(100),math.rad(0),math.rad(-20)), 0.4)
  1761. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(20),math.rad(0)), 0.4)
  1762. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(40),0), 0.7)
  1763. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1764. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(-10), math.rad(-40), 0), 0.4)
  1765. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1766. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.7, -0.9, -0.4) * CFrame.Angles(math.rad(0), math.rad(40), math.rad(0)), 0.5)
  1767. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(-14), math.rad(0), math.rad(15)), 0.5)
  1768. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), 0.5)
  1769. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(-10)), 0.5)
  1770. if Debounces.on == false then break end
  1771. rs:wait()
  1772. end
  1773. Debounces.Slashing = false
  1774. end
  1775. function attacktwo()
  1776. Debounces.Slashing = true
  1777. for i = 1, 14 do
  1778. Dmg()
  1779. corw8.C0 = Lerp(corw8.C0, CFrame.new(-0.37, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 0.4)
  1780. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)), 0.4)
  1781. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(80)), 0.7)
  1782. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
  1783. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad (-70)), 0.5)
  1784. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
  1785. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-90), math.rad(0)), 0.5)
  1786. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1787. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -2) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.5)
  1788. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1789. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.5)
  1790. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  1791. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.5)
  1792. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  1793. if Debounces.on == false then
  1794. break
  1795. end
  1796. rs:wait()
  1797. end
  1798. end
  1799. ----------------------------------------------------
  1800.  
  1801. ----------------------------------------------------
  1802. definition = 5
  1803. bc = {}
  1804. bezierparts = {}
  1805. function NoOutline(Part)
  1806. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1807. end
  1808. function draw(p,d)
  1809. for i=1,d do
  1810. local t = i/d
  1811. bc[i] = p[1]*(1-t)^2+2*p[2]*(1-t)*t+p[3]*t^2
  1812. end
  1813.  
  1814. Spawn(function() fat.Event:wait()
  1815. for i,v in pairs(bezierparts) do
  1816. v.Transparency = 1
  1817. end
  1818. end)
  1819. end
  1820. --local points = {larm.Position,rarn.Position,invisipart.Position}
  1821. --draw(points,definition)
  1822.  
  1823. fat.Event:wait()
  1824.  
  1825. rpart = Instance.new("Part",rarm)
  1826. NoOutline(rpart)
  1827. rpart.Anchored = false
  1828. rpart.Size = Vector3.new(1,1,1)
  1829. rpart.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  1830. rpart.Transparency = 1
  1831. newWeld(rarm, rpart, 0, 0, 0)
  1832. rpart.Weld.C1 = CFrame.new(0, 1.1, 0)
  1833. lpart = Instance.new("Part",larm)
  1834. NoOutline(lpart)
  1835. lpart.Anchored = false
  1836. lpart.Size = Vector3.new(1,1,1)
  1837. lpart.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  1838. lpart.Transparency = 1
  1839. newWeld(larm, lpart, 0, 0, 0)
  1840. lpart.Weld.C1 = CFrame.new(0, 1.1, 0)
  1841. invisipart = Instance.new("Part",torso)
  1842. NoOutline(invisipart)
  1843. invisipart.Anchored = false
  1844. invisipart.Size = Vector3.new(1,1,1)
  1845. invisipart.Transparency = 1
  1846. invisipart.CFrame = torso.CFrame
  1847. newWeld(torso, invisipart, 0, 0, 0)
  1848. invisipart.Weld.C1 = CFrame.new(0, 0, 6)
  1849. table.insert(bezierparts, rpart)
  1850. table.insert(bezierparts, lpart)
  1851. table.insert(bezierparts, invisipart)
  1852. for i = 1, 40 do
  1853. local points = {lpart.Position,invisipart.Position,rpart.Position}
  1854. draw(points,definition)
  1855. --invisipart.Weld.C1 = invisipart.Weld.C1 + Vector3.new(0,0,0.6)
  1856. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.1)
  1857. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
  1858. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-90)), 0.1)
  1859. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
  1860. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0), math.rad(0)), 0.2)
  1861. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1862. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  1863. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1864. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(0), 0, math.rad(-10)), 0.2)
  1865. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  1866. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(0), 0, math.rad(10)), 0.2)
  1867. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  1868. if Debounces.on == false then
  1869. break
  1870. end
  1871. fat.Event:wait()
  1872. end
  1873. for i,v in pairs(bezierparts) do
  1874. v:Destroy()
  1875. end
  1876. --draw(points,definition)
  1877. if Debounces.CanAttack == false then
  1878. Debounces.CanAttack = true
  1879. Debounces.NoIdl = false
  1880. Debounces.on = false
  1881. end
  1882.  
  1883. ----------------------------------------------------
  1884. ----------------------------------------------------
  1885. pt = {6.6, 6.8, 7, 7.2, 7.4}
  1886. mouse.KeyDown:connect(function(key)
  1887. if key == "q" then
  1888. if Debounces.CanJoke == true then
  1889. Debounces.CanJoke = false
  1890. u = Instance.new("Sound",char)
  1891. u.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1892. u.Pitch = pt[math.random(1,#pt)]
  1893. u.Volume = 0.3
  1894. u2 = Instance.new("Sound",char)
  1895. u2.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1896. u2.Pitch = u.Pitch
  1897. u2.Volume = 0.3
  1898. u3 = Instance.new("Sound",char)
  1899. u3.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1900. u3.Pitch = u.Pitch
  1901. u3.Volume = 0.3
  1902. wait(.01)
  1903. u:Play()
  1904. u2:Play()
  1905. u3:Play()
  1906. wait(1.5)
  1907. u:Destroy()
  1908. u2:Destroy()
  1909. u3:Destroy()
  1910. if Debounces.CanJoke == false then
  1911. Debounces.CanJoke = true
  1912. end
  1913. end
  1914. end
  1915. end)
  1916. ----------------------------------------------------
  1917. ----------------------------------------------------
  1918. mouse.KeyDown:connect(function(key)
  1919. if key == "j" then
  1920. if Debounces.CanJoke == true then
  1921. Debounces.CanJoke = false
  1922. z = Instance.new("Sound",hed)
  1923. z.SoundId = "rbxassetid://415859013"
  1924. z.Pitch = pitches[math.random(1,#pitches)]
  1925. z.Volume = 1
  1926. wait()
  1927. z:Play()
  1928. wait(2)
  1929. z:Destroy()
  1930. if Debounces.CanJoke == false then
  1931. Debounces.CanJoke = true
  1932. end
  1933. end
  1934. end
  1935. end)
  1936.  
  1937. ----------------------------------------------------
  1938. Grab = true
  1939. mouse.KeyDown:connect(function(key)
  1940. if key == "e" then
  1941. Debounces.on = true
  1942. Debounces.NoIdl = true
  1943. Debounces.ks = true
  1944. if Grab == false then
  1945. gp = nil
  1946. for i = 1, 20 do
  1947. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
  1948. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1949. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-80)), 0.2)
  1950. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1951. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
  1952. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1953. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
  1954. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1955. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
  1956. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1957. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
  1958. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1959. if Debounces.on == false then break end
  1960. fat.Event:wait()
  1961. end
  1962. con1=larm.LeftArm.LeftArmPlate.Touched:connect(function(hit)
  1963. ht = hit.Parent
  1964. for i,v in pairs(ht:GetChildren()) do
  1965. if v:IsA("Part") then
  1966. v.CanCollide = false
  1967. v.CustomPhysicalProperties = PhysicalProperties.new(0.001,0.001,0.001,0.001,0.001)
  1968. end
  1969. end
  1970. hum1=ht:FindFirstChild('Humanoid')
  1971. if hum1 ~= nil then
  1972. if Debounces.ks==true then
  1973. z = Instance.new("Sound",hed)
  1974. z.SoundId = "rbxassetid://169380525"
  1975. z.Volume = 1
  1976. z:Play()
  1977. Debounces.ks=false
  1978. end
  1979. hum1.PlatformStand=true
  1980. hum1:ChangeState'Physics'
  1981. gp = ht
  1982. Grab = true
  1983. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,0.6),CFrame.new(0,0,0))
  1984. asd.Parent = larm
  1985. asd.Name = "asd"
  1986. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
  1987. stanceToggle = "Grabbed"
  1988. --[[elseif hum1 == nil then
  1989. con1:disconnect()
  1990. wait() return]]--
  1991. end
  1992. end)
  1993. for i = 1, 20 do
  1994. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
  1995. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1996. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.65,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2)
  1997. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1998. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.2)
  1999. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  2000. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
  2001. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  2002. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
  2003. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  2004. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
  2005. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  2006. if Debounces.on == false then break end
  2007. fat.Event:wait()
  2008. end
  2009. con1:disconnect()
  2010. Debounces.on = false
  2011. Debounces.NoIdl = false
  2012. elseif Grab == true then
  2013. Grab = false
  2014. --[[for i = 1, 16 do
  2015. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(60)), 0.3)
  2016. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.5)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-60)), 0.3)
  2017. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3)
  2018. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  2019. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3)
  2020. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
  2021. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3)
  2022. if Debounces.on == false then end
  2023. rs:wait()
  2024. end]]--
  2025. for i = 1, 16 do
  2026. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), 0.3)
  2027. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.5)
  2028. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(0)), 0.3)
  2029. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(60)), 0.5)
  2030. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
  2031. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  2032. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.3)
  2033. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  2034. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3)
  2035. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40)), 0.4)
  2036. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
  2037. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  2038. if Debounces.on == false then end
  2039. rs:wait()
  2040. end
  2041. for i = 1, 12 do
  2042. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.6)
  2043. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  2044. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.3,-0.1)*CFrame.Angles(math.rad(45),math.rad(0),math.rad(-32)), 0.6)
  2045. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  2046. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(40), math.rad(14)),0.6)
  2047. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  2048. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(0)), 0.6)
  2049. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(40),math.rad(0)), 0.5)
  2050. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.6)
  2051. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40)), 0.4)
  2052. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.4, .2, -0.8) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.6)
  2053. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)), 0.4)
  2054. if Debounces.on == false then end
  2055. rs:wait()
  2056. end
  2057. Slam()
  2058. if gp ~= nil then
  2059. for i,v in pairs(larm:GetChildren()) do
  2060. if v.Name == "asd" and v:IsA("Weld") then
  2061. v:Remove()
  2062. end
  2063. if v:IsA("Part") then
  2064. v.CanCollide = true
  2065. v.CustomPhysicalProperties = PhysicalProperties.new(1,1,1,1,1)
  2066. end
  2067. end
  2068. end
  2069. stanceToggle = "Idle1"
  2070. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  2071. bv.maxForce = Vector3.new(400000, 400000, 400000)
  2072. bv.P = 125000
  2073. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  2074. ht=nil
  2075. Debounces.on = false
  2076. Debounces.NoIdl = false
  2077. elseif ht == nil then wait()
  2078. Grab = false
  2079. Debounces.on = false
  2080. Debounces.NoIdl = false
  2081. end
  2082. end
  2083. end)
  2084. ----------------------------------------------------
  2085. Change = true
  2086. mouse.KeyDown:connect(function(key)
  2087. if key == "n" then
  2088. if Change == false then
  2089. Change = true
  2090. stanceToggle = "Idle2"
  2091. elseif Change == true then
  2092. Change = false
  2093. stanceToggle = "Idle1"
  2094. end
  2095. end
  2096. end)
  2097. ----------------------------------------------------
  2098. mouse.KeyDown:connect(function(key)
  2099. if string.byte(key) == 52 then
  2100. Swing = 2
  2101. char.Humanoid.WalkSpeed = 99
  2102. end
  2103. end)
  2104. mouse.KeyUp:connect(function(key)
  2105. if string.byte(key) == 52 then
  2106. Swing = 1
  2107. char.Humanoid.WalkSpeed = 99
  2108. end
  2109. end)
  2110. ----------------------------------------------------
  2111.  
  2112. jump = false
  2113. rs:connect(function()
  2114. if char.Humanoid.Jump == true then
  2115. jump = true
  2116. else
  2117. jump = false
  2118. end
  2119. char.Humanoid.FreeFalling:connect(function(f)
  2120. if f then
  2121. ffing = true
  2122. else
  2123. ffing = ftrue
  2124. end
  2125. end)
  2126. sine = sine + change
  2127. if jump == true then
  2128. animpose = "Jumping"
  2129. elseif ffing == true then
  2130. animpose = "Freefalling"
  2131. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  2132. animpose = "Idle"
  2133. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  2134. animpose = "Walking"
  2135. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  2136. animpose = "Running"
  2137. end
  2138. RightLeg = CFrame.new(0.5,-1,0)
  2139. LeftLeg = CFrame.new(-0.5,-1,0)
  2140.  
  2141. lefth = (torso.CFrame*LeftLeg)
  2142. righth = (torso.CFrame*RightLeg)
  2143.  
  2144. speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
  2145.  
  2146. TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
  2147.  
  2148. local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
  2149. local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
  2150. if animpose ~= lastanimpose then
  2151. sine = 0
  2152. if Debounces.NoIdl == false then
  2153. if stanceToggle == "Idle1" then
  2154. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0.2)*CFrame.Angles(math.rad(-12-4*math.cos(sine/22)),math.rad(-12-2*math.cos(sine/22)),math.rad(12+2*math.cos(sine/22))), 0.3)
  2155. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,-0.2)*CFrame.Angles(math.rad(20+4*math.cos(sine/22)),math.rad(-22-2*math.cos(sine/22)),math.rad(-15-2*math.cos(sine/22))), 0.3)
  2156. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-12+2.5*math.cos(sine/22)),math.rad(0),math.rad(0)), 0.2)
  2157. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-2+2*math.cos(sine/22)), math.rad(0), 0), 0.2)
  2158. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(5), math.rad(-5)), 0.2)
  2159. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(-5), math.rad(5)), 0.2)
  2160. elseif stanceToggle == "Idle2" then
  2161. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0.2)*CFrame.Angles(math.rad(-22-4*math.cos(sine/12)),math.rad(-40-2*math.cos(sine/12)),math.rad(24+2*math.cos(sine/12))), 0.3)
  2162. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.6,-0.6)*CFrame.Angles(math.rad(90+4*math.cos(sine/12)),math.rad(0),math.rad(50-2*math.cos(sine/12))), 0.3)
  2163. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-6+2.5*math.cos(sine/12)),math.rad(0),math.rad(0)), 0.2)
  2164. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20+2*math.cos(sine/12)), math.rad(0), 0), 0.2)
  2165. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.4, -1) * CFrame.Angles(math.rad(-7-2*math.cos(sine/12)), math.rad(7), math.rad(-5)), 0.2)
  2166. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.8, -0.2) * CFrame.Angles(math.rad(-30-2*math.cos(sine/12)), math.rad(-9), math.rad(5)), 0.2)
  2167. end
  2168. fat.Event:wait()
  2169. end
  2170. else
  2171. end
  2172. lastanimpose = animpose
  2173. if Debounces.NoIdl == false then
  2174. if animpose == "Idle" then
  2175. change = 0.5
  2176. if stanceToggle == "Idle1" then
  2177. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8+2*math.cos(sine/14))), 0.4)
  2178. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8-2*math.cos(sine/14))), 0.4)
  2179. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  2180. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
  2181. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  2182. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  2183. elseif stanceToggle == "Idle2" then
  2184.  
  2185. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2186. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65-0.1*math.cos(sine/3),0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20-2*math.cos(sine/3))), 0.1)
  2187. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
  2188. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.23, 0.5, -.56) * CFrame.Angles(math.rad(88+4*math.cos(sine/3)), 0, math.rad(45)), 0.6)
  2189. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
  2190. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2-0.05*math.cos(sine/3), 0) * CFrame.Angles(math.rad(-10+2*math.cos(sine/6)), 0, 0), 0.8)
  2191. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  2192. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  2193. --hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-5-10*math.cos(sine/18)), math.sin(sine/36)/3, 0), 0.3)
  2194. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  2195. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.15) * CFrame.Angles(math.rad(-9-2*math.cos(sine/6)), 0, 0), 0.8)
  2196. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1-0.1*math.cos(sine/3), 0+0.04*math.cos(sine/6)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), 0.8)
  2197. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56-2*math.cos(sine/6)), 0, 0), 0.8)
  2198. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1-0.05*math.cos(sine/3), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), 0.8)
  2199. elseif stanceToggle == "Grabbed" then
  2200. grab = true
  2201. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2202. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2203. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2)
  2204. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0,0.5, 0)*CFrame.Angles(math.rad(0), math.rad(0),math.rad(0)), 0.2)
  2205. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),-.5)*CFrame.Angles(math.rad(90+4*math.cos(sine/14)),math.rad(0),math.rad(-80+4*math.cos(sine/14))), 0.3)
  2206. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0,0.5, 0)*CFrame.Angles(math.rad(0), math.rad(0),math.rad(0)), 0.2)
  2207. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14+2*math.cos(sine/14)),math.rad(70-4*math.cos(sine/14)),0), 0.3)
  2208. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  2209. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  2210. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  2211. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3)
  2212. lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  2213. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
  2214. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  2215. end
  2216. elseif animpose == "Walking" then
  2217. if stanceToggle == "Grabbed" then
  2218. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2219. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2220. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/2), math.sin(sine/4)/4) * CFrame.Angles(-math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(10+7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4)
  2221. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
  2222. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(120+4*math.cos(sine/2)),math.rad(0),math.rad(-30+4*math.cos(sine/4))), 0.3)
  2223. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0,0.5, 0)*CFrame.Angles(math.rad(0), math.rad(0),math.rad(0)), 0.2)
  2224. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.1*math.cos(sine/2))*CFrame.Angles(math.rad(-10+4*math.cos(sine/2)), math.rad(0-8*math.cos(sine/4)/2.3), math.rad(0)),0.4)
  2225. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.7)
  2226. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.12*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/2)), math.rad(0+10*math.cos(sine/4)/2.3)+root.RotVelocity.Y/30, math.rad(0)+root.RotVelocity.Y/30), 0.4)
  2227. --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
  2228. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  2229. lleg.Weld.C0 = lleg.Weld.C0:lerp(CFrame.new(-0.5,-1-math.cos(sine/4)*.3,0+math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*AngleThetaL.Z,AngleThetaL.X,(math.sin(sine/4)*3*-AngleThetaL.X)-root.RotVelocity.Y/20),0.8)
  2230. lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  2231. rleg.Weld.C0 = rleg.Weld.C0:lerp(CFrame.new(0.5,-1+math.cos(sine/4)*.3,0-math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*-AngleThetaR.Z,AngleThetaR.X,(math.sin(sine/4)*3*AngleThetaR.X)-root.RotVelocity.Y/20),0.8)
  2232. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  2233. elseif stanceToggle ~= "Grabbed" then
  2234. change = 1
  2235. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2236. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2237.  
  2238. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/2), math.sin(sine/4)/4) * CFrame.Angles(-math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(10+7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4)
  2239. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
  2240. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5+.05*math.cos(sine/2), -math.sin(sine/4)/4)*CFrame.Angles(math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(-10-7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4)
  2241. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
  2242. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.1*math.cos(sine/2))*CFrame.Angles(math.rad(-10+4*math.cos(sine/2)), math.rad(0-8*math.cos(sine/4)/2.3), math.rad(0)),0.4)
  2243. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.7)
  2244. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.12*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/2)), math.rad(0+10*math.cos(sine/4)/2.3)+root.RotVelocity.Y/30, math.rad(0)+root.RotVelocity.Y/30), 0.4)
  2245. --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
  2246. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  2247. --lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.9-0.24*math.cos(sine/4)/2.8, -0.05 + math.sin(sine/4)/3.4) * CFrame.Angles(math.rad(-5)-math.sin(sine/4)/2.1, math.rad(0-10*math.cos(sine/4)/2.3), 0-root.RotVelocity.Y/20), .4)
  2248. lleg.Weld.C0 = lleg.Weld.C0:lerp(CFrame.new(-0.5,-1-math.cos(sine/4)*.3,0+math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*AngleThetaL.Z,AngleThetaL.X,(math.sin(sine/4)*3*-AngleThetaL.X)-root.RotVelocity.Y/20),0.8)
  2249. lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  2250. --rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.9+0.24*math.cos(sine/4)/2.8, -0.05 + -math.sin(sine/4)/3.4) * CFrame.Angles(math.rad(-5)+math.sin(sine/4)/2.1, math.rad(0-10*math.cos(sine/4)/2.3), 0-root.RotVelocity.Y/20), .4)
  2251. rleg.Weld.C0 = rleg.Weld.C0:lerp(CFrame.new(0.5,-1+math.cos(sine/4)*.3,0-math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*-AngleThetaR.Z,AngleThetaR.X,(math.sin(sine/4)*3*AngleThetaR.X)-root.RotVelocity.Y/20),0.8)
  2252. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  2253. end
  2254. elseif animpose == "Running" then
  2255. change = 1
  2256. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15)
  2257. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(- 80), math.rad(0), 0), 0.15)
  2258. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15)
  2259. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15)
  2260. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15)
  2261. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15)
  2262. elseif animpose == "Jumping" then
  2263.  
  2264. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2265. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2266. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(20)), 0.2)
  2267. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36)
  2268. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-20)), 0.2)
  2269. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  2270. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),math.rad(0),0), 0.2)
  2271. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  2272. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  2273. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  2274. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  2275. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  2276. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  2277. elseif animpose == "Freefalling" then
  2278.  
  2279. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2280. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2281. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0)*CFrame.Angles(math.rad(-40),math.rad(20),math.rad(50)), 0.2)
  2282. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36)
  2283. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0)*CFrame.Angles(math.rad(110),math.rad(-20),math.rad(-30)), 0.2)
  2284. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  2285. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),math.rad(0),0), 0.2)
  2286. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.2)
  2287. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  2288. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.5, 0.2) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.2)
  2289. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  2290. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.5, -0.6) * CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)), 0.2)
  2291. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  2292. end
  2293. end
  2294. end)
  2295. hum.MaxHealth = math.huge
  2296. wait(3)
  2297. hum.Health = math.huge
  2298. -------------------------------------------------------
  2299. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  2300. --[[Part0 = Vector3 (Start pos)
  2301. Part1 = Vector3 (End pos)
  2302. Times = 3 (Amount of lightning parts)
  2303. Offset = number (Offset)
  2304. Color = color (brickcolor value)
  2305. Thickness = number (thickness)
  2306. Trans = 0.5 (transparency)
  2307. ]]--
  2308. local magz = (Part0 - Part1).magnitude
  2309. local curpos = Part0
  2310. local trz = {-Offset,Offset}
  2311. for i=1,Times do
  2312. local li = Instance.new("Part", torso)
  2313. li.Name = "Lightning"
  2314. li.TopSurface =0
  2315. li.Material = "Neon"
  2316. li.BottomSurface = 0
  2317. li.Anchored = true
  2318. li.Locked = true
  2319. li.Transparency = Trans or 0.4
  2320. li.BrickColor = BrickColor.new(Color)
  2321. li.formFactor = "Custom"
  2322. li.CanCollide = false
  2323. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  2324. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  2325. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  2326. if Times == i then
  2327. local magz2 = (curpos - Part1).magnitude
  2328. li.Size = Vector3.new(Thickness,Thickness,magz2)
  2329. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  2330. else
  2331. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  2332. end
  2333. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  2334. game.Debris:AddItem(li,.1)
  2335. end
  2336. end
  2337.  
  2338. BodyParts = {} -- Parts to emit lightning effects from
  2339. for _, v in pairs(char:GetChildren()) do
  2340. if v:IsA("Part") then
  2341. table.insert(BodyParts, v)
  2342. end
  2343. end
  2344.  
  2345. Bounding = {} -- Calculate the bounding boxes
  2346. for _, v in pairs(BodyParts) do
  2347. local temp = {X=nil, Y=nil, Z=nil}
  2348. temp.X = v.Size.X/2 * 15
  2349. temp.Y = v.Size.Y/2 * 15
  2350. temp.Z = v.Size.Z/2 * 15
  2351. Bounding[v.Name] = temp
  2352. --table.insert(Bounding, v.Name, temp)
  2353. end
  2354.  
  2355. while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly
  2356. local Body1 = BodyParts[math.random(#BodyParts)]
  2357. local Body2 = BodyParts[math.random(#BodyParts)]
  2358. local Pos1 = Vector3.new(
  2359. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
  2360. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
  2361. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
  2362. )
  2363. local Pos2 = Vector3.new(
  2364. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
  2365. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
  2366. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
  2367. )
  2368. local SPos1 = Body1.Position + Pos1
  2369. local SPos2 = Body2.Position + Pos2
  2370. Lightning(SPos1, SPos2, 4, 3, "Crimson", .3, .56)
  2371. end
  2372. -------------------------------------------------------
  2373. function Lightning2(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  2374. --[[Part0 = Vector3 (Start pos)
  2375. Part1 = Vector3 (End pos)
  2376. Times = 3 (Amount of lightning parts)
  2377. Offset = number (Offset)
  2378. Color = color (brickcolor value)
  2379. Thickness = number (thickness)
  2380. Trans = 0.5 (transparency)
  2381. ]]--
  2382. local magz = (Part0 - Part1).magnitude
  2383. local curpos = Part0
  2384. local trz = {-Offset,Offset}
  2385. for i=1,Times do
  2386. local li = Instance.new("Part", torso)
  2387. li.Name = "Lightning"
  2388. li.TopSurface =0
  2389. li.Material = "Neon"
  2390. li.BottomSurface = 0
  2391. li.Anchored = true
  2392. li.Locked = true
  2393. li.Transparency = Trans or 0.4
  2394. li.BrickColor = BrickColor.new(Color)
  2395. li.formFactor = "Custom"
  2396. li.CanCollide = false
  2397. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  2398. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  2399. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  2400. if Times == i then
  2401. local magz2 = (curpos - Part1).magnitude
  2402. li.Size = Vector3.new(Thickness,Thickness,magz2)
  2403. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  2404. else
  2405. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  2406. end
  2407. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  2408. game.Debris:AddItem(li,.1)
  2409. end
  2410. end
  2411.  
  2412. BodyParts = {} -- Parts to emit lightning effects from
  2413. for _, v in pairs(char:GetChildren()) do
  2414. if v:IsA("Part") then
  2415. table.insert(BodyParts, v)
  2416. end
  2417. end
  2418.  
  2419. Bounding = {} -- Calculate the bounding boxes
  2420. for _, v in pairs(BodyParts) do
  2421. local temp = {X=nil, Y=nil, Z=nil}
  2422. temp.X = v.Size.X/2 * 15
  2423. temp.Y = v.Size.Y/2 * 15
  2424. temp.Z = v.Size.Z/2 * 15
  2425. Bounding[v.Name] = temp
  2426. --table.insert(Bounding, v.Name, temp)
  2427. end
  2428.  
  2429. while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly
  2430. local Body1 = BodyParts[math.random(#BodyParts)]
  2431. local Body2 = BodyParts[math.random(#BodyParts)]
  2432. local Pos1 = Vector3.new(
  2433. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
  2434. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
  2435. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
  2436. )
  2437. local Pos2 = Vector3.new(
  2438. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
  2439. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
  2440. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
  2441. )
  2442. local SPos1 = Body1.Position + Pos1
  2443. local SPos2 = Body2.Position + Pos2
  2444. Lightning(SPos1, SPos2, 4, 3, "Crimson", .3, .56)
  2445. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement