Advertisement
zXzGamePROzXz

KKK

Jan 20th, 2019
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 104.84 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  5.  
  6. -- Extracted from nebula hub by DOGGΩ#0018
  7. local Player = game.Players.LocalPlayer
  8.  
  9.  
  10.  
  11.  
  12.  
  13. function infect(char)
  14.  
  15. repeat wait() until char
  16.  
  17. local torso = char["Torso"]
  18.  
  19. repeat wait() until torso
  20.  
  21. local Head = char:FindFirstChild("Head")
  22.  
  23. if Head then
  24.  
  25. if Head:FindFirstChild("face") then
  26.  
  27. Head.face.Texture = "http://www.roblox.com/asset/?id=76690153"
  28.  
  29. end
  30.  
  31. end
  32.  
  33. for i,v in pairs(char:GetChildren()) do
  34.  
  35. if v:IsA("Shirt") or v:IsA("Pants") then
  36.  
  37. v:Destroy()
  38.  
  39. elseif v:IsA("BasePart") then
  40.  
  41. v.BrickColor = BrickColor.new("Dirt brown")
  42.  
  43. v.Changed:connect(function(prop)
  44.  
  45. if prop == "BrickColor" then
  46.  
  47. print("gi")
  48.  
  49. end
  50.  
  51. end)
  52.  
  53.  
  54.  
  55. end
  56.  
  57. end
  58.  
  59. local RA, LA, LL, RL, Head = torso["Right Shoulder"],torso["Left Shoulder"],torso["Left Hip"],torso["Right Hip"],torso["Neck"]
  60.  
  61. local sound = Instance.new("Sound", torso)
  62.  
  63. sound.SoundId = "rbxassetid://0"
  64.  
  65. sound.Volume = 0
  66.  
  67. sound.Looped = true
  68.  
  69. sound:Play()
  70.  
  71.  
  72.  
  73. end
  74.  
  75.  
  76.  
  77. for i,v in pairs(game.Players:GetPlayers()) do
  78.  
  79. infect(v.Character)
  80.  
  81. end
  82.  
  83.  
  84.  
  85. wait(1)
  86.  
  87. --------------------------------
  88.  
  89. local p = game.Players.LocalPlayer
  90.  
  91. local char = p.Character
  92.  
  93. local mouse = p:GetMouse()
  94.  
  95. local larm = char["Left Arm"]
  96.  
  97. local rarm = char["Right Arm"]
  98.  
  99. local lleg = char["Left Leg"]
  100.  
  101. local rleg = char["Right Leg"]
  102.  
  103. local hed = char.Head
  104.  
  105. local torso = char.Torso
  106.  
  107. local hum = char.Humanoid
  108.  
  109. local cam = game.Workspace.CurrentCamera
  110.  
  111. local root = char.HumanoidRootPart
  112.  
  113. local deb = false
  114.  
  115. local shot = 0
  116.  
  117. local debris=game:service"Debris"
  118.  
  119. local l = game:GetService("Lighting")
  120.  
  121. local rs = game:GetService("RunService").RenderStepped
  122.  
  123. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  124.  
  125. math.randomseed(os.time())
  126.  
  127. for i,v in pairs(char:children()) do
  128.  
  129. if v:IsA("Hat") then
  130.  
  131. v:Destroy()
  132.  
  133. end
  134.  
  135. end
  136.  
  137. for i,v in pairs (hed:GetChildren()) do
  138.  
  139. if v:IsA("Sound") then
  140.  
  141. v:Destroy()
  142.  
  143. end
  144.  
  145. end
  146.  
  147. ----------------------------------------------------
  148.  
  149. z = Instance.new("Sound", torso)
  150.  
  151. z.SoundId = "rbxassetid://0" -- Put Music ID Here.
  152.  
  153. z.Looped = true
  154.  
  155. z.Volume = 1
  156.  
  157. wait(.1)
  158.  
  159. z:Play()
  160.  
  161. -----------------------------------------------------
  162.  
  163. Debounces = {
  164.  
  165. CanAttack = true;
  166.  
  167. NoIdl = false;
  168.  
  169. Slashing = false;
  170.  
  171. Slashed = false;
  172.  
  173. RPunch = false;
  174.  
  175. RPunched = false;
  176.  
  177. LPunch = false;
  178.  
  179. LPunched = false;
  180.  
  181. }
  182.  
  183. local Touche = {char.Name, }
  184.  
  185. ----------------------------------------------------
  186.  
  187. hed.face.Texture = "rbxassetid://0"
  188.  
  189. char["Body Colors"].HeadColor = BrickColor.new("White")
  190.  
  191. char["Body Colors"].TorsoColor = BrickColor.new("White")
  192.  
  193. char["Body Colors"].LeftArmColor = BrickColor.new("White")
  194.  
  195. char["Body Colors"].RightArmColor = BrickColor.new("White")
  196.  
  197. char["Body Colors"].LeftLegColor = BrickColor.new("White")
  198.  
  199. char["Body Colors"].RightLegColor = BrickColor.new("White")
  200.  
  201. ----------------------------------------------------
  202.  
  203. ypcall(function()
  204.  
  205. char.Shirt:Destroy()
  206.  
  207. char.Pants:Destroy()
  208.  
  209. shirt = Instance.new("Shirt", char)
  210.  
  211. shirt.Name = "Shirt"
  212.  
  213. pants = Instance.new("Pants", char)
  214.  
  215. pants.Name = "Pants"
  216.  
  217. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=0"
  218.  
  219. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=0"
  220.  
  221. end)
  222.  
  223. ----------------------------------------------------
  224.  
  225. local LocalPlayer = game:GetService("Players").LocalPlayer
  226.  
  227. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
  228.  
  229.  
  230.  
  231. Character.Head.Transparency = 1
  232.  
  233.  
  234.  
  235. local Orb = Instance.new("Part", Character)
  236.  
  237. Orb.Name = "Orb"
  238.  
  239.  
  240.  
  241. Orb.CanCollide = false
  242.  
  243. Orb.BrickColor = BrickColor.new("White")
  244.  
  245. Orb.Transparency = 0
  246.  
  247. Orb.Material = "Plastic"
  248.  
  249. Orb.Size = Vector3.new(1, 1, 1)
  250.  
  251.  
  252.  
  253.  
  254.  
  255. local M = Instance.new("SpecialMesh")
  256.  
  257. M.Parent = Orb
  258.  
  259. M.MeshId = "http://www.roblox.com/asset/?id=1033714"
  260.  
  261. M.Scale = Vector3.new(0.8, 3, 0.8)
  262.  
  263.  
  264.  
  265.  
  266.  
  267. local Weld = Instance.new("Weld", Orb)
  268.  
  269. Weld.Part0 = Character.Head
  270.  
  271. Weld.Part1 = Orb
  272.  
  273. Weld.C1 = CFrame.new(0, -0.5, 0)
  274.  
  275. --------------------------------------------------------
  276.  
  277. local Orbd = Instance.new("Part", Character)
  278.  
  279. Orbd.Name = "Orbd"
  280.  
  281. Orbd.Shape = Enum.PartType.Ball
  282.  
  283. Orbd.CanCollide = false
  284.  
  285. Orbd.BrickColor = BrickColor.new("Really black")
  286.  
  287. Orbd.Transparency = 0
  288.  
  289. Orbd.Material = "Neon"
  290.  
  291. Orbd.Size = Vector3.new(0.1, 0.1, 0.1)
  292.  
  293. Orbd.TopSurface = Enum.SurfaceType.Smooth
  294.  
  295. Orbd.BottomSurface = Enum.SurfaceType.Smooth
  296.  
  297.  
  298.  
  299. local Weld = Instance.new("Weld", Orbd)
  300.  
  301. Weld.Part0 = Character.Head
  302.  
  303. Weld.Part1 = Orbd
  304.  
  305. Weld.C1 = CFrame.new(-0.2, -0.2, 0.5)
  306.  
  307.  
  308.  
  309. --------------------------------------------------------
  310.  
  311. local Orbvc = Instance.new("Part", Character)
  312.  
  313. Orbvc.Name = "Orbvc"
  314.  
  315. Orbvc.Shape = Enum.PartType.Ball
  316.  
  317. Orbvc.CanCollide = false
  318.  
  319. Orbvc.BrickColor = BrickColor.new("Really black")
  320.  
  321. Orbvc.Transparency = 0
  322.  
  323. Orbvc.Material = "Neon"
  324.  
  325. Orbvc.Size = Vector3.new(0.1, 0.1, 0.1)
  326.  
  327. Orbvc.TopSurface = Enum.SurfaceType.Smooth
  328.  
  329. Orbvc.BottomSurface = Enum.SurfaceType.Smooth
  330.  
  331.  
  332.  
  333. local Weld = Instance.new("Weld", Orbvc)
  334.  
  335. Weld.Part0 = Character.Head
  336.  
  337. Weld.Part1 = Orbvc
  338.  
  339. Weld.C1 = CFrame.new(0.2, -0.2, 0.5)
  340.  
  341. ---------------------
  342.  
  343. local LocalPlayer = game:GetService("Players").LocalPlayer
  344.  
  345. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
  346.  
  347.  
  348.  
  349. Character.Head.Transparency = 1
  350.  
  351.  
  352.  
  353. local Camisa = Instance.new("Part", Character)
  354.  
  355. Camisa.Name = "Camisa"
  356.  
  357.  
  358.  
  359. Camisa.CanCollide = false
  360.  
  361. Camisa.BrickColor = BrickColor.new("Institutional white")
  362.  
  363. Camisa.Transparency = 1
  364.  
  365. Camisa.Material = "Plastic"
  366.  
  367. Camisa.Size = Vector3.new(1.5, 1.5, 1)
  368.  
  369.  
  370.  
  371. d = Instance.new("Decal",Camisa)
  372.  
  373. d.Texture = "http://www.roblox.com/asset/?id=14872518"
  374.  
  375. d.Face = "Front"
  376.  
  377.  
  378.  
  379.  
  380.  
  381. local Weld = Instance.new("Weld", Camisa)
  382.  
  383. Weld.Part0 = Character.Torso
  384.  
  385. Weld.Part1 = Camisa
  386.  
  387. Weld.C1 = CFrame.new(0, 0, 0)
  388.  
  389. ----------------------------------------
  390.  
  391. local p = game.Players.LocalPlayer
  392.  
  393. local char = p.Character
  394.  
  395. local mouse = p:GetMouse()
  396.  
  397. local larm = char["Left Arm"]
  398.  
  399. local rarm = char["Right Arm"]
  400.  
  401. local lleg = char["Left Leg"]
  402.  
  403. local rleg = char["Right Leg"]
  404.  
  405. local hed = char.Head
  406.  
  407. local torso = char.Torso
  408.  
  409. local hum = char.Humanoid
  410.  
  411. local cam = game.Workspace.CurrentCamera
  412.  
  413. local root = char.HumanoidRootPart
  414.  
  415. local rj = root.RootJoint
  416.  
  417. local deb = false
  418.  
  419. local shot = 0
  420.  
  421. local stanceToggle = "Idle1"
  422.  
  423. local l = game:GetService("Lighting")
  424.  
  425. local rs = game:GetService("RunService").RenderStepped
  426.  
  427. local hb = game:GetService("RunService").Heartbeat
  428.  
  429. local Stepped = game:GetService("RunService").Stepped
  430.  
  431. math.randomseed(os.time())
  432.  
  433. hum.JumpPower = 100
  434.  
  435. hed.face:Remove()
  436.  
  437. ----------------------------------------------------
  438.  
  439. fat = Instance.new("BindableEvent",script)
  440.  
  441. fat.Name = "Heartbeat"
  442.  
  443.  
  444.  
  445. script:WaitForChild("Heartbeat")
  446.  
  447.  
  448.  
  449. frame = 1/30
  450.  
  451. tf = 0
  452.  
  453. 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.
  454.  
  455. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  456.  
  457. lastframe = tick()
  458.  
  459. script.Heartbeat:Fire() --ayy lmao
  460.  
  461.  
  462.  
  463. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  464.  
  465. tf = tf + s
  466.  
  467. if tf >= frame then
  468.  
  469. if allowframeloss then
  470.  
  471. script.Heartbeat:Fire()
  472.  
  473. lastframe=tick()
  474.  
  475. else
  476.  
  477. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  478.  
  479. for i=1, math.floor(tf/frame) do
  480.  
  481. script.Heartbeat:Fire()
  482.  
  483. end
  484.  
  485. lastframe=tick()
  486.  
  487. end
  488.  
  489. if tossremainder then
  490.  
  491. tf = 0
  492.  
  493. else
  494.  
  495. tf = tf - frame * math.floor(tf/frame)
  496.  
  497. end
  498.  
  499. end
  500.  
  501. end)
  502.  
  503. ----------------------------------------------------
  504.  
  505. for i,v in pairs(char:children()) do
  506.  
  507. if v:IsA("Hat") then
  508.  
  509. v:Destroy()
  510.  
  511. end
  512.  
  513. end
  514.  
  515. for i,v in pairs (hed:GetChildren()) do
  516.  
  517. if v:IsA("Sound") then
  518.  
  519. v:Destroy()
  520.  
  521. end
  522.  
  523. end
  524.  
  525. ----------------------------------------------------
  526.  
  527. Debounces = {
  528.  
  529. CanAttack = true;
  530.  
  531. CanJoke = true;
  532.  
  533. NoIdl = false;
  534.  
  535. Slashing = false;
  536.  
  537. Slashed = false;
  538.  
  539. ks = false;
  540.  
  541. }
  542.  
  543. ----------------------------------------------------
  544.  
  545. function weld5(part0, part1, c0, c1)
  546.  
  547. weeld=Instance.new("Weld", part0)
  548.  
  549. weeld.Part0=part0
  550.  
  551. weeld.Part1=part1
  552.  
  553. weeld.C0=c0
  554.  
  555. weeld.C1=c1
  556.  
  557. return weeld
  558.  
  559. end
  560.  
  561. ----------------------------------------------------
  562.  
  563. function NewPart(prnt,siz,cf,trans,anc,mat,col)
  564.  
  565. local prt=Instance.new("Part")
  566.  
  567. prt.Parent=prnt
  568.  
  569. prt.Name="Part"
  570.  
  571. prt.Size=siz
  572.  
  573. prt.CanCollide=false
  574.  
  575. prt.Anchored=anc
  576.  
  577. prt.Locked=true
  578.  
  579. prt.Transparency = trans
  580.  
  581. prt.TopSurface=10
  582.  
  583. prt.BottomSurface=10
  584.  
  585. prt.FrontSurface=10
  586.  
  587. prt.BackSurface=10
  588.  
  589. prt.LeftSurface=10
  590.  
  591. prt.RightSurface=10
  592.  
  593. prt:BreakJoints()
  594.  
  595. prt.CFrame=cf or CFrame.new(30,10,30)
  596.  
  597. prt.Material=mat
  598.  
  599. prt.BrickColor=BrickColor.new(col)
  600.  
  601. m=Instance.new("SpecialMesh",prt)
  602.  
  603. m.MeshType=6
  604.  
  605. return prt
  606.  
  607. end
  608.  
  609. ----------------------------------------------------
  610.  
  611. function lerp(a, b, t) -- Linear interpolation
  612.  
  613. return a + (b - a)*t
  614.  
  615. end
  616.  
  617.  
  618.  
  619. function slerp(a, b, t) --Spherical interpolation
  620.  
  621. dot = a:Dot(b)
  622.  
  623. if dot > 0.99999 or dot < -0.99999 then
  624.  
  625. return t <= 0.5 and a or b
  626.  
  627. else
  628.  
  629. r = math.acos(dot)
  630.  
  631. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  632.  
  633. end
  634.  
  635. end
  636.  
  637.  
  638.  
  639. function matrixInterpolate(a, b, t)
  640.  
  641. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  642.  
  643. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  644.  
  645. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  646.  
  647. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  648.  
  649. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  650.  
  651. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  652.  
  653. local t = v1:Dot(v2)
  654.  
  655. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  656.  
  657. return CFrame.new()
  658.  
  659. end
  660.  
  661. return CFrame.new(
  662.  
  663. v0.x, v0.y, v0.z,
  664.  
  665. v1.x, v1.y, v1.z,
  666.  
  667. v2.x, v2.y, v2.z,
  668.  
  669. v3.x, v3.y, v3.z)
  670.  
  671. end
  672.  
  673. ----------------------------------------------------
  674.  
  675. function genWeld(a,b)
  676.  
  677. local w = Instance.new("Weld",a)
  678.  
  679. w.Part0 = a
  680.  
  681. w.Part1 = b
  682.  
  683. return w
  684.  
  685. end
  686.  
  687. function weld(a, b)
  688.  
  689. local weld = Instance.new("Weld")
  690.  
  691. weld.Name = "W"
  692.  
  693. weld.Part0 = a
  694.  
  695. weld.Part1 = b
  696.  
  697. weld.C0 = a.CFrame:inverse() * b.CFrame
  698.  
  699. weld.Parent = a
  700.  
  701. return weld;
  702.  
  703. end
  704.  
  705. ----------------------------------------------------
  706.  
  707. function Lerp(c1,c2,al)
  708.  
  709. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  710.  
  711. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  712.  
  713. for i,v in pairs(com1) do
  714.  
  715. com1[i] = v+(com2[i]-v)*al
  716.  
  717. end
  718.  
  719. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  720.  
  721. end
  722.  
  723. ----------------------------------------------------
  724.  
  725. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  726.  
  727. local wld = Instance.new("Weld", wp1)
  728.  
  729. wld.Part0 = wp0
  730.  
  731. wld.Part1 = wp1
  732.  
  733. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  734.  
  735. end
  736.  
  737. ----------------------------------------------------
  738.  
  739. newWeld(torso, larm, -1.5, 0.5, 0)
  740.  
  741. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  742.  
  743. newWeld(torso, rarm, 1.5, 0.5, 0)
  744.  
  745. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  746.  
  747. newWeld(torso, hed, 0, 1.5, 0)
  748.  
  749. newWeld(torso, lleg, -0.5, -1, 0)
  750.  
  751. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  752.  
  753. newWeld(torso, rleg, 0.5, -1, 0)
  754.  
  755. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  756.  
  757. newWeld(root, torso, 0, -1, 0)
  758.  
  759. torso.Weld.C1 = CFrame.new(0, -1, 0)
  760.  
  761. ----------------------------------------------------
  762.  
  763. z = Instance.new("Sound",char) --Smile: print("â?º")
  764.  
  765. z.SoundId = "rbxassetid://0"--410761150, 411368002
  766.  
  767. z.Looped = true
  768.  
  769. z.Pitch = 1
  770.  
  771. z.Volume = 1
  772.  
  773. wait(0.1)
  774.  
  775. z:Play()
  776.  
  777. ----------------------------------------------------
  778.  
  779. New = function(Object, Parent, Name, Data)
  780.  
  781. local Object = Instance.new(Object)
  782.  
  783. for Index, Value in pairs(Data or {}) do
  784.  
  785. Object[Index] = Value
  786.  
  787. end
  788.  
  789. Object.Parent = Parent
  790.  
  791. Object.Name = Name
  792.  
  793. return Object
  794.  
  795. end
  796.  
  797. ----------------------------------------------------
  798.  
  799. --Left Arm
  800.  
  801. m = Instance.new("Model")
  802.  
  803. m.Name = "LeftArm"
  804.  
  805.  
  806.  
  807. p4 = Instance.new("Part", m)
  808.  
  809. p4.BrickColor = BrickColor.new("Really black")
  810.  
  811. p4.Material = Enum.Material.SmoothPlastic
  812.  
  813. p4.Name = "LeftArmPlate"
  814.  
  815. p4.Size = Vector3.new(1, 2, 1)
  816.  
  817. p4.Transparency = 1
  818.  
  819. p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  820.  
  821. p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  822.  
  823. p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  824.  
  825. p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  826.  
  827. p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  828.  
  829. p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  830.  
  831. b4 = Instance.new("SpecialMesh", p4)
  832.  
  833. b4.MeshType = Enum.MeshType.Brick
  834.  
  835. b4.Name = "Mesh"
  836.  
  837. b4.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849. w1 = Instance.new("Weld", p1)
  850.  
  851. w1.Name = "Part_Weld"
  852.  
  853. w1.Part0 = p1
  854.  
  855. w1.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  856.  
  857. w1.Part1 = p2
  858.  
  859. w1.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  860.  
  861. w2 = Instance.new("Weld", p2)
  862.  
  863. w2.Name = "Part_Weld"
  864.  
  865. w2.Part0 = p2
  866.  
  867. w2.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  868.  
  869. w2.Part1 = p3
  870.  
  871. w2.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  872.  
  873. w3 = Instance.new("Weld", p3)
  874.  
  875. w3.Name = "LeftArmPlate_Weld"
  876.  
  877. w3.Part0 = p3
  878.  
  879. w3.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  880.  
  881. w3.Part1 = p4
  882.  
  883. w3.C1 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  884.  
  885. w4 = Instance.new("Weld", p4)
  886.  
  887. w4.Name = "Part_Weld"
  888.  
  889. w4.Part0 = p4
  890.  
  891. w4.C0 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  892.  
  893. w4.Part1 = p5
  894.  
  895. w4.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  896.  
  897. w5 = Instance.new("Weld", p5)
  898.  
  899. w5.Name = "Part_Weld"
  900.  
  901. w5.Part0 = p5
  902.  
  903. w5.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  904.  
  905. w5.Part1 = p6
  906.  
  907. w5.C1 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  908.  
  909. w6 = Instance.new("Weld", p6)
  910.  
  911. w6.Name = "Part_Weld"
  912.  
  913. w6.Part0 = p6
  914.  
  915. w6.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  916.  
  917. w6.Part1 = p7
  918.  
  919. w6.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  920.  
  921. w7 = Instance.new("Weld", p7)
  922.  
  923. w7.Name = "Part_Weld"
  924.  
  925. w7.Part0 = p7
  926.  
  927. w7.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  928.  
  929. w7.Part1 = p8
  930.  
  931. w7.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  932.  
  933. w8 = Instance.new("Weld", p8)
  934.  
  935. w8.Name = "Part_Weld"
  936.  
  937. w8.Part0 = p8
  938.  
  939. w8.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  940.  
  941. w8.Part1 = p9
  942.  
  943. w8.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  944.  
  945. w9 = Instance.new("Weld", p9)
  946.  
  947. w9.Name = "Part_Weld"
  948.  
  949. w9.Part0 = p9
  950.  
  951. w9.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  952.  
  953. w9.Part1 = p10
  954.  
  955. w9.C1 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  956.  
  957. w10 = Instance.new("Weld", p10)
  958.  
  959. w10.Name = "Part_Weld"
  960.  
  961. w10.Part0 = p10
  962.  
  963. w10.C0 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  964.  
  965. w10.Part1 = p11
  966.  
  967. w10.C1 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  968.  
  969. w11 = Instance.new("Weld", p11)
  970.  
  971. w11.Name = "Part_Weld"
  972.  
  973. w11.Part0 = p11
  974.  
  975. w11.C0 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  976.  
  977. w11.Part1 = p12
  978.  
  979. w11.C1 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  980.  
  981. w12 = Instance.new("Weld", p12)
  982.  
  983. w12.Name = "Part_Weld"
  984.  
  985. w12.Part0 = p12
  986.  
  987. w12.C0 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  988.  
  989. w12.Part1 = p13
  990.  
  991. w12.C1 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  992.  
  993. w13 = Instance.new("Weld", p13)
  994.  
  995. w13.Name = "Part_Weld"
  996.  
  997. w13.Part0 = p13
  998.  
  999. w13.C0 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1000.  
  1001. w13.Part1 = p14
  1002.  
  1003. w13.C1 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1004.  
  1005. w14 = Instance.new("Weld", p14)
  1006.  
  1007. w14.Name = "Part_Weld"
  1008.  
  1009. w14.Part0 = p14
  1010.  
  1011. w14.C0 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1012.  
  1013. w14.Part1 = p15
  1014.  
  1015. w14.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1016.  
  1017. w15 = Instance.new("Weld", p15)
  1018.  
  1019. w15.Name = "Part_Weld"
  1020.  
  1021. w15.Part0 = p15
  1022.  
  1023. w15.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1024.  
  1025. w15.Part1 = p16
  1026.  
  1027. 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)
  1028.  
  1029.  
  1030.  
  1031. m.Parent = larm
  1032.  
  1033. m:MakeJoints()
  1034.  
  1035. ----------------------------------------------------
  1036.  
  1037. local cor = Instance.new("Part", larm.LeftArm)
  1038.  
  1039. cor.Name = "Thingy"
  1040.  
  1041. cor.Locked = true
  1042.  
  1043. cor.BottomSurface = 0
  1044.  
  1045. cor.CanCollide = false
  1046.  
  1047. cor.Size = Vector3.new(1, 1, 1)
  1048.  
  1049. cor.Transparency = 1
  1050.  
  1051. cor.TopSurface = 0
  1052.  
  1053. corw = Instance.new("Weld", cor)
  1054.  
  1055. corw.Part0 = larm
  1056.  
  1057. corw.Part1 = cor
  1058.  
  1059. corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1060.  
  1061. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1062.  
  1063. weld1 = Instance.new("Weld", larm.LeftArm)
  1064.  
  1065. weld1.Part0 = cor
  1066.  
  1067. weld1.Part1 = larm.LeftArm.LeftArmPlate
  1068.  
  1069. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1070.  
  1071. --Right Arm
  1072.  
  1073. m2 = Instance.new("Model")
  1074.  
  1075. m2.Name = "RightArm"
  1076.  
  1077.  
  1078.  
  1079. p7 = Instance.new("Part", m2)
  1080.  
  1081. p7.BrickColor = BrickColor.new("Really black")
  1082.  
  1083. p7.Material = Enum.Material.SmoothPlastic
  1084.  
  1085. p7.Transparency = 1
  1086.  
  1087. p7.Name = "RightArmPlate"
  1088.  
  1089. p7.CFrame = CFrame.new(3.5, -9.54201603, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1090.  
  1091. p7.FormFactor = Enum.FormFactor.Symmetric
  1092.  
  1093. p7.Size = Vector3.new(1, 2, 1)
  1094.  
  1095. p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1096.  
  1097. p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1098.  
  1099. p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1100.  
  1101. p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1102.  
  1103. p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1104.  
  1105. p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1106.  
  1107. b7 = Instance.new("SpecialMesh", p7)
  1108.  
  1109. b7.MeshType = Enum.MeshType.Brick
  1110.  
  1111. b7.Name = "Mesh"
  1112.  
  1113. b7.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119. w1 = Instance.new("Weld", p1)
  1120.  
  1121. w1.Name = "Part_Weld"
  1122.  
  1123. w1.Part0 = p1
  1124.  
  1125. w1.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1126.  
  1127. w1.Part1 = p2
  1128.  
  1129. w1.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1130.  
  1131. w2 = Instance.new("Weld", p2)
  1132.  
  1133. w2.Name = "Part_Weld"
  1134.  
  1135. w2.Part0 = p2
  1136.  
  1137. w2.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1138.  
  1139. w2.Part1 = p3
  1140.  
  1141. w2.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1142.  
  1143. w3 = Instance.new("Weld", p3)
  1144.  
  1145. w3.Name = "Part_Weld"
  1146.  
  1147. w3.Part0 = p3
  1148.  
  1149. w3.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1150.  
  1151. w3.Part1 = p4
  1152.  
  1153. w3.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1154.  
  1155. w4 = Instance.new("Weld", p4)
  1156.  
  1157. w4.Name = "Part_Weld"
  1158.  
  1159. w4.Part0 = p4
  1160.  
  1161. w4.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1162.  
  1163. w4.Part1 = p5
  1164.  
  1165. w4.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1166.  
  1167. w5 = Instance.new("Weld", p5)
  1168.  
  1169. w5.Name = "Part_Weld"
  1170.  
  1171. w5.Part0 = p5
  1172.  
  1173. w5.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1174.  
  1175. w5.Part1 = p6
  1176.  
  1177. w5.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1178.  
  1179. w6 = Instance.new("Weld", p6)
  1180.  
  1181. w6.Name = "RightArmPlate_Weld"
  1182.  
  1183. w6.Part0 = p6
  1184.  
  1185. w6.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1186.  
  1187. w6.Part1 = p7
  1188.  
  1189. w6.C1 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1190.  
  1191. w7 = Instance.new("Weld", p7)
  1192.  
  1193. w7.Name = "Part_Weld"
  1194.  
  1195. w7.Part0 = p7
  1196.  
  1197. w7.C0 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1198.  
  1199. w7.Part1 = p8
  1200.  
  1201. w7.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1202.  
  1203. w8 = Instance.new("Weld", p8)
  1204.  
  1205. w8.Name = "Part_Weld"
  1206.  
  1207. w8.Part0 = p8
  1208.  
  1209. w8.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1210.  
  1211. w8.Part1 = p9
  1212.  
  1213. w8.C1 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1214.  
  1215. w9 = Instance.new("Weld", p9)
  1216.  
  1217. w9.Name = "Part_Weld"
  1218.  
  1219. w9.Part0 = p9
  1220.  
  1221. w9.C0 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1222.  
  1223. w9.Part1 = p10
  1224.  
  1225. w9.C1 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1226.  
  1227. w10 = Instance.new("Weld", p10)
  1228.  
  1229. w10.Name = "Part_Weld"
  1230.  
  1231. w10.Part0 = p10
  1232.  
  1233. w10.C0 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1234.  
  1235. w10.Part1 = p11
  1236.  
  1237. w10.C1 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1238.  
  1239. w11 = Instance.new("Weld", p11)
  1240.  
  1241. w11.Name = "Part_Weld"
  1242.  
  1243. w11.Part0 = p11
  1244.  
  1245. w11.C0 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1246.  
  1247. w11.Part1 = p12
  1248.  
  1249. w11.C1 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1250.  
  1251. w12 = Instance.new("Weld", p12)
  1252.  
  1253. w12.Name = "Part_Weld"
  1254.  
  1255. w12.Part0 = p12
  1256.  
  1257. w12.C0 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1258.  
  1259. w12.Part1 = p13
  1260.  
  1261. w12.C1 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1262.  
  1263. w13 = Instance.new("Weld", p13)
  1264.  
  1265. w13.Name = "Part_Weld"
  1266.  
  1267. w13.Part0 = p13
  1268.  
  1269. w13.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1270.  
  1271. w13.Part1 = p14
  1272.  
  1273. w13.C1 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1274.  
  1275. w14 = Instance.new("Weld", p14)
  1276.  
  1277. w14.Name = "Part_Weld"
  1278.  
  1279. w14.Part0 = p14
  1280.  
  1281. w14.C0 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1282.  
  1283. w14.Part1 = p15
  1284.  
  1285. w14.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1286.  
  1287. w15 = Instance.new("Weld", p15)
  1288.  
  1289. w15.Name = "Part_Weld"
  1290.  
  1291. w15.Part0 = p15
  1292.  
  1293. w15.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1294.  
  1295. w15.Part1 = p16
  1296.  
  1297. w15.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1298.  
  1299. w16 = Instance.new("Weld", p16)
  1300.  
  1301. w16.Name = "Part_Weld"
  1302.  
  1303. w16.Part0 = p16
  1304.  
  1305. w16.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1306.  
  1307. w16.Part1 = p17
  1308.  
  1309. w16.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1310.  
  1311. w17 = Instance.new("Weld", p17)
  1312.  
  1313. w17.Name = "Part_Weld"
  1314.  
  1315. w17.Part0 = p17
  1316.  
  1317. w17.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1318.  
  1319. w17.Part1 = p18
  1320.  
  1321. w17.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1322.  
  1323. w18 = Instance.new("Weld", p18)
  1324.  
  1325. w18.Name = "Part_Weld"
  1326.  
  1327. w18.Part0 = p18
  1328.  
  1329. w18.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1330.  
  1331. w18.Part1 = p19
  1332.  
  1333. w18.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1334.  
  1335. m2.Parent = rarm
  1336.  
  1337. m2:MakeJoints()
  1338.  
  1339. ----------------------------------------------------
  1340.  
  1341. local cor2 = Instance.new("Part", rarm.RightArm)
  1342.  
  1343. cor2.Name = "Thingy"
  1344.  
  1345. cor2.Locked = true
  1346.  
  1347. cor2.BottomSurface = 0
  1348.  
  1349. cor2.CanCollide = false
  1350.  
  1351. cor2.Size = Vector3.new(1, 1, 1)
  1352.  
  1353. cor2.Transparency = 1
  1354.  
  1355. cor2.TopSurface = 0
  1356.  
  1357. corw2 = Instance.new("Weld", cor2)
  1358.  
  1359. corw2.Part0 = rarm
  1360.  
  1361. corw2.Part1 = cor2
  1362.  
  1363. corw2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1364.  
  1365. corw2.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1366.  
  1367. weld2 = Instance.new("Weld", rarm.RightArm)
  1368.  
  1369. weld2.Part0 = cor2
  1370.  
  1371. weld2.Part1 = rarm.RightArm.RightArmPlate
  1372.  
  1373. weld2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379. --Zyrodoxa
  1380.  
  1381. m8 = Instance.new("Model")
  1382.  
  1383. m8.Name = "Zyrodoxa"
  1384.  
  1385.  
  1386.  
  1387. p16 = Instance.new("Part", m8)
  1388.  
  1389. p16.BrickColor = BrickColor.new("Instutional white")
  1390.  
  1391. p16.Material = Enum.Material.Metal
  1392.  
  1393. p16.Name = "Handle"
  1394.  
  1395. 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)
  1396.  
  1397. p16.CanCollide = false
  1398.  
  1399. p16.Locked = true
  1400.  
  1401. p16.FormFactor = Enum.FormFactor.Custom
  1402.  
  1403. p16.Size = Vector3.new(0, 0, 0)
  1404.  
  1405. p16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1406.  
  1407. p16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1408.  
  1409. p16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1410.  
  1411. p16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1412.  
  1413. p16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1414.  
  1415. p16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1416.  
  1417. b16 = Instance.new("BlockMesh", p16)
  1418.  
  1419. b16.Name = "Mesh"
  1420.  
  1421. b16.Scale = Vector3.new(0, 0, 0)
  1422.  
  1423.  
  1424.  
  1425. w16 = Instance.new("Weld", p16)
  1426.  
  1427. w16.Name = "Block_Weld"
  1428.  
  1429. w16.Part0 = p16
  1430.  
  1431. 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)
  1432.  
  1433. w16.Part1 = p17
  1434.  
  1435. 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)
  1436.  
  1437.  
  1438.  
  1439. m8.Parent = rarm
  1440.  
  1441. m8:MakeJoints()
  1442.  
  1443. ----------------------------------------------------
  1444.  
  1445. local cor8 = Instance.new("Part", rarm.Zyrodoxa)
  1446.  
  1447. cor8.Name = "Thingy"
  1448.  
  1449. cor8.Locked = true
  1450.  
  1451. cor8.BottomSurface = 0
  1452.  
  1453. cor8.CanCollide = false
  1454.  
  1455. cor8.Size = Vector3.new(1, 1, 1)
  1456.  
  1457. cor8.Transparency = 1
  1458.  
  1459. cor8.TopSurface = 0
  1460.  
  1461. corw8 = Instance.new("Weld", cor8)
  1462.  
  1463. corw8.Part0 = rarm
  1464.  
  1465. corw8.Part1 = cor8
  1466.  
  1467. corw8.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180))
  1468.  
  1469. corw8.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1470.  
  1471. weld8 = Instance.new("Weld", rarm.Zyrodoxa)
  1472.  
  1473. weld8.Part0 = cor8
  1474.  
  1475. weld8.Part1 = rarm.Zyrodoxa.Handle
  1476.  
  1477. weld8.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1478.  
  1479. ----------------------------------------------------
  1480.  
  1481. models = {m,m2,m3,m4,m5,m6,m7,m8}
  1482.  
  1483. parts = {}
  1484.  
  1485. Stepped:connect(function()
  1486.  
  1487. for i,v in pairs(models) do
  1488.  
  1489. for _, a in pairs(v:GetChildren()) do
  1490.  
  1491. if v:IsA("Part") and v.Name ~= "Thingy" then
  1492.  
  1493. table.insert(parts, a)
  1494.  
  1495. for i,v in pairs(parts) do
  1496.  
  1497. v.CanCollide = false
  1498.  
  1499. end
  1500.  
  1501. end
  1502.  
  1503. end
  1504.  
  1505. end
  1506.  
  1507. end)
  1508.  
  1509. ----------------------------------------------------
  1510.  
  1511. local animpose = "Idle1"
  1512.  
  1513. local lastanimpose = "Idle1"
  1514.  
  1515. local grab = false
  1516.  
  1517. local Smooth = 1
  1518.  
  1519. local sine = 0
  1520.  
  1521. local change = 1
  1522.  
  1523. local val = 0
  1524.  
  1525. local ffing = false
  1526.  
  1527. ----------------------------------------------------
  1528.  
  1529. --[[local hitbox = rarm.Zyrodoxa.Hitbox--Zyrodoxa is the name of the dagger k
  1530.  
  1531.  
  1532.  
  1533. function FindHumanoids()
  1534.  
  1535. local function c_region(Position, Size)
  1536.  
  1537. local SizeOffset = Size/2
  1538.  
  1539. local Point1 = Position - SizeOffset
  1540.  
  1541. local Point2 = Position + SizeOffset
  1542.  
  1543. local a = Instance.new("Part", workspace)
  1544.  
  1545. a.Anchored = true
  1546.  
  1547. a.Size = Size
  1548.  
  1549. a.Position = Position
  1550.  
  1551. print("Hey!, I'm making a part!")
  1552.  
  1553. return Region3.new(Point1, Point2)
  1554.  
  1555. end
  1556.  
  1557.  
  1558.  
  1559. local a = c_region((hitbox.CFrame * CFrame.new(0, -1.285, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1560.  
  1561. local b = c_region((hitbox.CFrame * CFrame.new(0, -0.6425, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1562.  
  1563. local c = c_region((hitbox.CFrame * CFrame.new(0, 0.6425, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1564.  
  1565. local d = c_region((hitbox.CFrame * CFrame.new(0, 1.285, 0)), Vector3.new(0.22, 0.6425, 1.22))
  1566.  
  1567.  
  1568.  
  1569. local regions = {a, b, c, d}
  1570.  
  1571.  
  1572.  
  1573. local found_humanoids = {}
  1574.  
  1575. local already_found = {char.Name}
  1576.  
  1577.  
  1578.  
  1579. for _, region in pairs(regions) do
  1580.  
  1581. for _, part in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(region, rarm.Zyrodoxa:GetChildren(), 100)) do
  1582.  
  1583. print(part, part.Parent, part.Name) ---nope
  1584.  
  1585. if part.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.ClassName == "Model" and not part:isDescendantOf(char) then
  1586.  
  1587. local humanoid = part.Parent:FindFirstChild("Humanoid")
  1588.  
  1589. local name = humanoid.Parent.Name
  1590.  
  1591. local exists = false
  1592.  
  1593. for _, n in pairs(already_found) do
  1594.  
  1595. if n == name then
  1596.  
  1597. exists = true
  1598.  
  1599. end
  1600.  
  1601. end
  1602.  
  1603. if not exists then
  1604.  
  1605. table.insert(already_found, name)
  1606.  
  1607. table.insert(found_humanoids, humanoid)
  1608.  
  1609. end
  1610.  
  1611. elseif part.Parent.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.Parent.ClassName == "Model" and not part:isDescendantOf(char) then
  1612.  
  1613. local humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
  1614.  
  1615. local name = humanoid.Parent.Parent.Name
  1616.  
  1617. local exists = false
  1618.  
  1619. for _, n in pairs(already_found) do
  1620.  
  1621. if n == name then
  1622.  
  1623. exists = true
  1624.  
  1625. end
  1626.  
  1627. end
  1628.  
  1629. if not exists then
  1630.  
  1631. table.insert(already_found, name)
  1632.  
  1633. table.insert(found_humanoids, humanoid)
  1634.  
  1635. end
  1636.  
  1637. end
  1638.  
  1639. end
  1640.  
  1641. end
  1642.  
  1643. return found_humanoids
  1644.  
  1645. end
  1646.  
  1647.  
  1648.  
  1649. local humanoids = FindHumanoids()
  1650.  
  1651. if #humanoids == 0 then
  1652.  
  1653. for i, v in pairs(humanoids) do
  1654.  
  1655. print(v.Parent.Name)
  1656.  
  1657. if Debounces.Slashing == true then
  1658.  
  1659. v:TakeDamage(math.random(10,20) * math.random(1,3)) --max 60 damage?
  1660.  
  1661. elseif Debounces.Slashing == false then
  1662.  
  1663. wait()
  1664.  
  1665. end
  1666.  
  1667. end
  1668.  
  1669. wait(0.3)
  1670.  
  1671. end]]--
  1672.  
  1673. ----------------------------------------------------
  1674.  
  1675. --[[mouse.KeyDown:connect(function(key)
  1676.  
  1677. if key == "f" then
  1678.  
  1679. if Debounces.CanAttack == true then
  1680.  
  1681. Debounces.CanAttack = false
  1682.  
  1683. Debounces.NoIdl = true
  1684.  
  1685. Debounces.on = true
  1686.  
  1687. for i = 1, 20 do
  1688.  
  1689. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1.05, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1690.  
  1691. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1692.  
  1693. CR.Joint.C1 = Lerp(CR.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(-4),0,0),0.1)
  1694.  
  1695. CR2.Joint.C1 = Lerp(CR2.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1696.  
  1697. CR3.Joint.C1 = Lerp(CR3.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1698.  
  1699. CR4.Joint.C1 = Lerp(CR4.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1700.  
  1701. CR5.Joint.C1 = Lerp(CR5.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  1702.  
  1703. 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)
  1704.  
  1705. 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)
  1706.  
  1707. 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)
  1708.  
  1709. 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)
  1710.  
  1711. 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)
  1712.  
  1713. 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)
  1714.  
  1715. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-6), math.rad(0), 0), 0.1)
  1716.  
  1717. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), 0), 0.1)
  1718.  
  1719. 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)
  1720.  
  1721. 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)
  1722.  
  1723. 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)
  1724.  
  1725. 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)
  1726.  
  1727. if Debounces.on == false then
  1728.  
  1729. break
  1730.  
  1731. end
  1732.  
  1733. fat.Event:wait()
  1734.  
  1735. end
  1736.  
  1737. end
  1738.  
  1739. end
  1740.  
  1741. end)]]--
  1742.  
  1743. ----------------------------------------------------
  1744.  
  1745. mod4 = Instance.new("Model",char)
  1746.  
  1747.  
  1748.  
  1749. ptez = {0.7, 0.8, 0.9, 1}
  1750.  
  1751.  
  1752.  
  1753. function FindNearestTorso(Position,Distance,SinglePlayer)
  1754.  
  1755. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1756.  
  1757. local List = {}
  1758.  
  1759. for i,v in pairs(workspace:GetChildren())do
  1760.  
  1761. if v:IsA("Model")then
  1762.  
  1763. if v:findFirstChild("Torso")then
  1764.  
  1765. if v ~= char then
  1766.  
  1767. if(v.Torso.Position -Position).magnitude <= Distance then
  1768.  
  1769. table.insert(List,v)
  1770.  
  1771. end
  1772.  
  1773. end
  1774.  
  1775. end
  1776.  
  1777. end
  1778.  
  1779. end
  1780.  
  1781. return List
  1782.  
  1783. end
  1784.  
  1785.  
  1786.  
  1787. function Slam()
  1788.  
  1789. local part=Instance.new('Part',mod4)
  1790.  
  1791. part.Anchored=true
  1792.  
  1793. part.CanCollide=false
  1794.  
  1795. part.FormFactor='Custom'
  1796.  
  1797. part.Size=Vector3.new(.2,.2,.2)
  1798.  
  1799. part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
  1800.  
  1801. part.Transparency=.7
  1802.  
  1803. part.BrickColor=BrickColor.new('Really black')
  1804.  
  1805. mesh=Instance.new('SpecialMesh',part)
  1806.  
  1807. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1808.  
  1809. mesh.Scale=Vector3.new(3,3,3)
  1810.  
  1811. local part2=Instance.new('Part',mod4)
  1812.  
  1813. part2.Anchored=true
  1814.  
  1815. part2.CanCollide=false
  1816.  
  1817. part2.FormFactor='Custom'
  1818.  
  1819. part2.Size=Vector3.new(.2,.2,.2)
  1820.  
  1821. part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
  1822.  
  1823. part2.Transparency=.7
  1824.  
  1825. part2.BrickColor=BrickColor.new('Institutional white')
  1826.  
  1827. mesh2=Instance.new('SpecialMesh',part2)
  1828.  
  1829. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  1830.  
  1831. mesh2.Scale=Vector3.new(3,1.5,3)
  1832.  
  1833. x = Instance.new("Sound",larm)
  1834.  
  1835. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  1836.  
  1837. x.Pitch = ptez[math.random(1,#ptez)]
  1838.  
  1839. x.Volume = 1
  1840.  
  1841. wait(.1)
  1842.  
  1843. x1 = Instance.new("Sound",larm)
  1844.  
  1845. x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  1846.  
  1847. x1.Pitch = ptez[math.random(1,#ptez)]
  1848.  
  1849. x1.Volume = 1
  1850.  
  1851. wait(.1)
  1852.  
  1853. x:Play()
  1854.  
  1855. x1:Play()
  1856.  
  1857. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  1858.  
  1859. if v:FindFirstChild('Humanoid') then
  1860.  
  1861. v.Humanoid:TakeDamage(math.random(30,45))
  1862.  
  1863. end
  1864.  
  1865. end
  1866.  
  1867. coroutine.resume(coroutine.create(function()
  1868.  
  1869. for i=0,0.62,0.13 do
  1870.  
  1871. wait()
  1872.  
  1873. part.CFrame=part.CFrame
  1874.  
  1875. part.Transparency=i
  1876.  
  1877. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  1878.  
  1879. part2.CFrame=part2.CFrame
  1880.  
  1881. part2.Transparency=i
  1882.  
  1883. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  1884.  
  1885. end
  1886.  
  1887. part.Parent=nil
  1888.  
  1889. part2.Parent=nil
  1890.  
  1891. x:Destroy()
  1892.  
  1893. end))
  1894.  
  1895. end
  1896.  
  1897. ----------------------------------------------------
  1898.  
  1899. wPart = function(x,y,z,color,tr,cc,an,parent)
  1900.  
  1901. local wp = Instance.new('WedgePart',parent or Weapon)
  1902.  
  1903. wp.formFactor = 'Custom'
  1904.  
  1905. wp.Size = Vector3.new(x,y,z)
  1906.  
  1907. wp.BrickColor = BrickColor.new(color)
  1908.  
  1909. wp.CanCollide = cc
  1910.  
  1911. wp.Transparency = tr
  1912.  
  1913. wp.Anchored = an
  1914.  
  1915. wp.TopSurface,wp.BottomSurface = 0,0
  1916.  
  1917. return wp
  1918.  
  1919. end
  1920.  
  1921.  
  1922.  
  1923. Mesh = function(par,num,x,y,z)
  1924.  
  1925. local msh = _
  1926.  
  1927. if num == 1 then
  1928.  
  1929. msh = Instance.new("CylinderMesh",par)
  1930.  
  1931. elseif num == 2 then
  1932.  
  1933. msh = Instance.new("SpecialMesh",par)
  1934.  
  1935. msh.MeshType = 3
  1936.  
  1937. elseif num == 3 then
  1938.  
  1939. msh = Instance.new("BlockMesh",par)
  1940.  
  1941. elseif num == 4 then
  1942.  
  1943. msh = Instance.new("SpecialMesh",par)
  1944.  
  1945. msh.MeshType = "Torso"
  1946.  
  1947. elseif type(num) == 'string' then
  1948.  
  1949. msh = Instance.new("SpecialMesh",par)
  1950.  
  1951. msh.MeshId = num
  1952.  
  1953. end
  1954.  
  1955. msh.Scale = Vector3.new(x,y,z)
  1956.  
  1957. return msh
  1958.  
  1959. end
  1960.  
  1961.  
  1962.  
  1963. local function CFrameFromTopBack(at, top, back)
  1964.  
  1965. local right = top:Cross(back)
  1966.  
  1967. return CFrame.new(at.x, at.y, at.z,
  1968.  
  1969. right.x, top.x, back.x,
  1970.  
  1971. right.y, top.y, back.y,
  1972.  
  1973. right.z, top.z, back.z)
  1974.  
  1975. end
  1976.  
  1977.  
  1978.  
  1979. function Triangle(a, b, c)
  1980.  
  1981. local edg1 = (c-a):Dot((b-a).unit)
  1982.  
  1983. local edg2 = (a-b):Dot((c-b).unit)
  1984.  
  1985. local edg3 = (b-c):Dot((a-c).unit)
  1986.  
  1987. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1988.  
  1989. a, b, c = a, b, c
  1990.  
  1991. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1992.  
  1993. a, b, c = b, c, a
  1994.  
  1995. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1996.  
  1997. a, b, c = c, a, b
  1998.  
  1999. else
  2000.  
  2001. print("unreachable")
  2002.  
  2003. end
  2004.  
  2005. local len1 = (c-a):Dot((b-a).unit)
  2006.  
  2007. local len2 = (b-a).magnitude - len1
  2008.  
  2009. local width = (a + (b-a).unit*len1 - c).magnitude
  2010.  
  2011. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  2012.  
  2013. local list = {}
  2014.  
  2015. if len1 > 0.01 then
  2016.  
  2017. local w1 = wPart(0,0,0,'Institutional white',0.5,false,true,char)
  2018.  
  2019. local sz = Vector3.new(0.2, width, len1)
  2020.  
  2021. w1.Size = sz
  2022.  
  2023. local sp = Mesh(w1,2,0,0,0)
  2024.  
  2025. sp.MeshType='Wedge'
  2026.  
  2027. sp.Scale=Vector3.new(0,1,1)*sz/w1.Size
  2028.  
  2029. w1:BreakJoints()
  2030.  
  2031. w1.Anchored = true
  2032.  
  2033. w1.Transparency = 0.7
  2034.  
  2035. Spawn(function()
  2036.  
  2037. for i=0,1,0.1 do
  2038.  
  2039. fat.Event:wait()
  2040.  
  2041. w1.Transparency=w1.Transparency+0.03
  2042.  
  2043. end
  2044.  
  2045. end)
  2046.  
  2047. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  2048.  
  2049. table.insert(list,w1)
  2050.  
  2051. end
  2052.  
  2053. if len2 > 0.01 then
  2054.  
  2055. local w2 = wPart(0,0,0,'Institutional white',0.5,false,true,char)
  2056.  
  2057. local sz = Vector3.new(0.2, width, len2)
  2058.  
  2059. w2.Size = sz
  2060.  
  2061. local sp = Mesh(w2,2,0,0,0)
  2062.  
  2063. sp.MeshType='Wedge'
  2064.  
  2065. sp.Scale=Vector3.new(0,1,1)*sz/w2.Size
  2066.  
  2067. w2:BreakJoints()
  2068.  
  2069. w2.Anchored = true
  2070.  
  2071. w2.Transparency = 0.7
  2072.  
  2073. Spawn(function()
  2074.  
  2075. for i=0,1,0.1 do
  2076.  
  2077. fat.Event:wait()
  2078.  
  2079. w2.Transparency=w2.Transparency+0.03
  2080.  
  2081. end
  2082.  
  2083. end)
  2084.  
  2085. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  2086.  
  2087. table.insert(list,w2)
  2088.  
  2089. end
  2090.  
  2091. return unpack(list)
  2092.  
  2093. end
  2094.  
  2095.  
  2096.  
  2097. function trail(p,t,h)
  2098.  
  2099. Spawn(function()
  2100.  
  2101. local blcf = p.CFrame
  2102.  
  2103. local scfr = blcf
  2104.  
  2105. for i=1,t do
  2106.  
  2107. local blcf = p.CFrame
  2108.  
  2109. if scfr and (p.Position-scfr.p).magnitude > .1 then
  2110.  
  2111. 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)
  2112.  
  2113. if a then game.Debris:AddItem(a,1) end
  2114.  
  2115. if b then game.Debris:AddItem(b,1) end
  2116.  
  2117. 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)
  2118.  
  2119. if a then game.Debris:AddItem(a,1) end
  2120.  
  2121. if b then game.Debris:AddItem(b,1) end
  2122.  
  2123. scfr = blcf
  2124.  
  2125. elseif not scfr then
  2126.  
  2127. scfr = blcf
  2128.  
  2129. end
  2130.  
  2131. fat.Event:wait()
  2132.  
  2133. end
  2134.  
  2135. scfr=nil
  2136.  
  2137. end)
  2138.  
  2139. end
  2140.  
  2141. --trail(char.Sword.Blade,1e1000,5)
  2142.  
  2143. ----------------------------------------------------
  2144.  
  2145. function Dmg()
  2146.  
  2147. local partofdeath = rarm.Zyrodoxa.Hitbox
  2148.  
  2149. local function CreateRegion3FromLocAndSize(Position, Size)
  2150.  
  2151. local SizeOffset = Size/2
  2152.  
  2153. local Point1 = Position - SizeOffset
  2154.  
  2155. local Point2 = Position + SizeOffset
  2156.  
  2157. return Region3.new(Point1, Point2)
  2158.  
  2159. end
  2160.  
  2161. local reg = CreateRegion3FromLocAndSize(partofdeath.Position, partofdeath.Size)
  2162.  
  2163. for i, v in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(reg, char:GetChildren(), 100)) do
  2164.  
  2165. Spawn(function()
  2166.  
  2167. if Debounces.Slashing == true and Debounces.Slashed == false then
  2168.  
  2169. Debounces.Slashed = true
  2170.  
  2171. ypcall(function()
  2172.  
  2173. local humanoid = v.Parent:FindFirstChild("Humanoid") or v.Parent.Parent:FindFirstChild("Humanoid")
  2174.  
  2175. humanoid:TakeDamage(math.random(10,18))
  2176.  
  2177. end)
  2178.  
  2179. wait(.4)
  2180.  
  2181. Debounces.Slashed = false
  2182.  
  2183. end
  2184.  
  2185. end)
  2186.  
  2187. end
  2188.  
  2189. end
  2190.  
  2191. ----------------------------------------------------
  2192.  
  2193. pts = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  2194.  
  2195. ptz = {0.7, 0.8, 0.9, 1}
  2196.  
  2197. idz = {"161006212", "161006195"}
  2198.  
  2199. function attackone()
  2200.  
  2201. for i = 1, 13 do
  2202.  
  2203. 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)
  2204.  
  2205. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), math.rad(30), math.rad(0)), 0.8)
  2206.  
  2207. 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)
  2208.  
  2209. 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)
  2210.  
  2211. 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)
  2212.  
  2213. 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)
  2214.  
  2215. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(-50),0), 0.5)
  2216.  
  2217. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.5)
  2218.  
  2219. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.7)
  2220.  
  2221. 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)
  2222.  
  2223. 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)
  2224.  
  2225. 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)
  2226.  
  2227. 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)
  2228.  
  2229. 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)
  2230.  
  2231. if Debounces.on == false then
  2232.  
  2233. break
  2234.  
  2235. end
  2236.  
  2237. fat.Event:wait()
  2238.  
  2239. end
  2240.  
  2241. trail(rarm.Zyrodoxa.Hitbox,20,2)
  2242.  
  2243. Debounces.Slashing = true
  2244.  
  2245. wait(0.2)
  2246.  
  2247. --[[z = Instance.new("Sound", hed)
  2248.  
  2249. z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  2250.  
  2251. z.Pitch = ptz[math.random(1,#ptz)]
  2252.  
  2253. z.Volume = 1
  2254.  
  2255. wait(.01)
  2256.  
  2257. z:Play()]]--
  2258.  
  2259. for i = 1, 14 do
  2260.  
  2261. Dmg()
  2262.  
  2263. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0.2) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.8)
  2264.  
  2265. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-40), math.rad(30), math.rad(0)), 0.8)
  2266.  
  2267. 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)
  2268.  
  2269. 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)
  2270.  
  2271. 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)
  2272.  
  2273. 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)
  2274.  
  2275. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(40),0), 0.7)
  2276.  
  2277. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  2278.  
  2279. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(-10), math.rad(-40), 0), 0.4)
  2280.  
  2281. 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)
  2282.  
  2283. 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)
  2284.  
  2285. 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)
  2286.  
  2287. 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)
  2288.  
  2289. 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)
  2290.  
  2291. if Debounces.on == false then break end
  2292.  
  2293. rs:wait()
  2294.  
  2295. end
  2296.  
  2297. Debounces.Slashing = false
  2298.  
  2299. end
  2300.  
  2301. function attacktwo()
  2302.  
  2303. Debounces.Slashing = true
  2304.  
  2305. for i = 1, 14 do
  2306.  
  2307. Dmg()
  2308.  
  2309. corw8.C0 = Lerp(corw8.C0, CFrame.new(-0.37, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 0.4)
  2310.  
  2311. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)), 0.4)
  2312.  
  2313. 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)
  2314.  
  2315. 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)
  2316.  
  2317. 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)
  2318.  
  2319. 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)
  2320.  
  2321. 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)
  2322.  
  2323. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  2324.  
  2325. 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)
  2326.  
  2327. 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)
  2328.  
  2329. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.5)
  2330.  
  2331. 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)
  2332.  
  2333. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.5)
  2334.  
  2335. 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)
  2336.  
  2337. if Debounces.on == false then
  2338.  
  2339. break
  2340.  
  2341. end
  2342.  
  2343. rs:wait()
  2344.  
  2345. end
  2346.  
  2347. end
  2348.  
  2349. ----------------------------------------------------
  2350.  
  2351.  
  2352.  
  2353. ----------------------------------------------------
  2354.  
  2355. definition = 5
  2356.  
  2357. bc = {}
  2358.  
  2359. bezierparts = {}
  2360.  
  2361. function NoOutline(Part)
  2362.  
  2363. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2364.  
  2365. end
  2366.  
  2367. function draw(p,d)
  2368.  
  2369. for i=1,d do
  2370.  
  2371. local t = i/d
  2372.  
  2373. bc[i] = p[1]*(1-t)^2+2*p[2]*(1-t)*t+p[3]*t^2
  2374.  
  2375. end
  2376.  
  2377.  
  2378.  
  2379. Spawn(function() fat.Event:wait()
  2380.  
  2381. for i,v in pairs(bezierparts) do
  2382.  
  2383. v.Transparency = 1
  2384.  
  2385. end
  2386.  
  2387. end)
  2388.  
  2389. end
  2390.  
  2391. --local points = {larm.Position,rarn.Position,invisipart.Position}
  2392.  
  2393. --draw(points,definition)
  2394.  
  2395.  
  2396.  
  2397. fat.Event:wait()
  2398.  
  2399.  
  2400.  
  2401. rpart = Instance.new("Part",rarm)
  2402.  
  2403. NoOutline(rpart)
  2404.  
  2405. rpart.Anchored = false
  2406.  
  2407. rpart.Size = Vector3.new(1,1,1)
  2408.  
  2409. rpart.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2410.  
  2411. rpart.Transparency = 1
  2412.  
  2413. newWeld(rarm, rpart, 0, 0, 0)
  2414.  
  2415. rpart.Weld.C1 = CFrame.new(0, 1.1, 0)
  2416.  
  2417. lpart = Instance.new("Part",larm)
  2418.  
  2419. NoOutline(lpart)
  2420.  
  2421. lpart.Anchored = false
  2422.  
  2423. lpart.Size = Vector3.new(1,1,1)
  2424.  
  2425. lpart.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2426.  
  2427. lpart.Transparency = 1
  2428.  
  2429. newWeld(larm, lpart, 0, 0, 0)
  2430.  
  2431. lpart.Weld.C1 = CFrame.new(0, 1.1, 0)
  2432.  
  2433. invisipart = Instance.new("Part",torso)
  2434.  
  2435. NoOutline(invisipart)
  2436.  
  2437. invisipart.Anchored = false
  2438.  
  2439. invisipart.Size = Vector3.new(1,1,1)
  2440.  
  2441. invisipart.Transparency = 1
  2442.  
  2443. invisipart.CFrame = torso.CFrame
  2444.  
  2445. newWeld(torso, invisipart, 0, 0, 0)
  2446.  
  2447. invisipart.Weld.C1 = CFrame.new(0, 0, 6)
  2448.  
  2449. table.insert(bezierparts, rpart)
  2450.  
  2451. table.insert(bezierparts, lpart)
  2452.  
  2453. table.insert(bezierparts, invisipart)
  2454.  
  2455. for i = 1, 40 do
  2456.  
  2457. local points = {lpart.Position,invisipart.Position,rpart.Position}
  2458.  
  2459. draw(points,definition)
  2460.  
  2461. --invisipart.Weld.C1 = invisipart.Weld.C1 + Vector3.new(0,0,0.6)
  2462.  
  2463. 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)
  2464.  
  2465. 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)
  2466.  
  2467. 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)
  2468.  
  2469. 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)
  2470.  
  2471. 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)
  2472.  
  2473. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  2474.  
  2475. 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)
  2476.  
  2477. 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)
  2478.  
  2479. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(0), 0, math.rad(-10)), 0.2)
  2480.  
  2481. 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)
  2482.  
  2483. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(0), 0, math.rad(10)), 0.2)
  2484.  
  2485. 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)
  2486.  
  2487. if Debounces.on == false then
  2488.  
  2489. break
  2490.  
  2491. end
  2492.  
  2493. fat.Event:wait()
  2494.  
  2495. end
  2496.  
  2497. for i,v in pairs(bezierparts) do
  2498.  
  2499. v:Destroy()
  2500.  
  2501. end
  2502.  
  2503. --draw(points,definition)
  2504.  
  2505. if Debounces.CanAttack == false then
  2506.  
  2507. Debounces.CanAttack = true
  2508.  
  2509. Debounces.NoIdl = false
  2510.  
  2511. Debounces.on = false
  2512.  
  2513. end
  2514.  
  2515.  
  2516.  
  2517. ----------------------------------------------------
  2518.  
  2519. pitches = {1}
  2520.  
  2521. IDs = {"139187200"}
  2522.  
  2523. mouse.KeyDown:connect(function(key)
  2524.  
  2525. if key == "q" then
  2526.  
  2527. if Debounces.CanJoke == true then
  2528.  
  2529. Debounces.CanJoke = false
  2530.  
  2531. z = Instance.new("Sound",hed)
  2532.  
  2533. z.SoundId = "rbxassetid://"..IDs[math.random(1,#IDs)]
  2534.  
  2535. z.Pitch = 1
  2536.  
  2537. z.Volume = 1
  2538.  
  2539. z1 = Instance.new("Sound",hed)
  2540.  
  2541. z1.SoundId = z.SoundId
  2542.  
  2543. z1.Pitch = 1
  2544.  
  2545. z1.Volume = 1
  2546.  
  2547. wait()
  2548.  
  2549. z:Play()
  2550.  
  2551. z1:Play()
  2552.  
  2553. wait(3)
  2554.  
  2555. z:Destroy()
  2556.  
  2557. z1:Destroy()
  2558.  
  2559. if Debounces.CanJoke == false then
  2560.  
  2561. Debounces.CanJoke = true
  2562.  
  2563. end
  2564.  
  2565. end
  2566.  
  2567. end
  2568.  
  2569. end)
  2570.  
  2571. ----------------------------------------------------
  2572.  
  2573. mouse.KeyDown:connect(function(key)
  2574.  
  2575. if key == "j" then
  2576.  
  2577. if Debounces.CanJoke == true then
  2578.  
  2579. Debounces.CanJoke = false
  2580.  
  2581. z = Instance.new("Sound",hed)
  2582.  
  2583. z.SoundId = "rbxassetid://415859013"
  2584.  
  2585. z.Pitch = pitches[math.random(1,#pitches)]
  2586.  
  2587. z.Volume = 1
  2588.  
  2589. wait()
  2590.  
  2591. z:Play()
  2592.  
  2593. wait(2)
  2594.  
  2595. z:Destroy()
  2596.  
  2597. if Debounces.CanJoke == false then
  2598.  
  2599. Debounces.CanJoke = true
  2600.  
  2601. end
  2602.  
  2603. end
  2604.  
  2605. end
  2606.  
  2607. end)
  2608.  
  2609. ----------------------------------------------------
  2610.  
  2611. mouse.KeyDown:connect(function(key)
  2612.  
  2613. if key == "r" then
  2614.  
  2615. game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"Hello Nigger", "Red")
  2616.  
  2617. end
  2618.  
  2619. end)
  2620.  
  2621. ----------------------------------------------------
  2622.  
  2623. ----------------------------------------------------
  2624.  
  2625. mouse.KeyDown:connect(function(key)
  2626.  
  2627. if key == "t" then
  2628.  
  2629. game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"I Will Kill You", "Red")
  2630.  
  2631. end
  2632.  
  2633. end)
  2634.  
  2635. ----------------------------------------------------
  2636.  
  2637. Grab = false
  2638.  
  2639. mouse.KeyDown:connect(function(key)
  2640.  
  2641. if key == "e" then
  2642.  
  2643. Debounces.on = true
  2644.  
  2645. Debounces.NoIdl = true
  2646.  
  2647. Debounces.ks = true
  2648.  
  2649. if Grab == false then
  2650.  
  2651. gp = nil
  2652.  
  2653. for i = 1, 20 do
  2654.  
  2655. 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)
  2656.  
  2657. 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)
  2658.  
  2659. 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)
  2660.  
  2661. 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)
  2662.  
  2663. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
  2664.  
  2665. 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)
  2666.  
  2667. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
  2668.  
  2669. 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)
  2670.  
  2671. 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)
  2672.  
  2673. 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)
  2674.  
  2675. 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)
  2676.  
  2677. 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)
  2678.  
  2679. if Debounces.on == false then break end
  2680.  
  2681. fat.Event:wait()
  2682.  
  2683. end
  2684.  
  2685. con1=larm.LeftArm.LeftArmPlate.Touched:connect(function(hit)
  2686.  
  2687. ht = hit.Parent
  2688.  
  2689. for i,v in pairs(ht:GetChildren()) do
  2690.  
  2691. if v:IsA("Part") then
  2692.  
  2693. v.CanCollide = false
  2694.  
  2695. v.CustomPhysicalProperties = PhysicalProperties.new(0.001,0.001,0.001,0.001,0.001)
  2696.  
  2697. end
  2698.  
  2699. end
  2700.  
  2701. hum1=ht:FindFirstChild('Humanoid')
  2702.  
  2703. if hum1 ~= nil then
  2704.  
  2705. if Debounces.ks==true then
  2706.  
  2707. z = Instance.new("Sound",hed)
  2708.  
  2709. z.SoundId = "rbxassetid://169380525"
  2710.  
  2711. z.Volume = 1
  2712.  
  2713. z:Play()
  2714.  
  2715. Debounces.ks=false
  2716.  
  2717. end
  2718.  
  2719. hum1.PlatformStand=true
  2720.  
  2721. hum1:ChangeState'Physics'
  2722.  
  2723. gp = ht
  2724.  
  2725. Grab = true
  2726.  
  2727. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,0.6),CFrame.new(0,0,0))
  2728.  
  2729. asd.Parent = larm
  2730.  
  2731. asd.Name = "asd"
  2732.  
  2733. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
  2734.  
  2735. stanceToggle = "Grabbed"
  2736.  
  2737. --[[elseif hum1 == nil then
  2738.  
  2739. con1:disconnect()
  2740.  
  2741. wait() return]]--
  2742.  
  2743. end
  2744.  
  2745. end)
  2746.  
  2747. for i = 1, 20 do
  2748.  
  2749. 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)
  2750.  
  2751. 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)
  2752.  
  2753. 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)
  2754.  
  2755. 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)
  2756.  
  2757. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.2)
  2758.  
  2759. 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)
  2760.  
  2761. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
  2762.  
  2763. 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)
  2764.  
  2765. 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)
  2766.  
  2767. 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)
  2768.  
  2769. 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)
  2770.  
  2771. 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)
  2772.  
  2773. if Debounces.on == false then break end
  2774.  
  2775. fat.Event:wait()
  2776.  
  2777. end
  2778.  
  2779. con1:disconnect()
  2780.  
  2781. Debounces.on = false
  2782.  
  2783. Debounces.NoIdl = false
  2784.  
  2785. elseif Grab == true then
  2786.  
  2787. Grab = false
  2788.  
  2789. --[[for i = 1, 16 do
  2790.  
  2791. 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)
  2792.  
  2793. 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)
  2794.  
  2795. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3)
  2796.  
  2797. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  2798.  
  2799. 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)
  2800.  
  2801. 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)
  2802.  
  2803. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3)
  2804.  
  2805. if Debounces.on == false then end
  2806.  
  2807. rs:wait()
  2808.  
  2809. end]]--
  2810.  
  2811. for i = 1, 16 do
  2812.  
  2813. 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)
  2814.  
  2815. 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)
  2816.  
  2817. 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)
  2818.  
  2819. 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)
  2820.  
  2821. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
  2822.  
  2823. 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)
  2824.  
  2825. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.3)
  2826.  
  2827. 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)
  2828.  
  2829. 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)
  2830.  
  2831. 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)
  2832.  
  2833. 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)
  2834.  
  2835. 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)
  2836.  
  2837. if Debounces.on == false then end
  2838.  
  2839. rs:wait()
  2840.  
  2841. end
  2842.  
  2843. for i = 1, 12 do
  2844.  
  2845. 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)
  2846.  
  2847. 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)
  2848.  
  2849. 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)
  2850.  
  2851. 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)
  2852.  
  2853. 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)
  2854.  
  2855. 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)
  2856.  
  2857. 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)
  2858.  
  2859. 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)
  2860.  
  2861. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.6)
  2862.  
  2863. 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)
  2864.  
  2865. 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)
  2866.  
  2867. 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)
  2868.  
  2869. if Debounces.on == false then end
  2870.  
  2871. rs:wait()
  2872.  
  2873. end
  2874.  
  2875. Slam()
  2876.  
  2877. if gp ~= nil then
  2878.  
  2879. for i,v in pairs(larm:GetChildren()) do
  2880.  
  2881. if v.Name == "asd" and v:IsA("Weld") then
  2882.  
  2883. v:Remove()
  2884.  
  2885. end
  2886.  
  2887. if v:IsA("Part") then
  2888.  
  2889. v.CanCollide = true
  2890.  
  2891. v.CustomPhysicalProperties = PhysicalProperties.new(1,1,1,1,1)
  2892.  
  2893. end
  2894.  
  2895. end
  2896.  
  2897. end
  2898.  
  2899. stanceToggle = "Idle1"
  2900.  
  2901. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  2902.  
  2903. bv.maxForce = Vector3.new(400000, 400000, 400000)
  2904.  
  2905. bv.P = 125000
  2906.  
  2907. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  2908.  
  2909. ht=nil
  2910.  
  2911. Debounces.on = false
  2912.  
  2913. Debounces.NoIdl = false
  2914.  
  2915. elseif ht == nil then wait()
  2916.  
  2917. Grab = false
  2918.  
  2919. Debounces.on = false
  2920.  
  2921. Debounces.NoIdl = false
  2922.  
  2923. end
  2924.  
  2925. end
  2926.  
  2927. end)
  2928.  
  2929. ----------------------------------------------------
  2930.  
  2931. Change = false
  2932.  
  2933. mouse.KeyDown:connect(function(key)
  2934.  
  2935. if key == "n" then
  2936.  
  2937. if Change == false then
  2938.  
  2939. Change = true
  2940.  
  2941. stanceToggle = "Idle2"
  2942.  
  2943. elseif Change == true then
  2944.  
  2945. Change = false
  2946.  
  2947. stanceToggle = "Idle1"
  2948.  
  2949. end
  2950.  
  2951. end
  2952.  
  2953. end)
  2954.  
  2955. ----------------------------------------------------
  2956.  
  2957. mouse.KeyDown:connect(function(key)
  2958.  
  2959. if string.byte(key) == 52 then
  2960.  
  2961. Swing = 2
  2962.  
  2963. char.Humanoid.WalkSpeed = 28
  2964.  
  2965. end
  2966.  
  2967. end)
  2968.  
  2969. mouse.KeyUp:connect(function(key)
  2970.  
  2971. if string.byte(key) == 52 then
  2972.  
  2973. Swing = 1
  2974.  
  2975. char.Humanoid.WalkSpeed = 16
  2976.  
  2977. end
  2978.  
  2979. end)
  2980.  
  2981. ----------------------------------------------------
  2982.  
  2983.  
  2984.  
  2985. jump = false
  2986.  
  2987. rs:connect(function()
  2988.  
  2989. if char.Humanoid.Jump == true then
  2990.  
  2991. jump = true
  2992.  
  2993. else
  2994.  
  2995. jump = false
  2996.  
  2997. end
  2998.  
  2999. char.Humanoid.FreeFalling:connect(function(f)
  3000.  
  3001. if f then
  3002.  
  3003. ffing = true
  3004.  
  3005. else
  3006.  
  3007. ffing = false
  3008.  
  3009. end
  3010.  
  3011. end)
  3012.  
  3013. sine = sine + change
  3014.  
  3015. if jump == true then
  3016.  
  3017. animpose = "Jumping"
  3018.  
  3019. elseif ffing == true then
  3020.  
  3021. animpose = "Freefalling"
  3022.  
  3023. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  3024.  
  3025. animpose = "Idle"
  3026.  
  3027. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  3028.  
  3029. animpose = "Walking"
  3030.  
  3031. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  3032.  
  3033. animpose = "Running"
  3034.  
  3035. end
  3036.  
  3037. RightLeg = CFrame.new(0.5,-1,0)
  3038.  
  3039. LeftLeg = CFrame.new(-0.5,-1,0)
  3040.  
  3041.  
  3042.  
  3043. lefth = (torso.CFrame*LeftLeg)
  3044.  
  3045. righth = (torso.CFrame*RightLeg)
  3046.  
  3047.  
  3048.  
  3049. speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
  3050.  
  3051.  
  3052.  
  3053. TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
  3054.  
  3055.  
  3056.  
  3057. local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
  3058.  
  3059. local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
  3060.  
  3061. if animpose ~= lastanimpose then
  3062.  
  3063. sine = 0
  3064.  
  3065. if Debounces.NoIdl == false then
  3066.  
  3067. if stanceToggle == "Idle1" then
  3068.  
  3069. 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)
  3070.  
  3071. 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)
  3072.  
  3073. 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)
  3074.  
  3075. 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)
  3076.  
  3077. 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)
  3078.  
  3079. 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)
  3080.  
  3081. elseif stanceToggle == "Idle2" then
  3082.  
  3083. 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)
  3084.  
  3085. 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)
  3086.  
  3087. 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)
  3088.  
  3089. 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)
  3090.  
  3091. 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)
  3092.  
  3093. 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)
  3094.  
  3095. end
  3096.  
  3097. fat.Event:wait()
  3098.  
  3099. end
  3100.  
  3101. else
  3102.  
  3103. end
  3104.  
  3105. lastanimpose = animpose
  3106.  
  3107. if Debounces.NoIdl == false then
  3108.  
  3109. if animpose == "Idle" then
  3110.  
  3111. change = 0.5
  3112.  
  3113. if stanceToggle == "Idle1" then
  3114.  
  3115. 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)
  3116.  
  3117. 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)
  3118.  
  3119.  
  3120.  
  3121. 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)
  3122.  
  3123. 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)
  3124.  
  3125. 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)
  3126.  
  3127. 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)
  3128.  
  3129. 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)
  3130.  
  3131. 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)
  3132.  
  3133. 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)
  3134.  
  3135. 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)
  3136.  
  3137. 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)
  3138.  
  3139. 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)
  3140.  
  3141. 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)
  3142.  
  3143. 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)
  3144.  
  3145. elseif stanceToggle == "Idle2" then
  3146.  
  3147.  
  3148.  
  3149. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  3150.  
  3151. 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)
  3152.  
  3153. 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)
  3154.  
  3155. 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)
  3156.  
  3157. 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)
  3158.  
  3159. 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)
  3160.  
  3161. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  3162.  
  3163. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  3164.  
  3165. --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)
  3166.  
  3167. 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)
  3168.  
  3169. 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)
  3170.  
  3171. 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)
  3172.  
  3173. 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)
  3174.  
  3175. 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)
  3176.  
  3177. elseif stanceToggle == "Grabbed" then
  3178.  
  3179. grab = true
  3180.  
  3181. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  3182.  
  3183. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3184.  
  3185. 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)
  3186.  
  3187. 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)
  3188.  
  3189. 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)
  3190.  
  3191. 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)
  3192.  
  3193. 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)
  3194.  
  3195. 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)
  3196.  
  3197. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  3198.  
  3199. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  3200.  
  3201. 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)
  3202.  
  3203. 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)
  3204.  
  3205. 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)
  3206.  
  3207. 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)
  3208.  
  3209. end
  3210.  
  3211. elseif animpose == "Walking" then
  3212.  
  3213. if stanceToggle == "Grabbed" then
  3214.  
  3215. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  3216.  
  3217. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3218.  
  3219. 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)
  3220.  
  3221. 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)
  3222.  
  3223. 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)
  3224.  
  3225. 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)
  3226.  
  3227. 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)
  3228.  
  3229. 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)
  3230.  
  3231. 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)
  3232.  
  3233. --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
  3234.  
  3235. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  3236.  
  3237. 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)
  3238.  
  3239. 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)
  3240.  
  3241. 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)
  3242.  
  3243. 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)
  3244.  
  3245. elseif stanceToggle ~= "Grabbed" then
  3246.  
  3247. change = 1
  3248.  
  3249. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  3250.  
  3251. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3252.  
  3253.  
  3254.  
  3255. 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)
  3256.  
  3257. 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)
  3258.  
  3259. 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)
  3260.  
  3261. 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)
  3262.  
  3263. 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)
  3264.  
  3265. 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)
  3266.  
  3267. 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)
  3268.  
  3269. --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
  3270.  
  3271. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  3272.  
  3273. --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)
  3274.  
  3275. 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)
  3276.  
  3277. 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)
  3278.  
  3279. --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)
  3280.  
  3281. 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)
  3282.  
  3283. 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)
  3284.  
  3285. end
  3286.  
  3287. elseif animpose == "Running" then
  3288.  
  3289. change = 1
  3290.  
  3291. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  3292.  
  3293. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3294.  
  3295.  
  3296.  
  3297. 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)
  3298.  
  3299. 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)
  3300.  
  3301. 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)
  3302.  
  3303. 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)
  3304.  
  3305. 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)
  3306.  
  3307. 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)
  3308.  
  3309. 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)
  3310.  
  3311. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  3312.  
  3313. 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)
  3314.  
  3315. 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)
  3316.  
  3317. 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)
  3318.  
  3319. 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)
  3320.  
  3321. elseif animpose == "Jumping" then
  3322.  
  3323.  
  3324.  
  3325. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  3326.  
  3327. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3328.  
  3329. 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)
  3330.  
  3331. 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)
  3332.  
  3333. 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)
  3334.  
  3335. 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)
  3336.  
  3337. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),math.rad(0),0), 0.2)
  3338.  
  3339. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  3340.  
  3341. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  3342.  
  3343. 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)
  3344.  
  3345. 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)
  3346.  
  3347. 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)
  3348.  
  3349. 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)
  3350.  
  3351. elseif animpose == "Freefalling" then
  3352.  
  3353.  
  3354.  
  3355. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  3356.  
  3357. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3358.  
  3359. 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)
  3360.  
  3361. 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)
  3362.  
  3363. 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)
  3364.  
  3365. 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)
  3366.  
  3367. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),math.rad(0),0), 0.2)
  3368.  
  3369. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.2)
  3370.  
  3371. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  3372.  
  3373. 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)
  3374.  
  3375. 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)
  3376.  
  3377. 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)
  3378.  
  3379. 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)
  3380.  
  3381. end
  3382.  
  3383. end
  3384.  
  3385. end)
  3386.  
  3387. hum.MaxHealth = 999999999999999
  3388.  
  3389. wait(3)
  3390.  
  3391. hum.Health = 999999999999999
  3392.  
  3393. ---------------------------------------------
  3394.  
  3395.  
  3396.  
  3397. Create = function(itemClass,tabl)
  3398.  
  3399. local item = Instance.new(itemClass)
  3400.  
  3401. for i,v in pairs(tabl) do
  3402.  
  3403. local a,b = ypcall(function() return item[i] end)
  3404.  
  3405. if a then
  3406.  
  3407. item[i] = tabl[i]
  3408.  
  3409. end
  3410.  
  3411. end
  3412.  
  3413. return item
  3414.  
  3415. end
  3416.  
  3417. function runDummyScript(f,scri)
  3418.  
  3419. local oldenv = getfenv(f)
  3420.  
  3421. local newenv = setmetatable({}, {
  3422.  
  3423. __index = function(_, k)
  3424.  
  3425. if k:lower() == 'script' then
  3426.  
  3427. return scri
  3428.  
  3429. else
  3430.  
  3431. return oldenv[k]
  3432.  
  3433. end
  3434.  
  3435. end
  3436.  
  3437. })
  3438.  
  3439. setfenv(f, newenv)
  3440.  
  3441. ypcall(function() f() end)
  3442.  
  3443. end
  3444.  
  3445. cors = {}
  3446.  
  3447. mas = Instance.new("Model",game:GetService("Lighting"))
  3448.  
  3449. mas.Name = "CompiledModel"
  3450.  
  3451. o1 = Create("Model",{
  3452.  
  3453. ["Name"] = "Gallows",
  3454.  
  3455. ["Parent"] = mas,
  3456.  
  3457. })
  3458.  
  3459. o2 = Create("Part",{
  3460.  
  3461. ["Name"] = "Smooth Block Model",
  3462.  
  3463. ["Parent"] = o1,
  3464.  
  3465. ["Material"] = Enum.Material.Wood,
  3466.  
  3467. ["BrickColor"] = BrickColor.new("Earth orange"),
  3468.  
  3469. ["Position"] = Vector3.new(-24, 0.600031018, 62),
  3470.  
  3471. ["Anchored"] = true,
  3472.  
  3473. ["CFrame"] = CFrame.new(-24, 0.600031018, 62, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  3474.  
  3475. ["Size"] = Vector3.new(2, 1.20000005, 8),
  3476.  
  3477. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  3478.  
  3479. })
  3480.  
  3481. o3 = Create("Part",{
  3482.  
  3483. ["Name"] = "Smooth Block Model",
  3484.  
  3485. ["Parent"] = o1,
  3486.  
  3487. ["Material"] = Enum.Material.Wood,
  3488.  
  3489. ["BrickColor"] = BrickColor.new("Earth orange"),
  3490.  
  3491. ["Position"] = Vector3.new(-22, 1.20002401, 62),
  3492.  
  3493. ["Anchored"] = true,
  3494.  
  3495. ["CFrame"] = CFrame.new(-22, 1.20002401, 62, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  3496.  
  3497. ["Size"] = Vector3.new(2, 2.4000001, 8),
  3498.  
  3499. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  3500.  
  3501. })
  3502.  
  3503. o4 = Create("Part",{
  3504.  
  3505. ["Name"] = "Smooth Block Model",
  3506.  
  3507. ["Parent"] = o1,
  3508.  
  3509. ["Material"] = Enum.Material.Wood,
  3510.  
  3511. ["BrickColor"] = BrickColor.new("Earth orange"),
  3512.  
  3513. ["Position"] = Vector3.new(-18, 2.40002704, 62),
  3514.  
  3515. ["Anchored"] = true,
  3516.  
  3517. ["CFrame"] = CFrame.new(-18, 2.40002704, 62, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  3518.  
  3519. ["Size"] = Vector3.new(2, 4.80000019, 8),
  3520.  
  3521. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  3522.  
  3523. })
  3524.  
  3525. o5 = Create("Part",{
  3526.  
  3527. ["Name"] = "Smooth Block Model",
  3528.  
  3529. ["Parent"] = o1,
  3530.  
  3531. ["Material"] = Enum.Material.Wood,
  3532.  
  3533. ["BrickColor"] = BrickColor.new("Earth orange"),
  3534.  
  3535. ["Position"] = Vector3.new(-20, 1.80002904, 62),
  3536.  
  3537. ["Anchored"] = true,
  3538.  
  3539. ["CFrame"] = CFrame.new(-20, 1.80002904, 62, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  3540.  
  3541. ["Size"] = Vector3.new(2, 3.60000014, 8),
  3542.  
  3543. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  3544.  
  3545. })
  3546.  
  3547. o6 = Create("Part",{
  3548.  
  3549. ["Name"] = "Smooth Block Model",
  3550.  
  3551. ["Parent"] = o1,
  3552.  
  3553. ["Material"] = Enum.Material.Wood,
  3554.  
  3555. ["BrickColor"] = BrickColor.new("Earth orange"),
  3556.  
  3557. ["Position"] = Vector3.new(-16, 3.00002789, 62),
  3558.  
  3559. ["Anchored"] = true,
  3560.  
  3561. ["CFrame"] = CFrame.new(-16, 3.00002789, 62, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  3562.  
  3563. ["Size"] = Vector3.new(2, 6, 8),
  3564.  
  3565. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  3566.  
  3567. })
  3568.  
  3569. o7 = Create("Part",{
  3570.  
  3571. ["Name"] = "Smooth Block Model",
  3572.  
  3573. ["Parent"] = o1,
  3574.  
  3575. ["Material"] = Enum.Material.Wood,
  3576.  
  3577. ["BrickColor"] = BrickColor.new("Earth orange"),
  3578.  
  3579. ["Position"] = Vector3.new(-14.5, 2.40002704, 69.5),
  3580.  
  3581. ["Rotation"] = Vector3.new(-0, -90, 0),
  3582.  
  3583. ["Anchored"] = true,
  3584.  
  3585. ["CFrame"] = CFrame.new(-14.5, 2.40002704, 69.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  3586.  
  3587. ["Size"] = Vector3.new(1, 4.80000019, 1),
  3588.  
  3589. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  3590.  
  3591. })
  3592.  
  3593. o8 = Create("Part",{
  3594.  
  3595. ["Name"] = "Smooth Block Model",
  3596.  
  3597. ["Parent"] = o1,
  3598.  
  3599. ["Material"] = Enum.Material.Wood,
  3600.  
  3601. ["BrickColor"] = BrickColor.new("Earth orange"),
  3602.  
  3603. ["Position"] = Vector3.new(-5.5, 2.40002704, 69.5),
  3604.  
  3605. ["Rotation"] = Vector3.new(-0, -90, 0),
  3606.  
  3607. ["Anchored"] = true,
  3608.  
  3609. ["CFrame"] = CFrame.new(-5.5, 2.40002704, 69.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  3610.  
  3611. ["Size"] = Vector3.new(1, 4.80000019, 1),
  3612.  
  3613. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  3614.  
  3615. })
  3616.  
  3617. o9 = Create("Part",{
  3618.  
  3619. ["Name"] = "Smooth Block Model",
  3620.  
  3621. ["Parent"] = o1,
  3622.  
  3623. ["BrickColor"] = BrickColor.new("Earth orange"),
  3624.  
  3625. ["Position"] = Vector3.new(-3.5, 5.40002203, 50.5),
  3626.  
  3627. ["Rotation"] = Vector3.new(-0, -90, 0),
  3628.  
  3629. ["Anchored"] = true,
  3630.  
  3631. ["CFrame"] = CFrame.new(-3.5, 5.40002203, 50.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  3632.  
  3633. ["Size"] = Vector3.new(1, 1.20000005, 1),
  3634.  
  3635. ["LeftSurface"] = Enum.SurfaceType.Hinge,
  3636.  
  3637. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  3638.  
  3639. })
  3640.  
  3641. o10 = Create("Part",{
  3642.  
  3643. ["Name"] = "Smooth Block Model",
  3644.  
  3645. ["Parent"] = o1,
  3646.  
  3647. ["Material"] = Enum.Material.Wood,
  3648.  
  3649. ["BrickColor"] = BrickColor.new("Earth orange"),
  3650.  
  3651. ["Position"] = Vector3.new(-10, 5.40002203, 47.5),
  3652.  
  3653. ["Anchored"] = true,
  3654.  
  3655. ["CFrame"] = CFrame.new(-10, 5.40002203, 47.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  3656.  
  3657. ["Size"] = Vector3.new(10, 1.20000005, 45),
  3658.  
  3659. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  3660.  
  3661. })
  3662.  
  3663. o11 = Create("Part",{
  3664.  
  3665. ["Name"] = "Smooth Block Model",
  3666.  
  3667. ["Parent"] = o1,
  3668.  
  3669. ["Material"] = Enum.Material.Wood,
  3670.  
  3671. ["BrickColor"] = BrickColor.new("Earth orange"),
  3672.  
  3673. ["Position"] = Vector3.new(-1, 5.40002203, 60.5),
  3674.  
  3675. ["Rotation"] = Vector3.new(-0, -90, 0),
  3676.  
  3677. ["Anchored"] = true,
  3678.  
  3679. ["CFrame"] = CFrame.new(-1, 5.40002203, 60.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  3680.  
  3681. ["Size"] = Vector3.new(19, 1.20000005, 8),
  3682.  
  3683. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  3684.  
  3685. })
  3686.  
  3687. o12 = Create("Part",{
  3688.  
  3689. ["Name"] = "trap",
  3690.  
  3691. ["Parent"] = o1,
  3692.  
  3693. ["Material"] = Enum.Material.Wood,
  3694.  
  3695. ["BrickColor"] = BrickColor.new("Earth orange"),
  3696.  
  3697. ["Position"] = Vector3.new(-1, 5.40002203, 47),
  3698.  
  3699. ["Rotation"] = Vector3.new(-0, -90, 0),
  3700.  
  3701. ["Anchored"] = true,
  3702.  
  3703. ["CFrame"] = CFrame.new(-1, 5.40002203, 47, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  3704.  
  3705. ["Size"] = Vector3.new(6, 1.20000005, 6),
  3706.  
  3707. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  3708.  
  3709. })
  3710.  
  3711. o13 = Create("Part",{
  3712.  
  3713. ["Name"] = "Smooth Block Model",
  3714.  
  3715. ["Parent"] = o1,
  3716.  
  3717. ["Material"] = Enum.Material.Wood,
  3718.  
  3719. ["BrickColor"] = BrickColor.new("Earth orange"),
  3720.  
  3721. ["Position"] = Vector3.new(-2.5, 7.20002079, 57.5),
  3722.  
  3723. ["CFrame"] = CFrame.new(-2.5, 7.20002079, 57.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  3724.  
  3725. ["Size"] = Vector3.new(1, 2.4000001, 3),
  3726.  
  3727. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  3728.  
  3729. })
  3730.  
  3731. o14 = Create("Part",{
  3732.  
  3733. ["Name"] = "Smooth Block Model",
  3734.  
  3735. ["Parent"] = o1,
  3736.  
  3737. ["Material"] = Enum.Material.Wood,
  3738.  
  3739. ["BrickColor"] = BrickColor.new("Earth orange"),
  3740.  
  3741. ["Position"] = Vector3.new(3.5, 2.40002704, 69.5),
  3742.  
  3743. ["Rotation"] = Vector3.new(-0, -90, 0),
  3744.  
  3745. ["Anchored"] = true,
  3746.  
  3747. ["CFrame"] = CFrame.new(3.5, 2.40002704, 69.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  3748.  
  3749. ["Size"] = Vector3.new(1, 4.80000019, 1),
  3750.  
  3751. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  3752.  
  3753. })
  3754.  
  3755. o15 = Create("Part",{
  3756.  
  3757. ["Name"] = "Smooth Block Model",
  3758.  
  3759. ["Parent"] = o1,
  3760.  
  3761. ["Material"] = Enum.Material.Wood,
  3762.  
  3763. ["BrickColor"] = BrickColor.new("Earth orange"),
  3764.  
  3765. ["Position"] = Vector3.new(2.5, 5.40002203, 47),
  3766.  
  3767. ["Anchored"] = true,
  3768.  
  3769. ["CFrame"] = CFrame.new(2.5, 5.40002203, 47, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  3770.  
  3771. ["CanCollide"] = false,
  3772.  
  3773. ["Size"] = Vector3.new(1, 1.20000005, 8),
  3774.  
  3775. ["TopSurface"] = Enum.SurfaceType.Smooth,
  3776.  
  3777. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  3778.  
  3779. })
  3780.  
  3781. o16 = Create("Part",{
  3782.  
  3783. ["Name"] = "Smooth Block Model",
  3784.  
  3785. ["Parent"] = o1,
  3786.  
  3787. ["BrickColor"] = BrickColor.new("Earth orange"),
  3788.  
  3789. ["Position"] = Vector3.new(-3.5, 5.40002203, 43.5),
  3790.  
  3791. ["Rotation"] = Vector3.new(-0, -90, 0),
  3792.  
  3793. ["Anchored"] = true,
  3794.  
  3795. ["CFrame"] = CFrame.new(-3.5, 5.40002203, 43.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  3796.  
  3797. ["Size"] = Vector3.new(1, 1.20000005, 1),
  3798.  
  3799. ["RightSurface"] = Enum.SurfaceType.Hinge,
  3800.  
  3801. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  3802.  
  3803. })
  3804.  
  3805. o17 = Create("Part",{
  3806.  
  3807. ["Name"] = "welder",
  3808.  
  3809. ["Parent"] = o1,
  3810.  
  3811. ["Material"] = Enum.Material.Wood,
  3812.  
  3813. ["BrickColor"] = BrickColor.new("Reddish brown"),
  3814.  
  3815. ["Position"] = Vector3.new(-0.5, 6.60002804, 47),
  3816.  
  3817. ["Rotation"] = Vector3.new(-0, -90, 0),
  3818.  
  3819. ["CFrame"] = CFrame.new(-0.5, 6.60002804, 47, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  3820.  
  3821. ["Size"] = Vector3.new(4, 1.20000005, 3),
  3822.  
  3823. ["BottomSurface"] = Enum.SurfaceType.Weld,
  3824.  
  3825. ["Color"] = Color3.new(0.411765, 0.25098, 0.156863),
  3826.  
  3827. })
  3828.  
  3829. o18 = Create("Part",{
  3830.  
  3831. ["Name"] = "Smooth Block Model",
  3832.  
  3833. ["Parent"] = o1,
  3834.  
  3835. ["Material"] = Enum.Material.Wood,
  3836.  
  3837. ["BrickColor"] = BrickColor.new("Earth orange"),
  3838.  
  3839. ["Position"] = Vector3.new(0, 7.20002079, 56.5),
  3840.  
  3841. ["Rotation"] = Vector3.new(-0, -90, 0),
  3842.  
  3843. ["CFrame"] = CFrame.new(0, 7.20002079, 56.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  3844.  
  3845. ["Size"] = Vector3.new(1, 2.4000001, 4),
  3846.  
  3847. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  3848.  
  3849. })
  3850.  
  3851. o19 = Create("Part",{
  3852.  
  3853. ["Name"] = "Smooth Block Model",
  3854.  
  3855. ["Parent"] = o1,
  3856.  
  3857. ["Material"] = Enum.Material.Wood,
  3858.  
  3859. ["BrickColor"] = BrickColor.new("Earth orange"),
  3860.  
  3861. ["Position"] = Vector3.new(3.5, 5.40002203, 47.5),
  3862.  
  3863. ["Rotation"] = Vector3.new(-0, -90, 0),
  3864.  
  3865. ["Anchored"] = true,
  3866.  
  3867. ["CFrame"] = CFrame.new(3.5, 5.40002203, 47.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  3868.  
  3869. ["Size"] = Vector3.new(45, 1.20000005, 1),
  3870.  
  3871. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  3872.  
  3873. })
  3874.  
  3875. o20 = Create("Part",{
  3876.  
  3877. ["Name"] = "Smooth Block Model",
  3878.  
  3879. ["Parent"] = o1,
  3880.  
  3881. ["Material"] = Enum.Material.Wood,
  3882.  
  3883. ["BrickColor"] = BrickColor.new("Earth orange"),
  3884.  
  3885. ["Position"] = Vector3.new(0, 7.20002079, 58.5),
  3886.  
  3887. ["Rotation"] = Vector3.new(-0, -90, 0),
  3888.  
  3889. ["CFrame"] = CFrame.new(0, 7.20002079, 58.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  3890.  
  3891. ["Size"] = Vector3.new(1, 2.4000001, 4),
  3892.  
  3893. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  3894.  
  3895. })
  3896.  
  3897. o21 = Create("Part",{
  3898.  
  3899. ["Name"] = "gallowswitch",
  3900.  
  3901. ["Parent"] = o1,
  3902.  
  3903. ["Material"] = Enum.Material.Wood,
  3904.  
  3905. ["BrickColor"] = BrickColor.new("Earth orange"),
  3906.  
  3907. ["Position"] = Vector3.new(-1.63906896, 8.80330181, 57.5),
  3908.  
  3909. ["Rotation"] = Vector3.new(-90, 60.0933647, -90),
  3910.  
  3911. ["Anchored"] = true,
  3912.  
  3913. ["CFrame"] = CFrame.new(-1.63906896, 8.80330181, 57.5, 1.78087221e-017, 0.498588145, 0.866838992, 4.72897554e-019, -0.866839051, 0.498588145, 1.00000012, -8.46929136e-018, -1.56730758e-017),
  3914.  
  3915. ["Size"] = Vector3.new(1, 4.80000019, 1),
  3916.  
  3917. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  3918.  
  3919. })
  3920.  
  3921. o22 = Create("Part",{
  3922.  
  3923. ["Name"] = "Smooth Block Model",
  3924.  
  3925. ["Parent"] = o1,
  3926.  
  3927. ["Material"] = Enum.Material.Wood,
  3928.  
  3929. ["BrickColor"] = BrickColor.new("Earth orange"),
  3930.  
  3931. ["Position"] = Vector3.new(-0.5, 10.800024, 51.5),
  3932.  
  3933. ["Rotation"] = Vector3.new(-0, -90, 0),
  3934.  
  3935. ["Anchored"] = true,
  3936.  
  3937. ["CFrame"] = CFrame.new(-0.5, 10.800024, 51.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  3938.  
  3939. ["Size"] = Vector3.new(1, 9.60000038, 1),
  3940.  
  3941. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  3942.  
  3943. })
  3944.  
  3945. o23 = Create("Part",{
  3946.  
  3947. ["Name"] = "Smooth Block Model",
  3948.  
  3949. ["Parent"] = o1,
  3950.  
  3951. ["Material"] = Enum.Material.Wood,
  3952.  
  3953. ["BrickColor"] = BrickColor.new("Earth orange"),
  3954.  
  3955. ["Position"] = Vector3.new(-0.5, 10.800024, 42.5),
  3956.  
  3957. ["Rotation"] = Vector3.new(-0, -90, 0),
  3958.  
  3959. ["Anchored"] = true,
  3960.  
  3961. ["CFrame"] = CFrame.new(-0.5, 10.800024, 42.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  3962.  
  3963. ["Size"] = Vector3.new(1, 9.60000038, 1),
  3964.  
  3965. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  3966.  
  3967. })
  3968.  
  3969. o24 = Create("Part",{
  3970.  
  3971. ["Name"] = "Smooth Block Model",
  3972.  
  3973. ["Parent"] = o1,
  3974.  
  3975. ["Material"] = Enum.Material.Wood,
  3976.  
  3977. ["BrickColor"] = BrickColor.new("Earth orange"),
  3978.  
  3979. ["Position"] = Vector3.new(2.5, 7.20002079, 57.5),
  3980.  
  3981. ["CFrame"] = CFrame.new(2.5, 7.20002079, 57.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  3982.  
  3983. ["Size"] = Vector3.new(1, 2.4000001, 3),
  3984.  
  3985. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  3986.  
  3987. })
  3988.  
  3989. o25 = Create("Part",{
  3990.  
  3991. ["Name"] = "gallowswitch2",
  3992.  
  3993. ["Parent"] = o1,
  3994.  
  3995. ["Material"] = Enum.Material.Wood,
  3996.  
  3997. ["BrickColor"] = BrickColor.new("Earth orange"),
  3998.  
  3999. ["Transparency"] = 1,
  4000.  
  4001. ["Position"] = Vector3.new(1.5, 9.00002384, 57.5),
  4002.  
  4003. ["Rotation"] = Vector3.new(-0, -90, 0),
  4004.  
  4005. ["Anchored"] = true,
  4006.  
  4007. ["CFrame"] = CFrame.new(1.5, 9.00002384, 57.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  4008.  
  4009. ["Size"] = Vector3.new(1, 6, 1),
  4010.  
  4011. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  4012.  
  4013. })
  4014.  
  4015. o26 = Create("Part",{
  4016.  
  4017. ["Name"] = "rope",
  4018.  
  4019. ["Parent"] = o1,
  4020.  
  4021. ["BrickColor"] = BrickColor.new("Earth orange"),
  4022.  
  4023. ["Position"] = Vector3.new(-0.5, 12.6000204, 46.5),
  4024.  
  4025. ["Rotation"] = Vector3.new(-0, -90, 0),
  4026.  
  4027. ["RotVelocity"] = Vector3.new(9.29485318e-017, 7.26643592e-018, 9.29485318e-017),
  4028.  
  4029. ["Velocity"] = Vector3.new(6.78266e-017, -0.644254982, 6.78266e-017),
  4030.  
  4031. ["CFrame"] = CFrame.new(-0.5, 12.6000204, 46.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  4032.  
  4033. ["Size"] = Vector3.new(1, 1.20000005, 1),
  4034.  
  4035. ["BottomSurface"] = Enum.SurfaceType.Motor,
  4036.  
  4037. ["TopSurface"] = Enum.SurfaceType.Motor,
  4038.  
  4039. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  4040.  
  4041. })
  4042.  
  4043. o27 = Create("SpecialMesh",{
  4044.  
  4045. ["Parent"] = o26,
  4046.  
  4047. ["MeshType"] = Enum.MeshType.Sphere,
  4048.  
  4049. })
  4050.  
  4051. o28 = Create("Part",{
  4052.  
  4053. ["Name"] = "Smooth Block Model",
  4054.  
  4055. ["Parent"] = o1,
  4056.  
  4057. ["Material"] = Enum.Material.Wood,
  4058.  
  4059. ["BrickColor"] = BrickColor.new("Earth orange"),
  4060.  
  4061. ["Position"] = Vector3.new(-1, 5.40002203, 34),
  4062.  
  4063. ["Rotation"] = Vector3.new(-0, -90, 0),
  4064.  
  4065. ["Anchored"] = true,
  4066.  
  4067. ["CFrame"] = CFrame.new(-1, 5.40002203, 34, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  4068.  
  4069. ["Size"] = Vector3.new(18, 1.20000005, 8),
  4070.  
  4071. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  4072.  
  4073. })
  4074.  
  4075. o29 = Create("Part",{
  4076.  
  4077. ["Name"] = "rope",
  4078.  
  4079. ["Parent"] = o1,
  4080.  
  4081. ["BrickColor"] = BrickColor.new("Earth orange"),
  4082.  
  4083. ["Position"] = Vector3.new(-0.5, 13.8000278, 46.5),
  4084.  
  4085. ["Rotation"] = Vector3.new(-0, -90, 0),
  4086.  
  4087. ["RotVelocity"] = Vector3.new(9.29485318e-017, 5.65548431e-018, 9.29485318e-017),
  4088.  
  4089. ["Velocity"] = Vector3.new(6.78266e-017, -0.42925173, 6.78266e-017),
  4090.  
  4091. ["CFrame"] = CFrame.new(-0.5, 13.8000278, 46.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  4092.  
  4093. ["Size"] = Vector3.new(1, 1.20000005, 1),
  4094.  
  4095. ["BottomSurface"] = Enum.SurfaceType.Motor,
  4096.  
  4097. ["TopSurface"] = Enum.SurfaceType.Motor,
  4098.  
  4099. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  4100.  
  4101. })
  4102.  
  4103. o30 = Create("SpecialMesh",{
  4104.  
  4105. ["Parent"] = o29,
  4106.  
  4107. ["MeshType"] = Enum.MeshType.Sphere,
  4108.  
  4109. })
  4110.  
  4111. o31 = Create("Part",{
  4112.  
  4113. ["Name"] = "Smooth Block Model",
  4114.  
  4115. ["Parent"] = o1,
  4116.  
  4117. ["Material"] = Enum.Material.Wood,
  4118.  
  4119. ["BrickColor"] = BrickColor.new("Earth orange"),
  4120.  
  4121. ["Position"] = Vector3.new(-24, 0.600031018, 33),
  4122.  
  4123. ["Anchored"] = true,
  4124.  
  4125. ["CFrame"] = CFrame.new(-24, 0.600031018, 33, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  4126.  
  4127. ["Size"] = Vector3.new(2, 1.20000005, 8),
  4128.  
  4129. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  4130.  
  4131. })
  4132.  
  4133. o32 = Create("Part",{
  4134.  
  4135. ["Name"] = "Smooth Block Model",
  4136.  
  4137. ["Parent"] = o1,
  4138.  
  4139. ["Material"] = Enum.Material.Wood,
  4140.  
  4141. ["BrickColor"] = BrickColor.new("Earth orange"),
  4142.  
  4143. ["Position"] = Vector3.new(-22, 1.20002401, 33),
  4144.  
  4145. ["Anchored"] = true,
  4146.  
  4147. ["CFrame"] = CFrame.new(-22, 1.20002401, 33, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  4148.  
  4149. ["Size"] = Vector3.new(2, 2.4000001, 8),
  4150.  
  4151. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  4152.  
  4153. })
  4154.  
  4155. o33 = Create("Part",{
  4156.  
  4157. ["Name"] = "Smooth Block Model",
  4158.  
  4159. ["Parent"] = o1,
  4160.  
  4161. ["Material"] = Enum.Material.Wood,
  4162.  
  4163. ["BrickColor"] = BrickColor.new("Earth orange"),
  4164.  
  4165. ["Position"] = Vector3.new(-16, 3.00002789, 33),
  4166.  
  4167. ["Anchored"] = true,
  4168.  
  4169. ["CFrame"] = CFrame.new(-16, 3.00002789, 33, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  4170.  
  4171. ["Size"] = Vector3.new(2, 6, 8),
  4172.  
  4173. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  4174.  
  4175. })
  4176.  
  4177. o34 = Create("Part",{
  4178.  
  4179. ["Name"] = "Smooth Block Model",
  4180.  
  4181. ["Parent"] = o1,
  4182.  
  4183. ["Material"] = Enum.Material.Wood,
  4184.  
  4185. ["BrickColor"] = BrickColor.new("Earth orange"),
  4186.  
  4187. ["Position"] = Vector3.new(-18, 2.40002704, 33),
  4188.  
  4189. ["Anchored"] = true,
  4190.  
  4191. ["CFrame"] = CFrame.new(-18, 2.40002704, 33, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  4192.  
  4193. ["Size"] = Vector3.new(2, 4.80000019, 8),
  4194.  
  4195. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  4196.  
  4197. })
  4198.  
  4199. o35 = Create("Part",{
  4200.  
  4201. ["Name"] = "Smooth Block Model",
  4202.  
  4203. ["Parent"] = o1,
  4204.  
  4205. ["Material"] = Enum.Material.Wood,
  4206.  
  4207. ["BrickColor"] = BrickColor.new("Earth orange"),
  4208.  
  4209. ["Position"] = Vector3.new(-20, 1.80002904, 33),
  4210.  
  4211. ["Anchored"] = true,
  4212.  
  4213. ["CFrame"] = CFrame.new(-20, 1.80002904, 33, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  4214.  
  4215. ["Size"] = Vector3.new(2, 3.60000014, 8),
  4216.  
  4217. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  4218.  
  4219. })
  4220.  
  4221. o36 = Create("Part",{
  4222.  
  4223. ["Name"] = "rope",
  4224.  
  4225. ["Parent"] = o1,
  4226.  
  4227. ["BrickColor"] = BrickColor.new("Earth orange"),
  4228.  
  4229. ["Position"] = Vector3.new(-0.5, 15.0000238, 46.5),
  4230.  
  4231. ["Rotation"] = Vector3.new(-0, -90, 0),
  4232.  
  4233. ["RotVelocity"] = Vector3.new(9.29485318e-017, 3.22718457e-018, 9.29485318e-017),
  4234.  
  4235. ["Velocity"] = Vector3.new(6.78266e-017, -0.210931048, 6.78266e-017),
  4236.  
  4237. ["CFrame"] = CFrame.new(-0.5, 15.0000238, 46.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  4238.  
  4239. ["Size"] = Vector3.new(1, 1.20000005, 1),
  4240.  
  4241. ["BottomSurface"] = Enum.SurfaceType.Motor,
  4242.  
  4243. ["TopSurface"] = Enum.SurfaceType.Motor,
  4244.  
  4245. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  4246.  
  4247. })
  4248.  
  4249. o37 = Create("SpecialMesh",{
  4250.  
  4251. ["Parent"] = o36,
  4252.  
  4253. ["MeshType"] = Enum.MeshType.Sphere,
  4254.  
  4255. })
  4256.  
  4257. o38 = Create("Part",{
  4258.  
  4259. ["Name"] = "Smooth Block Model",
  4260.  
  4261. ["Parent"] = o1,
  4262.  
  4263. ["Material"] = Enum.Material.Wood,
  4264.  
  4265. ["BrickColor"] = BrickColor.new("Earth orange"),
  4266.  
  4267. ["Position"] = Vector3.new(3.5, 2.40002704, 25.5),
  4268.  
  4269. ["Rotation"] = Vector3.new(-0, -90, 0),
  4270.  
  4271. ["Anchored"] = true,
  4272.  
  4273. ["CFrame"] = CFrame.new(3.5, 2.40002704, 25.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  4274.  
  4275. ["Size"] = Vector3.new(1, 4.80000019, 1),
  4276.  
  4277. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  4278.  
  4279. })
  4280.  
  4281. o39 = Create("Part",{
  4282.  
  4283. ["Name"] = "Smooth Block Model",
  4284.  
  4285. ["Parent"] = o1,
  4286.  
  4287. ["Material"] = Enum.Material.Wood,
  4288.  
  4289. ["BrickColor"] = BrickColor.new("Earth orange"),
  4290.  
  4291. ["Position"] = Vector3.new(-0.5, 16.2000294, 47),
  4292.  
  4293. ["Rotation"] = Vector3.new(-0, -90, 0),
  4294.  
  4295. ["Anchored"] = true,
  4296.  
  4297. ["CFrame"] = CFrame.new(-0.5, 16.2000294, 47, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  4298.  
  4299. ["Size"] = Vector3.new(10, 1.20000005, 1),
  4300.  
  4301. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  4302.  
  4303. })
  4304.  
  4305. o40 = Create("Part",{
  4306.  
  4307. ["Name"] = "Smooth Block Model",
  4308.  
  4309. ["Parent"] = o1,
  4310.  
  4311. ["Material"] = Enum.Material.Wood,
  4312.  
  4313. ["BrickColor"] = BrickColor.new("Earth orange"),
  4314.  
  4315. ["Position"] = Vector3.new(-5.5, 2.40002704, 25.5),
  4316.  
  4317. ["Rotation"] = Vector3.new(-0, -90, 0),
  4318.  
  4319. ["Anchored"] = true,
  4320.  
  4321. ["CFrame"] = CFrame.new(-5.5, 2.40002704, 25.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  4322.  
  4323. ["Size"] = Vector3.new(1, 4.80000019, 1),
  4324.  
  4325. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  4326.  
  4327. })
  4328.  
  4329. o41 = Create("Part",{
  4330.  
  4331. ["Name"] = "Smooth Block Model",
  4332.  
  4333. ["Parent"] = o1,
  4334.  
  4335. ["Material"] = Enum.Material.Wood,
  4336.  
  4337. ["BrickColor"] = BrickColor.new("Earth orange"),
  4338.  
  4339. ["Position"] = Vector3.new(-14.5, 2.40002704, 25.5),
  4340.  
  4341. ["Rotation"] = Vector3.new(-0, -90, 0),
  4342.  
  4343. ["Anchored"] = true,
  4344.  
  4345. ["CFrame"] = CFrame.new(-14.5, 2.40002704, 25.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  4346.  
  4347. ["Size"] = Vector3.new(1, 4.80000019, 1),
  4348.  
  4349. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  4350.  
  4351. })
  4352.  
  4353. o42 = Create("Part",{
  4354.  
  4355. ["Name"] = "hanger",
  4356.  
  4357. ["Parent"] = o1,
  4358.  
  4359. ["BrickColor"] = BrickColor.new("Earth orange"),
  4360.  
  4361. ["Position"] = Vector3.new(-0.5, 11.4000158, 46.5),
  4362.  
  4363. ["Rotation"] = Vector3.new(-0, -90, 0),
  4364.  
  4365. ["RotVelocity"] = Vector3.new(9.29485318e-017, 8.0695067e-018, 9.29485318e-017),
  4366.  
  4367. ["Velocity"] = Vector3.new(6.78266e-017, -0.611982644, 6.78266e-017),
  4368.  
  4369. ["CFrame"] = CFrame.new(-0.5, 11.4000158, 46.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  4370.  
  4371. ["Size"] = Vector3.new(1, 1.20000005, 1),
  4372.  
  4373. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  4374.  
  4375. ["TopSurface"] = Enum.SurfaceType.Smooth,
  4376.  
  4377. ["Color"] = Color3.new(0.411765, 0.25098, 0.156863),
  4378.  
  4379. })
  4380.  
  4381. o43 = Create("SpecialMesh",{
  4382.  
  4383. ["Parent"] = o42,
  4384.  
  4385. ["MeshId"] = "http://www.roblox.com/asset/?id=3270017",
  4386.  
  4387. ["Scale"] = Vector3.new(2, 2, 1),
  4388.  
  4389. ["MeshType"] = Enum.MeshType.FileMesh,
  4390.  
  4391. })
  4392.  
  4393.  
  4394.  
  4395. mas.Parent = workspace
  4396.  
  4397. mas:MakeJoints()
  4398.  
  4399.  
  4400.  
  4401. local mas1 = mas:GetChildren()
  4402.  
  4403.  
  4404.  
  4405. for i=1,#mas1 do
  4406.  
  4407. mas1[i].Parent = workspace
  4408.  
  4409. ypcall(function() mas1[i]:MakeJoints() end)
  4410.  
  4411. end
  4412.  
  4413.  
  4414.  
  4415. mas:Destroy()
  4416.  
  4417.  
  4418.  
  4419. for i=1,#cors do
  4420.  
  4421. coroutine.resume(cors[i])
  4422.  
  4423. end
  4424.  
  4425.  
  4426.  
  4427. model = o1
  4428.  
  4429. switch = model.gallowswitch
  4430.  
  4431. backup = model:Clone() --kek
  4432.  
  4433.  
  4434.  
  4435. function onClick()
  4436.  
  4437. model.trap.Anchored = false
  4438.  
  4439. c = game.Workspace:GetChildren()
  4440.  
  4441. switch.Transparency = 1
  4442.  
  4443. model.gallowswitch2.Transparency = 0
  4444.  
  4445. for i = 1, #c do
  4446.  
  4447. if c[i].Name == "Help!" then
  4448.  
  4449. w = Instance.new("Weld")
  4450.  
  4451. c[i].Humanoid.Health = 0
  4452.  
  4453. wait(.01)
  4454.  
  4455. w.Parent = c[i].Head
  4456.  
  4457. w.Part0 = w.Parent
  4458.  
  4459. w.Part1 = c[i].Torso
  4460.  
  4461. w.C1 = CFrame.new(0,1.5,0)
  4462.  
  4463. w1 = Instance.new("Weld")
  4464.  
  4465. w1.Parent = c[i].Torso
  4466.  
  4467. w1.Part0 = w1.Parent
  4468.  
  4469. w1.Part1 = c[i]["Right Arm"]
  4470.  
  4471. w1.C1 = CFrame.new(1.5,0,0)
  4472.  
  4473. w2 = Instance.new("Weld")
  4474.  
  4475. w2.Parent = c[i].Torso
  4476.  
  4477. w2.Part0 = w2.Parent
  4478.  
  4479. w2.Part1 = c[i]["Left Arm"]
  4480.  
  4481. w2.C1 = CFrame.new(-1.5,0,0)
  4482.  
  4483. w3 = Instance.new("Weld")
  4484.  
  4485. w3.Parent = c[i].Torso
  4486.  
  4487. w3.Part0 = w3.Parent
  4488.  
  4489. w3.Part1 = c[i]["Left Leg"]
  4490.  
  4491. w3.C1 = CFrame.new(-.5,2,0)
  4492.  
  4493. w4 = Instance.new("Weld")
  4494.  
  4495. w4.Parent = c[i].Torso
  4496.  
  4497. w4.Part0 = w4.Parent
  4498.  
  4499. w4.Part1 = c[i]["Right Leg"]
  4500.  
  4501. w4.C1 = CFrame.new(.5,2,0)
  4502.  
  4503. end
  4504.  
  4505. end
  4506.  
  4507. Victim.Character.Humanoid.Health = 0
  4508.  
  4509. wait(1)
  4510.  
  4511. switch.Transparency = 0
  4512.  
  4513. model.gallowswitch2.Transparency = 1
  4514.  
  4515. wait(4)
  4516.  
  4517. model:remove()
  4518.  
  4519. backup.Parent = game.Workspace
  4520.  
  4521. backup:makeJoints()
  4522.  
  4523. wait(5)
  4524.  
  4525. game.Workspace.Gallows:Destroy()
  4526.  
  4527. end
  4528.  
  4529.  
  4530.  
  4531. Instance.new("ClickDetector", switch)
  4532.  
  4533.  
  4534.  
  4535. connection = switch.ClickDetector.MouseClick:connect(onClick)
  4536.  
  4537. b = model.welder
  4538.  
  4539.  
  4540.  
  4541. function onTouched(part)
  4542.  
  4543. if part.Parent.Humanoid ~= nil then
  4544.  
  4545. w = Instance.new("Weld")
  4546.  
  4547. w.Parent = part.Parent.Head
  4548.  
  4549. w.Part0 = w.Parent
  4550.  
  4551. w.Part1 = model.hanger
  4552.  
  4553. end
  4554.  
  4555. end
  4556.  
  4557.  
  4558.  
  4559. connection = b.Touched:connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement