Advertisement
NoHackJustStevePlayz

Clck NOICEzzzz

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