Advertisement
coughdrops

Untitled

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