Advertisement
Sergeant_SethZP

Franks

Mar 11th, 2017
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 97.90 KB | None | 0 0
  1. Player=game:GetService("Players").LocalPlayer
  2. Character=Player.Character
  3. PlayerGui=Player.PlayerGui
  4. Backpack=Player.Backpack
  5. Torso=Character.Torso
  6. Head=Character.Head
  7. Humanoid=Character.Humanoid
  8. m=Instance.new('Model',Character)
  9. LeftArm=Character["Left Arm"]
  10. LeftLeg=Character["Left Leg"]
  11. RightArm=Character["Right Arm"]
  12. RightLeg=Character["Right Leg"]
  13. LS=Torso["Left Shoulder"]
  14. LH=Torso["Left Hip"]
  15. RS=Torso["Right Shoulder"]
  16. RH=Torso["Right Hip"]
  17. Face = Head.face
  18. Neck=Torso.Neck
  19. it=Instance.new
  20. attacktype=1
  21. vt=Vector3.new
  22. cf=CFrame.new
  23. euler=CFrame.fromEulerAnglesXYZ
  24. angles=CFrame.Angles
  25. cloaked=false
  26. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  27. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  28. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  29. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  30. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  31. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  32. RootPart=Character.HumanoidRootPart
  33. RootJoint=RootPart.RootJoint
  34. RootCF=euler(-1.57,0,3.14)
  35. attack = false
  36. attackdebounce = false
  37. deb=false
  38. equipped=true
  39. hand=false
  40. MMouse=nil
  41. combo=0
  42. mana=0
  43. trispeed=1
  44. pathtrans=.7
  45. attackmode='none'
  46. local idle=0
  47. local Anim="Idle"
  48. local Effects={}
  49. local gun=true
  50. local shoot=false
  51. player=nil
  52. cloak=true
  53. lightcolor='Bright blue'
  54.  
  55. local Color1=Torso.BrickColor
  56.  
  57.  
  58. mouse=Player:GetMouse()
  59. --save shoulders
  60. RSH, LSH=nil, nil
  61. --welds
  62. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  63. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  64. LH=Torso["Left Hip"]
  65. RH=Torso["Right Hip"]
  66. TorsoColor=Torso.BrickColor
  67. function NoOutline(Part)
  68. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  69. end
  70.  
  71.  
  72.  
  73. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  74. local fp=it("Part")
  75. fp.formFactor=formfactor
  76. fp.Parent=parent
  77. fp.Reflectance=reflectance
  78. fp.Transparency=transparency
  79. fp.CanCollide=false
  80. fp.Locked=true
  81. fp.BrickColor=brickcolor
  82. fp.Name=name
  83. fp.Size=size
  84. fp.Position=Torso.Position
  85. NoOutline(fp)
  86. fp.Material="SmoothPlastic"
  87. fp:BreakJoints()
  88. return fp
  89. end
  90.  
  91. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  92. local mesh=it(Mesh)
  93. mesh.Parent=part
  94. if Mesh=="SpecialMesh" then
  95. mesh.MeshType=meshtype
  96. if meshid~="nil" then
  97. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  98. end
  99. end
  100. mesh.Offset=offset
  101. mesh.Scale=scale
  102. return mesh
  103. end
  104.  
  105. function weld(parent,part0,part1,c0)
  106. local weld=it("Weld")
  107. weld.Parent=parent
  108. weld.Part0=part0
  109. weld.Part1=part1
  110. weld.C0=c0
  111. return weld
  112. end
  113.  
  114. local Color1=Torso.BrickColor
  115.  
  116.  
  117.  
  118.  
  119.  
  120. Player=game:GetService('Players').LocalPlayer
  121. Character=Player.Character
  122. Mouse=Player:GetMouse()
  123. m=Instance.new('Model',Character)
  124.  
  125.  
  126. local function weldBetween(a, b)
  127. local weldd = Instance.new("ManualWeld")
  128. weldd.Part0 = a
  129. weldd.Part1 = b
  130. weldd.C0 = CFrame.new()
  131. weldd.C1 = b.CFrame:inverse() * a.CFrame
  132. weldd.Parent = a
  133. return weldd
  134. end
  135.  
  136. it=Instance.new
  137.  
  138. function nooutline(part)
  139. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  140. end
  141.  
  142. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  143. local fp=it("Part")
  144. fp.formFactor=formfactor
  145. fp.Parent=parent
  146. fp.Reflectance=reflectance
  147. fp.Transparency=transparency
  148. fp.CanCollide=false
  149. fp.Locked=true
  150. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  151. fp.Name=name
  152. fp.Size=size
  153. fp.Position=Character.Torso.Position
  154. nooutline(fp)
  155. fp.Material=material
  156. fp:BreakJoints()
  157. return fp
  158. end
  159.  
  160. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  161. local mesh=it(Mesh)
  162. mesh.Parent=part
  163. if Mesh=="SpecialMesh" then
  164. mesh.MeshType=meshtype
  165. mesh.MeshId=meshid
  166. end
  167. mesh.Offset=offset
  168. mesh.Scale=scale
  169. return mesh
  170. end
  171.  
  172. function weld(parent,part0,part1,c0,c1)
  173. local weld=it("Weld")
  174. weld.Parent=parent
  175. weld.Part0=part0
  176. weld.Part1=part1
  177. weld.C0=c0
  178. weld.C1=c1
  179. return weld
  180. end
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190. --------------------------------
  191. local p = game.Players.LocalPlayer
  192. local char = p.Character
  193. local mouse = p:GetMouse()
  194. local larm = char["Left Arm"]
  195. local rarm = char["Right Arm"]
  196. local lleg = char["Left Leg"]
  197. local rleg = char["Right Leg"]
  198. local hed = char.Head
  199. local torso = char.Torso
  200. local hum = char.Humanoid
  201. local cam = game.Workspace.CurrentCamera
  202. local root = char.HumanoidRootPart
  203. local deb = false
  204. local shot = 0
  205. local debris=game:service"Debris"
  206. local l = game:GetService("Lighting")
  207. local rs = game:GetService("RunService").RenderStepped
  208. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  209. math.randomseed(os.time())
  210. for i,v in pairs(char:children()) do
  211. if v:IsA("Hat") then
  212. v:Destroy()
  213. end
  214. end
  215. for i,v in pairs (hed:GetChildren()) do
  216. if v:IsA("Sound") then
  217. v:Destroy()
  218. end
  219. end
  220.  
  221. ----------------------------------------------------//Mesh setting
  222. local cmeshes = {}
  223. local ll,rl,la,ra,t = Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char)
  224. ll.BodyPart = 'LeftLeg'
  225. rl.BodyPart = 'RightLeg'
  226. la.BodyPart = 'LeftArm'
  227. ra.BodyPart = 'RightArm'
  228. t.BodyPart = 'Torso'
  229. ll.MeshId,ll.OverlayTextureId,rl.MeshId,rl.OverlayTextureId = 68241558,18051314,68241677,18051314
  230. ra.MeshId,ra.OverlayTextureId,la.MeshId,la.OverlayTextureId = 68241658,18051314,68241543,14769524
  231. t.MeshId,t.OverlayTextureId=68241695,18051314
  232. ----------------------------------------------------
  233. z = Instance.new("Sound", torso)
  234. z.SoundId = "rbxassetid://0" -- Put Music ID Here.
  235. z.Looped = true
  236. z.Volume = 1000
  237. wait(.1)
  238. z:Play()
  239.  
  240. ----------------------------------------------------
  241. Sit = false
  242. mouse.KeyDown:connect(function(key)
  243. if key == "v" then
  244. if Sit == false then
  245. Sit = true
  246. hum.WalkSpeed = 20
  247. stanceToggle = "Sitting"
  248. elseif Sit == true then
  249. Sit = false
  250. hum.WalkSpeed = 50
  251. stanceToggle = "Normal"
  252. end
  253. end
  254. end)
  255. ----------------------------------------------------
  256. Debounces = {
  257. CanAttack = true;
  258. NoIdl = false;
  259. Slashing = false;
  260. Slashed = false;
  261. RPunch = false;
  262. RPunched = false;
  263. LPunch = false;
  264. LPunched = false;
  265. }
  266. local Touche = {char.Name, }
  267. ----------------------------------------------------
  268.  
  269. mouse.KeyDown:connect(function(key)
  270. if key == "r" then
  271. larm.BrickColor = BrickColor.new("Bright red")
  272. rarm.BrickColor = BrickColor.new("Bright red")
  273. if Debounces.CanAttack == true then
  274. Debounces.CanAttack = false
  275. Debounces.on = true
  276. Debounces.NoIdl = true
  277. to = char.Absolution.Thingy2.Touched:connect(function(ht)
  278. hit = ht.Parent
  279. if ht and hit:IsA("Model") then
  280. if hit:FindFirstChild("Humanoid") then
  281. if hit.Name ~= p.Name then
  282. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  283. Debounces.Slashed = true]]--
  284. hit:FindFirstChild("Humanoid"):TakeDamage(99)
  285. wait(1)
  286. --Debounces.Slashed = false
  287. --end
  288. end
  289. end
  290. elseif ht and hit:IsA("Hat") then
  291. if hit.Parent.Name ~= p.Name then
  292. if hit.Parent:FindFirstChild("Humanoid") then
  293. --[[ if Debounces.Slashing == true and Debounces.Slashed == false then
  294. Debounces.Slashed = true]]--
  295. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(975)
  296. wait(1)
  297. --Debounces.Slashed = false
  298. end
  299. end
  300. end
  301. end)
  302. q = Instance.new("Sound",hed)
  303. q.SoundId = "http://www.roblox.com/asset/?id=134012322"
  304. q.Pitch = 0.85
  305. q.Looped = false
  306. q1 = Instance.new("Sound",hed)
  307. q1.SoundId = "http://www.roblox.com/asset/?id=134012322"
  308. q1.Pitch = 0.85
  309. q1.Looped = false
  310. q:Play()
  311. q1:Play()
  312. for i = 1,20 do
  313. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(-55)), 0.4)
  314. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(55)), 0.4)
  315. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),0.4)
  316. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 4, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4)
  317. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 1) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4)
  318. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4)
  319. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -2.2, -3) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(0)), 0.5)
  320. if Debounces.on == false then break end
  321. wait()
  322. end
  323. n = Instance.new("Sound",hed)
  324. n.SoundId = "http://www.roblox.com/asset/?id=168514932"
  325. n.Pitch = 0.94
  326. n.Looped = false
  327. n1 = Instance.new("Sound",hed)
  328. n1.SoundId = "http://www.roblox.com/asset/?id=168514932"
  329. n1.Pitch = 0.94
  330. n1.Looped = false
  331. n:Play()
  332. n1:Play()
  333. b = Instance.new("Sound",hed)
  334. b.SoundId = "http://www.roblox.com/asset/?id=168586586"
  335. b.Pitch = 0.94
  336. b.Looped = false
  337. b1 = Instance.new("Sound",hed)
  338. b1.SoundId = "http://www.roblox.com/asset/?id=168586586"
  339. b1.Pitch = 0.94
  340. b1.Looped = false
  341. b:Play()
  342. b1:Play()
  343. for i = 1,26 do
  344. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-55)), 0.5)
  345. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(55)), 0.5)
  346. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)),0.5)
  347. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), 0), 0.5)
  348. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -1) * CFrame.Angles(math.rad(50), 0, math.rad(0)), 0.5)
  349. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .4) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.5)
  350. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 0.5)
  351. if Debounces.on == false then break end
  352. wait()
  353. end
  354. wait(.5)
  355. to:disconnect()
  356. q:Destroy()
  357. q1:Destroy()
  358. n:Destroy()
  359. n1:Destroy()
  360. larm.BrickColor = BrickColor.new("Really black")
  361. rarm.BrickColor = BrickColor.new("Really black")
  362. if Debounces.CanAttack == false then
  363. Debounces.CanAttack = true
  364. Debounces.on = false
  365. Debounces.NoIdl = false
  366. end
  367. end
  368. end
  369. end)
  370. ----------------------------------------------------
  371. hed.face.Texture = "rbxassetid://0"
  372. char["Body Colors"].HeadColor = BrickColor.new("Black")
  373. char["Body Colors"].TorsoColor = BrickColor.new("Black")
  374. char["Body Colors"].LeftArmColor = BrickColor.new("Black")
  375. char["Body Colors"].RightArmColor = BrickColor.new("Black")
  376. char["Body Colors"].LeftLegColor = BrickColor.new("Black")
  377. char["Body Colors"].RightLegColor = BrickColor.new("Black")
  378. ----------------------------------------------------
  379. ypcall(function()
  380. shirt = Instance.new("Shirt", char)
  381. shirt.Name = "Shirt"
  382. pants = Instance.new("Pants", char)
  383. pants.Name = "Pants"
  384. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=162860579"
  385. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=532642815"
  386. end)
  387. ----------------------------------------------------
  388. local LocalPlayer = game:GetService("Players").LocalPlayer
  389. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
  390.  
  391. Character.Head.Transparency = 0
  392.  
  393. local Orb = Instance.new("Part", Character)
  394. Orb.Name = "Orb"
  395.  
  396. Orb.CanCollide = false
  397. Orb.BrickColor = BrickColor.new("Institutional white")
  398. Orb.Transparency = 0
  399. Orb.Material = "Plastic"
  400. Orb.Size = Vector3.new(1, 1, 1)
  401.  
  402.  
  403. local M = Instance.new("SpecialMesh")
  404. M.Parent = Orb
  405. M.MeshId = "http://www.roblox.com/asset/?id=430411019"
  406.  
  407.  
  408. local Weld = Instance.new("Weld", Orb)
  409. Weld.Part0 = Character.Head
  410. Weld.Part1 = Orb
  411. Weld.C1 = CFrame.new(0, -0.5, 0)
  412. ------------------------------------------------------
  413. CV="Institutional white"
  414.  
  415. local txt = Instance.new("BillboardGui", char)
  416. txt.Adornee = char .Orb
  417. txt.Name = "_status"
  418. txt.Size = UDim2.new(2, 0, 1.2, 0)
  419. txt.StudsOffset = Vector3.new(-2, 1.5, 0)
  420. local text = Instance.new("TextLabel", txt)
  421. text.Size = UDim2.new(3, 0, 0.5, 0)
  422. text.FontSize = "Size8"
  423. text.TextScaled = true
  424. text.TextTransparency = 0
  425. text.BackgroundTransparency = 1
  426. text.TextTransparency = 0
  427. text.TextStrokeTransparency = 0
  428. text.Font = "Arial"
  429. text.TextStrokeColor3 = Color3.new(56,21,78)
  430.  
  431. v=Instance.new("Part")
  432. v.Name = "ColorBrick"
  433. v.Parent=p.Character
  434. v.FormFactor="Symmetric"
  435. v.Anchored=true
  436. v.CanCollide=false
  437. v.BottomSurface="Smooth"
  438. v.TopSurface="Smooth"
  439. v.Size=Vector3.new(10,5,3)
  440. v.Transparency=0.7
  441. v.CFrame=char.Torso.CFrame
  442. v.BrickColor=BrickColor.new(CV)
  443. v.Transparency=1
  444. text.TextColor3 = v.BrickColor.Color
  445. v.Shape="Block"
  446. text.Text = "ultranigga"
  447.  
  448.  
  449.  
  450.  
  451. --------------------------------------------------------
  452. local Orbd = Instance.new("Part", Character)
  453. Orbd.Name = "Orbd"
  454. Orbd.Shape = Enum.PartType.Ball
  455. Orbd.CanCollide = false
  456. Orbd.BrickColor = BrickColor.new("New Yeller")
  457. Orbd.Transparency = 0
  458. Orbd.Material = "Neon"
  459. Orbd.Size = Vector3.new(0.1, 0.1, 0.1)
  460. Orbd.TopSurface = Enum.SurfaceType.Smooth
  461. Orbd.BottomSurface = Enum.SurfaceType.Smooth
  462.  
  463. local Weld = Instance.new("Weld", Orbd)
  464. Weld.Part0 = Character.Head
  465. Weld.Part1 = Orbd
  466. Weld.C1 = CFrame.new(-0.2, -0.2, 0.5)
  467.  
  468. --------------------------------------------------------
  469. local Orbvc = Instance.new("Part", Character)
  470. Orbvc.Name = "Orbvc"
  471. Orbvc.Shape = Enum.PartType.Ball
  472. Orbvc.CanCollide = false
  473. Orbvc.BrickColor = BrickColor.new("New Yeller")
  474. Orbvc.Transparency = 0
  475. Orbvc.Material = "Neon"
  476. Orbvc.Size = Vector3.new(0.1, 0.1, 0.1)
  477. Orbvc.TopSurface = Enum.SurfaceType.Smooth
  478. Orbvc.BottomSurface = Enum.SurfaceType.Smooth
  479.  
  480. local Weld = Instance.new("Weld", Orbvc)
  481. Weld.Part0 = Character.Head
  482. Weld.Part1 = Orbvc
  483. Weld.C1 = CFrame.new(0.2, -0.2, 0.5)
  484. ---------------------
  485. local LocalPlayer = game:GetService("Players").LocalPlayer
  486. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
  487.  
  488. Character.Head.Transparency = 1
  489.  
  490. local Camisa = Instance.new("Part", Character)
  491. Camisa.Name = "Camisa"
  492.  
  493. Camisa.CanCollide = false
  494. Camisa.BrickColor = BrickColor.new("Institutional white")
  495. Camisa.Transparency = 1
  496. Camisa.Material = "Plastic"
  497. Camisa.Size = Vector3.new(1.5, 1.5, 1)
  498.  
  499. local Weld = Instance.new("Weld", Camisa)
  500. Weld.Part0 = Character.Torso
  501. Weld.Part1 = Camisa
  502. Weld.C1 = CFrame.new(0, 0, 0)
  503. ----------------------------------------
  504. local p = game.Players.LocalPlayer
  505. local char = p.Character
  506. local mouse = p:GetMouse()
  507. local larm = char["Left Arm"]
  508. local rarm = char["Right Arm"]
  509. local lleg = char["Left Leg"]
  510. local rleg = char["Right Leg"]
  511. local hed = char.Head
  512. local torso = char.Torso
  513. local hum = char.Humanoid
  514. local cam = game.Workspace.CurrentCamera
  515. local root = char.HumanoidRootPart
  516. local rj = root.RootJoint
  517. local deb = false
  518. local shot = 0
  519. local stanceToggle = "Idle1"
  520. local l = game:GetService("Lighting")
  521. local rs = game:GetService("RunService").RenderStepped
  522. local hb = game:GetService("RunService").Heartbeat
  523. local Stepped = game:GetService("RunService").Stepped
  524. math.randomseed(os.time())
  525. hum.JumpPower = 100
  526. hed.face:Remove()
  527. ----------------------------------------------------
  528. fat = Instance.new("BindableEvent",script)
  529. fat.Name = "Heartbeat"
  530.  
  531. script:WaitForChild("Heartbeat")
  532.  
  533. frame = 1/30
  534. tf = 0
  535. 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.
  536. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  537. lastframe = tick()
  538. script.Heartbeat:Fire() --ayy lmao
  539.  
  540. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  541. tf = tf + s
  542. if tf >= frame then
  543. if allowframeloss then
  544. script.Heartbeat:Fire()
  545. lastframe=tick()
  546. else
  547. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  548. for i=1, math.floor(tf/frame) do
  549. script.Heartbeat:Fire()
  550. end
  551. lastframe=tick()
  552. end
  553. if tossremainder then
  554. tf = 0
  555. else
  556. tf = tf - frame * math.floor(tf/frame)
  557. end
  558. end
  559. end)
  560. ----------------------------------------------------
  561. for i,v in pairs(char:children()) do
  562. if v:IsA("Hat") then
  563. v:Destroy()
  564. end
  565. end
  566. for i,v in pairs (hed:GetChildren()) do
  567. if v:IsA("Sound") then
  568. v:Destroy()
  569. end
  570. end
  571. ----------------------------------------------------
  572. Debounces = {
  573. CanAttack = true;
  574. CanJoke = false;
  575. NoIdl = false;
  576. Slashing = false;
  577. Slashed = false;
  578. ks = false;
  579. }
  580. ----------------------------------------------------
  581. function weld5(part0, part1, c0, c1)
  582. weeld=Instance.new("Weld", part0)
  583. weeld.Part0=part0
  584. weeld.Part1=part1
  585. weeld.C0=c0
  586. weeld.C1=c1
  587. return weeld
  588. end
  589. ----------------------------------------------------
  590. function NewPart(prnt,siz,cf,trans,anc,mat,col)
  591. local prt=Instance.new("Part")
  592. prt.Parent=prnt
  593. prt.Name="Part"
  594. prt.Size=siz
  595. prt.CanCollide=false
  596. prt.Anchored=anc
  597. prt.Locked=true
  598. prt.Transparency = trans
  599. prt.TopSurface=10
  600. prt.BottomSurface=10
  601. prt.FrontSurface=10
  602. prt.BackSurface=10
  603. prt.LeftSurface=10
  604. prt.RightSurface=10
  605. prt:BreakJoints()
  606. prt.CFrame=cf or CFrame.new(30,10,30)
  607. prt.Material=mat
  608. prt.BrickColor=BrickColor.new(col)
  609. m=Instance.new("SpecialMesh",prt)
  610. m.MeshType=6
  611. return prt
  612. end
  613. ----------------------------------------------------
  614. function lerp(a, b, t) -- Linear interpolation
  615. return a + (b - a)*t
  616. end
  617.  
  618. function slerp(a, b, t) --Spherical interpolation
  619. dot = a:Dot(b)
  620. if dot > 0.99999 or dot < -0.99999 then
  621. return t <= 0.5 and a or b
  622. else
  623. r = math.acos(dot)
  624. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  625. end
  626. end
  627.  
  628. function matrixInterpolate(a, b, t)
  629. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  630. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  631. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  632. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  633. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  634. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  635. local t = v1:Dot(v2)
  636. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  637. return CFrame.new()
  638. end
  639. return CFrame.new(
  640. v0.x, v0.y, v0.z,
  641. v1.x, v1.y, v1.z,
  642. v2.x, v2.y, v2.z,
  643. v3.x, v3.y, v3.z)
  644. end
  645. ----------------------------------------------------
  646. function genWeld(a,b)
  647. local w = Instance.new("Weld",a)
  648. w.Part0 = a
  649. w.Part1 = b
  650. return w
  651. end
  652. function weld(a, b)
  653. local weld = Instance.new("Weld")
  654. weld.Name = "W"
  655. weld.Part0 = a
  656. weld.Part1 = b
  657. weld.C0 = a.CFrame:inverse() * b.CFrame
  658. weld.Parent = a
  659. return weld;
  660. end
  661. ----------------------------------------------------
  662. function Lerp(c1,c2,al)
  663. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  664. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  665. for i,v in pairs(com1) do
  666. com1[i] = v+(com2[i]-v)*al
  667. end
  668. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  669. end
  670. ----------------------------------------------------
  671. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  672. local wld = Instance.new("Weld", wp1)
  673. wld.Part0 = wp0
  674. wld.Part1 = wp1
  675. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  676. end
  677. ----------------------------------------------------
  678. newWeld(torso, larm, -1.5, 0.5, 0)
  679. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  680. newWeld(torso, rarm, 1.5, 0.5, 0)
  681. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  682. newWeld(torso, hed, 0, 1.5, 0)
  683. newWeld(torso, lleg, -0.5, -1, 0)
  684. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  685. newWeld(torso, rleg, 0.5, -1, 0)
  686. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  687. newWeld(root, torso, 0, -1, 0)
  688. torso.Weld.C1 = CFrame.new(0, -1, 0)
  689. ----------------------------------------------------
  690. z = Instance.new("Sound",char) --Smile: print("â?º")
  691. z.SoundId = "rbxassetid://0"--410761150, 411368002
  692. z.Looped = true
  693. z.Pitch = 1
  694. z.Volume = 1
  695. wait(0.1)
  696. z:Play()
  697. ----------------------------------------------------
  698. New = function(Object, Parent, Name, Data)
  699. local Object = Instance.new(Object)
  700. for Index, Value in pairs(Data or {}) do
  701. Object[Index] = Value
  702. end
  703. Object.Parent = Parent
  704. Object.Name = Name
  705. return Object
  706. end
  707. ----------------------------------------------------
  708. local cor = Instance.new("Part", larm.LeftArm)
  709. cor.Name = "Thingy"
  710. cor.Locked = true
  711. cor.BottomSurface = 0
  712. cor.CanCollide = false
  713. cor.Size = Vector3.new(1, 1, 1)
  714. cor.Transparency = 1
  715. cor.TopSurface = 0
  716. corw = Instance.new("Weld", cor)
  717. corw.Part0 = larm
  718. corw.Part1 = cor
  719. corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  720. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  721. weld1 = Instance.new("Weld", larm.LeftArm)
  722. weld1.Part0 = cor
  723. weld1.Part1 = larm.LeftArm.LeftArmPlate
  724. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  725. --Right Arm
  726. m2 = Instance.new("Model")
  727. m2.Name = "RightArm"
  728.  
  729. p7 = Instance.new("Part", m2)
  730. p7.BrickColor = BrickColor.new("Institutional white")
  731. p7.Material = Enum.Material.SmoothPlastic
  732. p7.Transparency = 1
  733. p7.Name = "RightArmPlate"
  734. p7.CFrame = CFrame.new(3.5, -9.54201603, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  735. p7.FormFactor = Enum.FormFactor.Symmetric
  736. p7.Size = Vector3.new(1, 2, 1)
  737. p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  738. p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  739. p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  740. p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  741. p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  742. p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  743. b7 = Instance.new("SpecialMesh", p7)
  744. b7.MeshType = Enum.MeshType.Brick
  745. b7.Name = "Mesh"
  746. b7.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  747.  
  748.  
  749. w1 = Instance.new("Weld", p1)
  750. w1.Name = "Part_Weld"
  751. w1.Part0 = p1
  752. w1.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  753. w1.Part1 = p2
  754. w1.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  755. w2 = Instance.new("Weld", p2)
  756. w2.Name = "Part_Weld"
  757. w2.Part0 = p2
  758. w2.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  759. w2.Part1 = p3
  760. w2.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  761. w3 = Instance.new("Weld", p3)
  762. w3.Name = "Part_Weld"
  763. w3.Part0 = p3
  764. w3.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  765. w3.Part1 = p4
  766. w3.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  767. w4 = Instance.new("Weld", p4)
  768. w4.Name = "Part_Weld"
  769. w4.Part0 = p4
  770. w4.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  771. w4.Part1 = p5
  772. w4.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  773. w5 = Instance.new("Weld", p5)
  774. w5.Name = "Part_Weld"
  775. w5.Part0 = p5
  776. w5.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  777. w5.Part1 = p6
  778. w5.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  779. w6 = Instance.new("Weld", p6)
  780. w6.Name = "RightArmPlate_Weld"
  781. w6.Part0 = p6
  782. w6.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  783. w6.Part1 = p7
  784. w6.C1 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  785. w7 = Instance.new("Weld", p7)
  786. w7.Name = "Part_Weld"
  787. w7.Part0 = p7
  788. w7.C0 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  789. w7.Part1 = p8
  790. w7.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  791. w8 = Instance.new("Weld", p8)
  792. w8.Name = "Part_Weld"
  793. w8.Part0 = p8
  794. w8.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  795. w8.Part1 = p9
  796. w8.C1 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  797. w9 = Instance.new("Weld", p9)
  798. w9.Name = "Part_Weld"
  799. w9.Part0 = p9
  800. w9.C0 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  801. w9.Part1 = p10
  802. w9.C1 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  803. w10 = Instance.new("Weld", p10)
  804. w10.Name = "Part_Weld"
  805. w10.Part0 = p10
  806. w10.C0 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  807. w10.Part1 = p11
  808. w10.C1 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  809. w11 = Instance.new("Weld", p11)
  810. w11.Name = "Part_Weld"
  811. w11.Part0 = p11
  812. w11.C0 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  813. w11.Part1 = p12
  814. w11.C1 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  815. w12 = Instance.new("Weld", p12)
  816. w12.Name = "Part_Weld"
  817. w12.Part0 = p12
  818. w12.C0 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  819. w12.Part1 = p13
  820. w12.C1 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  821. w13 = Instance.new("Weld", p13)
  822. w13.Name = "Part_Weld"
  823. w13.Part0 = p13
  824. w13.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  825. w13.Part1 = p14
  826. w13.C1 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  827. w14 = Instance.new("Weld", p14)
  828. w14.Name = "Part_Weld"
  829. w14.Part0 = p14
  830. w14.C0 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  831. w14.Part1 = p15
  832. w14.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  833. w15 = Instance.new("Weld", p15)
  834. w15.Name = "Part_Weld"
  835. w15.Part0 = p15
  836. w15.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  837. w15.Part1 = p16
  838. w15.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  839. w16 = Instance.new("Weld", p16)
  840. w16.Name = "Part_Weld"
  841. w16.Part0 = p16
  842. w16.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  843. w16.Part1 = p17
  844. w16.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  845. w17 = Instance.new("Weld", p17)
  846. w17.Name = "Part_Weld"
  847. w17.Part0 = p17
  848. w17.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  849. w17.Part1 = p18
  850. w17.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  851. w18 = Instance.new("Weld", p18)
  852. w18.Name = "Part_Weld"
  853. w18.Part0 = p18
  854. w18.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  855. w18.Part1 = p19
  856. w18.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  857. m2.Parent = rarm
  858. m2:MakeJoints()
  859. ----------------------------------------------------
  860. local cor2 = Instance.new("Part", rarm.RightArm)
  861. cor2.Name = "Thingy"
  862. cor2.Locked = true
  863. cor2.BottomSurface = 0
  864. cor2.CanCollide = false
  865. cor2.Size = Vector3.new(1, 1, 1)
  866. cor2.Transparency = 1
  867. cor2.TopSurface = 0
  868. corw2 = Instance.new("Weld", cor2)
  869. corw2.Part0 = rarm
  870. corw2.Part1 = cor2
  871. corw2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  872. corw2.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  873. weld2 = Instance.new("Weld", rarm.RightArm)
  874. weld2.Part0 = cor2
  875. weld2.Part1 = rarm.RightArm.RightArmPlate
  876. weld2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  877.  
  878.  
  879. --Zyrodoxa
  880. m8 = Instance.new("Model")
  881. m8.Name = "Zyrodoxa"
  882.  
  883. p16 = Instance.new("Part", m8)
  884. p16.BrickColor = BrickColor.new("Instutional white")
  885. p16.Material = Enum.Material.Metal
  886. p16.Name = "Handle"
  887. 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)
  888. p16.CanCollide = false
  889. p16.Locked = true
  890. p16.FormFactor = Enum.FormFactor.Custom
  891. p16.Size = Vector3.new(0, 0, 0)
  892. p16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  893. p16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  894. p16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  895. p16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  896. p16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  897. p16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  898. b16 = Instance.new("BlockMesh", p16)
  899. b16.Name = "Mesh"
  900. b16.Scale = Vector3.new(0, 0, 0)
  901.  
  902. w16 = Instance.new("Weld", p16)
  903. w16.Name = "Block_Weld"
  904. w16.Part0 = p16
  905. 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)
  906. w16.Part1 = p17
  907. 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)
  908.  
  909. m8.Parent = rarm
  910. m8:MakeJoints()
  911. ----------------------------------------------------
  912. wait()
  913. Tool = Me.Character:findFirstChild("Sword")
  914. if Tool ~= nil then
  915. Tool:Remove()
  916. end
  917. Tool = Instance.new("Model")
  918. Tool.Parent = Me.Character
  919. Tool.Name = "Sword"
  920. Handle = Instance.new("Part")
  921. Handle.Parent = Tool
  922. Handle.Locked = true
  923. Handle.CanCollide = false
  924. Handle.TopSurface = "Smooth"
  925. Handle.BottomSurface = "Smooth"
  926. Handle.Size = Vector3.new(1, 1, 1)
  927. Handle.formFactor = "Symmetric"
  928. Handle.Transparency = 1
  929. Handle.Name = "Handle"
  930. Handle.Reflectance = 0
  931. Mesh = Instance.new("SpecialMesh")
  932. Mesh.Parent = Handle
  933. Mesh.MeshType = "Brick"
  934. Mesh.Scale = Vector3.new(0, 0, 0)
  935. Weld = Instance.new("Weld")
  936. Weld.Parent = Me.Character["Torso"]
  937. Weld.Part0 = Me.Character["Torso"]
  938. Weld.Part1 = Handle
  939. Weld.C0 = CFrame.new(1.6, 2.3, 0.6) * CFrame.Angles(0, 0, 2.2)
  940. Weld.C0 = Weld.C0 * CFrame.Angles(0, 1.57, 0)
  941. Grip1 = Instance.new("Part")
  942. Grip1.Parent = Tool
  943. Grip1.Locked = true
  944. Grip1.BrickColor = BrickColor.new("Navy blue")
  945. Grip1.TopSurface = "Smooth"
  946. Grip1.BottomSurface = "Smooth"
  947. Grip1.Size = Vector3.new(1, 1, 1)
  948. Grip1.formFactor = "Symmetric"
  949. Grip1.Transparency = 0
  950. Grip1.Reflectance = 0
  951. Grip1.CanCollide = false
  952. Grip1.Name = "Grip1"
  953. GripMesh1 = Instance.new("CylinderMesh")
  954. GripMesh1.Parent = Grip1
  955. GripMesh1.Scale = Vector3.new(0.45, 1.6, 0.45)
  956. GripWeld = Instance.new("Weld")
  957. GripWeld.Parent = Handle
  958. GripWeld.Part0 = Handle
  959. GripWeld.Part1 = Grip1
  960. GripWeld.C0 = CFrame.new(0, 0, 0)*CFrame.Angles(0, 0, 0)
  961. Grip2 = Instance.new("Part")
  962. Grip2.Parent = Tool
  963. Grip2.Locked = true
  964. Grip2.BrickColor = BrickColor.new("Navy blue")
  965. Grip2.TopSurface = "Smooth"
  966. Grip2.BottomSurface = "Smooth"
  967. Grip2.Size = Vector3.new(1, 1, 1)
  968. Grip2.formFactor = "Symmetric"
  969. Grip2.Transparency = 0
  970. Grip2.CanCollide = false
  971. Grip2.Name = "Grip2"
  972. GripMesh2 = Instance.new("CylinderMesh")
  973. GripMesh2.Parent = Grip2
  974. GripMesh2.Scale = Vector3.new(0.46, 0.1, 0.46)
  975. GripWeld2 = Instance.new("Weld")
  976. GripWeld2.Parent = Handle
  977. GripWeld2.Part0 = Handle
  978. GripWeld2.Part1 = Grip2
  979. GripWeld2.C0 = CFrame.new(0, -0.4, 0)*CFrame.Angles(0, 0, 0)
  980. Grip3 = Instance.new("Part")
  981. Grip3.Parent = Tool
  982. Grip3.Locked = true
  983. Grip3.BrickColor = BrickColor.new("Navy blue")
  984. Grip3.TopSurface = "Smooth"
  985. Grip3.BottomSurface = "Smooth"
  986. Grip3.Size = Vector3.new(1, 1, 1)
  987. Grip3.formFactor = "Symmetric"
  988. Grip3.Transparency = 0
  989. Grip3.CanCollide = false
  990. Grip3.Name = "Grip3"
  991. GripMesh3 = Instance.new("CylinderMesh")
  992. GripMesh3.Parent = Grip3
  993. GripMesh3.Scale = Vector3.new(0.46, 0.1, 0.46)
  994. GripWeld3 = Instance.new("Weld")
  995. GripWeld3.Parent = Handle
  996. GripWeld3.Part0 = Handle
  997. GripWeld3.Part1 = Grip3
  998. GripWeld3.C0 = CFrame.new(0, -0.29, 0)*CFrame.Angles(0, 0, 0.05)
  999. Grip4 = Instance.new("Part")
  1000. Grip4.Parent = Tool
  1001. Grip4.Locked = true
  1002. Grip4.BrickColor = BrickColor.new("Navy blue")
  1003. Grip4.TopSurface = "Smooth"
  1004. Grip4.BottomSurface = "Smooth"
  1005. Grip4.Size = Vector3.new(1, 1, 1)
  1006. Grip4.formFactor = "Symmetric"
  1007. Grip4.Transparency = 0
  1008. Grip4.CanCollide = false
  1009. Grip4.Name = "Grip4"
  1010. GripMesh4 = Instance.new("CylinderMesh")
  1011. GripMesh4.Parent = Grip4
  1012. GripMesh4.Scale = Vector3.new(0.46, 0.1, 0.46)
  1013. GripWeld4 = Instance.new("Weld")
  1014. GripWeld4.Parent = Handle
  1015. GripWeld4.Part0 = Handle
  1016. GripWeld4.Part1 = Grip4
  1017. GripWeld4.C0 = CFrame.new(0, -0.18, 0)*CFrame.Angles(0, 0, 0)
  1018. Grip5 = Instance.new("Part")
  1019. Grip5.Parent = Tool
  1020. Grip5.Locked = true
  1021. Grip5.BrickColor = BrickColor.new("Navy blue")
  1022. Grip5.TopSurface = "Smooth"
  1023. Grip5.BottomSurface = "Smooth"
  1024. Grip5.Size = Vector3.new(1, 1, 1)
  1025. Grip5.formFactor = "Symmetric"
  1026. Grip5.Transparency = 0
  1027. Grip5.CanCollide = false
  1028. Grip5.Name = "Grip5"
  1029. GripMesh5 = Instance.new("CylinderMesh")
  1030. GripMesh5.Parent = Grip5
  1031. GripMesh5.Scale = Vector3.new(0.46, 0.1, 0.46)
  1032. GripWeld5 = Instance.new("Weld")
  1033. GripWeld5.Parent = Handle
  1034. GripWeld5.Part0 = Handle
  1035. GripWeld5.Part1 = Grip5
  1036. GripWeld5.C0 = CFrame.new(0, -0.07, 0)*CFrame.Angles(0, 0, 0.03)
  1037. Grip6 = Instance.new("Part")
  1038. Grip6.Parent = Tool
  1039. Grip6.Locked = true
  1040. Grip6.BrickColor = BrickColor.new("Navy blue")
  1041. Grip6.TopSurface = "Smooth"
  1042. Grip6.BottomSurface = "Smooth"
  1043. Grip6.Size = Vector3.new(1, 1, 1)
  1044. Grip6.formFactor = "Symmetric"
  1045. Grip6.Transparency = 0
  1046. Grip6.CanCollide = false
  1047. Grip6.Name = "Grip6"
  1048. GripMesh = Instance.new("CylinderMesh")
  1049. GripMesh.Parent = Grip6
  1050. GripMesh.Scale = Vector3.new(0.46, 0.1, 0.46)
  1051. GripWeld = Instance.new("Weld")
  1052. GripWeld.Parent = Handle
  1053. GripWeld.Part0 = Handle
  1054. GripWeld.Part1 = Grip6
  1055. GripWeld.C0 = CFrame.new(0, 0.04, 0)*CFrame.Angles(0, 0, -0.05)
  1056. Grip7 = Instance.new("Part")
  1057. Grip7.Parent = Tool
  1058. Grip7.Locked = true
  1059. Grip7.BrickColor = BrickColor.new("Navy blue")
  1060. Grip7.TopSurface = "Smooth"
  1061. Grip7.BottomSurface = "Smooth"
  1062. Grip7.Size = Vector3.new(1, 1, 1)
  1063. Grip7.formFactor = "Symmetric"
  1064. Grip7.Transparency = 0
  1065. Grip7.CanCollide = false
  1066. Grip7.Name = "Grip7"
  1067. GripMesh7 = Instance.new("CylinderMesh")
  1068. GripMesh7.Parent = Grip7
  1069. GripMesh7.Scale = Vector3.new(0.46, 0.1, 0.46)
  1070. GripWeld7 = Instance.new("Weld")
  1071. GripWeld7.Parent = Handle
  1072. GripWeld7.Part0 = Handle
  1073. GripWeld7.Part1 = Grip7
  1074. GripWeld7.C0 = CFrame.new(0, 0.15, 0)*CFrame.Angles(0, 0, 0)
  1075. Grip8 = Instance.new("Part")
  1076. Grip8.Parent = Tool
  1077. Grip8.Locked = true
  1078. Grip8.BrickColor = BrickColor.new("Navy blue")
  1079. Grip8.TopSurface = "Smooth"
  1080. Grip8.BottomSurface = "Smooth"
  1081. Grip8.Size = Vector3.new(1, 1, 1)
  1082. Grip8.formFactor = "Symmetric"
  1083. Grip8.Transparency = 0
  1084. Grip8.CanCollide = false
  1085. Grip8.Name = "Grip8"
  1086. GripMesh8 = Instance.new("CylinderMesh")
  1087. GripMesh8.Parent = Grip8
  1088. GripMesh8.Scale = Vector3.new(0.46, 0.1, 0.46)
  1089. GripWeld8 = Instance.new("Weld")
  1090. GripWeld8.Parent = Handle
  1091. GripWeld8.Part0 = Handle
  1092. GripWeld8.Part1 = Grip8
  1093. GripWeld8.C0 = CFrame.new(0, 0.26, 0)*CFrame.Angles(0, 0, 0)
  1094. Grip9 = Instance.new("Part")
  1095. Grip9.Parent = Tool
  1096. Grip9.Locked = true
  1097. Grip9.BrickColor = BrickColor.new("Navy blue")
  1098. Grip9.TopSurface = "Smooth"
  1099. Grip9.BottomSurface = "Smooth"
  1100. Grip9.Size = Vector3.new(1, 1, 1)
  1101. Grip9.formFactor = "Symmetric"
  1102. Grip9.Transparency = 0
  1103. Grip9.CanCollide = false
  1104. Grip9.Name = "Grip9"
  1105. GripMesh9 = Instance.new("CylinderMesh")
  1106. GripMesh9.Parent = Grip9
  1107. GripMesh9.Scale = Vector3.new(0.46, 0.1, 0.46)
  1108. GripWeld9 = Instance.new("Weld")
  1109. GripWeld9.Parent = Handle
  1110. GripWeld9.Part0 = Handle
  1111. GripWeld9.Part1 = Grip9
  1112. GripWeld9.C0 = CFrame.new(0, 0.37, 0)*CFrame.Angles(0, 0, 0.07)
  1113. Grip10 = Instance.new("Part")
  1114. Grip10.Parent = Tool
  1115. Grip10.Locked = true
  1116. Grip10.Reflectance = 0
  1117. Grip10.CanCollide = false
  1118. Grip10.BrickColor = BrickColor.new(1003)
  1119. Grip10.TopSurface = "Smooth"
  1120. Grip10.BottomSurface = "Smooth"
  1121. Grip10.Size = Vector3.new(1, 1, 1)
  1122. Grip10.formFactor = "Symmetric"
  1123. Grip10.Transparency = 0
  1124. Grip10.Name = "Grip10"
  1125. GripMesh10 = Instance.new("SpecialMesh")
  1126. GripMesh10.Parent = Grip10
  1127. GripMesh10.MeshType = "Sphere"
  1128. GripMesh10.Scale = Vector3.new(0.6, 0.6, 0.6)
  1129. GripWeld10 = Instance.new("Weld")
  1130. GripWeld10.Parent = Handle
  1131. GripWeld10.Part0 = Handle
  1132. GripWeld10.Part1 = Grip10
  1133. GripWeld10.C0 = CFrame.new(0, -0.8, 0)*CFrame.Angles(0, 0, 0)
  1134. Grip11 = Instance.new("Part")
  1135. Grip11.Parent = Tool
  1136. Grip11.Locked = true
  1137. Grip11.BrickColor = BrickColor.new(1003)
  1138. Grip11.TopSurface = "Smooth"
  1139. Grip11.CanCollide = false
  1140. Grip11.BottomSurface = "Smooth"
  1141. Grip11.Size = Vector3.new(1, 1, 1)
  1142. Grip11.formFactor = "Symmetric"
  1143. Grip11.Transparency = 0
  1144. Grip11.Name = "Grip11"
  1145. Grip11.Reflectance = 0
  1146. GripMesh11 = Instance.new("SpecialMesh")
  1147. GripMesh11.Parent = Grip11
  1148. GripMesh11.MeshType = "Brick"
  1149. GripMesh11.Scale = Vector3.new(0.55, 0.4, 1.4)
  1150. GripWeld11 = Instance.new("Weld")
  1151. GripWeld11.Parent = Handle
  1152. GripWeld11.Part0 = Handle
  1153. GripWeld11.Part1 = Grip11
  1154. GripWeld11.C0 = CFrame.new(0, 0.85, 0)*CFrame.Angles(0, 0, 0)
  1155. Grip12 = Instance.new("Part")
  1156. Grip12.Parent = Tool
  1157. Grip12.Locked = true
  1158. Grip12.CanCollide = false
  1159. Grip12.BrickColor = BrickColor.new(1003)
  1160. Grip12.TopSurface = "Smooth"
  1161. Grip12.BottomSurface = "Smooth"
  1162. Grip12.Size = Vector3.new(1, 1, 1)
  1163. Grip12.formFactor = "Symmetric"
  1164. Grip12.Transparency = 0
  1165. Grip12.Name = "Grip12"
  1166. Grip12.Reflectance = 0
  1167. GripMesh12 = Instance.new("SpecialMesh")
  1168. GripMesh12.Parent = Grip12
  1169. GripMesh12.MeshType = "Wedge"
  1170. GripMesh12.Scale = Vector3.new(0.55, 0.4, 0.9)
  1171. GripWeld12 = Instance.new("Weld")
  1172. GripWeld12.Parent = Handle
  1173. GripWeld12.Part0 = Handle
  1174. GripWeld12.Part1 = Grip12
  1175. GripWeld12.C0 = CFrame.new(0, 0.908, 1.1)*CFrame.Angles(3, 0, 0)
  1176. Grip13 = Instance.new("Part")
  1177. Grip13.Parent = Tool
  1178. Grip13.Locked = true
  1179. Grip13.CanCollide = false
  1180. Grip13.BrickColor = BrickColor.new(1003)
  1181. Grip13.TopSurface = "Smooth"
  1182. Grip13.BottomSurface = "Smooth"
  1183. Grip13.Size = Vector3.new(1, 1, 1)
  1184. Grip13.formFactor = "Symmetric"
  1185. Grip13.Transparency = 0
  1186. Grip13.Name = "Grip13"
  1187. Grip13.Reflectance = 0
  1188. GripMesh13 = Instance.new("SpecialMesh")
  1189. GripMesh13.Parent = Grip13
  1190. GripMesh13.MeshType = "Wedge"
  1191. GripMesh13.Scale = Vector3.new(0.55, 0.4, 0.9)
  1192. GripWeld13 = Instance.new("Weld")
  1193. GripWeld13.Parent = Handle
  1194. GripWeld13.Part0 = Handle
  1195. GripWeld13.Part1 = Grip13
  1196. GripWeld13.C0 = CFrame.new(0, 0.908, -1.1)*CFrame.Angles(-3, 3.14, 0)
  1197. Grip14 = Instance.new("Part")
  1198. Grip14.Parent = Tool
  1199. Grip14.Locked = true
  1200. Grip14.CanCollide = false
  1201. Grip14.BrickColor = BrickColor.new("Navy blue")
  1202. Grip14.TopSurface = "Smooth"
  1203. Grip14.BottomSurface = "Smooth"
  1204. Grip14.Size = Vector3.new(1, 1, 1)
  1205. Grip14.formFactor = "Symmetric"
  1206. Grip14.Transparency = 0.1
  1207. Grip14.Name = "Grip14"
  1208. Grip14.Reflectance = 0
  1209. GripMesh14 = Instance.new("SpecialMesh")
  1210. GripMesh14.Parent = Grip14
  1211. GripMesh14.MeshType = "Brick"
  1212. GripMesh14.Scale = Vector3.new(0.552, 0.15, 1.3)
  1213. GripWeld14 = Instance.new("Weld")
  1214. GripWeld14.Parent = Handle
  1215. GripWeld14.Part0 = Handle
  1216. GripWeld14.Part1 = Grip14
  1217. GripWeld14.C0 = CFrame.new(0, 0.85, 0)*CFrame.Angles(0, 0, 0)
  1218. Grip15 = Instance.new("Part")
  1219. Grip15.Parent = Tool
  1220. Grip15.Locked = true
  1221. Grip15.CanCollide = false
  1222. Grip15.BrickColor = BrickColor.new("Navy blue")
  1223. Grip15.TopSurface = "Smooth"
  1224. Grip15.BottomSurface = "Smooth"
  1225. Grip15.Size = Vector3.new(1, 1, 1)
  1226. Grip15.formFactor = "Symmetric"
  1227. Grip15.Transparency = 0.1
  1228. Grip15.Name = "Grip15"
  1229. Grip15.Reflectance = 0
  1230. GripMesh15 = Instance.new("SpecialMesh")
  1231. GripMesh15.Parent = Grip15
  1232. GripMesh15.MeshType = "Sphere"
  1233. GripMesh15.Scale = Vector3.new(0.6, 0.4, 1.5)
  1234. GripWeld15 = Instance.new("Weld")
  1235. GripWeld15.Parent = Handle
  1236. GripWeld15.Part0 = Handle
  1237. GripWeld15.Part1 = Grip15
  1238. GripWeld15.C0 = CFrame.new(0, 0.85, 0)*CFrame.Angles(0, 0, 0)
  1239. Grip16 = Instance.new("Part")
  1240. Grip16.Parent = Tool
  1241. Grip16.Locked = true
  1242. Grip16.BrickColor = BrickColor.new("Navy blue")
  1243. Grip16.TopSurface = "Smooth"
  1244. Grip16.BottomSurface = "Smooth"
  1245. Grip16.Size = Vector3.new(1, 1, 1)
  1246. Grip16.formFactor = "Symmetric"
  1247. Grip16.Transparency = 0
  1248. Grip16.Name = "Grip16"
  1249. Grip16.CanCollide = false
  1250. Grip16.Reflectance = 0
  1251. GripMesh16 = Instance.new("SpecialMesh")
  1252. GripMesh16.Parent = Grip16
  1253. GripMesh16.MeshType = "Brick"
  1254. GripMesh16.Scale = Vector3.new(0.2, 0.3, 1)
  1255. GripWeld = Instance.new("Weld")
  1256. GripWeld.Parent = Handle
  1257. GripWeld.Part0 = Handle
  1258. GripWeld.Part1 = Grip16
  1259. GripWeld.C0 = CFrame.new(0, 1.1, 0)*CFrame.Angles(0, 0, 0)
  1260. Grip17 = Instance.new("Part")
  1261. Grip17.Parent = Tool
  1262. Grip17.Locked = true
  1263. Grip17.BrickColor = BrickColor.new(1003)
  1264. Grip17.TopSurface = "Smooth"
  1265. Grip17.BottomSurface = "Smooth"
  1266. Grip17.Size = Vector3.new(1, 3, 1)
  1267. Grip17.formFactor = "Symmetric"
  1268. Grip17.Transparency = 0
  1269. Grip17.Name = "Grip17"
  1270. Grip17.CanCollide = false
  1271. Grip17.Reflectance = 0
  1272. GripMesh17 = Instance.new("SpecialMesh")
  1273. GripMesh17.Parent = Grip17
  1274. GripMesh17.MeshType = "Brick"
  1275. GripMesh17.Scale = Vector3.new(0.19, 1, 1)
  1276. GripWeld17 = Instance.new("Weld")
  1277. GripWeld17.Parent = Handle
  1278. GripWeld17.Part0 = Handle
  1279. GripWeld17.Part1 = Grip17
  1280. GripWeld17.C0 = CFrame.new(0, 2.21, -0.08)*CFrame.Angles(-0.08, 0, 0)
  1281. Grip18 = Instance.new("Part")
  1282. Grip18.Parent = Tool
  1283. Grip18.Locked = true
  1284. Grip18.BrickColor = BrickColor.new(1003)
  1285. Grip18.TopSurface = "Smooth"
  1286. Grip18.BottomSurface = "Smooth"
  1287. Grip18.Size = Vector3.new(1, 3, 1)
  1288. Grip18.formFactor = "Symmetric"
  1289. Grip18.Transparency = 0
  1290. Grip18.Name = "Grip18"
  1291. Grip18.CanCollide = false
  1292. Grip18.Reflectance = 0
  1293. GripMesh18 = Instance.new("SpecialMesh")
  1294. GripMesh18.Parent = Grip18
  1295. GripMesh18.MeshType = "Brick"
  1296. GripMesh18.Scale = Vector3.new(0.19, 1, 1)
  1297. GripWeld18 = Instance.new("Weld")
  1298. GripWeld18.Parent = Handle
  1299. GripWeld18.Part0 = Handle
  1300. GripWeld18.Part1 = Grip18
  1301. GripWeld18.C0 = CFrame.new(0, 4.15, -0.155)*CFrame.Angles(0, 0, 0)
  1302. Grip19 = Instance.new("Part")
  1303. Grip19.Parent = Tool
  1304. Grip19.Locked = true
  1305. Grip19.BrickColor = BrickColor.new(1003)
  1306. Grip19.TopSurface = "Smooth"
  1307. Grip19.BottomSurface = "Smooth"
  1308. Grip19.Size = Vector3.new(1, 3, 1)
  1309. Grip19.formFactor = "Symmetric"
  1310. Grip19.Transparency = 0
  1311. Grip19.CanCollide = false
  1312. Grip19.Name = "Grip19"
  1313. Grip19.Reflectance = 0
  1314. GripMesh19 = Instance.new("SpecialMesh")
  1315. GripMesh19.Parent = Grip19
  1316. GripMesh19.MeshType = "Wedge"
  1317. GripMesh19.Scale = Vector3.new(0.19, 1, 1)
  1318. GripWeld19 = Instance.new("Weld")
  1319. GripWeld19.Parent = Handle
  1320. GripWeld19.Part0 = Handle
  1321. GripWeld19.Part1 = Grip19
  1322. GripWeld19.C0 = CFrame.new(0, 6.99, -0.07)*CFrame.Angles(0.08, 0, 0)
  1323. Grip20 = Instance.new("Part")
  1324. Grip20.Parent = Tool
  1325. Grip20.Locked = true
  1326. Grip20.BrickColor = BrickColor.new("Navy blue")
  1327. Grip20.TopSurface = "Smooth"
  1328. Grip20.BottomSurface = "Smooth"
  1329. Grip20.Size = Vector3.new(1, 3, 1)
  1330. Grip20.formFactor = "Symmetric"
  1331. Grip20.Transparency = 0
  1332. Grip20.Name = "Grip20"
  1333. Grip20.CanCollide = false
  1334. Grip20.Reflectance = 0
  1335. GripMesh20 = Instance.new("SpecialMesh")
  1336. GripMesh20.Parent = Grip20
  1337. GripMesh20.MeshType = "Brick"
  1338. GripMesh20.Scale = Vector3.new(0.193, 1, 0.2)
  1339. GripWeld20 = Instance.new("Weld")
  1340. GripWeld20.Parent = Handle
  1341. GripWeld20.Part0 = Handle
  1342. GripWeld20.Part1 = Grip20
  1343. GripWeld20.C0 = CFrame.new(0, 2.21, -0.08)*CFrame.Angles(-0.08, 0, 0)
  1344. Grip21 = Instance.new("Part")
  1345. Grip21.Parent = Tool
  1346. Grip21.Locked = true
  1347. Grip21.BrickColor = BrickColor.new("Navy blue")
  1348. Grip21.TopSurface = "Smooth"
  1349. Grip21.BottomSurface = "Smooth"
  1350. Grip21.Size = Vector3.new(1, 1, 1)
  1351. Grip21.formFactor = "Symmetric"
  1352. Grip21.Transparency = 0
  1353. Grip21.Name = "Grip21"
  1354. Grip21.CanCollide = false
  1355. Grip21.Reflectance = 0
  1356. GripMesh21 = Instance.new("SpecialMesh")
  1357. GripMesh21.Parent = Grip21
  1358. GripMesh21.MeshType = "Brick"
  1359. GripMesh21.Scale = Vector3.new(0.193, 1, 0.2)
  1360. GripWeld21 = Instance.new("Weld")
  1361. GripWeld21.Parent = Handle
  1362. GripWeld21.Part0 = Handle
  1363. GripWeld21.Part1 = Grip21
  1364. GripWeld21.C0 = CFrame.new(0, 3.7, -0.155)*CFrame.Angles(0, 0, 0)
  1365. Grip22 = Instance.new("Part")
  1366. Grip22.Parent = Tool
  1367. Grip22.Locked = true
  1368. Grip22.BrickColor = BrickColor.new("Navy blue")
  1369. Grip22.TopSurface = "Smooth"
  1370. Grip22.BottomSurface = "Smooth"
  1371. Grip22.Size = Vector3.new(1, 1, 1)
  1372. Grip22.formFactor = "Symmetric"
  1373. Grip22.Transparency = 0
  1374. Grip22.CanCollide = false
  1375. Grip22.Name = "Grip22"
  1376. Grip22.Reflectance = 0
  1377. GripMesh22 = Instance.new("CylinderMesh")
  1378. GripMesh22.Parent = Grip22
  1379. GripMesh22.Scale = Vector3.new(0.6, 0.193, 0.6)
  1380. GripWeld22 = Instance.new("Weld")
  1381. GripWeld22.Parent = Handle
  1382. GripWeld22.Part0 = Handle
  1383. GripWeld22.Part1 = Grip22
  1384. GripWeld22.C0 = CFrame.new(0, 4.2, -0.155)*CFrame.Angles(0, 0, 1.57)
  1385. ----------------------------------------------------
  1386. models = {m,m2,m3,m4,m5,m6,m7,m8}
  1387. parts = {}
  1388. Stepped:connect(function()
  1389. for i,v in pairs(models) do
  1390. for _, a in pairs(v:GetChildren()) do
  1391. if v:IsA("Part") and v.Name ~= "Thingy" then
  1392. table.insert(parts, a)
  1393. for i,v in pairs(parts) do
  1394. v.CanCollide = false
  1395. end
  1396. end
  1397. end
  1398. end
  1399. end)
  1400. ----------------------------------------------------
  1401. local animpose = "Idle3"
  1402. local lastanimpose = "Idle1"
  1403. local grab = false
  1404. local Smooth = 1
  1405. local sine = 0
  1406. local change = 1
  1407. local val = 0
  1408. local ffing = true
  1409. ----------------------------------------------------
  1410. --[[local hitbox = rarm.Zyrodoxa.Hitbox--Zyrodoxa is the name of the dagger k
  1411.  
  1412. function FindHumanoids()
  1413. local function c_region(Position, Size)
  1414. local SizeOffset = Size/2
  1415. local Point1 = Position - SizeOffset
  1416. local Point2 = Position + SizeOffset
  1417. local a = Instance.new("Part", workspace)
  1418. a.Anchored = true
  1419. a.Size = Size
  1420. a.Position = Position
  1421. print("Hey!, I'm making a part!")
  1422. return Region3.new(Point1, Point2)
  1423. end
  1424.  
  1425. local a = c_region((hitbox.CFrame * CFrame.new(0, -1.285, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1426. local b = c_region((hitbox.CFrame * CFrame.new(0, -0.6425, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1427. local c = c_region((hitbox.CFrame * CFrame.new(0, 0.6425, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1428. local d = c_region((hitbox.CFrame * CFrame.new(0, 1.285, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1429.  
  1430. local regions = {a, b, c, d}
  1431.  
  1432. local found_humanoids = {}
  1433. local already_found = {char.Name}
  1434.  
  1435. for _, region in pairs(regions) do
  1436. for _, part in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(region, rarm.Zyrodoxa:GetChildren(), 100)) do
  1437. print(part, part.Parent, part.Name) ---nope
  1438. if part.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.ClassName == "Model" and not part:isDescendantOf(char) then
  1439. local humanoid = part.Parent:FindFirstChild("Humanoid")
  1440. local name = humanoid.Parent.Name
  1441. local exists = false
  1442. for _, n in pairs(already_found) do
  1443. if n == name then
  1444. exists = true
  1445. end
  1446. end
  1447. if not exists then
  1448. table.insert(already_found, name)
  1449. table.insert(found_humanoids, humanoid)
  1450. end
  1451. elseif part.Parent.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.Parent.ClassName == "Model" and not part:isDescendantOf(char) then
  1452. local humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
  1453. local name = humanoid.Parent.Parent.Name
  1454. local exists = false
  1455. for _, n in pairs(already_found) do
  1456. if n == name then
  1457. exists = true
  1458. end
  1459. end
  1460. if not exists then
  1461. table.insert(already_found, name)
  1462. table.insert(found_humanoids, humanoid)
  1463. end
  1464. end
  1465. end
  1466. end
  1467. return found_humanoids
  1468. end
  1469.  
  1470. local humanoids = FindHumanoids()
  1471. if #humanoids == 0 then
  1472. for i, v in pairs(humanoids) do
  1473. print(v.Parent.Name)
  1474. if Debounces.Slashing == true then
  1475. v:TakeDamage(math.random(10,20) * math.random(1,3)) --max 60 damage?
  1476. elseif Debounces.Slashing == false then
  1477. wait()
  1478. end
  1479. end
  1480. wait(0.3)
  1481. end]]--
  1482. ----------------------------------------------------
  1483. --[[mouse.KeyDown:connect(function(key)
  1484. if key == "f" then
  1485. if Debounces.CanAttack == true then
  1486. Debounces.CanAttack = false
  1487. Debounces.NoIdl = true
  1488. Debounces.on = true
  1489. for i = 1, 20 do
  1490. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1.05, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1491. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1492. CR.Joint.C1 = Lerp(CR.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(-4),0,0),0.1)
  1493. CR2.Joint.C1 = Lerp(CR2.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1494. CR3.Joint.C1 = Lerp(CR3.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1495. CR4.Joint.C1 = Lerp(CR4.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1496. CR5.Joint.C1 = Lerp(CR5.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1497. 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)
  1498. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1499. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.6,0.6,0.2)*CFrame.Angles(math.rad(-8),math.rad(12),math.rad(-12)), 0.8)
  1500. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1501. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)), 0.5)
  1502. 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)
  1503. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-6), math.rad(0), 0), 0.1)
  1504. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), 0), 0.1)
  1505. 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)
  1506. 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)
  1507. 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)
  1508. 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)
  1509. if Debounces.on == false then
  1510. break
  1511. end
  1512. fat.Event:wait()
  1513. end
  1514. end
  1515. end
  1516. end)]]--
  1517. ----------------------------------------------------
  1518. mod4 = Instance.new("Model",char)
  1519.  
  1520. ptez = {0.7, 0.8, 0.9, 1}
  1521.  
  1522. function FindNearestTorso(Position,Distance,SinglePlayer)
  1523. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1524. local List = {}
  1525. for i,v in pairs(workspace:GetChildren())do
  1526. if v:IsA("Model")then
  1527. if v:findFirstChild("Torso")then
  1528. if v ~= char then
  1529. if(v.Torso.Position -Position).magnitude <= Distance then
  1530. table.insert(List,v)
  1531. end
  1532. end
  1533. end
  1534. end
  1535. end
  1536. return List
  1537. end
  1538.  
  1539. function Slam()
  1540. local part=Instance.new('Part',mod4)
  1541. part.Anchored=true
  1542. part.CanCollide=false
  1543. part.FormFactor='Custom'
  1544. part.Size=Vector3.new(.5,.5,.5)
  1545. part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
  1546. part.Transparency=.0
  1547. part.BrickColor=BrickColor.new('New Yeller')
  1548. mesh=Instance.new('SpecialMesh',part)
  1549. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1550. mesh.Scale=Vector3.new(3,3,3)
  1551. local part2=Instance.new('Part',mod4)
  1552. part2.Anchored=true
  1553. part2.CanCollide=false
  1554. part2.FormFactor='Custom'
  1555. part2.Size=Vector3.new(.2,.2,.2)
  1556. part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
  1557. part2.Transparency=.4
  1558. part2.BrickColor=BrickColor.new('Crimson')
  1559. mesh2=Instance.new('SpecialMesh',part2)
  1560. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  1561. mesh2.Scale=Vector3.new(3,1.5,3)
  1562. x = Instance.new("Sound",larm)
  1563. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  1564. x.Pitch = ptez[math.random(1,#ptez)]
  1565. x.Volume = 1
  1566. wait(.1)
  1567. x1 = Instance.new("Sound",larm)
  1568. x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  1569. x1.Pitch = ptez[math.random(1,#ptez)]
  1570. x1.Volume = 1
  1571. wait(.1)
  1572. x:Play()
  1573. x1:Play()
  1574. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  1575. if v:FindFirstChild('Humanoid') then
  1576. v.Humanoid:TakeDamage(math.random(9000,90000))
  1577. end
  1578. end
  1579. coroutine.resume(coroutine.create(function()
  1580. for i=0,0.62,0.13 do
  1581. wait()
  1582. part.CFrame=part.CFrame
  1583. part.Transparency=i
  1584. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  1585. part2.CFrame=part2.CFrame
  1586. part2.Transparency=i
  1587. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  1588. end
  1589. part.Parent=nil
  1590. part2.Parent=nil
  1591. x:Destroy()
  1592. end))
  1593. end
  1594. ----------------------------------------------------
  1595. wPart = function(x,y,z,color,tr,cc,an,parent)
  1596. local wp = Instance.new('WedgePart',parent or Weapon)
  1597. wp.formFactor = 'Custom'
  1598. wp.Size = Vector3.new(x,y,z)
  1599. wp.BrickColor = BrickColor.new(color)
  1600. wp.CanCollide = cc
  1601. wp.Transparency = tr
  1602. wp.Anchored = an
  1603. wp.TopSurface,wp.BottomSurface = 0,0
  1604. return wp
  1605. end
  1606.  
  1607. Mesh = function(par,num,x,y,z)
  1608. local msh = _
  1609. if num == 1 then
  1610. msh = Instance.new("CylinderMesh",par)
  1611. elseif num == 2 then
  1612. msh = Instance.new("SpecialMesh",par)
  1613. msh.MeshType = 3
  1614. elseif num == 3 then
  1615. msh = Instance.new("BlockMesh",par)
  1616. elseif num == 4 then
  1617. msh = Instance.new("SpecialMesh",par)
  1618. msh.MeshType = "Torso"
  1619. elseif type(num) == 'string' then
  1620. msh = Instance.new("SpecialMesh",par)
  1621. msh.MeshId = num
  1622. end
  1623. msh.Scale = Vector3.new(x,y,z)
  1624. return msh
  1625. end
  1626.  
  1627. local function CFrameFromTopBack(at, top, back)
  1628. local right = top:Cross(back)
  1629. return CFrame.new(at.x, at.y, at.z,
  1630. right.x, top.x, back.x,
  1631. right.y, top.y, back.y,
  1632. right.z, top.z, back.z)
  1633. end
  1634.  
  1635. function Triangle(a, b, c)
  1636. local edg1 = (c-a):Dot((b-a).unit)
  1637. local edg2 = (a-b):Dot((c-b).unit)
  1638. local edg3 = (b-c):Dot((a-c).unit)
  1639. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1640. a, b, c = a, b, c
  1641. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1642. a, b, c = b, c, a
  1643. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1644. a, b, c = c, a, b
  1645. else
  1646. print("unreachable")
  1647. end
  1648. local len1 = (c-a):Dot((b-a).unit)
  1649. local len2 = (b-a).magnitude - len1
  1650. local width = (a + (b-a).unit*len1 - c).magnitude
  1651. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1652. local list = {}
  1653. if len1 > 0.01 then
  1654. local w1 = wPart(0,0,0,'Institutional white',0.5,false,true,char)
  1655. local sz = Vector3.new(0.2, width, len1)
  1656. w1.Size = sz
  1657. local sp = Mesh(w1,2,0,0,0)
  1658. sp.MeshType='Wedge'
  1659. sp.Scale=Vector3.new(0,1,1)*sz/w1.Size
  1660. w1:BreakJoints()
  1661. w1.Anchored = true
  1662. w1.Transparency = 0.7
  1663. Spawn(function()
  1664. for i=0,1,0.1 do
  1665. fat.Event:wait()
  1666. w1.Transparency=w1.Transparency+0.03
  1667. end
  1668. end)
  1669. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1670. table.insert(list,w1)
  1671. end
  1672. if len2 > 0.01 then
  1673. local w2 = wPart(0,0,0,'Institutional white',0.5,false,true,char)
  1674. local sz = Vector3.new(0.2, width, len2)
  1675. w2.Size = sz
  1676. local sp = Mesh(w2,2,0,0,0)
  1677. sp.MeshType='Wedge'
  1678. sp.Scale=Vector3.new(0,1,1)*sz/w2.Size
  1679. w2:BreakJoints()
  1680. w2.Anchored = true
  1681. w2.Transparency = 0.7
  1682. Spawn(function()
  1683. for i=0,1,0.1 do
  1684. fat.Event:wait()
  1685. w2.Transparency=w2.Transparency+0.03
  1686. end
  1687. end)
  1688. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1689. table.insert(list,w2)
  1690. end
  1691. return unpack(list)
  1692. end
  1693.  
  1694. function trail(p,t,h)
  1695. Spawn(function()
  1696. local blcf = p.CFrame
  1697. local scfr = blcf
  1698. for i=1,t do
  1699. local blcf = p.CFrame
  1700. if scfr and (p.Position-scfr.p).magnitude > .1 then
  1701. 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)
  1702. if a then game.Debris:AddItem(a,1) end
  1703. if b then game.Debris:AddItem(b,1) end
  1704. 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)
  1705. if a then game.Debris:AddItem(a,1) end
  1706. if b then game.Debris:AddItem(b,1) end
  1707. scfr = blcf
  1708. elseif not scfr then
  1709. scfr = blcf
  1710. end
  1711. fat.Event:wait()
  1712. end
  1713. scfr=nil
  1714. end)
  1715. end
  1716. --trail(char.Sword.Blade,1e1000,5)
  1717. ----------------------------------------------------
  1718. function Dmg()
  1719. local partofdeath = rarm.Zyrodoxa.Hitbox
  1720. local function CreateRegion3FromLocAndSize(Position, Size)
  1721. local SizeOffset = Size/2
  1722. local Point1 = Position - SizeOffset
  1723. local Point2 = Position + SizeOffset
  1724. return Region3.new(Point1, Point2)
  1725. end
  1726. local reg = CreateRegion3FromLocAndSize(partofdeath.Position, partofdeath.Size)
  1727. for i, v in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(reg, char:GetChildren(), 100)) do
  1728. Spawn(function()
  1729. if Debounces.Slashing == true and Debounces.Slashed == false then
  1730. Debounces.Slashed = true
  1731. ypcall(function()
  1732. local humanoid = v.Parent:FindFirstChild("Humanoid") or v.Parent.Parent:FindFirstChild("Humanoid")
  1733. humanoid:TakeDamage(math.random(9999,100000))
  1734. end)
  1735. wait(.4)
  1736. Debounces.Slashed = false
  1737. end
  1738. end)
  1739. end
  1740. end
  1741. ----------------------------------------------------
  1742. pts = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  1743. ptz = {0.7, 0.8, 0.9, 1}
  1744. idz = {"161006212", "161006195"}
  1745. function attackone()
  1746. for i = 1, 13 do
  1747. 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)
  1748. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), math.rad(30), math.rad(0)), 0.8)
  1749. 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)
  1750. 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)
  1751. 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)
  1752. 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)
  1753. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(-50),0), 0.5)
  1754. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.5)
  1755. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.7)
  1756. 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)
  1757. 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)
  1758. 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)
  1759. 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)
  1760. 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)
  1761. if Debounces.on == false then
  1762. break
  1763. end
  1764. fat.Event:wait()
  1765. end
  1766. trail(rarm.Zyrodoxa.Hitbox,20,2)
  1767. Debounces.Slashing = true
  1768. wait(0.2)
  1769. --[[z = Instance.new("Sound", hed)
  1770. z.SoundId = "rbxassetid://161006212"..idz[math.random(1,#idz)]
  1771. z.Pitch = ptz[math.random(1,#ptz)]
  1772. z.Volume = 1
  1773. wait(.01)
  1774. z:Play()]]--
  1775. for i = 1, 14 do
  1776. Dmg()
  1777. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0.2) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.8)
  1778. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-40), math.rad(30), math.rad(0)), 0.8)
  1779. 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)
  1780. 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)
  1781. 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)
  1782. 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)
  1783. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(40),0), 0.7)
  1784. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1785. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(-10), math.rad(-40), 0), 0.4)
  1786. 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)
  1787. 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)
  1788. 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)
  1789. 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)
  1790. 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)
  1791. if Debounces.on == false then break end
  1792. rs:wait()
  1793. end
  1794. Debounces.Slashing = false
  1795. end
  1796. function attacktwo()
  1797. Debounces.Slashing = true
  1798. for i = 1, 14 do
  1799. Dmg()
  1800. corw8.C0 = Lerp(corw8.C0, CFrame.new(-0.37, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 0.4)
  1801. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)), 0.4)
  1802. 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)
  1803. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
  1804. 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)
  1805. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
  1806. 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)
  1807. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1808. 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)
  1809. 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)
  1810. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.5)
  1811. 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)
  1812. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.5)
  1813. 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)
  1814. if Debounces.on == false then
  1815. break
  1816. end
  1817. rs:wait()
  1818. end
  1819. end
  1820. ----------------------------------------------------
  1821.  
  1822. ----------------------------------------------------
  1823. definition = 5
  1824. bc = {}
  1825. bezierparts = {}
  1826. function NoOutline(Part)
  1827. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1828. end
  1829. function draw(p,d)
  1830. for i=1,d do
  1831. local t = i/d
  1832. bc[i] = p[1]*(1-t)^2+2*p[2]*(1-t)*t+p[3]*t^2
  1833. end
  1834.  
  1835. Spawn(function() fat.Event:wait()
  1836. for i,v in pairs(bezierparts) do
  1837. v.Transparency = 1
  1838. end
  1839. end)
  1840. end
  1841. --local points = {larm.Position,rarn.Position,invisipart.Position}
  1842. --draw(points,definition)
  1843.  
  1844. fat.Event:wait()
  1845.  
  1846. rpart = Instance.new("Part",rarm)
  1847. NoOutline(rpart)
  1848. rpart.Anchored = false
  1849. rpart.Size = Vector3.new(1,1,1)
  1850. rpart.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  1851. rpart.Transparency = 1
  1852. newWeld(rarm, rpart, 0, 0, 0)
  1853. rpart.Weld.C1 = CFrame.new(0, 1.1, 0)
  1854. lpart = Instance.new("Part",larm)
  1855. NoOutline(lpart)
  1856. lpart.Anchored = false
  1857. lpart.Size = Vector3.new(1,1,1)
  1858. lpart.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  1859. lpart.Transparency = 1
  1860. newWeld(larm, lpart, 0, 0, 0)
  1861. lpart.Weld.C1 = CFrame.new(0, 1.1, 0)
  1862. invisipart = Instance.new("Part",torso)
  1863. NoOutline(invisipart)
  1864. invisipart.Anchored = false
  1865. invisipart.Size = Vector3.new(1,1,1)
  1866. invisipart.Transparency = 1
  1867. invisipart.CFrame = torso.CFrame
  1868. newWeld(torso, invisipart, 0, 0, 0)
  1869. invisipart.Weld.C1 = CFrame.new(0, 0, 6)
  1870. table.insert(bezierparts, rpart)
  1871. table.insert(bezierparts, lpart)
  1872. table.insert(bezierparts, invisipart)
  1873. for i = 1, 40 do
  1874. local points = {lpart.Position,invisipart.Position,rpart.Position}
  1875. draw(points,definition)
  1876. --invisipart.Weld.C1 = invisipart.Weld.C1 + Vector3.new(0,0,0.6)
  1877. 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)
  1878. 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)
  1879. 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)
  1880. 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)
  1881. 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)
  1882. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1883. 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)
  1884. 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)
  1885. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(0), 0, math.rad(-10)), 0.2)
  1886. 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)
  1887. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(0), 0, math.rad(10)), 0.2)
  1888. 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)
  1889. if Debounces.on == false then
  1890. break
  1891. end
  1892. fat.Event:wait()
  1893. end
  1894. for i,v in pairs(bezierparts) do
  1895. v:Destroy()
  1896. end
  1897. --draw(points,definition)
  1898. if Debounces.CanAttack == false then
  1899. Debounces.CanAttack = true
  1900. Debounces.NoIdl = false
  1901. Debounces.on = false
  1902. end
  1903.  
  1904. ----------------------------------------------------
  1905. ----------------------------------------------------
  1906. pt = {6.6, 6.8, 7, 7.2, 7.4}
  1907. mouse.KeyDown:connect(function(key)
  1908. if key == "q" then
  1909. if Debounces.CanJoke == true then
  1910. Debounces.CanJoke = false
  1911. u = Instance.new("Sound",char)
  1912. u.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1913. u.Pitch = pt[math.random(1,#pt)]
  1914. u.Volume = 0.3
  1915. u2 = Instance.new("Sound",char)
  1916. u2.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1917. u2.Pitch = u.Pitch
  1918. u2.Volume = 0.3
  1919. u3 = Instance.new("Sound",char)
  1920. u3.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1921. u3.Pitch = u.Pitch
  1922. u3.Volume = 0.3
  1923. wait(.01)
  1924. u:Play()
  1925. u2:Play()
  1926. u3:Play()
  1927. wait(1.5)
  1928. u:Destroy()
  1929. u2:Destroy()
  1930. u3:Destroy()
  1931. if Debounces.CanJoke == false then
  1932. Debounces.CanJoke = true
  1933. end
  1934. end
  1935. end
  1936. end)
  1937. ----------------------------------------------------
  1938. ----------------------------------------------------
  1939. mouse.KeyDown:connect(function(key)
  1940. if key == "j" then
  1941. if Debounces.CanJoke == true then
  1942. Debounces.CanJoke = false
  1943. z = Instance.new("Sound",hed)
  1944. z.SoundId = "rbxassetid://415859013"
  1945. z.Pitch = pitches[math.random(1,#pitches)]
  1946. z.Volume = 1
  1947. wait()
  1948. z:Play()
  1949. wait(2)
  1950. z:Destroy()
  1951. if Debounces.CanJoke == false then
  1952. Debounces.CanJoke = true
  1953. end
  1954. end
  1955. end
  1956. end)
  1957.  
  1958. ----------------------------------------------------
  1959. Grab = true
  1960. mouse.KeyDown:connect(function(key)
  1961. if key == "e" then
  1962. Debounces.on = true
  1963. Debounces.NoIdl = true
  1964. Debounces.ks = true
  1965. if Grab == false then
  1966. gp = nil
  1967. for i = 1, 20 do
  1968. 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)
  1969. 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)
  1970. 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)
  1971. 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)
  1972. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
  1973. 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)
  1974. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
  1975. 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)
  1976. 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)
  1977. 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)
  1978. 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)
  1979. 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)
  1980. if Debounces.on == false then break end
  1981. fat.Event:wait()
  1982. end
  1983. con1=larm.LeftArm.LeftArmPlate.Touched:connect(function(hit)
  1984. ht = hit.Parent
  1985. for i,v in pairs(ht:GetChildren()) do
  1986. if v:IsA("Part") then
  1987. v.CanCollide = false
  1988. v.CustomPhysicalProperties = PhysicalProperties.new(0.001,0.001,0.001,0.001,0.001)
  1989. end
  1990. end
  1991. hum1=ht:FindFirstChild('Humanoid')
  1992. if hum1 ~= nil then
  1993. if Debounces.ks==true then
  1994. z = Instance.new("Sound",hed)
  1995. z.SoundId = "rbxassetid://169380525"
  1996. z.Volume = 1
  1997. z:Play()
  1998. Debounces.ks=false
  1999. end
  2000. hum1.PlatformStand=true
  2001. hum1:ChangeState'Physics'
  2002. gp = ht
  2003. Grab = true
  2004. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,0.6),CFrame.new(0,0,0))
  2005. asd.Parent = larm
  2006. asd.Name = "asd"
  2007. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
  2008. stanceToggle = "Grabbed"
  2009. --[[elseif hum1 == nil then
  2010. con1:disconnect()
  2011. wait() return]]--
  2012. end
  2013. end)
  2014. for i = 1, 20 do
  2015. 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)
  2016. 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)
  2017. 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)
  2018. 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)
  2019. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.2)
  2020. 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)
  2021. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
  2022. 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)
  2023. 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)
  2024. 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)
  2025. 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)
  2026. 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)
  2027. if Debounces.on == false then break end
  2028. fat.Event:wait()
  2029. end
  2030. con1:disconnect()
  2031. Debounces.on = false
  2032. Debounces.NoIdl = false
  2033. elseif Grab == true then
  2034. Grab = false
  2035. --[[for i = 1, 16 do
  2036. 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)
  2037. 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)
  2038. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3)
  2039. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  2040. 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)
  2041. 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)
  2042. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3)
  2043. if Debounces.on == false then end
  2044. rs:wait()
  2045. end]]--
  2046. for i = 1, 16 do
  2047. 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)
  2048. 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)
  2049. 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)
  2050. 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)
  2051. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
  2052. 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)
  2053. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.3)
  2054. 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)
  2055. 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)
  2056. 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)
  2057. 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)
  2058. 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)
  2059. if Debounces.on == false then end
  2060. rs:wait()
  2061. end
  2062. for i = 1, 12 do
  2063. 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)
  2064. 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)
  2065. 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)
  2066. 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)
  2067. 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)
  2068. 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)
  2069. 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)
  2070. 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)
  2071. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.6)
  2072. 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)
  2073. 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)
  2074. 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)
  2075. if Debounces.on == false then end
  2076. rs:wait()
  2077. end
  2078. Slam()
  2079. if gp ~= nil then
  2080. for i,v in pairs(larm:GetChildren()) do
  2081. if v.Name == "asd" and v:IsA("Weld") then
  2082. v:Remove()
  2083. end
  2084. if v:IsA("Part") then
  2085. v.CanCollide = true
  2086. v.CustomPhysicalProperties = PhysicalProperties.new(1,1,1,1,1)
  2087. end
  2088. end
  2089. end
  2090. stanceToggle = "Idle1"
  2091. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  2092. bv.maxForce = Vector3.new(400000, 400000, 400000)
  2093. bv.P = 125000
  2094. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  2095. ht=nil
  2096. Debounces.on = false
  2097. Debounces.NoIdl = false
  2098. elseif ht == nil then wait()
  2099. Grab = false
  2100. Debounces.on = false
  2101. Debounces.NoIdl = false
  2102. end
  2103. end
  2104. end)
  2105. ----------------------------------------------------
  2106. Change = true
  2107. mouse.KeyDown:connect(function(key)
  2108. if key == "n" then
  2109. if Change == false then
  2110. Change = true
  2111. stanceToggle = "Idle2"
  2112. elseif Change == true then
  2113. Change = false
  2114. stanceToggle = "Idle1"
  2115. end
  2116. end
  2117. end)
  2118. ----------------------------------------------------
  2119. mouse.KeyDown:connect(function(key)
  2120. if string.byte(key) == 52 then
  2121. Swing = 2
  2122. char.Humanoid.WalkSpeed = 99
  2123. end
  2124. end)
  2125. mouse.KeyUp:connect(function(key)
  2126. if string.byte(key) == 52 then
  2127. Swing = 1
  2128. char.Humanoid.WalkSpeed = 99
  2129. end
  2130. end)
  2131. ----------------------------------------------------
  2132.  
  2133. jump = false
  2134. rs:connect(function()
  2135. if char.Humanoid.Jump == true then
  2136. jump = true
  2137. else
  2138. jump = false
  2139. end
  2140. char.Humanoid.FreeFalling:connect(function(f)
  2141. if f then
  2142. ffing = true
  2143. else
  2144. ffing = ftrue
  2145. end
  2146. end)
  2147. sine = sine + change
  2148. if jump == true then
  2149. animpose = "Jumping"
  2150. elseif ffing == true then
  2151. animpose = "Freefalling"
  2152. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  2153. animpose = "Idle"
  2154. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  2155. animpose = "Walking"
  2156. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  2157. animpose = "Running"
  2158. end
  2159. RightLeg = CFrame.new(0.5,-1,0)
  2160. LeftLeg = CFrame.new(-0.5,-1,0)
  2161.  
  2162. lefth = (torso.CFrame*LeftLeg)
  2163. righth = (torso.CFrame*RightLeg)
  2164.  
  2165. speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
  2166.  
  2167. TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
  2168.  
  2169. local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
  2170. local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
  2171. if animpose ~= lastanimpose then
  2172. sine = 0
  2173. if Debounces.NoIdl == false then
  2174. if stanceToggle == "Idle1" then
  2175. 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)
  2176. 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)
  2177. 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)
  2178. 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)
  2179. 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)
  2180. 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)
  2181. elseif stanceToggle == "Idle2" then
  2182. 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)
  2183. 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)
  2184. 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)
  2185. 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)
  2186. 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)
  2187. 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)
  2188. end
  2189. fat.Event:wait()
  2190. end
  2191. else
  2192. end
  2193. lastanimpose = animpose
  2194. if Debounces.NoIdl == false then
  2195. if animpose == "Idle" then
  2196. change = 0.5
  2197. if stanceToggle == "Idle1" then
  2198. 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)
  2199. 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)
  2200.  
  2201. 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)
  2202. 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)
  2203. 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)
  2204. 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)
  2205. 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)
  2206. 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)
  2207. 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)
  2208. 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)
  2209. 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)
  2210. 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)
  2211. 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)
  2212. 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)
  2213. elseif stanceToggle == "Idle2" then
  2214.  
  2215. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2216. 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)
  2217. 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)
  2218. 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)
  2219. 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)
  2220. 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)
  2221. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  2222. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  2223. --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)
  2224. 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)
  2225. 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)
  2226. 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)
  2227. 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)
  2228. 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)
  2229. elseif stanceToggle == "Grabbed" then
  2230. grab = true
  2231. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2232. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2233. 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)
  2234. 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)
  2235. 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)
  2236. 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)
  2237. 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)
  2238. 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)
  2239. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  2240. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  2241. 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)
  2242. 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)
  2243. 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)
  2244. 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)
  2245. end
  2246. elseif animpose == "Walking" then
  2247. if stanceToggle == "Grabbed" then
  2248. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2249. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2250. 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)
  2251. 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)
  2252. 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)
  2253. 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)
  2254. 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)
  2255. 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)
  2256. 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)
  2257. --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
  2258. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  2259. 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)
  2260. 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)
  2261. 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)
  2262. 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)
  2263. elseif stanceToggle ~= "Grabbed" then
  2264. change = 1
  2265. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2266. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2267.  
  2268. 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)
  2269. 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)
  2270. 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)
  2271. 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)
  2272. 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)
  2273. 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)
  2274. 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)
  2275. --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
  2276. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  2277. --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)
  2278. 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)
  2279. 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)
  2280. --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)
  2281. 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)
  2282. 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)
  2283. end
  2284. elseif animpose == "Running" then
  2285. change = 1
  2286. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2287. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2288.  
  2289. 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)
  2290. 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)
  2291. 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)
  2292. 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)
  2293. 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)
  2294. 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)
  2295. 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)
  2296. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  2297. 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)
  2298. 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)
  2299. 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)
  2300. 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)
  2301. elseif animpose == "Jumping" then
  2302.  
  2303. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2304. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2305. 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)
  2306. 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)
  2307. 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)
  2308. 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)
  2309. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),math.rad(0),0), 0.2)
  2310. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  2311. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  2312. 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)
  2313. 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)
  2314. 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)
  2315. 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)
  2316. elseif animpose == "Freefalling" then
  2317.  
  2318. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2319. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2320. 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)
  2321. 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)
  2322. 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)
  2323. 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)
  2324. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),math.rad(0),0), 0.2)
  2325. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.2)
  2326. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  2327. 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)
  2328. 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)
  2329. 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)
  2330. 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)
  2331. end
  2332. end
  2333. end)
  2334. hum.MaxHealth = math.huge
  2335. wait(3)
  2336. hum.Health = math.huge
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement