Advertisement
Vexera2

Untitled

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