Advertisement
PiterMosskva_TV

aa

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