Advertisement
Sergeant_SethZP

currr

Mar 2nd, 2017
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 92.77 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=false
  50. local shoot=false
  51. player=nil
  52. cloak=false
  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. z = Instance.new("Sound", torso)
  222. z.SoundId = "rbxassetid://358598989" -- Put Music ID Here.
  223. z.Looped = true
  224. z.Volume = 1
  225. wait(.1)
  226. z:Play()
  227. -----------------------------------------------------
  228. Debounces = {
  229. CanAttack = true;
  230. NoIdl = false;
  231. Slashing = false;
  232. Slashed = false;
  233. RPunch = false;
  234. RPunched = false;
  235. LPunch = false;
  236. LPunched = false;
  237. }
  238. local Touche = {char.Name, }
  239. ----------------------------------------------------
  240. hed.face.Texture = "rbxassetid://89068911"
  241. char["Body Colors"].HeadColor = BrickColor.new("Black")
  242. char["Body Colors"].TorsoColor = BrickColor.new("Black")
  243. char["Body Colors"].LeftArmColor = BrickColor.new("Black")
  244. char["Body Colors"].RightArmColor = BrickColor.new("Crimson")
  245. char["Body Colors"].LeftLegColor = BrickColor.new("Black")
  246. char["Body Colors"].RightLegColor = BrickColor.new("Black")
  247. ----------------------------------------------------
  248. ypcall(function()
  249. shirt = Instance.new("Shirt", char)
  250. shirt.Name = "Shirt"
  251. pants = Instance.new("Pants", char)
  252. pants.Name = "Pants"
  253. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=162860579"
  254. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=532642815"
  255. end)
  256. ----------------------------------------------------
  257. local LocalPlayer = game:GetService("Players").LocalPlayer
  258. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
  259.  
  260. Character.Head.Transparency = 1
  261.  
  262. local Orb = Instance.new("Part", Character)
  263. Orb.Name = "Orb"
  264.  
  265. Orb.CanCollide = false
  266. Orb.BrickColor = BrickColor.new("Institutional white")
  267. Orb.Transparency = 1
  268. Orb.Material = "Plastic"
  269. Orb.Size = Vector3.new(1, 1, 1)
  270.  
  271.  
  272. local M = Instance.new("SpecialMesh")
  273. M.Parent = Orb
  274. M.MeshId = "http://www.roblox.com/asset/?id=1033714"
  275. M.Scale = Vector3.new(0.8, 3, 0.8)
  276.  
  277.  
  278. local Weld = Instance.new("Weld", Orb)
  279. Weld.Part0 = Character.Head
  280. Weld.Part1 = Orb
  281. Weld.C1 = CFrame.new(0, -0.5, 0)
  282. ------------------------------------------------------
  283. CV="Crimson"
  284.  
  285. local txt = Instance.new("BillboardGui", char)
  286. txt.Adornee = char .Orb
  287. txt.Name = "_status"
  288. txt.Size = UDim2.new(2, 0, 1.2, 0)
  289. txt.StudsOffset = Vector3.new(-2, 1.5, 0)
  290. local text = Instance.new("TextLabel", txt)
  291. text.Size = UDim2.new(3, 0, 0.5, 0)
  292. text.FontSize = "Size8"
  293. text.TextScaled = true
  294. text.TextTransparency = 0
  295. text.BackgroundTransparency = 1
  296. text.TextTransparency = 0
  297. text.TextStrokeTransparency = 0
  298. text.Font = "Arial"
  299. text.TextStrokeColor3 = Color3.new(0,250,250)
  300.  
  301. v=Instance.new("Part")
  302. v.Name = "ColorBrick"
  303. v.Parent=p.Character
  304. v.FormFactor="Symmetric"
  305. v.Anchored=true
  306. v.CanCollide=false
  307. v.BottomSurface="Smooth"
  308. v.TopSurface="Smooth"
  309. v.Size=Vector3.new(10,5,3)
  310. v.Transparency=0.7
  311. v.CFrame=char.Torso.CFrame
  312. v.BrickColor=BrickColor.new(CV)
  313. v.Transparency=1
  314. text.TextColor3 = v.BrickColor.Color
  315. v.Shape="Block"
  316. text.Text = "Undertale Reborn v9"
  317.  
  318.  
  319.  
  320.  
  321. --------------------------------------------------------
  322. local Orbd = Instance.new("Part", Character)
  323. Orbd.Name = "Orbd"
  324. Orbd.Shape = Enum.PartType.Ball
  325. Orbd.CanCollide = false
  326. Orbd.BrickColor = BrickColor.new("Crimson")
  327. Orbd.Transparency = 0
  328. Orbd.Material = "Neon"
  329. Orbd.Size = Vector3.new(0.1, 0.1, 0.1)
  330. Orbd.TopSurface = Enum.SurfaceType.Smooth
  331. Orbd.BottomSurface = Enum.SurfaceType.Smooth
  332.  
  333. local Weld = Instance.new("Weld", Orbd)
  334. Weld.Part0 = Character.Head
  335. Weld.Part1 = Orbd
  336. Weld.C1 = CFrame.new(-0.2, -0.2, 0.5)
  337.  
  338. --------------------------------------------------------
  339. local Orbvc = Instance.new("Part", Character)
  340. Orbvc.Name = "Orbvc"
  341. Orbvc.Shape = Enum.PartType.Ball
  342. Orbvc.CanCollide = false
  343. Orbvc.BrickColor = BrickColor.new("Crimson")
  344. Orbvc.Transparency = 0
  345. Orbvc.Material = "Neon"
  346. Orbvc.Size = Vector3.new(0.1, 0.1, 0.1)
  347. Orbvc.TopSurface = Enum.SurfaceType.Smooth
  348. Orbvc.BottomSurface = Enum.SurfaceType.Smooth
  349.  
  350. local Weld = Instance.new("Weld", Orbvc)
  351. Weld.Part0 = Character.Head
  352. Weld.Part1 = Orbvc
  353. Weld.C1 = CFrame.new(0.2, -0.2, 0.5)
  354. ---------------------
  355. local LocalPlayer = game:GetService("Players").LocalPlayer
  356. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
  357.  
  358. Character.Head.Transparency = 1
  359.  
  360. local Camisa = Instance.new("Part", Character)
  361. Camisa.Name = "Camisa"
  362.  
  363. Camisa.CanCollide = false
  364. Camisa.BrickColor = BrickColor.new("Institutional white")
  365. Camisa.Transparency = 1
  366. Camisa.Material = "Plastic"
  367. Camisa.Size = Vector3.new(1.5, 1.5, 1)
  368.  
  369. local Weld = Instance.new("Weld", Camisa)
  370. Weld.Part0 = Character.Torso
  371. Weld.Part1 = Camisa
  372. Weld.C1 = CFrame.new(0, 0, 0)
  373. ----------------------------------------
  374. local p = game.Players.LocalPlayer
  375. local char = p.Character
  376. local mouse = p:GetMouse()
  377. local larm = char["Left Arm"]
  378. local rarm = char["Right Arm"]
  379. local lleg = char["Left Leg"]
  380. local rleg = char["Right Leg"]
  381. local hed = char.Head
  382. local torso = char.Torso
  383. local hum = char.Humanoid
  384. local cam = game.Workspace.CurrentCamera
  385. local root = char.HumanoidRootPart
  386. local rj = root.RootJoint
  387. local deb = false
  388. local shot = 0
  389. local stanceToggle = "Idle1"
  390. local l = game:GetService("Lighting")
  391. local rs = game:GetService("RunService").RenderStepped
  392. local hb = game:GetService("RunService").Heartbeat
  393. local Stepped = game:GetService("RunService").Stepped
  394. math.randomseed(os.time())
  395. hum.JumpPower = 200
  396. hed.face:Remove()
  397. ----------------------------------------------------
  398. fat = Instance.new("BindableEvent",script)
  399. fat.Name = "Heartbeat"
  400.  
  401. script:WaitForChild("Heartbeat")
  402.  
  403. frame = 1/30
  404. tf = 0
  405. 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.
  406. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  407. lastframe = tick()
  408. script.Heartbeat:Fire() --ayy lmao
  409.  
  410. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  411. tf = tf + s
  412. if tf >= frame then
  413. if allowframeloss then
  414. script.Heartbeat:Fire()
  415. lastframe=tick()
  416. else
  417. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  418. for i=1, math.floor(tf/frame) do
  419. script.Heartbeat:Fire()
  420. end
  421. lastframe=tick()
  422. end
  423. if tossremainder then
  424. tf = 0
  425. else
  426. tf = tf - frame * math.floor(tf/frame)
  427. end
  428. end
  429. end)
  430. ----------------------------------------------------
  431. for i,v in pairs(char:children()) do
  432. if v:IsA("Hat") then
  433. v:Destroy()
  434. end
  435. end
  436. for i,v in pairs (hed:GetChildren()) do
  437. if v:IsA("Sound") then
  438. v:Destroy()
  439. end
  440. end
  441. ----------------------------------------------------
  442. Debounces = {
  443. CanAttack = true;
  444. CanJoke = true;
  445. NoIdl = false;
  446. Slashing = false;
  447. Slashed = false;
  448. ks = false;
  449. }
  450. ----------------------------------------------------
  451. function weld5(part0, part1, c0, c1)
  452. weeld=Instance.new("Weld", part0)
  453. weeld.Part0=part0
  454. weeld.Part1=part1
  455. weeld.C0=c0
  456. weeld.C1=c1
  457. return weeld
  458. end
  459. ----------------------------------------------------
  460. function NewPart(prnt,siz,cf,trans,anc,mat,col)
  461. local prt=Instance.new("Part")
  462. prt.Parent=prnt
  463. prt.Name="Part"
  464. prt.Size=siz
  465. prt.CanCollide=false
  466. prt.Anchored=anc
  467. prt.Locked=true
  468. prt.Transparency = trans
  469. prt.TopSurface=10
  470. prt.BottomSurface=10
  471. prt.FrontSurface=10
  472. prt.BackSurface=10
  473. prt.LeftSurface=10
  474. prt.RightSurface=10
  475. prt:BreakJoints()
  476. prt.CFrame=cf or CFrame.new(30,10,30)
  477. prt.Material=mat
  478. prt.BrickColor=BrickColor.new(col)
  479. m=Instance.new("SpecialMesh",prt)
  480. m.MeshType=6
  481. return prt
  482. end
  483. ----------------------------------------------------
  484. function lerp(a, b, t) -- Linear interpolation
  485. return a + (b - a)*t
  486. end
  487.  
  488. function slerp(a, b, t) --Spherical interpolation
  489. dot = a:Dot(b)
  490. if dot > 0.99999 or dot < -0.99999 then
  491. return t <= 0.5 and a or b
  492. else
  493. r = math.acos(dot)
  494. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  495. end
  496. end
  497.  
  498. function matrixInterpolate(a, b, t)
  499. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  500. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  501. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  502. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  503. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  504. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  505. local t = v1:Dot(v2)
  506. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  507. return CFrame.new()
  508. end
  509. return CFrame.new(
  510. v0.x, v0.y, v0.z,
  511. v1.x, v1.y, v1.z,
  512. v2.x, v2.y, v2.z,
  513. v3.x, v3.y, v3.z)
  514. end
  515. ----------------------------------------------------
  516. function genWeld(a,b)
  517. local w = Instance.new("Weld",a)
  518. w.Part0 = a
  519. w.Part1 = b
  520. return w
  521. end
  522. function weld(a, b)
  523. local weld = Instance.new("Weld")
  524. weld.Name = "W"
  525. weld.Part0 = a
  526. weld.Part1 = b
  527. weld.C0 = a.CFrame:inverse() * b.CFrame
  528. weld.Parent = a
  529. return weld;
  530. end
  531. ----------------------------------------------------
  532. function Lerp(c1,c2,al)
  533. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  534. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  535. for i,v in pairs(com1) do
  536. com1[i] = v+(com2[i]-v)*al
  537. end
  538. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  539. end
  540. ----------------------------------------------------
  541. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  542. local wld = Instance.new("Weld", wp1)
  543. wld.Part0 = wp0
  544. wld.Part1 = wp1
  545. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  546. end
  547. ----------------------------------------------------
  548. newWeld(torso, larm, -1.5, 0.5, 0)
  549. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  550. newWeld(torso, rarm, 1.5, 0.5, 0)
  551. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  552. newWeld(torso, hed, 0, 1.5, 0)
  553. newWeld(torso, lleg, -0.5, -1, 0)
  554. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  555. newWeld(torso, rleg, 0.5, -1, 0)
  556. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  557. newWeld(root, torso, 0, -1, 0)
  558. torso.Weld.C1 = CFrame.new(0, -1, 0)
  559. ----------------------------------------------------
  560. z = Instance.new("Sound",char) --Smile: print("â?º")
  561. z.SoundId = "rbxassetid://0"--410761150, 411368002
  562. z.Looped = true
  563. z.Pitch = 1
  564. z.Volume = 1
  565. wait(0.1)
  566. z:Play()
  567. ----------------------------------------------------
  568. New = function(Object, Parent, Name, Data)
  569. local Object = Instance.new(Object)
  570. for Index, Value in pairs(Data or {}) do
  571. Object[Index] = Value
  572. end
  573. Object.Parent = Parent
  574. Object.Name = Name
  575. return Object
  576. end
  577. ----------------------------------------------------
  578. --Left Arm
  579. m = Instance.new("Model")
  580. m.Name = "LeftArm"
  581.  
  582. p4 = Instance.new("Part", m)
  583. p4.BrickColor = BrickColor.new("Really black")
  584. p4.Material = Enum.Material.SmoothPlastic
  585. p4.Name = "LeftArmPlate"
  586. p4.Size = Vector3.new(1, 2, 1)
  587. p4.Transparency = 1
  588. p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  589. p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  590. p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  591. p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  592. p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  593. p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  594. b4 = Instance.new("SpecialMesh", p4)
  595. b4.MeshType = Enum.MeshType.Brick
  596. b4.Name = "Mesh"
  597. b4.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  598.  
  599.  
  600.  
  601.  
  602.  
  603. w1 = Instance.new("Weld", p1)
  604. w1.Name = "Part_Weld"
  605. w1.Part0 = p1
  606. w1.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  607. w1.Part1 = p2
  608. w1.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  609. w2 = Instance.new("Weld", p2)
  610. w2.Name = "Part_Weld"
  611. w2.Part0 = p2
  612. w2.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  613. w2.Part1 = p3
  614. w2.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  615. w3 = Instance.new("Weld", p3)
  616. w3.Name = "LeftArmPlate_Weld"
  617. w3.Part0 = p3
  618. w3.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  619. w3.Part1 = p4
  620. w3.C1 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  621. w4 = Instance.new("Weld", p4)
  622. w4.Name = "Part_Weld"
  623. w4.Part0 = p4
  624. w4.C0 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  625. w4.Part1 = p5
  626. w4.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  627. w5 = Instance.new("Weld", p5)
  628. w5.Name = "Part_Weld"
  629. w5.Part0 = p5
  630. w5.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  631. w5.Part1 = p6
  632. w5.C1 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  633. w6 = Instance.new("Weld", p6)
  634. w6.Name = "Part_Weld"
  635. w6.Part0 = p6
  636. w6.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  637. w6.Part1 = p7
  638. w6.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  639. w7 = Instance.new("Weld", p7)
  640. w7.Name = "Part_Weld"
  641. w7.Part0 = p7
  642. w7.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  643. w7.Part1 = p8
  644. w7.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  645. w8 = Instance.new("Weld", p8)
  646. w8.Name = "Part_Weld"
  647. w8.Part0 = p8
  648. w8.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  649. w8.Part1 = p9
  650. w8.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  651. w9 = Instance.new("Weld", p9)
  652. w9.Name = "Part_Weld"
  653. w9.Part0 = p9
  654. w9.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  655. w9.Part1 = p10
  656. w9.C1 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  657. w10 = Instance.new("Weld", p10)
  658. w10.Name = "Part_Weld"
  659. w10.Part0 = p10
  660. w10.C0 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  661. w10.Part1 = p11
  662. w10.C1 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  663. w11 = Instance.new("Weld", p11)
  664. w11.Name = "Part_Weld"
  665. w11.Part0 = p11
  666. w11.C0 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  667. w11.Part1 = p12
  668. w11.C1 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  669. w12 = Instance.new("Weld", p12)
  670. w12.Name = "Part_Weld"
  671. w12.Part0 = p12
  672. w12.C0 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  673. w12.Part1 = p13
  674. w12.C1 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  675. w13 = Instance.new("Weld", p13)
  676. w13.Name = "Part_Weld"
  677. w13.Part0 = p13
  678. w13.C0 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  679. w13.Part1 = p14
  680. w13.C1 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  681. w14 = Instance.new("Weld", p14)
  682. w14.Name = "Part_Weld"
  683. w14.Part0 = p14
  684. w14.C0 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  685. w14.Part1 = p15
  686. w14.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  687. w15 = Instance.new("Weld", p15)
  688. w15.Name = "Part_Weld"
  689. w15.Part0 = p15
  690. w15.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  691. w15.Part1 = p16
  692. w15.C1 = CFrame.new(1.49142683, -27.338007, 3.81166649, 1, -2.04123751e-007, -6.57511308e-008, 1.67448022e-007, 0.500000119, 0.866025329, -1.06342185e-007, -0.866025269, 0.5)
  693.  
  694. m.Parent = larm
  695. m:MakeJoints()
  696. ----------------------------------------------------
  697. local cor = Instance.new("Part", larm.LeftArm)
  698. cor.Name = "Thingy"
  699. cor.Locked = true
  700. cor.BottomSurface = 0
  701. cor.CanCollide = false
  702. cor.Size = Vector3.new(1, 1, 1)
  703. cor.Transparency = 1
  704. cor.TopSurface = 0
  705. corw = Instance.new("Weld", cor)
  706. corw.Part0 = larm
  707. corw.Part1 = cor
  708. corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  709. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  710. weld1 = Instance.new("Weld", larm.LeftArm)
  711. weld1.Part0 = cor
  712. weld1.Part1 = larm.LeftArm.LeftArmPlate
  713. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  714. --Right Arm
  715. m2 = Instance.new("Model")
  716. m2.Name = "RightArm"
  717.  
  718. p7 = Instance.new("Part", m2)
  719. p7.BrickColor = BrickColor.new("Institutional white")
  720. p7.Material = Enum.Material.SmoothPlastic
  721. p7.Transparency = 1
  722. p7.Name = "RightArmPlate"
  723. p7.CFrame = CFrame.new(3.5, -9.54201603, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  724. p7.FormFactor = Enum.FormFactor.Symmetric
  725. p7.Size = Vector3.new(1, 2, 1)
  726. p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  727. p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  728. p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  729. p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  730. p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  731. p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  732. b7 = Instance.new("SpecialMesh", p7)
  733. b7.MeshType = Enum.MeshType.Brick
  734. b7.Name = "Mesh"
  735. b7.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  736.  
  737.  
  738. w1 = Instance.new("Weld", p1)
  739. w1.Name = "Part_Weld"
  740. w1.Part0 = p1
  741. w1.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  742. w1.Part1 = p2
  743. w1.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  744. w2 = Instance.new("Weld", p2)
  745. w2.Name = "Part_Weld"
  746. w2.Part0 = p2
  747. w2.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  748. w2.Part1 = p3
  749. w2.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  750. w3 = Instance.new("Weld", p3)
  751. w3.Name = "Part_Weld"
  752. w3.Part0 = p3
  753. w3.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  754. w3.Part1 = p4
  755. w3.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  756. w4 = Instance.new("Weld", p4)
  757. w4.Name = "Part_Weld"
  758. w4.Part0 = p4
  759. w4.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  760. w4.Part1 = p5
  761. w4.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  762. w5 = Instance.new("Weld", p5)
  763. w5.Name = "Part_Weld"
  764. w5.Part0 = p5
  765. w5.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  766. w5.Part1 = p6
  767. w5.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  768. w6 = Instance.new("Weld", p6)
  769. w6.Name = "RightArmPlate_Weld"
  770. w6.Part0 = p6
  771. w6.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  772. w6.Part1 = p7
  773. w6.C1 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  774. w7 = Instance.new("Weld", p7)
  775. w7.Name = "Part_Weld"
  776. w7.Part0 = p7
  777. w7.C0 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  778. w7.Part1 = p8
  779. w7.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  780. w8 = Instance.new("Weld", p8)
  781. w8.Name = "Part_Weld"
  782. w8.Part0 = p8
  783. w8.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  784. w8.Part1 = p9
  785. w8.C1 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  786. w9 = Instance.new("Weld", p9)
  787. w9.Name = "Part_Weld"
  788. w9.Part0 = p9
  789. w9.C0 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  790. w9.Part1 = p10
  791. w9.C1 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  792. w10 = Instance.new("Weld", p10)
  793. w10.Name = "Part_Weld"
  794. w10.Part0 = p10
  795. w10.C0 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  796. w10.Part1 = p11
  797. w10.C1 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  798. w11 = Instance.new("Weld", p11)
  799. w11.Name = "Part_Weld"
  800. w11.Part0 = p11
  801. w11.C0 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  802. w11.Part1 = p12
  803. w11.C1 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  804. w12 = Instance.new("Weld", p12)
  805. w12.Name = "Part_Weld"
  806. w12.Part0 = p12
  807. w12.C0 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  808. w12.Part1 = p13
  809. w12.C1 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  810. w13 = Instance.new("Weld", p13)
  811. w13.Name = "Part_Weld"
  812. w13.Part0 = p13
  813. w13.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  814. w13.Part1 = p14
  815. w13.C1 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  816. w14 = Instance.new("Weld", p14)
  817. w14.Name = "Part_Weld"
  818. w14.Part0 = p14
  819. w14.C0 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  820. w14.Part1 = p15
  821. w14.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  822. w15 = Instance.new("Weld", p15)
  823. w15.Name = "Part_Weld"
  824. w15.Part0 = p15
  825. w15.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  826. w15.Part1 = p16
  827. w15.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  828. w16 = Instance.new("Weld", p16)
  829. w16.Name = "Part_Weld"
  830. w16.Part0 = p16
  831. w16.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  832. w16.Part1 = p17
  833. w16.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  834. w17 = Instance.new("Weld", p17)
  835. w17.Name = "Part_Weld"
  836. w17.Part0 = p17
  837. w17.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  838. w17.Part1 = p18
  839. w17.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  840. w18 = Instance.new("Weld", p18)
  841. w18.Name = "Part_Weld"
  842. w18.Part0 = p18
  843. w18.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  844. w18.Part1 = p19
  845. w18.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  846. m2.Parent = rarm
  847. m2:MakeJoints()
  848. ----------------------------------------------------
  849. local cor2 = Instance.new("Part", rarm.RightArm)
  850. cor2.Name = "Thingy"
  851. cor2.Locked = true
  852. cor2.BottomSurface = 0
  853. cor2.CanCollide = false
  854. cor2.Size = Vector3.new(1, 1, 1)
  855. cor2.Transparency = 1
  856. cor2.TopSurface = 0
  857. corw2 = Instance.new("Weld", cor2)
  858. corw2.Part0 = rarm
  859. corw2.Part1 = cor2
  860. corw2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  861. corw2.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  862. weld2 = Instance.new("Weld", rarm.RightArm)
  863. weld2.Part0 = cor2
  864. weld2.Part1 = rarm.RightArm.RightArmPlate
  865. weld2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  866.  
  867.  
  868. --Zyrodoxa
  869. m8 = Instance.new("Model")
  870. m8.Name = "Zyrodoxa"
  871.  
  872. p16 = Instance.new("Part", m8)
  873. p16.BrickColor = BrickColor.new("Instutional white")
  874. p16.Material = Enum.Material.Metal
  875. p16.Name = "Handle"
  876. 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)
  877. p16.CanCollide = false
  878. p16.Locked = true
  879. p16.FormFactor = Enum.FormFactor.Custom
  880. p16.Size = Vector3.new(0, 0, 0)
  881. p16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  882. p16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  883. p16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  884. p16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  885. p16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  886. p16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  887. b16 = Instance.new("BlockMesh", p16)
  888. b16.Name = "Mesh"
  889. b16.Scale = Vector3.new(0, 0, 0)
  890.  
  891. w16 = Instance.new("Weld", p16)
  892. w16.Name = "Block_Weld"
  893. w16.Part0 = p16
  894. 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)
  895. w16.Part1 = p17
  896. 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)
  897.  
  898. m8.Parent = rarm
  899. m8:MakeJoints()
  900. ----------------------------------------------------
  901. local cor8 = Instance.new("Part", rarm.Zyrodoxa)
  902. cor8.Name = "Thingy"
  903. cor8.Locked = true
  904. cor8.BottomSurface = 0
  905. cor8.CanCollide = false
  906. cor8.Size = Vector3.new(1, 1, 1)
  907. cor8.Transparency = 1
  908. cor8.TopSurface = 0
  909. corw8 = Instance.new("Weld", cor8)
  910. corw8.Part0 = rarm
  911. corw8.Part1 = cor8
  912. corw8.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180))
  913. corw8.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  914. weld8 = Instance.new("Weld", rarm.Zyrodoxa)
  915. weld8.Part0 = cor8
  916. weld8.Part1 = rarm.Zyrodoxa.Handle
  917. weld8.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  918. ----------------------------------------------------
  919. models = {m,m2,m3,m4,m5,m6,m7,m8}
  920. parts = {}
  921. Stepped:connect(function()
  922. for i,v in pairs(models) do
  923. for _, a in pairs(v:GetChildren()) do
  924. if v:IsA("Part") and v.Name ~= "Thingy" then
  925. table.insert(parts, a)
  926. for i,v in pairs(parts) do
  927. v.CanCollide = false
  928. end
  929. end
  930. end
  931. end
  932. end)
  933. ----------------------------------------------------
  934. local animpose = "Idle1"
  935. local lastanimpose = "Idle1"
  936. local grab = false
  937. local Smooth = 1
  938. local sine = 0
  939. local change = 1
  940. local val = 0
  941. local ffing = false
  942. ----------------------------------------------------
  943. --[[local hitbox = rarm.Zyrodoxa.Hitbox--Zyrodoxa is the name of the dagger k
  944.  
  945. function FindHumanoids()
  946. local function c_region(Position, Size)
  947. local SizeOffset = Size/2
  948. local Point1 = Position - SizeOffset
  949. local Point2 = Position + SizeOffset
  950. local a = Instance.new("Part", workspace)
  951. a.Anchored = true
  952. a.Size = Size
  953. a.Position = Position
  954. print("Hey!, I'm making a part!")
  955. return Region3.new(Point1, Point2)
  956. end
  957.  
  958. local a = c_region((hitbox.CFrame * CFrame.new(0, -1.285, 0)), Vector3.new(0.22, 0.6425, 1.22))
  959. local b = c_region((hitbox.CFrame * CFrame.new(0, -0.6425, 0)), Vector3.new(0.22, 0.6425, 1.22))
  960. local c = c_region((hitbox.CFrame * CFrame.new(0, 0.6425, 0)), Vector3.new(0.22, 0.6425, 1.22))
  961. local d = c_region((hitbox.CFrame * CFrame.new(0, 1.285, 0)), Vector3.new(0.22, 0.6425, 1.22))
  962.  
  963. local regions = {a, b, c, d}
  964.  
  965. local found_humanoids = {}
  966. local already_found = {char.Name}
  967.  
  968. for _, region in pairs(regions) do
  969. for _, part in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(region, rarm.Zyrodoxa:GetChildren(), 100)) do
  970. print(part, part.Parent, part.Name) ---nope
  971. if part.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.ClassName == "Model" and not part:isDescendantOf(char) then
  972. local humanoid = part.Parent:FindFirstChild("Humanoid")
  973. local name = humanoid.Parent.Name
  974. local exists = false
  975. for _, n in pairs(already_found) do
  976. if n == name then
  977. exists = true
  978. end
  979. end
  980. if not exists then
  981. table.insert(already_found, name)
  982. table.insert(found_humanoids, humanoid)
  983. end
  984. elseif part.Parent.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.Parent.ClassName == "Model" and not part:isDescendantOf(char) then
  985. local humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
  986. local name = humanoid.Parent.Parent.Name
  987. local exists = false
  988. for _, n in pairs(already_found) do
  989. if n == name then
  990. exists = true
  991. end
  992. end
  993. if not exists then
  994. table.insert(already_found, name)
  995. table.insert(found_humanoids, humanoid)
  996. end
  997. end
  998. end
  999. end
  1000. return found_humanoids
  1001. end
  1002.  
  1003. local humanoids = FindHumanoids()
  1004. if #humanoids == 0 then
  1005. for i, v in pairs(humanoids) do
  1006. print(v.Parent.Name)
  1007. if Debounces.Slashing == true then
  1008. v:TakeDamage(math.random(10,20) * math.random(1,3)) --max 60 damage?
  1009. elseif Debounces.Slashing == false then
  1010. wait()
  1011. end
  1012. end
  1013. wait(0.3)
  1014. end]]--
  1015. ----------------------------------------------------
  1016. --[[mouse.KeyDown:connect(function(key)
  1017. if key == "f" then
  1018. if Debounces.CanAttack == true then
  1019. Debounces.CanAttack = false
  1020. Debounces.NoIdl = true
  1021. Debounces.on = true
  1022. for i = 1, 20 do
  1023. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1.05, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1024. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1025. CR.Joint.C1 = Lerp(CR.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(-4),0,0),0.1)
  1026. CR2.Joint.C1 = Lerp(CR2.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1027. CR3.Joint.C1 = Lerp(CR3.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1028. CR4.Joint.C1 = Lerp(CR4.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1029. CR5.Joint.C1 = Lerp(CR5.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1030. 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)
  1031. 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)
  1032. 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)
  1033. 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)
  1034. 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)
  1035. 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)
  1036. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-6), math.rad(0), 0), 0.1)
  1037. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), 0), 0.1)
  1038. 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)
  1039. 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)
  1040. 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)
  1041. 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)
  1042. if Debounces.on == false then
  1043. break
  1044. end
  1045. fat.Event:wait()
  1046. end
  1047. end
  1048. end
  1049. end)]]--
  1050. ----------------------------------------------------
  1051. mod4 = Instance.new("Model",char)
  1052.  
  1053. ptez = {0.7, 0.8, 0.9, 1}
  1054.  
  1055. function FindNearestTorso(Position,Distance,SinglePlayer)
  1056. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1057. local List = {}
  1058. for i,v in pairs(workspace:GetChildren())do
  1059. if v:IsA("Model")then
  1060. if v:findFirstChild("Torso")then
  1061. if v ~= char then
  1062. if(v.Torso.Position -Position).magnitude <= Distance then
  1063. table.insert(List,v)
  1064. end
  1065. end
  1066. end
  1067. end
  1068. end
  1069. return List
  1070. end
  1071.  
  1072. function Slam()
  1073. local part=Instance.new('Part',mod4)
  1074. part.Anchored=true
  1075. part.CanCollide=false
  1076. part.FormFactor='Custom'
  1077. part.Size=Vector3.new(.2,.2,.2)
  1078. part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
  1079. part.Transparency=.7
  1080. part.BrickColor=BrickColor.new('Really black')
  1081. mesh=Instance.new('SpecialMesh',part)
  1082. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1083. mesh.Scale=Vector3.new(3,3,3)
  1084. local part2=Instance.new('Part',mod4)
  1085. part2.Anchored=true
  1086. part2.CanCollide=false
  1087. part2.FormFactor='Custom'
  1088. part2.Size=Vector3.new(.2,.2,.2)
  1089. part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
  1090. part2.Transparency=.7
  1091. part2.BrickColor=BrickColor.new('Institutional white')
  1092. mesh2=Instance.new('SpecialMesh',part2)
  1093. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  1094. mesh2.Scale=Vector3.new(3,1.5,3)
  1095. x = Instance.new("Sound",larm)
  1096. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  1097. x.Pitch = ptez[math.random(1,#ptez)]
  1098. x.Volume = 1
  1099. wait(.1)
  1100. x1 = Instance.new("Sound",larm)
  1101. x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  1102. x1.Pitch = ptez[math.random(1,#ptez)]
  1103. x1.Volume = 1
  1104. wait(.1)
  1105. x:Play()
  1106. x1:Play()
  1107. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  1108. if v:FindFirstChild('Humanoid') then
  1109. v.Humanoid:TakeDamage(math.random(30,45))
  1110. end
  1111. end
  1112. coroutine.resume(coroutine.create(function()
  1113. for i=0,0.62,0.13 do
  1114. wait()
  1115. part.CFrame=part.CFrame
  1116. part.Transparency=i
  1117. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  1118. part2.CFrame=part2.CFrame
  1119. part2.Transparency=i
  1120. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  1121. end
  1122. part.Parent=nil
  1123. part2.Parent=nil
  1124. x:Destroy()
  1125. end))
  1126. end
  1127. ----------------------------------------------------
  1128. wPart = function(x,y,z,color,tr,cc,an,parent)
  1129. local wp = Instance.new('WedgePart',parent or Weapon)
  1130. wp.formFactor = 'Custom'
  1131. wp.Size = Vector3.new(x,y,z)
  1132. wp.BrickColor = BrickColor.new(color)
  1133. wp.CanCollide = cc
  1134. wp.Transparency = tr
  1135. wp.Anchored = an
  1136. wp.TopSurface,wp.BottomSurface = 0,0
  1137. return wp
  1138. end
  1139.  
  1140. Mesh = function(par,num,x,y,z)
  1141. local msh = _
  1142. if num == 1 then
  1143. msh = Instance.new("CylinderMesh",par)
  1144. elseif num == 2 then
  1145. msh = Instance.new("SpecialMesh",par)
  1146. msh.MeshType = 3
  1147. elseif num == 3 then
  1148. msh = Instance.new("BlockMesh",par)
  1149. elseif num == 4 then
  1150. msh = Instance.new("SpecialMesh",par)
  1151. msh.MeshType = "Torso"
  1152. elseif type(num) == 'string' then
  1153. msh = Instance.new("SpecialMesh",par)
  1154. msh.MeshId = num
  1155. end
  1156. msh.Scale = Vector3.new(x,y,z)
  1157. return msh
  1158. end
  1159.  
  1160. local function CFrameFromTopBack(at, top, back)
  1161. local right = top:Cross(back)
  1162. return CFrame.new(at.x, at.y, at.z,
  1163. right.x, top.x, back.x,
  1164. right.y, top.y, back.y,
  1165. right.z, top.z, back.z)
  1166. end
  1167.  
  1168. function Triangle(a, b, c)
  1169. local edg1 = (c-a):Dot((b-a).unit)
  1170. local edg2 = (a-b):Dot((c-b).unit)
  1171. local edg3 = (b-c):Dot((a-c).unit)
  1172. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1173. a, b, c = a, b, c
  1174. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1175. a, b, c = b, c, a
  1176. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1177. a, b, c = c, a, b
  1178. else
  1179. print("unreachable")
  1180. end
  1181. local len1 = (c-a):Dot((b-a).unit)
  1182. local len2 = (b-a).magnitude - len1
  1183. local width = (a + (b-a).unit*len1 - c).magnitude
  1184. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1185. local list = {}
  1186. if len1 > 0.01 then
  1187. local w1 = wPart(0,0,0,'Institutional white',0.5,false,true,char)
  1188. local sz = Vector3.new(0.2, width, len1)
  1189. w1.Size = sz
  1190. local sp = Mesh(w1,2,0,0,0)
  1191. sp.MeshType='Wedge'
  1192. sp.Scale=Vector3.new(0,1,1)*sz/w1.Size
  1193. w1:BreakJoints()
  1194. w1.Anchored = true
  1195. w1.Transparency = 0.7
  1196. Spawn(function()
  1197. for i=0,1,0.1 do
  1198. fat.Event:wait()
  1199. w1.Transparency=w1.Transparency+0.03
  1200. end
  1201. end)
  1202. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1203. table.insert(list,w1)
  1204. end
  1205. if len2 > 0.01 then
  1206. local w2 = wPart(0,0,0,'Institutional white',0.5,false,true,char)
  1207. local sz = Vector3.new(0.2, width, len2)
  1208. w2.Size = sz
  1209. local sp = Mesh(w2,2,0,0,0)
  1210. sp.MeshType='Wedge'
  1211. sp.Scale=Vector3.new(0,1,1)*sz/w2.Size
  1212. w2:BreakJoints()
  1213. w2.Anchored = true
  1214. w2.Transparency = 0.7
  1215. Spawn(function()
  1216. for i=0,1,0.1 do
  1217. fat.Event:wait()
  1218. w2.Transparency=w2.Transparency+0.03
  1219. end
  1220. end)
  1221. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1222. table.insert(list,w2)
  1223. end
  1224. return unpack(list)
  1225. end
  1226.  
  1227. function trail(p,t,h)
  1228. Spawn(function()
  1229. local blcf = p.CFrame
  1230. local scfr = blcf
  1231. for i=1,t do
  1232. local blcf = p.CFrame
  1233. if scfr and (p.Position-scfr.p).magnitude > .1 then
  1234. 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)
  1235. if a then game.Debris:AddItem(a,1) end
  1236. if b then game.Debris:AddItem(b,1) end
  1237. 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)
  1238. if a then game.Debris:AddItem(a,1) end
  1239. if b then game.Debris:AddItem(b,1) end
  1240. scfr = blcf
  1241. elseif not scfr then
  1242. scfr = blcf
  1243. end
  1244. fat.Event:wait()
  1245. end
  1246. scfr=nil
  1247. end)
  1248. end
  1249. --trail(char.Sword.Blade,1e1000,5)
  1250. ----------------------------------------------------
  1251. function Dmg()
  1252. local partofdeath = rarm.Zyrodoxa.Hitbox
  1253. local function CreateRegion3FromLocAndSize(Position, Size)
  1254. local SizeOffset = Size/2
  1255. local Point1 = Position - SizeOffset
  1256. local Point2 = Position + SizeOffset
  1257. return Region3.new(Point1, Point2)
  1258. end
  1259. local reg = CreateRegion3FromLocAndSize(partofdeath.Position, partofdeath.Size)
  1260. for i, v in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(reg, char:GetChildren(), 100)) do
  1261. Spawn(function()
  1262. if Debounces.Slashing == true and Debounces.Slashed == false then
  1263. Debounces.Slashed = true
  1264. ypcall(function()
  1265. local humanoid = v.Parent:FindFirstChild("Humanoid") or v.Parent.Parent:FindFirstChild("Humanoid")
  1266. humanoid:TakeDamage(math.random(10,18))
  1267. end)
  1268. wait(.4)
  1269. Debounces.Slashed = false
  1270. end
  1271. end)
  1272. end
  1273. end
  1274. ----------------------------------------------------
  1275. pts = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  1276. ptz = {0.7, 0.8, 0.9, 1}
  1277. idz = {"161006212", "161006195"}
  1278. function attackone()
  1279. for i = 1, 13 do
  1280. 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)
  1281. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), math.rad(30), math.rad(0)), 0.8)
  1282. 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)
  1283. 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)
  1284. 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)
  1285. 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)
  1286. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(-50),0), 0.5)
  1287. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.5)
  1288. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.7)
  1289. 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)
  1290. 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)
  1291. 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)
  1292. 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)
  1293. 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)
  1294. if Debounces.on == false then
  1295. break
  1296. end
  1297. fat.Event:wait()
  1298. end
  1299. trail(rarm.Zyrodoxa.Hitbox,20,2)
  1300. Debounces.Slashing = true
  1301. wait(0.2)
  1302. --[[z = Instance.new("Sound", hed)
  1303. z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  1304. z.Pitch = ptz[math.random(1,#ptz)]
  1305. z.Volume = 1
  1306. wait(.01)
  1307. z:Play()]]--
  1308. for i = 1, 14 do
  1309. Dmg()
  1310. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0.2) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.8)
  1311. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-40), math.rad(30), math.rad(0)), 0.8)
  1312. 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)
  1313. 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)
  1314. 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)
  1315. 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)
  1316. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(40),0), 0.7)
  1317. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1318. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(-10), math.rad(-40), 0), 0.4)
  1319. 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)
  1320. 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)
  1321. 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)
  1322. 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)
  1323. 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)
  1324. if Debounces.on == false then break end
  1325. rs:wait()
  1326. end
  1327. Debounces.Slashing = false
  1328. end
  1329. function attacktwo()
  1330. Debounces.Slashing = true
  1331. for i = 1, 14 do
  1332. Dmg()
  1333. corw8.C0 = Lerp(corw8.C0, CFrame.new(-0.37, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 0.4)
  1334. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)), 0.4)
  1335. 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)
  1336. 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)
  1337. 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)
  1338. 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)
  1339. 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)
  1340. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1341. 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)
  1342. 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)
  1343. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.5)
  1344. 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)
  1345. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.5)
  1346. 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)
  1347. if Debounces.on == false then
  1348. break
  1349. end
  1350. rs:wait()
  1351. end
  1352. end
  1353. ----------------------------------------------------
  1354.  
  1355. ----------------------------------------------------
  1356. definition = 5
  1357. bc = {}
  1358. bezierparts = {}
  1359. function NoOutline(Part)
  1360. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1361. end
  1362. function draw(p,d)
  1363. for i=1,d do
  1364. local t = i/d
  1365. bc[i] = p[1]*(1-t)^2+2*p[2]*(1-t)*t+p[3]*t^2
  1366. end
  1367.  
  1368. Spawn(function() fat.Event:wait()
  1369. for i,v in pairs(bezierparts) do
  1370. v.Transparency = 1
  1371. end
  1372. end)
  1373. end
  1374. --local points = {larm.Position,rarn.Position,invisipart.Position}
  1375. --draw(points,definition)
  1376.  
  1377. fat.Event:wait()
  1378.  
  1379. rpart = Instance.new("Part",rarm)
  1380. NoOutline(rpart)
  1381. rpart.Anchored = false
  1382. rpart.Size = Vector3.new(1,1,1)
  1383. rpart.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  1384. rpart.Transparency = 1
  1385. newWeld(rarm, rpart, 0, 0, 0)
  1386. rpart.Weld.C1 = CFrame.new(0, 1.1, 0)
  1387. lpart = Instance.new("Part",larm)
  1388. NoOutline(lpart)
  1389. lpart.Anchored = false
  1390. lpart.Size = Vector3.new(1,1,1)
  1391. lpart.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  1392. lpart.Transparency = 1
  1393. newWeld(larm, lpart, 0, 0, 0)
  1394. lpart.Weld.C1 = CFrame.new(0, 1.1, 0)
  1395. invisipart = Instance.new("Part",torso)
  1396. NoOutline(invisipart)
  1397. invisipart.Anchored = false
  1398. invisipart.Size = Vector3.new(1,1,1)
  1399. invisipart.Transparency = 1
  1400. invisipart.CFrame = torso.CFrame
  1401. newWeld(torso, invisipart, 0, 0, 0)
  1402. invisipart.Weld.C1 = CFrame.new(0, 0, 6)
  1403. table.insert(bezierparts, rpart)
  1404. table.insert(bezierparts, lpart)
  1405. table.insert(bezierparts, invisipart)
  1406. for i = 1, 40 do
  1407. local points = {lpart.Position,invisipart.Position,rpart.Position}
  1408. draw(points,definition)
  1409. --invisipart.Weld.C1 = invisipart.Weld.C1 + Vector3.new(0,0,0.6)
  1410. 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)
  1411. 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)
  1412. 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)
  1413. 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)
  1414. 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)
  1415. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1416. 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)
  1417. 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)
  1418. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(0), 0, math.rad(-10)), 0.2)
  1419. 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)
  1420. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(0), 0, math.rad(10)), 0.2)
  1421. 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)
  1422. if Debounces.on == false then
  1423. break
  1424. end
  1425. fat.Event:wait()
  1426. end
  1427. for i,v in pairs(bezierparts) do
  1428. v:Destroy()
  1429. end
  1430. --draw(points,definition)
  1431. if Debounces.CanAttack == false then
  1432. Debounces.CanAttack = true
  1433. Debounces.NoIdl = false
  1434. Debounces.on = false
  1435. end
  1436. ----------------------------------------------------
  1437. ----------------------------------------------------
  1438. pt = {6.6, 6.8, 7, 7.2, 7.4}
  1439. mouse.KeyDown:connect(function(key)
  1440. if key == "q" then
  1441. if Debounces.CanJoke == true then
  1442. Debounces.CanJoke = false
  1443. u = Instance.new("Sound",char)
  1444. u.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1445. u.Pitch = pt[math.random(1,#pt)]
  1446. u.Volume = 0.3
  1447. u2 = Instance.new("Sound",char)
  1448. u2.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1449. u2.Pitch = u.Pitch
  1450. u2.Volume = 0.3
  1451. u3 = Instance.new("Sound",char)
  1452. u3.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1453. u3.Pitch = u.Pitch
  1454. u3.Volume = 0.3
  1455. wait(.01)
  1456. u:Play()
  1457. u2:Play()
  1458. u3:Play()
  1459. wait(1.5)
  1460. u:Destroy()
  1461. u2:Destroy()
  1462. u3:Destroy()
  1463. if Debounces.CanJoke == false then
  1464. Debounces.CanJoke = true
  1465. end
  1466. end
  1467. end
  1468. end)
  1469. ----------------------------------------------------
  1470. mouse.KeyDown:connect(function(key)
  1471. if key == "m" then
  1472. hum.WalkSpeed = 0
  1473. if Debounces.CanAttack == true then
  1474. Debounces.CanAttack = false
  1475. Debounces.on = true
  1476. Debounces.NoIdl = true
  1477. --[[x = Instance.new("Sound",char)
  1478. x.SoundId = "http://www.roblox.com/asset/?id=169445572"
  1479. x.Looped = false
  1480. x.Pitch = 1.1
  1481. x.Volume = 1
  1482. x:Play()
  1483. x2 = Instance.new("Sound",char)
  1484. x2.SoundId = "http://www.roblox.com/asset/?id=169380495"
  1485. x2.Looped = false
  1486. x2.Pitch = .7
  1487. x2.Volume = 1
  1488. wait(.1)
  1489. x:Play()
  1490. x2:Play()
  1491. for i = 1, 20 do
  1492. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,0.6,-.2) *CFrame.Angles (math.rad (45),math.rad(0),math.rad(32)), 0.2)
  1493. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,1,0)*CFrame.Angles(math.rad (0),math.rad(0),math.rad(-20)), 0.2)
  1494. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad (- 8),math.rad(-40), math.rad(-8)),0.2)
  1495. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3.2, 0) * CFrame.Angles (math.rad (-50), math.rad(40), math.rad(0)), 0.2)
  1496. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -1.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2)
  1497. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.6, -2, 0) * CFrame.Angles (math.rad(- 10), math.rad(-40), math.rad(0)), 0.2)
  1498. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.4)
  1499. if Debounces.on == false then break end
  1500. wait()
  1501. x:Destroy()
  1502. x2:Destroy()
  1503. end
  1504. wait(1)]]--
  1505. local rng = Instance.new("Part", char)
  1506. rng.Anchored = true
  1507. rng.BrickColor = BrickColor.new("Gold")
  1508. rng.CanCollide = false
  1509. rng.FormFactor = 3
  1510. rng.Name = "Ring"
  1511. rng.Size = Vector3.new(1, 1, 1)
  1512. rng.Transparency = 0.35
  1513. rng.TopSurface = 0
  1514. rng.BottomSurface = 0
  1515. rng.Position = torso.Position - Vector3.new(0,2,0)
  1516. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1517. local rngm = Instance.new("SpecialMesh", rng)
  1518. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1519. rngm.Scale = Vector3.new(1, 1, 2)
  1520. x = Instance.new("Sound",char)
  1521. x.SoundId = "http://www.roblox.com/asset/?id=169445602"
  1522. x.Looped = false
  1523. x.Pitch = .7
  1524. x.Volume = 1
  1525. x:Play()
  1526. coroutine.wrap(function()
  1527. for i = 1, 60, 2 do
  1528. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  1529. rng.Transparency = i/60
  1530. wait()
  1531. end
  1532. wait()
  1533. rng:Destroy()
  1534. end)()
  1535. hum.WalkSpeed = 50
  1536. BV = Instance.new("BodyVelocity", torso)
  1537. BV.maxForce = Vector3.new(0,200000,0)
  1538. BV.P = 100000
  1539. BV.velocity = Vector3.new(0,800,0)
  1540. for i = 1, 20 do
  1541. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(20),math.rad(0), math.rad(0)),0.7)
  1542. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7)
  1543. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7)
  1544. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.7)
  1545. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
  1546. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, 0, -2) * CFrame.Angles(math.rad(0), 0, 0), 0.7)
  1547. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  1548. if Debounces.on == false then break end
  1549. wait()
  1550. end
  1551. x:Destroy()
  1552. BV:Destroy()
  1553. --[[for i = 1, 30 do
  1554. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3)
  1555. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad (0), math.rad(0)), 0.3)
  1556. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  1557. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1558. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
  1559. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  1560. if Debounces.on == false then break end
  1561. wait()
  1562. end]]--
  1563. if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then
  1564. for i = 1, 30 do
  1565. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3)
  1566. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1567. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1568. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1569. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  1570. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  1571. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  1572. if Debounces.on == false then break end
  1573. wait()
  1574. end
  1575. end
  1576. Debounces.on = false
  1577. Debounces.NoIdl = false
  1578. local ry,ht,ps=nil,nil,nil
  1579. while ht==nil do
  1580. ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
  1581. wait()
  1582. end
  1583. z = Instance.new("Sound",char)
  1584. z.SoundId = "rbxassetid://142070127"
  1585. z.Volume = 1
  1586. wait(.1)
  1587. z:Play()
  1588. Landing()
  1589. hum.WalkSpeed = 8
  1590. if Debounces.CanAttack == false then
  1591. Debounces.CanAttack = true
  1592. end
  1593. end
  1594. end
  1595. end)
  1596. ----------------------------------------------------
  1597. ----------------------------------------------------
  1598. mouse.KeyDown:connect(function(key)
  1599. if key == "j" then
  1600. if Debounces.CanJoke == true then
  1601. Debounces.CanJoke = false
  1602. z = Instance.new("Sound",hed)
  1603. z.SoundId = "rbxassetid://415859013"
  1604. z.Pitch = pitches[math.random(1,#pitches)]
  1605. z.Volume = 1
  1606. wait()
  1607. z:Play()
  1608. wait(2)
  1609. z:Destroy()
  1610. if Debounces.CanJoke == false then
  1611. Debounces.CanJoke = true
  1612. end
  1613. end
  1614. end
  1615. end)
  1616.  
  1617. ----------------------------------------------------
  1618. Grab = false
  1619. mouse.KeyDown:connect(function(key)
  1620. if key == "z" then
  1621. Debounces.on = true
  1622. Debounces.NoIdl = true
  1623. if Grab == false then
  1624. gp = nil
  1625. con1=larm.Touched:connect(function(hit) -- this is grab
  1626. ht = hit.Parent
  1627. hum1=ht:FindFirstChild('Humanoid')
  1628. if hum1 ~= nil then
  1629. hum1.PlatformStand=true
  1630. gp = ht
  1631. Grab = true
  1632. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-3.3,0),CFrame.new(0,0,0))
  1633. asd.Parent = larm
  1634. asd.Name = "asd"
  1635. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0)
  1636. con1:disconnect()
  1637. elseif hum1 ~= nil then
  1638. con1:disconnect()
  1639. wait() return
  1640. end
  1641. end)
  1642. for i = 1, 18 do
  1643. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(36)), 0.2)
  1644. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.65,.9,-.5)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2)
  1645. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  1646. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.8, 0) * CFrame.Angles(math.rad(-60), math.rad(0), 0), 0.2)
  1647. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2)
  1648. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2)
  1649. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.9)
  1650. if Debounces.on == false then break end
  1651. wait()
  1652. end
  1653. con1:disconnect()
  1654. Debounces.on = false
  1655. Debounces.NoIdl = false
  1656. elseif Grab == true then
  1657. Grab = false
  1658. for i = 1, 20 do
  1659. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.2)
  1660. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.4)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-20)), 0.1)
  1661. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  1662. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  1663. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  1664. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  1665. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  1666. if Debounces.on == false then end
  1667. wait()
  1668. end
  1669. if gp ~= nil then
  1670. for i,v in pairs(larm:GetChildren()) do
  1671. if v.Name == "asd" and v:IsA("Weld") then
  1672. v:Remove()
  1673. end
  1674. end
  1675. bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  1676. bv.maxForce = Vector3.new(400000, 400000, 400000)
  1677. bv.P = 125000
  1678. bv.velocity = char.Head.CFrame.lookVector * 200
  1679. for i = 1, 12 do
  1680. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.75)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(20)), 0.5)
  1681. if Debounces.on == false then end
  1682. wait()
  1683. end--
  1684. ht=nil
  1685. Spawn(function()
  1686. wait(0.5)
  1687. bv:Destroy()
  1688. end)
  1689. Debounces.on = false
  1690. Debounces.NoIdl = false
  1691. elseif ht == nil then wait()
  1692. Grab = false
  1693. Debounces.on = false
  1694. Debounces.NoIdl = false
  1695. end
  1696. end
  1697. end
  1698. end)
  1699. ----------------------------------------------------
  1700. Grab = false
  1701. mouse.KeyDown:connect(function(key)
  1702. if key == "e" then
  1703. Debounces.on = true
  1704. Debounces.NoIdl = true
  1705. Debounces.ks = true
  1706. if Grab == false then
  1707. gp = nil
  1708. for i = 1, 20 do
  1709. 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)
  1710. 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)
  1711. 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)
  1712. 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)
  1713. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
  1714. 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)
  1715. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
  1716. 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)
  1717. 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)
  1718. 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)
  1719. 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)
  1720. 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)
  1721. if Debounces.on == false then break end
  1722. fat.Event:wait()
  1723. end
  1724. con1=larm.LeftArm.LeftArmPlate.Touched:connect(function(hit)
  1725. ht = hit.Parent
  1726. for i,v in pairs(ht:GetChildren()) do
  1727. if v:IsA("Part") then
  1728. v.CanCollide = false
  1729. v.CustomPhysicalProperties = PhysicalProperties.new(0.001,0.001,0.001,0.001,0.001)
  1730. end
  1731. end
  1732. hum1=ht:FindFirstChild('Humanoid')
  1733. if hum1 ~= nil then
  1734. if Debounces.ks==true then
  1735. z = Instance.new("Sound",hed)
  1736. z.SoundId = "rbxassetid://169380525"
  1737. z.Volume = 1
  1738. z:Play()
  1739. Debounces.ks=false
  1740. end
  1741. hum1.PlatformStand=true
  1742. hum1:ChangeState'Physics'
  1743. gp = ht
  1744. Grab = true
  1745. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,0.6),CFrame.new(0,0,0))
  1746. asd.Parent = larm
  1747. asd.Name = "asd"
  1748. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
  1749. stanceToggle = "Grabbed"
  1750. --[[elseif hum1 == nil then
  1751. con1:disconnect()
  1752. wait() return]]--
  1753. end
  1754. end)
  1755. for i = 1, 20 do
  1756. 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)
  1757. 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)
  1758. 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)
  1759. 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)
  1760. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.2)
  1761. 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)
  1762. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
  1763. 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)
  1764. 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)
  1765. 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)
  1766. 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)
  1767. 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)
  1768. if Debounces.on == false then break end
  1769. fat.Event:wait()
  1770. end
  1771. con1:disconnect()
  1772. Debounces.on = false
  1773. Debounces.NoIdl = false
  1774. elseif Grab == true then
  1775. Grab = false
  1776. --[[for i = 1, 16 do
  1777. 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)
  1778. 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)
  1779. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3)
  1780. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  1781. 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)
  1782. 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)
  1783. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3)
  1784. if Debounces.on == false then end
  1785. rs:wait()
  1786. end]]--
  1787. for i = 1, 16 do
  1788. 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)
  1789. 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)
  1790. 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)
  1791. 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)
  1792. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
  1793. 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)
  1794. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.3)
  1795. 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)
  1796. 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)
  1797. 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)
  1798. 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)
  1799. 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)
  1800. if Debounces.on == false then end
  1801. rs:wait()
  1802. end
  1803. for i = 1, 12 do
  1804. 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)
  1805. 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)
  1806. 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)
  1807. 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)
  1808. 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)
  1809. 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)
  1810. 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)
  1811. 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)
  1812. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.6)
  1813. 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)
  1814. 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)
  1815. 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)
  1816. if Debounces.on == false then end
  1817. rs:wait()
  1818. end
  1819. Slam()
  1820. if gp ~= nil then
  1821. for i,v in pairs(larm:GetChildren()) do
  1822. if v.Name == "asd" and v:IsA("Weld") then
  1823. v:Remove()
  1824. end
  1825. if v:IsA("Part") then
  1826. v.CanCollide = true
  1827. v.CustomPhysicalProperties = PhysicalProperties.new(1,1,1,1,1)
  1828. end
  1829. end
  1830. end
  1831. stanceToggle = "Idle1"
  1832. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  1833. bv.maxForce = Vector3.new(400000, 400000, 400000)
  1834. bv.P = 125000
  1835. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  1836. ht=nil
  1837. Debounces.on = false
  1838. Debounces.NoIdl = false
  1839. elseif ht == nil then wait()
  1840. Grab = false
  1841. Debounces.on = false
  1842. Debounces.NoIdl = false
  1843. end
  1844. end
  1845. end)
  1846. ----------------------------------------------------
  1847. Change = false
  1848. mouse.KeyDown:connect(function(key)
  1849. if key == "n" then
  1850. if Change == false then
  1851. Change = true
  1852. stanceToggle = "Idle2"
  1853. elseif Change == true then
  1854. Change = false
  1855. stanceToggle = "Idle1"
  1856. end
  1857. end
  1858. end)
  1859. ----------------------------------------------------
  1860. mouse.KeyDown:connect(function(key)
  1861. if string.byte(key) == 52 then
  1862. Swing = 2
  1863. char.Humanoid.WalkSpeed = 28
  1864. end
  1865. end)
  1866. mouse.KeyUp:connect(function(key)
  1867. if string.byte(key) == 52 then
  1868. Swing = 1
  1869. char.Humanoid.WalkSpeed = 16
  1870. end
  1871. end)
  1872. ----------------------------------------------------
  1873.  
  1874. jump = false
  1875. rs:connect(function()
  1876. if char.Humanoid.Jump == true then
  1877. jump = true
  1878. else
  1879. jump = false
  1880. end
  1881. char.Humanoid.FreeFalling:connect(function(f)
  1882. if f then
  1883. ffing = true
  1884. else
  1885. ffing = false
  1886. end
  1887. end)
  1888. sine = sine + change
  1889. if jump == true then
  1890. animpose = "Jumping"
  1891. elseif ffing == true then
  1892. animpose = "Freefalling"
  1893. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  1894. animpose = "Idle"
  1895. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  1896. animpose = "Walking"
  1897. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  1898. animpose = "Running"
  1899. end
  1900. RightLeg = CFrame.new(0.5,-1,0)
  1901. LeftLeg = CFrame.new(-0.5,-1,0)
  1902.  
  1903. lefth = (torso.CFrame*LeftLeg)
  1904. righth = (torso.CFrame*RightLeg)
  1905.  
  1906. speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
  1907.  
  1908. TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
  1909.  
  1910. local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
  1911. local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
  1912. if animpose ~= lastanimpose then
  1913. sine = 0
  1914. if Debounces.NoIdl == false then
  1915. if stanceToggle == "Idle1" then
  1916. 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)
  1917. 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)
  1918. 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)
  1919. 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)
  1920. 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)
  1921. 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)
  1922. elseif stanceToggle == "Idle2" then
  1923. 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)
  1924. 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)
  1925. 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)
  1926. 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)
  1927. 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)
  1928. 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)
  1929. end
  1930. fat.Event:wait()
  1931. end
  1932. else
  1933. end
  1934. lastanimpose = animpose
  1935. if Debounces.NoIdl == false then
  1936. if animpose == "Idle" then
  1937. change = 0.5
  1938. if stanceToggle == "Idle1" then
  1939. 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)
  1940. 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)
  1941.  
  1942. 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)
  1943. 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)
  1944. 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)
  1945. 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)
  1946. 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)
  1947. 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)
  1948. 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)
  1949. 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)
  1950. 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)
  1951. 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)
  1952. 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)
  1953. 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)
  1954. elseif stanceToggle == "Idle2" then
  1955.  
  1956. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1957. 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)
  1958. 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)
  1959. 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)
  1960. 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)
  1961. 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)
  1962. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  1963. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  1964. --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)
  1965. 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)
  1966. 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)
  1967. 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)
  1968. 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)
  1969. 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)
  1970. elseif stanceToggle == "Grabbed" then
  1971. grab = true
  1972. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1973. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1974. 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)
  1975. 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)
  1976. 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)
  1977. 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)
  1978. 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)
  1979. 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)
  1980. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  1981. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  1982. 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)
  1983. 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)
  1984. 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)
  1985. 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)
  1986. end
  1987. elseif animpose == "Walking" then
  1988. if stanceToggle == "Grabbed" then
  1989. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1990. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1991. 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)
  1992. 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)
  1993. 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)
  1994. 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)
  1995. 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)
  1996. 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)
  1997. 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)
  1998. --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
  1999. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  2000. 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)
  2001. 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)
  2002. 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)
  2003. 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)
  2004. elseif stanceToggle ~= "Grabbed" then
  2005. change = 1
  2006. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2007. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2008.  
  2009. 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)
  2010. 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)
  2011. 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)
  2012. 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)
  2013. 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)
  2014. 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)
  2015. 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)
  2016. --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
  2017. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  2018. --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)
  2019. 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)
  2020. 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)
  2021. --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)
  2022. 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)
  2023. 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)
  2024. end
  2025. elseif animpose == "Running" then
  2026. change = 1
  2027. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2028. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2029.  
  2030. 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)
  2031. 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)
  2032. 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)
  2033. 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)
  2034. 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)
  2035. 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)
  2036. 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)
  2037. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  2038. 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)
  2039. 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)
  2040. 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)
  2041. 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)
  2042. elseif animpose == "Jumping" then
  2043.  
  2044. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2045. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2046. 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)
  2047. 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)
  2048. 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)
  2049. 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)
  2050. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),math.rad(0),0), 0.2)
  2051. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  2052. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  2053. 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)
  2054. 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)
  2055. 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)
  2056. 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)
  2057. elseif animpose == "Freefalling" then
  2058.  
  2059. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  2060. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2061. 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)
  2062. 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)
  2063. 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)
  2064. 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)
  2065. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),math.rad(0),0), 0.2)
  2066. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.2)
  2067. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  2068. 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)
  2069. 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)
  2070. 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)
  2071. 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)
  2072. end
  2073. end
  2074. end)
  2075. hum.MaxHealth = math.huge
  2076. wait(3)
  2077. hum.Health = math.huge
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement