WagnerJunio07

Ban Hammer

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