Advertisement
XxmadmaxgamexX

hammer

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