Advertisement
wamandnj

Untitled

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