Advertisement
zza

Not Fe

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