cooldude78_cool

oof

Apr 4th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 82.64 KB | None | 0 0
  1. Player=game:GetService("Players").LocalPlayer
  2. Character=Player.Character
  3. char = Character
  4. local ban = Instance.new("Sound",char.Torso)
  5. ban.SoundId = "rbxassetid://147722910"
  6. ban.Volume = 10
  7. ban:Play()
  8. local ban2 = Instance.new("Sound", char)
  9. ban2.SoundId = "rbxassetid://1206810614"
  10. ban2.Volume = 5
  11. ban2.Looped = true
  12. ban2.Pitch = 1
  13. ban2:Play()
  14. local banh = Instance.new("Part",char)
  15. banh.Name = "BAN!"
  16. banh.Size = Vector3.new(1, 5.2, 1)
  17. banh.CanCollide = false
  18. local banm = Instance.new("FileMesh",banh)
  19. banm.MeshId = "http://www.roblox.com/asset/?id=10604848"
  20. banm.TextureId = "http://www.roblox.com/asset/?id=10605252"
  21. banm.Scale = Vector3.new(0.5,0.5,0.5)
  22. local banw = Instance.new("Weld",banh)
  23. banw.Part0 = banh
  24. banw.Part1 = char["Right Arm"]
  25. banw.C0 = CFrame.new(0.0185670853, -1.69550169, -1.06726038, -0.997520506, 0.00503299711, 0.0701959729, -0.0702080429, -0.00226099929, -0.997529864, -0.00486185262, -0.999984622, 0.00260874978)
  26. PlayerGui=Player.PlayerGui
  27. Backpack=Player.Backpack
  28. Torso=Character.Torso
  29. Head=Character.Head
  30. Humanoid=Character.Humanoid
  31. m=Instance.new('Model',Character)
  32. LeftArm=Character["Left Arm"]
  33. LeftLeg=Character["Left Leg"]
  34. RightArm=Character["Right Arm"]
  35. RightLeg=Character["Right Leg"]
  36. LS=Torso["Left Shoulder"]
  37. LH=Torso["Left Hip"]
  38. RS=Torso["Right Shoulder"]
  39. RH=Torso["Right Hip"]
  40. Face = Head.face
  41. Neck=Torso.Neck
  42. it=Instance.new
  43. attacktype=1
  44. vt=Vector3.new
  45. cf=CFrame.new
  46. euler=CFrame.fromEulerAnglesXYZ
  47. angles=CFrame.Angles
  48. cloaked=false
  49. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  50. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  51. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  52. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  53. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  54. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  55. RootPart=Character.HumanoidRootPart
  56. RootJoint=RootPart.RootJoint
  57. RootCF=euler(-1.57,0,3.14)
  58. attack = false
  59. attackdebounce = false
  60. deb=false
  61. equipped=true
  62. hand=false
  63. MMouse=nil
  64. combo=0
  65. mana=0
  66. trispeed=1
  67. pathtrans=.7
  68. attackmode='none'
  69. local idle=0
  70. local Anim="Idle"
  71. local Effects={}
  72. local gun=false
  73. local shoot=false
  74. player=nil
  75. cloak=false
  76. lightcolor='Bright blue'
  77.  
  78. local Color1=Torso.BrickColor
  79.  
  80.  
  81. mouse=Player:GetMouse()
  82. --save shoulders
  83. RSH, LSH=nil, nil
  84. --welds
  85. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  86. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  87. LH=Torso["Left Hip"]
  88. RH=Torso["Right Hip"]
  89. TorsoColor=Torso.BrickColor
  90. function NoOutline(Part)
  91. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  92. end
  93.  
  94.  
  95.  
  96. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  97. local fp=it("Part")
  98. fp.formFactor=formfactor
  99. fp.Parent=parent
  100. fp.Reflectance=reflectance
  101. fp.Transparency=transparency
  102. fp.CanCollide=false
  103. fp.Locked=true
  104. fp.BrickColor=brickcolor
  105. fp.Name=name
  106. fp.Size=size
  107. fp.Position=Torso.Position
  108. NoOutline(fp)
  109. fp.Material="SmoothPlastic"
  110. fp:BreakJoints()
  111. return fp
  112. end
  113.  
  114. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  115. local mesh=it(Mesh)
  116. mesh.Parent=part
  117. if Mesh=="SpecialMesh" then
  118. mesh.MeshType=meshtype
  119. if meshid~="nil" then
  120. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  121. end
  122. end
  123. mesh.Offset=offset
  124. mesh.Scale=scale
  125. return mesh
  126. end
  127.  
  128. function weld(parent,part0,part1,c0)
  129. local weld=it("Weld")
  130. weld.Parent=parent
  131. weld.Part0=part0
  132. weld.Part1=part1
  133. weld.C0=c0
  134. return weld
  135. end
  136.  
  137. local Color1=Torso.BrickColor
  138.  
  139.  
  140.  
  141.  
  142.  
  143. Player=game:GetService('Players').LocalPlayer
  144. Character=Player.Character
  145. Mouse=Player:GetMouse()
  146. m=Instance.new('Model',Character)
  147.  
  148.  
  149. local function weldBetween(a, b)
  150. local weldd = Instance.new("ManualWeld")
  151. weldd.Part0 = a
  152. weldd.Part1 = b
  153. weldd.C0 = CFrame.new()
  154. weldd.C1 = b.CFrame:inverse() * a.CFrame
  155. weldd.Parent = a
  156. return weldd
  157. end
  158.  
  159. it=Instance.new
  160.  
  161. function nooutline(part)
  162. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  163. end
  164.  
  165. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  166. local fp=it("Part")
  167. fp.formFactor=formfactor
  168. fp.Parent=parent
  169. fp.Reflectance=reflectance
  170. fp.Transparency=transparency
  171. fp.CanCollide=false
  172. fp.Locked=true
  173. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  174. fp.Name=name
  175. fp.Size=size
  176. fp.Position=Character.Torso.Position
  177. nooutline(fp)
  178. fp.Material=material
  179. fp:BreakJoints()
  180. return fp
  181. end
  182.  
  183. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  184. local mesh=it(Mesh)
  185. mesh.Parent=part
  186. if Mesh=="SpecialMesh" then
  187. mesh.MeshType=meshtype
  188. mesh.MeshId=meshid
  189. end
  190. mesh.Offset=offset
  191. mesh.Scale=scale
  192. return mesh
  193. end
  194.  
  195. function weld(parent,part0,part1,c0,c1)
  196. local weld=it("Weld")
  197. weld.Parent=parent
  198. weld.Part0=part0
  199. weld.Part1=part1
  200. weld.C0=c0
  201. weld.C1=c1
  202. return weld
  203. end
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213. --------------------------------
  214. local p = game.Players.LocalPlayer
  215. local char = p.Character
  216. local mouse = p:GetMouse()
  217. local larm = char["Left Arm"]
  218. local rarm = char["Right Arm"]
  219. local lleg = char["Left Leg"]
  220. local rleg = char["Right Leg"]
  221. local hed = char.Head
  222. local torso = char.Torso
  223. local hum = char.Humanoid
  224. local cam = game.Workspace.CurrentCamera
  225. local root = char.HumanoidRootPart
  226. local deb = false
  227. local shot = 0
  228. local debris=game:service"Debris"
  229. local l = game:GetService("Lighting")
  230. local rs = game:GetService("RunService").RenderStepped
  231. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  232. math.randomseed(os.time())
  233. for i,v in pairs(char:children()) do
  234. if v:IsA("Hat") then
  235. v:Destroy()
  236. end
  237. end
  238. for i,v in pairs (hed:GetChildren()) do
  239. if v:IsA("Sound") then
  240. v:Destroy()
  241. end
  242. end
  243. ----------------------------------------------------
  244. z = Instance.new("Sound", torso)
  245. z.SoundId = "rbxassetid://506033751" -- Put Music ID Here.
  246. z.Looped = true
  247. z.Volume = 1
  248. wait(.1)
  249. z:Play()
  250. -----------------------------------------------------
  251. Debounces = {
  252. CanAttack = true;
  253. NoIdl = false;
  254. Slashing = false;
  255. Slashed = false;
  256. RPunch = false;
  257. RPunched = false;
  258. LPunch = false;
  259. LPunched = false;
  260. }
  261. local Touche = {char.Name, }
  262. ----------------------------------------------------
  263. ----------------------------------------------------
  264. ----------------------------------------------------
  265. local LocalPlayer = game:GetService("Players").LocalPlayer
  266. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
  267.  
  268.  
  269. local LocalPlayer = game:GetService("Players").LocalPlayer
  270. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
  271.  
  272. Character.Head.Transparency = 0
  273.  
  274. local Camisa = Instance.new("Part", Character)
  275. Camisa.Name = "Camisa"
  276.  
  277. Camisa.CanCollide = false
  278. Camisa.BrickColor = BrickColor.new("Institutional white")
  279. Camisa.Transparency = 1
  280. Camisa.Material = "Plastic"
  281. Camisa.Size = Vector3.new(1.5, 1.5, 1)
  282.  
  283. local Weld = Instance.new("Weld", Camisa)
  284. Weld.Part0 = Character.Torso
  285. Weld.Part1 = Camisa
  286. Weld.C1 = CFrame.new(0, 0, 0)
  287. ----------------------------------------
  288. local p = game.Players.LocalPlayer
  289. local char = p.Character
  290. local mouse = p:GetMouse()
  291. local larm = char["Left Arm"]
  292. local rarm = char["Right Arm"]
  293. local lleg = char["Left Leg"]
  294. local rleg = char["Right Leg"]
  295. local hed = char.Head
  296. local torso = char.Torso
  297. local hum = char.Humanoid
  298. local cam = game.Workspace.CurrentCamera
  299. local root = char.HumanoidRootPart
  300. local rj = root.RootJoint
  301. local deb = false
  302. local shot = 0
  303. local stanceToggle = "Idle1"
  304. local l = game:GetService("Lighting")
  305. local rs = game:GetService("RunService").RenderStepped
  306. local hb = game:GetService("RunService").Heartbeat
  307. local Stepped = game:GetService("RunService").Stepped
  308. math.randomseed(os.time())
  309. hum.JumpPower = 100
  310. ----------------------------------------------------
  311. fat = Instance.new("BindableEvent",script)
  312. fat.Name = "Heartbeat"
  313.  
  314. script:WaitForChild("Heartbeat")
  315.  
  316. frame = 1/30
  317. tf = 0
  318. 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.
  319. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  320. lastframe = tick()
  321. script.Heartbeat:Fire() --ayy lmao
  322.  
  323. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  324. tf = tf + s
  325. if tf >= frame then
  326. if allowframeloss then
  327. script.Heartbeat:Fire()
  328. lastframe=tick()
  329. else
  330. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  331. for i=1, math.floor(tf/frame) do
  332. script.Heartbeat:Fire()
  333. end
  334. lastframe=tick()
  335. end
  336. if tossremainder then
  337. tf = 0
  338. else
  339. tf = tf - frame * math.floor(tf/frame)
  340. end
  341. end
  342. end)
  343. ----------------------------------------------------
  344. for i,v in pairs(char:children()) do
  345. if v:IsA("Hat") then
  346. v:Destroy()
  347. end
  348. end
  349. for i,v in pairs (hed:GetChildren()) do
  350. if v:IsA("Sound") then
  351. v:Destroy()
  352. end
  353. end
  354. ----------------------------------------------------
  355. Debounces = {
  356. CanAttack = true;
  357. CanJoke = true;
  358. NoIdl = false;
  359. Slashing = false;
  360. Slashed = false;
  361. ks = false;
  362. }
  363. ----------------------------------------------------
  364. function weld5(part0, part1, c0, c1)
  365. weeld=Instance.new("Weld", part0)
  366. weeld.Part0=part0
  367. weeld.Part1=part1
  368. weeld.C0=c0
  369. weeld.C1=c1
  370. return weeld
  371. end
  372. ----------------------------------------------------
  373. function NewPart(prnt,siz,cf,trans,anc,mat,col)
  374. local prt=Instance.new("Part")
  375. prt.Parent=prnt
  376. prt.Name="Part"
  377. prt.Size=siz
  378. prt.CanCollide=false
  379. prt.Anchored=anc
  380. prt.Locked=true
  381. prt.Transparency = trans
  382. prt.TopSurface=10
  383. prt.BottomSurface=10
  384. prt.FrontSurface=10
  385. prt.BackSurface=10
  386. prt.LeftSurface=10
  387. prt.RightSurface=10
  388. prt:BreakJoints()
  389. prt.CFrame=cf or CFrame.new(30,10,30)
  390. prt.Material=mat
  391. prt.BrickColor=BrickColor.new(col)
  392. m=Instance.new("SpecialMesh",prt)
  393. m.MeshType=6
  394. return prt
  395. end
  396. ----------------------------------------------------
  397. function lerp(a, b, t) -- Linear interpolation
  398. return a + (b - a)*t
  399. end
  400.  
  401. function slerp(a, b, t) --Spherical interpolation
  402. dot = a:Dot(b)
  403. if dot > 0.99999 or dot < -0.99999 then
  404. return t <= 0.5 and a or b
  405. else
  406. r = math.acos(dot)
  407. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  408. end
  409. end
  410.  
  411. function matrixInterpolate(a, b, t)
  412. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  413. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  414. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  415. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  416. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  417. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  418. local t = v1:Dot(v2)
  419. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  420. return CFrame.new()
  421. end
  422. return CFrame.new(
  423. v0.x, v0.y, v0.z,
  424. v1.x, v1.y, v1.z,
  425. v2.x, v2.y, v2.z,
  426. v3.x, v3.y, v3.z)
  427. end
  428. ----------------------------------------------------
  429. function genWeld(a,b)
  430. local w = Instance.new("Weld",a)
  431. w.Part0 = a
  432. w.Part1 = b
  433. return w
  434. end
  435. function weld(a, b)
  436. local weld = Instance.new("Weld")
  437. weld.Name = "W"
  438. weld.Part0 = a
  439. weld.Part1 = b
  440. weld.C0 = a.CFrame:inverse() * b.CFrame
  441. weld.Parent = a
  442. return weld;
  443. end
  444. ----------------------------------------------------
  445. function Lerp(c1,c2,al)
  446. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  447. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  448. for i,v in pairs(com1) do
  449. com1[i] = v+(com2[i]-v)*al
  450. end
  451. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  452. end
  453. ----------------------------------------------------
  454. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  455. local wld = Instance.new("Weld", wp1)
  456. wld.Part0 = wp0
  457. wld.Part1 = wp1
  458. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  459. end
  460. ----------------------------------------------------
  461. newWeld(torso, larm, -1.5, 0.5, 0)
  462. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  463. newWeld(torso, rarm, 1.5, 0.5, 0)
  464. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  465. newWeld(torso, hed, 0, 1.5, 0)
  466. newWeld(torso, lleg, -0.5, -1, 0)
  467. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  468. newWeld(torso, rleg, 0.5, -1, 0)
  469. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  470. newWeld(root, torso, 0, -1, 0)
  471. torso.Weld.C1 = CFrame.new(0, -1, 0)
  472. ----------------------------------------------------
  473. z = Instance.new("Sound",char) --Smile: print("â?º")
  474. z.SoundId = "rbxassetid://0"--410761150, 411368002
  475. z.Looped = true
  476. z.Pitch = 1
  477. z.Volume = 1
  478. wait(0.1)
  479. z:Play()
  480. ----------------------------------------------------
  481. New = function(Object, Parent, Name, Data)
  482. local Object = Instance.new(Object)
  483. for Index, Value in pairs(Data or {}) do
  484. Object[Index] = Value
  485. end
  486. Object.Parent = Parent
  487. Object.Name = Name
  488. return Object
  489. end
  490. ----------------------------------------------------
  491. --Left Arm
  492. m = Instance.new("Model")
  493. m.Name = "LeftArm"
  494.  
  495. p4 = Instance.new("Part", m)
  496. p4.BrickColor = BrickColor.new("Really black")
  497. p4.Material = Enum.Material.SmoothPlastic
  498. p4.Name = "LeftArmPlate"
  499. p4.Size = Vector3.new(1, 2, 1)
  500. p4.Transparency = 1
  501. p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  502. p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  503. p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  504. p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  505. p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  506. p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  507. b4 = Instance.new("SpecialMesh", p4)
  508. b4.MeshType = Enum.MeshType.Brick
  509. b4.Name = "Mesh"
  510. b4.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  511.  
  512.  
  513.  
  514.  
  515.  
  516. w1 = Instance.new("Weld", p1)
  517. w1.Name = "Part_Weld"
  518. w1.Part0 = p1
  519. w1.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  520. w1.Part1 = p2
  521. w1.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  522. w2 = Instance.new("Weld", p2)
  523. w2.Name = "Part_Weld"
  524. w2.Part0 = p2
  525. w2.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  526. w2.Part1 = p3
  527. w2.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  528. w3 = Instance.new("Weld", p3)
  529. w3.Name = "LeftArmPlate_Weld"
  530. w3.Part0 = p3
  531. w3.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  532. w3.Part1 = p4
  533. w3.C1 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  534. w4 = Instance.new("Weld", p4)
  535. w4.Name = "Part_Weld"
  536. w4.Part0 = p4
  537. w4.C0 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  538. w4.Part1 = p5
  539. w4.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  540. w5 = Instance.new("Weld", p5)
  541. w5.Name = "Part_Weld"
  542. w5.Part0 = p5
  543. w5.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  544. w5.Part1 = p6
  545. w5.C1 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  546. w6 = Instance.new("Weld", p6)
  547. w6.Name = "Part_Weld"
  548. w6.Part0 = p6
  549. w6.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  550. w6.Part1 = p7
  551. w6.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  552. w7 = Instance.new("Weld", p7)
  553. w7.Name = "Part_Weld"
  554. w7.Part0 = p7
  555. w7.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  556. w7.Part1 = p8
  557. w7.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  558. w8 = Instance.new("Weld", p8)
  559. w8.Name = "Part_Weld"
  560. w8.Part0 = p8
  561. w8.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  562. w8.Part1 = p9
  563. w8.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  564. w9 = Instance.new("Weld", p9)
  565. w9.Name = "Part_Weld"
  566. w9.Part0 = p9
  567. w9.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  568. w9.Part1 = p10
  569. w9.C1 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  570. w10 = Instance.new("Weld", p10)
  571. w10.Name = "Part_Weld"
  572. w10.Part0 = p10
  573. w10.C0 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  574. w10.Part1 = p11
  575. w10.C1 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  576. w11 = Instance.new("Weld", p11)
  577. w11.Name = "Part_Weld"
  578. w11.Part0 = p11
  579. w11.C0 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  580. w11.Part1 = p12
  581. w11.C1 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  582. w12 = Instance.new("Weld", p12)
  583. w12.Name = "Part_Weld"
  584. w12.Part0 = p12
  585. w12.C0 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  586. w12.Part1 = p13
  587. w12.C1 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  588. w13 = Instance.new("Weld", p13)
  589. w13.Name = "Part_Weld"
  590. w13.Part0 = p13
  591. w13.C0 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  592. w13.Part1 = p14
  593. w13.C1 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  594. w14 = Instance.new("Weld", p14)
  595. w14.Name = "Part_Weld"
  596. w14.Part0 = p14
  597. w14.C0 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  598. w14.Part1 = p15
  599. w14.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  600. w15 = Instance.new("Weld", p15)
  601. w15.Name = "Part_Weld"
  602. w15.Part0 = p15
  603. w15.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  604. w15.Part1 = p16
  605. 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)
  606.  
  607. m.Parent = larm
  608. m:MakeJoints()
  609. ----------------------------------------------------
  610. local cor = Instance.new("Part", larm.LeftArm)
  611. cor.Name = "Thingy"
  612. cor.Locked = true
  613. cor.BottomSurface = 0
  614. cor.CanCollide = false
  615. cor.Size = Vector3.new(1, 1, 1)
  616. cor.Transparency = 1
  617. cor.TopSurface = 0
  618. corw = Instance.new("Weld", cor)
  619. corw.Part0 = larm
  620. corw.Part1 = cor
  621. corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  622. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  623. weld1 = Instance.new("Weld", larm.LeftArm)
  624. weld1.Part0 = cor
  625. weld1.Part1 = larm.LeftArm.LeftArmPlate
  626. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  627. --Right Arm
  628. m2 = Instance.new("Model")
  629. m2.Name = "RightArm"
  630.  
  631. p7 = Instance.new("Part", m2)
  632. p7.BrickColor = BrickColor.new("Institutional white")
  633. p7.Material = Enum.Material.SmoothPlastic
  634. p7.Transparency = 1
  635. p7.Name = "RightArmPlate"
  636. p7.CFrame = CFrame.new(3.5, -9.54201603, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  637. p7.FormFactor = Enum.FormFactor.Symmetric
  638. p7.Size = Vector3.new(1, 2, 1)
  639. p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  640. p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  641. p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  642. p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  643. p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  644. p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  645. b7 = Instance.new("SpecialMesh", p7)
  646. b7.MeshType = Enum.MeshType.Brick
  647. b7.Name = "Mesh"
  648. b7.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  649.  
  650.  
  651. w1 = Instance.new("Weld", p1)
  652. w1.Name = "Part_Weld"
  653. w1.Part0 = p1
  654. w1.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  655. w1.Part1 = p2
  656. w1.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  657. w2 = Instance.new("Weld", p2)
  658. w2.Name = "Part_Weld"
  659. w2.Part0 = p2
  660. w2.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  661. w2.Part1 = p3
  662. w2.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  663. w3 = Instance.new("Weld", p3)
  664. w3.Name = "Part_Weld"
  665. w3.Part0 = p3
  666. w3.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  667. w3.Part1 = p4
  668. w3.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  669. w4 = Instance.new("Weld", p4)
  670. w4.Name = "Part_Weld"
  671. w4.Part0 = p4
  672. w4.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  673. w4.Part1 = p5
  674. w4.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  675. w5 = Instance.new("Weld", p5)
  676. w5.Name = "Part_Weld"
  677. w5.Part0 = p5
  678. w5.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  679. w5.Part1 = p6
  680. w5.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  681. w6 = Instance.new("Weld", p6)
  682. w6.Name = "RightArmPlate_Weld"
  683. w6.Part0 = p6
  684. w6.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  685. w6.Part1 = p7
  686. w6.C1 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  687. w7 = Instance.new("Weld", p7)
  688. w7.Name = "Part_Weld"
  689. w7.Part0 = p7
  690. w7.C0 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  691. w7.Part1 = p8
  692. w7.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  693. w8 = Instance.new("Weld", p8)
  694. w8.Name = "Part_Weld"
  695. w8.Part0 = p8
  696. w8.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  697. w8.Part1 = p9
  698. w8.C1 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  699. w9 = Instance.new("Weld", p9)
  700. w9.Name = "Part_Weld"
  701. w9.Part0 = p9
  702. w9.C0 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  703. w9.Part1 = p10
  704. w9.C1 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  705. w10 = Instance.new("Weld", p10)
  706. w10.Name = "Part_Weld"
  707. w10.Part0 = p10
  708. w10.C0 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  709. w10.Part1 = p11
  710. w10.C1 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  711. w11 = Instance.new("Weld", p11)
  712. w11.Name = "Part_Weld"
  713. w11.Part0 = p11
  714. w11.C0 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  715. w11.Part1 = p12
  716. w11.C1 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  717. w12 = Instance.new("Weld", p12)
  718. w12.Name = "Part_Weld"
  719. w12.Part0 = p12
  720. w12.C0 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  721. w12.Part1 = p13
  722. w12.C1 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  723. w13 = Instance.new("Weld", p13)
  724. w13.Name = "Part_Weld"
  725. w13.Part0 = p13
  726. w13.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  727. w13.Part1 = p14
  728. w13.C1 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  729. w14 = Instance.new("Weld", p14)
  730. w14.Name = "Part_Weld"
  731. w14.Part0 = p14
  732. w14.C0 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  733. w14.Part1 = p15
  734. w14.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  735. w15 = Instance.new("Weld", p15)
  736. w15.Name = "Part_Weld"
  737. w15.Part0 = p15
  738. w15.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  739. w15.Part1 = p16
  740. w15.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  741. w16 = Instance.new("Weld", p16)
  742. w16.Name = "Part_Weld"
  743. w16.Part0 = p16
  744. w16.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  745. w16.Part1 = p17
  746. w16.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  747. w17 = Instance.new("Weld", p17)
  748. w17.Name = "Part_Weld"
  749. w17.Part0 = p17
  750. w17.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  751. w17.Part1 = p18
  752. w17.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  753. w18 = Instance.new("Weld", p18)
  754. w18.Name = "Part_Weld"
  755. w18.Part0 = p18
  756. w18.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  757. w18.Part1 = p19
  758. w18.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  759. m2.Parent = rarm
  760. m2:MakeJoints()
  761. ----------------------------------------------------
  762. local cor2 = Instance.new("Part", rarm.RightArm)
  763. cor2.Name = "Thingy"
  764. cor2.Locked = true
  765. cor2.BottomSurface = 0
  766. cor2.CanCollide = false
  767. cor2.Size = Vector3.new(1, 1, 1)
  768. cor2.Transparency = 1
  769. cor2.TopSurface = 0
  770. corw2 = Instance.new("Weld", cor2)
  771. corw2.Part0 = rarm
  772. corw2.Part1 = cor2
  773. corw2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  774. corw2.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  775. weld2 = Instance.new("Weld", rarm.RightArm)
  776. weld2.Part0 = cor2
  777. weld2.Part1 = rarm.RightArm.RightArmPlate
  778. weld2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  779.  
  780.  
  781. --Zyrodoxa
  782. m8 = Instance.new("Model")
  783. m8.Name = "Zyrodoxa"
  784.  
  785. p16 = Instance.new("Part", m8)
  786. p16.BrickColor = BrickColor.new("Instutional white")
  787. p16.Material = Enum.Material.Metal
  788. p16.Name = "Handle"
  789. 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)
  790. p16.CanCollide = false
  791. p16.Locked = true
  792. p16.FormFactor = Enum.FormFactor.Custom
  793. p16.Size = Vector3.new(0, 0, 0)
  794. p16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  795. p16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  796. p16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  797. p16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  798. p16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  799. p16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  800. b16 = Instance.new("BlockMesh", p16)
  801. b16.Name = "Mesh"
  802. b16.Scale = Vector3.new(0, 0, 0)
  803.  
  804. w16 = Instance.new("Weld", p16)
  805. w16.Name = "Block_Weld"
  806. w16.Part0 = p16
  807. 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)
  808. w16.Part1 = p17
  809. 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)
  810.  
  811. m8.Parent = rarm
  812. m8:MakeJoints()
  813. ----------------------------------------------------
  814. local cor8 = Instance.new("Part", rarm.Zyrodoxa)
  815. cor8.Name = "Thingy"
  816. cor8.Locked = true
  817. cor8.BottomSurface = 0
  818. cor8.CanCollide = false
  819. cor8.Size = Vector3.new(1, 1, 1)
  820. cor8.Transparency = 1
  821. cor8.TopSurface = 0
  822. corw8 = Instance.new("Weld", cor8)
  823. corw8.Part0 = rarm
  824. corw8.Part1 = cor8
  825. corw8.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180))
  826. corw8.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  827. weld8 = Instance.new("Weld", rarm.Zyrodoxa)
  828. weld8.Part0 = cor8
  829. weld8.Part1 = rarm.Zyrodoxa.Handle
  830. weld8.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  831. ----------------------------------------------------
  832. models = {m,m2,m3,m4,m5,m6,m7,m8}
  833. parts = {}
  834. Stepped:connect(function()
  835. for i,v in pairs(models) do
  836. for _, a in pairs(v:GetChildren()) do
  837. if v:IsA("Part") and v.Name ~= "Thingy" then
  838. table.insert(parts, a)
  839. for i,v in pairs(parts) do
  840. v.CanCollide = false
  841. end
  842. end
  843. end
  844. end
  845. end)
  846. ----------------------------------------------------
  847. local animpose = "Idle1"
  848. local lastanimpose = "Idle1"
  849. local grab = false
  850. local Smooth = 1
  851. local sine = 0
  852. local change = 1
  853. local val = 0
  854. local ffing = false
  855. ----------------------------------------------------
  856. --[[local hitbox = rarm.Zyrodoxa.Hitbox--Zyrodoxa is the name of the dagger k
  857.  
  858. function FindHumanoids()
  859. local function c_region(Position, Size)
  860. local SizeOffset = Size/2
  861. local Point1 = Position - SizeOffset
  862. local Point2 = Position + SizeOffset
  863. local a = Instance.new("Part", workspace)
  864. a.Anchored = true
  865. a.Size = Size
  866. a.Position = Position
  867. print("Hey!, I'm making a part!")
  868. return Region3.new(Point1, Point2)
  869. end
  870.  
  871. local a = c_region((hitbox.CFrame * CFrame.new(0, -1.285, 0)), Vector3.new(0.22, 0.6425, 1.22))
  872. local b = c_region((hitbox.CFrame * CFrame.new(0, -0.6425, 0)), Vector3.new(0.22, 0.6425, 1.22))
  873. local c = c_region((hitbox.CFrame * CFrame.new(0, 0.6425, 0)), Vector3.new(0.22, 0.6425, 1.22))
  874. local d = c_region((hitbox.CFrame * CFrame.new(0, 1.285, 0)), Vector3.new(0.22, 0.6425, 1.22))
  875.  
  876. local regions = {a, b, c, d}
  877.  
  878. local found_humanoids = {}
  879. local already_found = {char.Name}
  880.  
  881. for _, region in pairs(regions) do
  882. for _, part in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(region, rarm.Zyrodoxa:GetChildren(), 100)) do
  883. print(part, part.Parent, part.Name) ---nope
  884. if part.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.ClassName == "Model" and not part:isDescendantOf(char) then
  885. local humanoid = part.Parent:FindFirstChild("Humanoid")
  886. local name = humanoid.Parent.Name
  887. local exists = false
  888. for _, n in pairs(already_found) do
  889. if n == name then
  890. exists = true
  891. end
  892. end
  893. if not exists then
  894. table.insert(already_found, name)
  895. table.insert(found_humanoids, humanoid)
  896. end
  897. elseif part.Parent.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.Parent.ClassName == "Model" and not part:isDescendantOf(char) then
  898. local humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
  899. local name = humanoid.Parent.Parent.Name
  900. local exists = false
  901. for _, n in pairs(already_found) do
  902. if n == name then
  903. exists = true
  904. end
  905. end
  906. if not exists then
  907. table.insert(already_found, name)
  908. table.insert(found_humanoids, humanoid)
  909. end
  910. end
  911. end
  912. end
  913. return found_humanoids
  914. end
  915.  
  916. local humanoids = FindHumanoids()
  917. if #humanoids == 0 then
  918. for i, v in pairs(humanoids) do
  919. print(v.Parent.Name)
  920. if Debounces.Slashing == true then
  921. v:TakeDamage(math.random(10,20) * math.random(1,3)) --max 60 damage?
  922. elseif Debounces.Slashing == false then
  923. wait()
  924. end
  925. end
  926. wait(0.3)
  927. end]]--
  928. ----------------------------------------------------
  929. --[[mouse.KeyDown:connect(function(key)
  930. if key == "f" then
  931. if Debounces.CanAttack == true then
  932. Debounces.CanAttack = false
  933. Debounces.NoIdl = true
  934. Debounces.on = true
  935. for i = 1, 20 do
  936. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1.05, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  937. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  938. CR.Joint.C1 = Lerp(CR.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(-4),0,0),0.1)
  939. CR2.Joint.C1 = Lerp(CR2.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  940. CR3.Joint.C1 = Lerp(CR3.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  941. CR4.Joint.C1 = Lerp(CR4.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  942. CR5.Joint.C1 = Lerp(CR5.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  943. 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)
  944. 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)
  945. 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)
  946. 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)
  947. 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)
  948. 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)
  949. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-6), math.rad(0), 0), 0.1)
  950. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), 0), 0.1)
  951. 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)
  952. 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)
  953. 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)
  954. 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)
  955. if Debounces.on == false then
  956. break
  957. end
  958. fat.Event:wait()
  959. end
  960. end
  961. end
  962. end)]]--
  963. ----------------------------------------------------
  964. mod4 = Instance.new("Model",char)
  965.  
  966. ptez = {0.7, 0.8, 0.9, 1}
  967.  
  968. function FindNearestTorso(Position,Distance,SinglePlayer)
  969. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  970. local List = {}
  971. for i,v in pairs(workspace:GetChildren())do
  972. if v:IsA("Model")then
  973. if v:findFirstChild("Torso")then
  974. if v ~= char then
  975. if(v.Torso.Position -Position).magnitude <= Distance then
  976. table.insert(List,v)
  977. end
  978. end
  979. end
  980. end
  981. end
  982. return List
  983. end
  984.  
  985. function Slam()
  986. local part=Instance.new('Part',mod4)
  987. part.Anchored=true
  988. part.CanCollide=false
  989. part.FormFactor='Custom'
  990. part.Size=Vector3.new(.2,.2,.2)
  991. part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
  992. part.Transparency=.7
  993. part.BrickColor=BrickColor.new('Really black')
  994. mesh=Instance.new('SpecialMesh',part)
  995. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  996. mesh.Scale=Vector3.new(3,3,3)
  997. local part2=Instance.new('Part',mod4)
  998. part2.Anchored=true
  999. part2.CanCollide=false
  1000. part2.FormFactor='Custom'
  1001. part2.Size=Vector3.new(.2,.2,.2)
  1002. part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
  1003. part2.Transparency=.7
  1004. part2.BrickColor=BrickColor.new('Institutional white')
  1005. mesh2=Instance.new('SpecialMesh',part2)
  1006. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  1007. mesh2.Scale=Vector3.new(3,1.5,3)
  1008. x = Instance.new("Sound",larm)
  1009. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  1010. x.Pitch = ptez[math.random(1,#ptez)]
  1011. x.Volume = 1
  1012. wait(.1)
  1013. x1 = Instance.new("Sound",larm)
  1014. x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  1015. x1.Pitch = ptez[math.random(1,#ptez)]
  1016. x1.Volume = 1
  1017. wait(.1)
  1018. x:Play()
  1019. x1:Play()
  1020. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  1021. if v:FindFirstChild('Humanoid') then
  1022. v.Humanoid:TakeDamage(math.random(30,45))
  1023. end
  1024. end
  1025. coroutine.resume(coroutine.create(function()
  1026. for i=0,0.62,0.13 do
  1027. wait()
  1028. part.CFrame=part.CFrame
  1029. part.Transparency=i
  1030. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  1031. part2.CFrame=part2.CFrame
  1032. part2.Transparency=i
  1033. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  1034. end
  1035. part.Parent=nil
  1036. part2.Parent=nil
  1037. x:Destroy()
  1038. end))
  1039. end
  1040. ----------------------------------------------------
  1041. wPart = function(x,y,z,color,tr,cc,an,parent)
  1042. local wp = Instance.new('WedgePart',parent or Weapon)
  1043. wp.formFactor = 'Custom'
  1044. wp.Size = Vector3.new(x,y,z)
  1045. wp.BrickColor = BrickColor.new(color)
  1046. wp.CanCollide = cc
  1047. wp.Transparency = tr
  1048. wp.Anchored = an
  1049. wp.TopSurface,wp.BottomSurface = 0,0
  1050. return wp
  1051. end
  1052.  
  1053. Mesh = function(par,num,x,y,z)
  1054. local msh = _
  1055. if num == 1 then
  1056. msh = Instance.new("CylinderMesh",par)
  1057. elseif num == 2 then
  1058. msh = Instance.new("SpecialMesh",par)
  1059. msh.MeshType = 3
  1060. elseif num == 3 then
  1061. msh = Instance.new("BlockMesh",par)
  1062. elseif num == 4 then
  1063. msh = Instance.new("SpecialMesh",par)
  1064. msh.MeshType = "Torso"
  1065. elseif type(num) == 'string' then
  1066. msh = Instance.new("SpecialMesh",par)
  1067. msh.MeshId = num
  1068. end
  1069. msh.Scale = Vector3.new(x,y,z)
  1070. return msh
  1071. end
  1072.  
  1073. local function CFrameFromTopBack(at, top, back)
  1074. local right = top:Cross(back)
  1075. return CFrame.new(at.x, at.y, at.z,
  1076. right.x, top.x, back.x,
  1077. right.y, top.y, back.y,
  1078. right.z, top.z, back.z)
  1079. end
  1080.  
  1081. function Triangle(a, b, c)
  1082. local edg1 = (c-a):Dot((b-a).unit)
  1083. local edg2 = (a-b):Dot((c-b).unit)
  1084. local edg3 = (b-c):Dot((a-c).unit)
  1085. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1086. a, b, c = a, b, c
  1087. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1088. a, b, c = b, c, a
  1089. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1090. a, b, c = c, a, b
  1091. else
  1092. print("unreachable")
  1093. end
  1094. local len1 = (c-a):Dot((b-a).unit)
  1095. local len2 = (b-a).magnitude - len1
  1096. local width = (a + (b-a).unit*len1 - c).magnitude
  1097. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1098. local list = {}
  1099. if len1 > 0.01 then
  1100. local w1 = wPart(0,0,0,'Institutional white',0.5,false,true,char)
  1101. local sz = Vector3.new(0.2, width, len1)
  1102. w1.Size = sz
  1103. local sp = Mesh(w1,2,0,0,0)
  1104. sp.MeshType='Wedge'
  1105. sp.Scale=Vector3.new(0,1,1)*sz/w1.Size
  1106. w1:BreakJoints()
  1107. w1.Anchored = true
  1108. w1.Transparency = 0.7
  1109. Spawn(function()
  1110. for i=0,1,0.1 do
  1111. fat.Event:wait()
  1112. w1.Transparency=w1.Transparency+0.03
  1113. end
  1114. end)
  1115. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1116. table.insert(list,w1)
  1117. end
  1118. if len2 > 0.01 then
  1119. local w2 = wPart(0,0,0,'Institutional white',0.5,false,true,char)
  1120. local sz = Vector3.new(0.2, width, len2)
  1121. w2.Size = sz
  1122. local sp = Mesh(w2,2,0,0,0)
  1123. sp.MeshType='Wedge'
  1124. sp.Scale=Vector3.new(0,1,1)*sz/w2.Size
  1125. w2:BreakJoints()
  1126. w2.Anchored = true
  1127. w2.Transparency = 0.7
  1128. Spawn(function()
  1129. for i=0,1,0.1 do
  1130. fat.Event:wait()
  1131. w2.Transparency=w2.Transparency+0.03
  1132. end
  1133. end)
  1134. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1135. table.insert(list,w2)
  1136. end
  1137. return unpack(list)
  1138. end
  1139.  
  1140. function trail(p,t,h)
  1141. Spawn(function()
  1142. local blcf = p.CFrame
  1143. local scfr = blcf
  1144. for i=1,t do
  1145. local blcf = p.CFrame
  1146. if scfr and (p.Position-scfr.p).magnitude > .1 then
  1147. 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)
  1148. if a then game.Debris:AddItem(a,1) end
  1149. if b then game.Debris:AddItem(b,1) end
  1150. 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)
  1151. if a then game.Debris:AddItem(a,1) end
  1152. if b then game.Debris:AddItem(b,1) end
  1153. scfr = blcf
  1154. elseif not scfr then
  1155. scfr = blcf
  1156. end
  1157. fat.Event:wait()
  1158. end
  1159. scfr=nil
  1160. end)
  1161. end
  1162. --trail(char.Sword.Blade,1e1000,5)
  1163. ----------------------------------------------------
  1164. function Dmg()
  1165. local partofdeath = rarm.Zyrodoxa.Hitbox
  1166. local function CreateRegion3FromLocAndSize(Position, Size)
  1167. local SizeOffset = Size/2
  1168. local Point1 = Position - SizeOffset
  1169. local Point2 = Position + SizeOffset
  1170. return Region3.new(Point1, Point2)
  1171. end
  1172. local reg = CreateRegion3FromLocAndSize(partofdeath.Position, partofdeath.Size)
  1173. for i, v in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(reg, char:GetChildren(), 100)) do
  1174. Spawn(function()
  1175. if Debounces.Slashing == true and Debounces.Slashed == false then
  1176. Debounces.Slashed = true
  1177. ypcall(function()
  1178. local humanoid = v.Parent:FindFirstChild("Humanoid") or v.Parent.Parent:FindFirstChild("Humanoid")
  1179. humanoid:TakeDamage(math.random(10,18))
  1180. end)
  1181. wait(.4)
  1182. Debounces.Slashed = false
  1183. end
  1184. end)
  1185. end
  1186. end
  1187. ----------------------------------------------------
  1188. pts = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  1189. ptz = {0.7, 0.8, 0.9, 1}
  1190. idz = {"161006212", "161006195"}
  1191. function attackone()
  1192. for i = 1, 13 do
  1193. 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)
  1194. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), math.rad(30), math.rad(0)), 0.8)
  1195. 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)
  1196. 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)
  1197. 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)
  1198. 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)
  1199. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(-50),0), 0.5)
  1200. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.5)
  1201. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.7)
  1202. 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)
  1203. 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)
  1204. 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)
  1205. 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)
  1206. 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)
  1207. if Debounces.on == false then
  1208. break
  1209. end
  1210. fat.Event:wait()
  1211. end
  1212. trail(rarm.Zyrodoxa.Hitbox,20,2)
  1213. Debounces.Slashing = true
  1214. wait(0.2)
  1215. --[[z = Instance.new("Sound", hed)
  1216. z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  1217. z.Pitch = ptz[math.random(1,#ptz)]
  1218. z.Volume = 1
  1219. wait(.01)
  1220. z:Play()]]--
  1221. for i = 1, 14 do
  1222. Dmg()
  1223. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0.2) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.8)
  1224. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-40), math.rad(30), math.rad(0)), 0.8)
  1225. 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)
  1226. 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)
  1227. 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)
  1228. 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)
  1229. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(40),0), 0.7)
  1230. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1231. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(-10), math.rad(-40), 0), 0.4)
  1232. 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)
  1233. 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)
  1234. 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)
  1235. 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)
  1236. 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)
  1237. if Debounces.on == false then break end
  1238. rs:wait()
  1239. end
  1240. Debounces.Slashing = false
  1241. end
  1242. function attacktwo()
  1243. Debounces.Slashing = true
  1244. for i = 1, 14 do
  1245. Dmg()
  1246. corw8.C0 = Lerp(corw8.C0, CFrame.new(-0.37, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 0.4)
  1247. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)), 0.4)
  1248. 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)
  1249. 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)
  1250. 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)
  1251. 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)
  1252. 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)
  1253. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1254. 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)
  1255. 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)
  1256. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.5)
  1257. 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)
  1258. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.5)
  1259. 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)
  1260. if Debounces.on == false then
  1261. break
  1262. end
  1263. rs:wait()
  1264. end
  1265. end
  1266. ----------------------------------------------------
  1267.  
  1268. ----------------------------------------------------
  1269. definition = 5
  1270. bc = {}
  1271. bezierparts = {}
  1272. function NoOutline(Part)
  1273. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1274. end
  1275. function draw(p,d)
  1276. for i=1,d do
  1277. local t = i/d
  1278. bc[i] = p[1]*(1-t)^2+2*p[2]*(1-t)*t+p[3]*t^2
  1279. end
  1280.  
  1281. Spawn(function() fat.Event:wait()
  1282. for i,v in pairs(bezierparts) do
  1283. v.Transparency = 1
  1284. end
  1285. end)
  1286. end
  1287. --local points = {larm.Position,rarn.Position,invisipart.Position}
  1288. --draw(points,definition)
  1289.  
  1290. fat.Event:wait()
  1291.  
  1292. rpart = Instance.new("Part",rarm)
  1293. NoOutline(rpart)
  1294. rpart.Anchored = false
  1295. rpart.Size = Vector3.new(1,1,1)
  1296. rpart.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  1297. rpart.Transparency = 1
  1298. newWeld(rarm, rpart, 0, 0, 0)
  1299. rpart.Weld.C1 = CFrame.new(0, 1.1, 0)
  1300. lpart = Instance.new("Part",larm)
  1301. NoOutline(lpart)
  1302. lpart.Anchored = false
  1303. lpart.Size = Vector3.new(1,1,1)
  1304. lpart.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  1305. lpart.Transparency = 1
  1306. newWeld(larm, lpart, 0, 0, 0)
  1307. lpart.Weld.C1 = CFrame.new(0, 1.1, 0)
  1308. invisipart = Instance.new("Part",torso)
  1309. NoOutline(invisipart)
  1310. invisipart.Anchored = false
  1311. invisipart.Size = Vector3.new(1,1,1)
  1312. invisipart.Transparency = 1
  1313. invisipart.CFrame = torso.CFrame
  1314. newWeld(torso, invisipart, 0, 0, 0)
  1315. invisipart.Weld.C1 = CFrame.new(0, 0, 6)
  1316. table.insert(bezierparts, rpart)
  1317. table.insert(bezierparts, lpart)
  1318. table.insert(bezierparts, invisipart)
  1319. for i = 1, 40 do
  1320. local points = {lpart.Position,invisipart.Position,rpart.Position}
  1321. draw(points,definition)
  1322. --invisipart.Weld.C1 = invisipart.Weld.C1 + Vector3.new(0,0,0.6)
  1323. 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)
  1324. 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)
  1325. 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)
  1326. 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)
  1327. 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)
  1328. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1329. 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)
  1330. 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)
  1331. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(0), 0, math.rad(-10)), 0.2)
  1332. 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)
  1333. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(0), 0, math.rad(10)), 0.2)
  1334. 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)
  1335. if Debounces.on == false then
  1336. break
  1337. end
  1338. fat.Event:wait()
  1339. end
  1340. for i,v in pairs(bezierparts) do
  1341. v:Destroy()
  1342. end
  1343. --draw(points,definition)
  1344. if Debounces.CanAttack == false then
  1345. Debounces.CanAttack = true
  1346. Debounces.NoIdl = false
  1347. Debounces.on = false
  1348. end
  1349.  
  1350. ----------------------------------------------------
  1351. ----------------------------------------------------
  1352. pt = {6.6, 6.8, 7, 7.2, 7.4}
  1353. mouse.KeyDown:connect(function(key)
  1354. if key == "q" then
  1355. if Debounces.CanJoke == true then
  1356. Debounces.CanJoke = false
  1357. u = Instance.new("Sound",char)
  1358. u.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1359. u.Pitch = pt[math.random(1,#pt)]
  1360. u.Volume = 0.3
  1361. u2 = Instance.new("Sound",char)
  1362. u2.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1363. u2.Pitch = u.Pitch
  1364. u2.Volume = 0.3
  1365. u3 = Instance.new("Sound",char)
  1366. u3.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1367. u3.Pitch = u.Pitch
  1368. u3.Volume = 0.3
  1369. wait(.01)
  1370. u:Play()
  1371. u2:Play()
  1372. u3:Play()
  1373. wait(1.5)
  1374. u:Destroy()
  1375. u2:Destroy()
  1376. u3:Destroy()
  1377. if Debounces.CanJoke == false then
  1378. Debounces.CanJoke = true
  1379. end
  1380. end
  1381. end
  1382. end)
  1383. ----------------------------------------------------
  1384. ----------------------------------------------------
  1385. ----------------------------------------------------
  1386. Grab = false
  1387. mouse.KeyDown:connect(function(key)
  1388. if key == "g" then
  1389. Debounces.on = true
  1390. Debounces.NoIdl = true
  1391. Debounces.ks = true
  1392. if Grab == false then
  1393. gp = nil
  1394. for i = 1, 20 do
  1395. 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)
  1396. 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)
  1397. 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)
  1398. 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)
  1399. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
  1400. 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)
  1401. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
  1402. 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)
  1403. 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)
  1404. 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)
  1405. 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)
  1406. 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)
  1407. if Debounces.on == false then break end
  1408. fat.Event:wait()
  1409. end
  1410. con1=larm.LeftArm.LeftArmPlate.Touched:connect(function(hit)
  1411. ht = hit.Parent
  1412. for i,v in pairs(ht:GetChildren()) do
  1413. if v:IsA("Part") then
  1414. v.CanCollide = false
  1415. v.CustomPhysicalProperties = PhysicalProperties.new(0.001,0.001,0.001,0.001,0.001)
  1416. end
  1417. end
  1418. hum1=ht:FindFirstChild('Humanoid')
  1419. if hum1 ~= nil then
  1420. if Debounces.ks==true then
  1421. z = Instance.new("Sound",hed)
  1422. z.SoundId = "rbxassetid://169380525"
  1423. z.Volume = 1
  1424. z:Play()
  1425. Debounces.ks=false
  1426. end
  1427. hum1.PlatformStand=true
  1428. hum1:ChangeState'Physics'
  1429. gp = ht
  1430. Grab = true
  1431. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,0.6),CFrame.new(0,0,0))
  1432. asd.Parent = larm
  1433. asd.Name = "asd"
  1434. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
  1435. stanceToggle = "Grabbed"
  1436. --[[elseif hum1 == nil then
  1437. con1:disconnect()
  1438. wait() return]]--
  1439. end
  1440. end)
  1441. for i = 1, 20 do
  1442. 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)
  1443. 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)
  1444. 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)
  1445. 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)
  1446. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.2)
  1447. 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)
  1448. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
  1449. 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)
  1450. 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)
  1451. 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)
  1452. 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)
  1453. 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)
  1454. if Debounces.on == false then break end
  1455. fat.Event:wait()
  1456. end
  1457. con1:disconnect()
  1458. Debounces.on = false
  1459. Debounces.NoIdl = false
  1460. elseif Grab == true then
  1461. Grab = false
  1462. --[[for i = 1, 16 do
  1463. 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)
  1464. 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)
  1465. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3)
  1466. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  1467. 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)
  1468. 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)
  1469. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3)
  1470. if Debounces.on == false then end
  1471. rs:wait()
  1472. end]]--
  1473. for i = 1, 16 do
  1474. 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)
  1475. 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)
  1476. 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)
  1477. 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)
  1478. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
  1479. 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)
  1480. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.3)
  1481. 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)
  1482. 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)
  1483. 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)
  1484. 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)
  1485. 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)
  1486. if Debounces.on == false then end
  1487. rs:wait()
  1488. end
  1489. for i = 1, 12 do
  1490. 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)
  1491. 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)
  1492. 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)
  1493. 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)
  1494. 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)
  1495. 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)
  1496. 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)
  1497. 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)
  1498. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.6)
  1499. 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)
  1500. 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)
  1501. 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)
  1502. if Debounces.on == false then end
  1503. rs:wait()
  1504. end
  1505. Slam()
  1506. if gp ~= nil then
  1507. for i,v in pairs(larm:GetChildren()) do
  1508. if v.Name == "asd" and v:IsA("Weld") then
  1509. v:Remove()
  1510. end
  1511. if v:IsA("Part") then
  1512. v.CanCollide = true
  1513. v.CustomPhysicalProperties = PhysicalProperties.new(1,1,1,1,1)
  1514. end
  1515. end
  1516. end
  1517. stanceToggle = "Idle1"
  1518. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  1519. bv.maxForce = Vector3.new(400000, 400000, 400000)
  1520. bv.P = 125000
  1521. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  1522. ht=nil
  1523. Debounces.on = false
  1524. Debounces.NoIdl = false
  1525. elseif ht == nil then wait()
  1526. Grab = false
  1527. Debounces.on = false
  1528. Debounces.NoIdl = false
  1529. end
  1530. end
  1531. end)
  1532. ----------------------------------------------------
  1533. Change = false
  1534. mouse.KeyDown:connect(function(key)
  1535. if key == "n" then
  1536. if Change == false then
  1537. Change = true
  1538. stanceToggle = "Idle2"
  1539. elseif Change == true then
  1540. Change = false
  1541. stanceToggle = "Idle1"
  1542. end
  1543. end
  1544. end)
  1545. ----------------------------------------------------
  1546. mouse.KeyDown:connect(function(key)
  1547. if string.byte(key) == 52 then
  1548. Swing = 2
  1549. char.Humanoid.WalkSpeed = 28
  1550. end
  1551. end)
  1552. mouse.KeyUp:connect(function(key)
  1553. if string.byte(key) == 52 then
  1554. Swing = 1
  1555. char.Humanoid.WalkSpeed = 16
  1556. end
  1557. end)
  1558. local mouse2 = Player:GetMouse()
  1559. local running = false
  1560.  
  1561. mouse2.KeyDown:connect(function(key) -- Run function
  1562. if key == "e" then
  1563. running = true
  1564. local keyConnection = mouse.KeyUp:connect(function(key)
  1565. if string.byte(key) == 48 then
  1566. running = false
  1567. end
  1568. end)
  1569. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 30
  1570. end
  1571. end)
  1572.  
  1573. mouse2.KeyUp:connect(function(key)
  1574. if key == "e" then
  1575. running = false
  1576. Character.Humanoid.WalkSpeed = 16
  1577. end
  1578. end)
  1579. function Ban()
  1580. Debounces.on = true
  1581. Debounces.NoIdl = true
  1582. Debounces.ks = true
  1583. local hitbox = Instance.new("Part",banh)
  1584. hitbox.Name = "HurtBox"
  1585. hitbox.Size = Vector3.new(2.09, 3.4, 1.8)
  1586. hitbox.Transparency = 1
  1587. local hitboxwe = Instance.new("Weld",hitbox)
  1588. hitboxwe.Part0 = hitbox
  1589. hitboxwe.Part1 = banh
  1590. hitboxwe.C0 = CFrame.new(0.230496407, 0.228847623, 1.76342273, -0.997520506, -0.0702080652, -0.00486185262, 0.00503299385, -0.00226099882, -0.999983966, 0.070195958, -0.997529984, 0.00260874908)
  1591. function onTouched(part)
  1592. local human = part.Parent:FindFirstChildOfClass("Humanoid")
  1593. if human then
  1594. human.Parent:Destroy()
  1595. ban:Play()
  1596. end
  1597. end
  1598. hitbox.Touched:connect(onTouched)
  1599. for i = 0,1 , 0.09 do
  1600. banw.C0 = banw.C0:lerp(CFrame.new(0.0185546875, -1.99783754, -0.149715185, -0.997520864, 0.00503101526, 0.0701895654, -0.0643144846, -0.469972789, -0.880334616, 0.0285583287, -0.882666826, 0.469131112),i)
  1601. game:GetService("RunService").RenderStepped:wait()
  1602. end
  1603. hitbox:Destroy()
  1604. banw.C0 = CFrame.new(0.0185670853, -1.69550169, -1.06726038, -0.997520506, 0.00503299711, 0.0701959729, -0.0702080429, -0.00226099929, -0.997529864, -0.00486185262, -0.999984622, 0.00260874978)
  1605. Debounces.on = false
  1606. Debounces.NoIdl = false
  1607. Debounces.ks = false
  1608. end
  1609. mouse.Button1Down:connect(Ban)
  1610. ----------------------------------------------------
  1611.  
  1612. jump = false
  1613. rs:connect(function()
  1614. if char.Humanoid.Jump == true then
  1615. jump = true
  1616. else
  1617. jump = false
  1618. end
  1619. char.Humanoid.FreeFalling:connect(function(f)
  1620. if f then
  1621. ffing = true
  1622. else
  1623. ffing = false
  1624. end
  1625. end)
  1626. sine = sine + change
  1627. if jump == true then
  1628. animpose = "Jumping"
  1629. elseif ffing == true then
  1630. animpose = "Freefalling"
  1631. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  1632. animpose = "Idle"
  1633. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  1634. animpose = "Walking"
  1635. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  1636. animpose = "Running"
  1637. end
  1638. RightLeg = CFrame.new(0.5,-1,0)
  1639. LeftLeg = CFrame.new(-0.5,-1,0)
  1640.  
  1641. lefth = (torso.CFrame*LeftLeg)
  1642. righth = (torso.CFrame*RightLeg)
  1643.  
  1644. speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
  1645.  
  1646. TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
  1647.  
  1648. local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
  1649. local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
  1650. if animpose ~= lastanimpose then
  1651. sine = 0
  1652. if Debounces.NoIdl == false then
  1653. if stanceToggle == "Idle1" then
  1654. 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)
  1655. 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)
  1656. 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)
  1657. 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)
  1658. 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)
  1659. 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)
  1660. elseif stanceToggle == "Idle2" then
  1661. 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)
  1662. 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)
  1663. 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)
  1664. 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)
  1665. 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)
  1666. 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)
  1667. end
  1668. fat.Event:wait()
  1669. end
  1670. else
  1671. end
  1672. lastanimpose = animpose
  1673. if Debounces.NoIdl == false then
  1674. if animpose == "Idle" then
  1675. change = 0.5
  1676. if stanceToggle == "Idle1" then
  1677. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1.05+0.03*math.cos(sine/5), 0-0.1*math.cos(sine/10)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1678. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0+8*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.3)
  1679.  
  1680. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.6+0.05*math.cos(sine/10),0.6+0.1*math.cos(sine/10),-0.2-0.1*math.cos(sine/10))*CFrame.Angles(math.rad(8+2.5*math.cos(sine/10)),math.rad(22+7*math.cos(sine/10)),math.rad(15+2*math.cos(sine/10))), 0.8)
  1681. 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)
  1682. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.6-0.05*math.cos(sine/10),0.6+0.1*math.cos(sine/10),0.2+0.1*math.cos(sine/10))*CFrame.Angles(math.rad(-8-2.5*math.cos(sine/10)),math.rad(12+5*math.cos(sine/10)),math.rad(-12-3*math.cos(sine/10))), 0.8)
  1683. 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)
  1684. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.05*math.cos(sine/10))*CFrame.Angles(math.rad(-15+3*math.cos(sine/10)),math.rad(0),math.rad(0)), 0.5)
  1685. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(20-3*math.cos(sine/10)),math.rad(0)), 0.5)
  1686. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-6+3*math.cos(sine/10)), math.rad(0), 0), 0.1)
  1687. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0-0.08*math.cos(sine/10), -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20+3*math.cos(sine/10)), 0), 0.1)
  1688. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.14+0.06*math.cos(sine/10)) * CFrame.Angles(math.rad(-3-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1)
  1689. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(-10-3*math.cos(sine/10)), math.rad(5+3*math.cos(sine/10))), 0.1)
  1690. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(8-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1)
  1691. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(10-3*math.cos(sine/10)), math.rad(-5+3*math.cos(sine/10))), 0.1)
  1692. elseif stanceToggle == "Idle2" then
  1693.  
  1694. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1695. 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)
  1696. 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)
  1697. 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)
  1698. 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)
  1699. 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)
  1700. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  1701. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  1702. --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)
  1703. 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)
  1704. 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)
  1705. 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)
  1706. 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)
  1707. 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)
  1708. elseif stanceToggle == "Grabbed" then
  1709. grab = true
  1710. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1711. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1712. 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)
  1713. 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)
  1714. 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)
  1715. 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)
  1716. 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)
  1717. 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)
  1718. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  1719. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  1720. 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)
  1721. 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)
  1722. 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)
  1723. 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)
  1724. end
  1725. elseif animpose == "Walking" then
  1726. if stanceToggle == "Grabbed" then
  1727. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1728. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1729. 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)
  1730. 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)
  1731. 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)
  1732. 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)
  1733. 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)
  1734. 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)
  1735. 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)
  1736. --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
  1737. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  1738. 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)
  1739. 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)
  1740. 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)
  1741. 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)
  1742. elseif stanceToggle ~= "Grabbed" then
  1743. change = 1
  1744. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1745. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1746.  
  1747. 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)
  1748. 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)
  1749. 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)
  1750. 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)
  1751. 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)
  1752. 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)
  1753. 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)
  1754. --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
  1755. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  1756. --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)
  1757. 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)
  1758. 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)
  1759. --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)
  1760. 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)
  1761. 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)
  1762. end
  1763. elseif animpose == "Running" then
  1764. change = 1
  1765. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1766. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1767.  
  1768. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.24+.6*math.cos(sine/4)/1.4, 0.54, 0+0.8*math.cos(sine/4)) * CFrame.Angles(math.rad(6-140*math.cos(sine/4)/1.2), math.rad(0), math.rad(-20+70*math.cos(sine/4))), 0.2)
  1769. 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)
  1770. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.24+.6*math.cos(sine/4)/1.4, 0.54, 0-0.8*math.cos(sine/4))*CFrame.Angles(math.rad(6+140*math.cos(sine/4)/1.2), math.rad(0), math.rad(20+70*math.cos(sine/4))), 0.2)
  1771. 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)
  1772. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-8+12*math.cos(sine/2)/1.5), math.rad(0+12*math.cos(sine/4)), math.rad(0)),0.2)
  1773. 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.5)
  1774. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.2*math.cos(sine/2)/1.7, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/2)/1.5), math.rad(0-12*math.cos(sine/4))-root.RotVelocity.Y/10, math.rad(0)+root.RotVelocity.Y/20), 0.2)
  1775. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1776. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.8-0.4*math.cos(sine/4)/2, math.sin(sine/4)/2) * CFrame.Angles(math.rad(-10) + -math.sin(sine/4)/1.2, math.rad(0+12*math.cos(sine/4))+root.RotVelocity.Y/10, 0), .8)
  1777. 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)
  1778. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8+0.4*math.cos(sine/4)/2, -math.sin(sine/4)/2) * CFrame.Angles(math.rad(-10) + math.sin(sine/4)/1.2, math.rad(0+12*math.cos(sine/4))+root.RotVelocity.Y/10, 0), .8)
  1779. 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)
  1780. elseif animpose == "Jumping" then
  1781.  
  1782. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1783. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1784. 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)
  1785. 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)
  1786. 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)
  1787. 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)
  1788. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),math.rad(0),0), 0.2)
  1789. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  1790. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1791. 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)
  1792. 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)
  1793. 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)
  1794. 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)
  1795. elseif animpose == "Freefalling" then
  1796.  
  1797. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1798. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1799. 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)
  1800. 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)
  1801. 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)
  1802. 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)
  1803. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),math.rad(0),0), 0.2)
  1804. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.2)
  1805. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1806. 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)
  1807. 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)
  1808. 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)
  1809. 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)
  1810. end
  1811. end
  1812. end)
  1813. hum.MaxHealth = math.huge
  1814. wait(3)
  1815. hum.Health = math.huge
  1816.  
  1817. coroutine.wrap(function()
  1818. wait(0.1)
  1819. game.Base.CanCollide = false
  1820. end)
Advertisement
Add Comment
Please, Sign In to add comment