Advertisement
therainbowcreeperRBX

Fe Ban Hammer

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