Advertisement
zXzGamePROzXz

BanHammer (Wait wat)

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