Advertisement
xxtheadmincreatorxx

Walusme

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