Advertisement
RIDHOCRaIWIW

ksdljsk

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