Advertisement
Void_scripter0

ban

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