Advertisement
Guest User

Untitled

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