Advertisement
doryna2281337

Untitled

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