AlphaSploit

KKK

Feb 22nd, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 97.28 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2.  
  3.  
  4. function infect(char)
  5. repeat wait() until char
  6. local torso = char["Torso"]
  7. repeat wait() until torso
  8. local Head = char:FindFirstChild("Head")
  9. if Head then
  10. if Head:FindFirstChild("face") then
  11. Head.face.Texture = "http://www.roblox.com/asset/?id=76690153"
  12. end
  13. end
  14. for i,v in pairs(char:GetChildren()) do
  15. if v:IsA("Shirt") or v:IsA("Pants") then
  16. v:Destroy()
  17. elseif v:IsA("BasePart") then
  18. v.BrickColor = BrickColor.new("Dirt brown")
  19. v.Changed:connect(function(prop)
  20. if prop == "BrickColor" then
  21. print("gi")
  22. end
  23. end)
  24.  
  25. end
  26. end
  27. local RA, LA, LL, RL, Head = torso["Right Shoulder"],torso["Left Shoulder"],torso["Left Hip"],torso["Right Hip"],torso["Neck"]
  28. local sound = Instance.new("Sound", torso)
  29. sound.SoundId = "rbxassetid://0"
  30. sound.Volume = 0
  31. sound.Looped = true
  32. sound:Play()
  33.  
  34. end
  35.  
  36. for i,v in pairs(game.Players:GetPlayers()) do
  37. infect(v.Character)
  38. end
  39.  
  40. wait(1)
  41. --------------------------------
  42. local p = game.Players.LocalPlayer
  43. local char = p.Character
  44. local mouse = p:GetMouse()
  45. local larm = char["Left Arm"]
  46. local rarm = char["Right Arm"]
  47. local lleg = char["Left Leg"]
  48. local rleg = char["Right Leg"]
  49. local hed = char.Head
  50. local torso = char.Torso
  51. local hum = char.Humanoid
  52. local cam = game.Workspace.CurrentCamera
  53. local root = char.HumanoidRootPart
  54. local deb = false
  55. local shot = 0
  56. local debris=game:service"Debris"
  57. local l = game:GetService("Lighting")
  58. local rs = game:GetService("RunService").RenderStepped
  59. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  60. math.randomseed(os.time())
  61. for i,v in pairs(char:children()) do
  62. if v:IsA("Hat") then
  63. v:Destroy()
  64. end
  65. end
  66. for i,v in pairs (hed:GetChildren()) do
  67. if v:IsA("Sound") then
  68. v:Destroy()
  69. end
  70. end
  71. ----------------------------------------------------
  72. z = Instance.new("Sound", torso)
  73. z.SoundId = "rbxassetid://0" -- Put Music ID Here.
  74. z.Looped = true
  75. z.Volume = 1
  76. wait(.1)
  77. z:Play()
  78. -----------------------------------------------------
  79. Debounces = {
  80. CanAttack = true;
  81. NoIdl = false;
  82. Slashing = false;
  83. Slashed = false;
  84. RPunch = false;
  85. RPunched = false;
  86. LPunch = false;
  87. LPunched = false;
  88. }
  89. local Touche = {char.Name, }
  90. ----------------------------------------------------
  91. hed.face.Texture = "rbxassetid://0"
  92. char["Body Colors"].HeadColor = BrickColor.new("White")
  93. char["Body Colors"].TorsoColor = BrickColor.new("White")
  94. char["Body Colors"].LeftArmColor = BrickColor.new("White")
  95. char["Body Colors"].RightArmColor = BrickColor.new("White")
  96. char["Body Colors"].LeftLegColor = BrickColor.new("White")
  97. char["Body Colors"].RightLegColor = BrickColor.new("White")
  98. ----------------------------------------------------
  99. ypcall(function()
  100. char.Shirt:Destroy()
  101. char.Pants:Destroy()
  102. shirt = Instance.new("Shirt", char)
  103. shirt.Name = "Shirt"
  104. pants = Instance.new("Pants", char)
  105. pants.Name = "Pants"
  106. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=0"
  107. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=0"
  108. end)
  109. ----------------------------------------------------
  110. local LocalPlayer = game:GetService("Players").LocalPlayer
  111. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
  112.  
  113. Character.Head.Transparency = 1
  114.  
  115. local Orb = Instance.new("Part", Character)
  116. Orb.Name = "Orb"
  117.  
  118. Orb.CanCollide = false
  119. Orb.BrickColor = BrickColor.new("White")
  120. Orb.Transparency = 0
  121. Orb.Material = "Plastic"
  122. Orb.Size = Vector3.new(1, 1, 1)
  123.  
  124.  
  125. local M = Instance.new("SpecialMesh")
  126. M.Parent = Orb
  127. M.MeshId = "http://www.roblox.com/asset/?id=1033714"
  128. M.Scale = Vector3.new(0.8, 3, 0.8)
  129.  
  130.  
  131. local Weld = Instance.new("Weld", Orb)
  132. Weld.Part0 = Character.Head
  133. Weld.Part1 = Orb
  134. Weld.C1 = CFrame.new(0, -0.5, 0)
  135. --------------------------------------------------------
  136. local Orbd = Instance.new("Part", Character)
  137. Orbd.Name = "Orbd"
  138. Orbd.Shape = Enum.PartType.Ball
  139. Orbd.CanCollide = false
  140. Orbd.BrickColor = BrickColor.new("Really black")
  141. Orbd.Transparency = 0
  142. Orbd.Material = "Neon"
  143. Orbd.Size = Vector3.new(0.1, 0.1, 0.1)
  144. Orbd.TopSurface = Enum.SurfaceType.Smooth
  145. Orbd.BottomSurface = Enum.SurfaceType.Smooth
  146.  
  147. local Weld = Instance.new("Weld", Orbd)
  148. Weld.Part0 = Character.Head
  149. Weld.Part1 = Orbd
  150. Weld.C1 = CFrame.new(-0.2, -0.2, 0.5)
  151.  
  152. --------------------------------------------------------
  153. local Orbvc = Instance.new("Part", Character)
  154. Orbvc.Name = "Orbvc"
  155. Orbvc.Shape = Enum.PartType.Ball
  156. Orbvc.CanCollide = false
  157. Orbvc.BrickColor = BrickColor.new("Really black")
  158. Orbvc.Transparency = 0
  159. Orbvc.Material = "Neon"
  160. Orbvc.Size = Vector3.new(0.1, 0.1, 0.1)
  161. Orbvc.TopSurface = Enum.SurfaceType.Smooth
  162. Orbvc.BottomSurface = Enum.SurfaceType.Smooth
  163.  
  164. local Weld = Instance.new("Weld", Orbvc)
  165. Weld.Part0 = Character.Head
  166. Weld.Part1 = Orbvc
  167. Weld.C1 = CFrame.new(0.2, -0.2, 0.5)
  168. ---------------------
  169. local LocalPlayer = game:GetService("Players").LocalPlayer
  170. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
  171.  
  172. Character.Head.Transparency = 1
  173.  
  174. local Camisa = Instance.new("Part", Character)
  175. Camisa.Name = "Camisa"
  176.  
  177. Camisa.CanCollide = false
  178. Camisa.BrickColor = BrickColor.new("Institutional white")
  179. Camisa.Transparency = 1
  180. Camisa.Material = "Plastic"
  181. Camisa.Size = Vector3.new(1.5, 1.5, 1)
  182.  
  183. d = Instance.new("Decal",Camisa)
  184. d.Texture = "http://www.roblox.com/asset/?id=14872518"
  185. d.Face = "Front"
  186.  
  187.  
  188. local Weld = Instance.new("Weld", Camisa)
  189. Weld.Part0 = Character.Torso
  190. Weld.Part1 = Camisa
  191. Weld.C1 = CFrame.new(0, 0, 0)
  192. ----------------------------------------
  193. local p = game.Players.LocalPlayer
  194. local char = p.Character
  195. local mouse = p:GetMouse()
  196. local larm = char["Left Arm"]
  197. local rarm = char["Right Arm"]
  198. local lleg = char["Left Leg"]
  199. local rleg = char["Right Leg"]
  200. local hed = char.Head
  201. local torso = char.Torso
  202. local hum = char.Humanoid
  203. local cam = game.Workspace.CurrentCamera
  204. local root = char.HumanoidRootPart
  205. local rj = root.RootJoint
  206. local deb = false
  207. local shot = 0
  208. local stanceToggle = "Idle1"
  209. local l = game:GetService("Lighting")
  210. local rs = game:GetService("RunService").RenderStepped
  211. local hb = game:GetService("RunService").Heartbeat
  212. local Stepped = game:GetService("RunService").Stepped
  213. math.randomseed(os.time())
  214. hum.JumpPower = 100
  215. hed.face:Remove()
  216. ----------------------------------------------------
  217. fat = Instance.new("BindableEvent",script)
  218. fat.Name = "Heartbeat"
  219.  
  220. script:WaitForChild("Heartbeat")
  221.  
  222. frame = 1/30
  223. tf = 0
  224. 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.
  225. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  226. lastframe = tick()
  227. script.Heartbeat:Fire() --ayy lmao
  228.  
  229. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  230. tf = tf + s
  231. if tf >= frame then
  232. if allowframeloss then
  233. script.Heartbeat:Fire()
  234. lastframe=tick()
  235. else
  236. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  237. for i=1, math.floor(tf/frame) do
  238. script.Heartbeat:Fire()
  239. end
  240. lastframe=tick()
  241. end
  242. if tossremainder then
  243. tf = 0
  244. else
  245. tf = tf - frame * math.floor(tf/frame)
  246. end
  247. end
  248. end)
  249. ----------------------------------------------------
  250. for i,v in pairs(char:children()) do
  251. if v:IsA("Hat") then
  252. v:Destroy()
  253. end
  254. end
  255. for i,v in pairs (hed:GetChildren()) do
  256. if v:IsA("Sound") then
  257. v:Destroy()
  258. end
  259. end
  260. ----------------------------------------------------
  261. Debounces = {
  262. CanAttack = true;
  263. CanJoke = true;
  264. NoIdl = false;
  265. Slashing = false;
  266. Slashed = false;
  267. ks = false;
  268. }
  269. ----------------------------------------------------
  270. function weld5(part0, part1, c0, c1)
  271. weeld=Instance.new("Weld", part0)
  272. weeld.Part0=part0
  273. weeld.Part1=part1
  274. weeld.C0=c0
  275. weeld.C1=c1
  276. return weeld
  277. end
  278. ----------------------------------------------------
  279. function NewPart(prnt,siz,cf,trans,anc,mat,col)
  280. local prt=Instance.new("Part")
  281. prt.Parent=prnt
  282. prt.Name="Part"
  283. prt.Size=siz
  284. prt.CanCollide=false
  285. prt.Anchored=anc
  286. prt.Locked=true
  287. prt.Transparency = trans
  288. prt.TopSurface=10
  289. prt.BottomSurface=10
  290. prt.FrontSurface=10
  291. prt.BackSurface=10
  292. prt.LeftSurface=10
  293. prt.RightSurface=10
  294. prt:BreakJoints()
  295. prt.CFrame=cf or CFrame.new(30,10,30)
  296. prt.Material=mat
  297. prt.BrickColor=BrickColor.new(col)
  298. m=Instance.new("SpecialMesh",prt)
  299. m.MeshType=6
  300. return prt
  301. end
  302. ----------------------------------------------------
  303. function lerp(a, b, t) -- Linear interpolation
  304. return a + (b - a)*t
  305. end
  306.  
  307. function slerp(a, b, t) --Spherical interpolation
  308. dot = a:Dot(b)
  309. if dot > 0.99999 or dot < -0.99999 then
  310. return t <= 0.5 and a or b
  311. else
  312. r = math.acos(dot)
  313. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  314. end
  315. end
  316.  
  317. function matrixInterpolate(a, b, t)
  318. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  319. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  320. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  321. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  322. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  323. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  324. local t = v1:Dot(v2)
  325. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  326. return CFrame.new()
  327. end
  328. return CFrame.new(
  329. v0.x, v0.y, v0.z,
  330. v1.x, v1.y, v1.z,
  331. v2.x, v2.y, v2.z,
  332. v3.x, v3.y, v3.z)
  333. end
  334. ----------------------------------------------------
  335. function genWeld(a,b)
  336. local w = Instance.new("Weld",a)
  337. w.Part0 = a
  338. w.Part1 = b
  339. return w
  340. end
  341. function weld(a, b)
  342. local weld = Instance.new("Weld")
  343. weld.Name = "W"
  344. weld.Part0 = a
  345. weld.Part1 = b
  346. weld.C0 = a.CFrame:inverse() * b.CFrame
  347. weld.Parent = a
  348. return weld;
  349. end
  350. ----------------------------------------------------
  351. function Lerp(c1,c2,al)
  352. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  353. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  354. for i,v in pairs(com1) do
  355. com1[i] = v+(com2[i]-v)*al
  356. end
  357. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  358. end
  359. ----------------------------------------------------
  360. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  361. local wld = Instance.new("Weld", wp1)
  362. wld.Part0 = wp0
  363. wld.Part1 = wp1
  364. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  365. end
  366. ----------------------------------------------------
  367. newWeld(torso, larm, -1.5, 0.5, 0)
  368. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  369. newWeld(torso, rarm, 1.5, 0.5, 0)
  370. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  371. newWeld(torso, hed, 0, 1.5, 0)
  372. newWeld(torso, lleg, -0.5, -1, 0)
  373. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  374. newWeld(torso, rleg, 0.5, -1, 0)
  375. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  376. newWeld(root, torso, 0, -1, 0)
  377. torso.Weld.C1 = CFrame.new(0, -1, 0)
  378. ----------------------------------------------------
  379. z = Instance.new("Sound",char) --Smile: print("â?º")
  380. z.SoundId = "rbxassetid://0"--410761150, 411368002
  381. z.Looped = true
  382. z.Pitch = 1
  383. z.Volume = 1
  384. wait(0.1)
  385. z:Play()
  386. ----------------------------------------------------
  387. New = function(Object, Parent, Name, Data)
  388. local Object = Instance.new(Object)
  389. for Index, Value in pairs(Data or {}) do
  390. Object[Index] = Value
  391. end
  392. Object.Parent = Parent
  393. Object.Name = Name
  394. return Object
  395. end
  396. ----------------------------------------------------
  397. --Left Arm
  398. m = Instance.new("Model")
  399. m.Name = "LeftArm"
  400.  
  401. p4 = Instance.new("Part", m)
  402. p4.BrickColor = BrickColor.new("Really black")
  403. p4.Material = Enum.Material.SmoothPlastic
  404. p4.Name = "LeftArmPlate"
  405. p4.Size = Vector3.new(1, 2, 1)
  406. p4.Transparency = 1
  407. p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  408. p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  409. p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  410. p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  411. p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  412. p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  413. b4 = Instance.new("SpecialMesh", p4)
  414. b4.MeshType = Enum.MeshType.Brick
  415. b4.Name = "Mesh"
  416. b4.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  417.  
  418.  
  419.  
  420.  
  421.  
  422. w1 = Instance.new("Weld", p1)
  423. w1.Name = "Part_Weld"
  424. w1.Part0 = p1
  425. w1.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  426. w1.Part1 = p2
  427. w1.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  428. w2 = Instance.new("Weld", p2)
  429. w2.Name = "Part_Weld"
  430. w2.Part0 = p2
  431. w2.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  432. w2.Part1 = p3
  433. w2.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  434. w3 = Instance.new("Weld", p3)
  435. w3.Name = "LeftArmPlate_Weld"
  436. w3.Part0 = p3
  437. w3.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  438. w3.Part1 = p4
  439. w3.C1 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  440. w4 = Instance.new("Weld", p4)
  441. w4.Name = "Part_Weld"
  442. w4.Part0 = p4
  443. w4.C0 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  444. w4.Part1 = p5
  445. w4.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  446. w5 = Instance.new("Weld", p5)
  447. w5.Name = "Part_Weld"
  448. w5.Part0 = p5
  449. w5.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  450. w5.Part1 = p6
  451. w5.C1 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  452. w6 = Instance.new("Weld", p6)
  453. w6.Name = "Part_Weld"
  454. w6.Part0 = p6
  455. w6.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  456. w6.Part1 = p7
  457. w6.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  458. w7 = Instance.new("Weld", p7)
  459. w7.Name = "Part_Weld"
  460. w7.Part0 = p7
  461. w7.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  462. w7.Part1 = p8
  463. w7.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  464. w8 = Instance.new("Weld", p8)
  465. w8.Name = "Part_Weld"
  466. w8.Part0 = p8
  467. w8.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  468. w8.Part1 = p9
  469. w8.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  470. w9 = Instance.new("Weld", p9)
  471. w9.Name = "Part_Weld"
  472. w9.Part0 = p9
  473. w9.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  474. w9.Part1 = p10
  475. w9.C1 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  476. w10 = Instance.new("Weld", p10)
  477. w10.Name = "Part_Weld"
  478. w10.Part0 = p10
  479. w10.C0 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  480. w10.Part1 = p11
  481. w10.C1 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  482. w11 = Instance.new("Weld", p11)
  483. w11.Name = "Part_Weld"
  484. w11.Part0 = p11
  485. w11.C0 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  486. w11.Part1 = p12
  487. w11.C1 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  488. w12 = Instance.new("Weld", p12)
  489. w12.Name = "Part_Weld"
  490. w12.Part0 = p12
  491. w12.C0 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  492. w12.Part1 = p13
  493. w12.C1 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  494. w13 = Instance.new("Weld", p13)
  495. w13.Name = "Part_Weld"
  496. w13.Part0 = p13
  497. w13.C0 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  498. w13.Part1 = p14
  499. w13.C1 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  500. w14 = Instance.new("Weld", p14)
  501. w14.Name = "Part_Weld"
  502. w14.Part0 = p14
  503. w14.C0 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  504. w14.Part1 = p15
  505. w14.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  506. w15 = Instance.new("Weld", p15)
  507. w15.Name = "Part_Weld"
  508. w15.Part0 = p15
  509. w15.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  510. w15.Part1 = p16
  511. 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)
  512.  
  513. m.Parent = larm
  514. m:MakeJoints()
  515. ----------------------------------------------------
  516. local cor = Instance.new("Part", larm.LeftArm)
  517. cor.Name = "Thingy"
  518. cor.Locked = true
  519. cor.BottomSurface = 0
  520. cor.CanCollide = false
  521. cor.Size = Vector3.new(1, 1, 1)
  522. cor.Transparency = 1
  523. cor.TopSurface = 0
  524. corw = Instance.new("Weld", cor)
  525. corw.Part0 = larm
  526. corw.Part1 = cor
  527. corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  528. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  529. weld1 = Instance.new("Weld", larm.LeftArm)
  530. weld1.Part0 = cor
  531. weld1.Part1 = larm.LeftArm.LeftArmPlate
  532. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  533. --Right Arm
  534. m2 = Instance.new("Model")
  535. m2.Name = "RightArm"
  536.  
  537. p7 = Instance.new("Part", m2)
  538. p7.BrickColor = BrickColor.new("Really black")
  539. p7.Material = Enum.Material.SmoothPlastic
  540. p7.Transparency = 1
  541. p7.Name = "RightArmPlate"
  542. p7.CFrame = CFrame.new(3.5, -9.54201603, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  543. p7.FormFactor = Enum.FormFactor.Symmetric
  544. p7.Size = Vector3.new(1, 2, 1)
  545. p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  546. p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  547. p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  548. p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  549. p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  550. p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  551. b7 = Instance.new("SpecialMesh", p7)
  552. b7.MeshType = Enum.MeshType.Brick
  553. b7.Name = "Mesh"
  554. b7.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  555.  
  556.  
  557. w1 = Instance.new("Weld", p1)
  558. w1.Name = "Part_Weld"
  559. w1.Part0 = p1
  560. w1.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  561. w1.Part1 = p2
  562. w1.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  563. w2 = Instance.new("Weld", p2)
  564. w2.Name = "Part_Weld"
  565. w2.Part0 = p2
  566. w2.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  567. w2.Part1 = p3
  568. w2.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  569. w3 = Instance.new("Weld", p3)
  570. w3.Name = "Part_Weld"
  571. w3.Part0 = p3
  572. w3.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  573. w3.Part1 = p4
  574. w3.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  575. w4 = Instance.new("Weld", p4)
  576. w4.Name = "Part_Weld"
  577. w4.Part0 = p4
  578. w4.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  579. w4.Part1 = p5
  580. w4.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  581. w5 = Instance.new("Weld", p5)
  582. w5.Name = "Part_Weld"
  583. w5.Part0 = p5
  584. w5.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  585. w5.Part1 = p6
  586. w5.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  587. w6 = Instance.new("Weld", p6)
  588. w6.Name = "RightArmPlate_Weld"
  589. w6.Part0 = p6
  590. w6.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  591. w6.Part1 = p7
  592. w6.C1 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  593. w7 = Instance.new("Weld", p7)
  594. w7.Name = "Part_Weld"
  595. w7.Part0 = p7
  596. w7.C0 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  597. w7.Part1 = p8
  598. w7.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  599. w8 = Instance.new("Weld", p8)
  600. w8.Name = "Part_Weld"
  601. w8.Part0 = p8
  602. w8.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  603. w8.Part1 = p9
  604. w8.C1 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  605. w9 = Instance.new("Weld", p9)
  606. w9.Name = "Part_Weld"
  607. w9.Part0 = p9
  608. w9.C0 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  609. w9.Part1 = p10
  610. w9.C1 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  611. w10 = Instance.new("Weld", p10)
  612. w10.Name = "Part_Weld"
  613. w10.Part0 = p10
  614. w10.C0 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  615. w10.Part1 = p11
  616. w10.C1 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  617. w11 = Instance.new("Weld", p11)
  618. w11.Name = "Part_Weld"
  619. w11.Part0 = p11
  620. w11.C0 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  621. w11.Part1 = p12
  622. w11.C1 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  623. w12 = Instance.new("Weld", p12)
  624. w12.Name = "Part_Weld"
  625. w12.Part0 = p12
  626. w12.C0 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  627. w12.Part1 = p13
  628. w12.C1 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  629. w13 = Instance.new("Weld", p13)
  630. w13.Name = "Part_Weld"
  631. w13.Part0 = p13
  632. w13.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  633. w13.Part1 = p14
  634. w13.C1 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  635. w14 = Instance.new("Weld", p14)
  636. w14.Name = "Part_Weld"
  637. w14.Part0 = p14
  638. w14.C0 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  639. w14.Part1 = p15
  640. w14.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  641. w15 = Instance.new("Weld", p15)
  642. w15.Name = "Part_Weld"
  643. w15.Part0 = p15
  644. w15.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  645. w15.Part1 = p16
  646. w15.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  647. w16 = Instance.new("Weld", p16)
  648. w16.Name = "Part_Weld"
  649. w16.Part0 = p16
  650. w16.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  651. w16.Part1 = p17
  652. w16.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  653. w17 = Instance.new("Weld", p17)
  654. w17.Name = "Part_Weld"
  655. w17.Part0 = p17
  656. w17.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  657. w17.Part1 = p18
  658. w17.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  659. w18 = Instance.new("Weld", p18)
  660. w18.Name = "Part_Weld"
  661. w18.Part0 = p18
  662. w18.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  663. w18.Part1 = p19
  664. w18.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  665. m2.Parent = rarm
  666. m2:MakeJoints()
  667. ----------------------------------------------------
  668. local cor2 = Instance.new("Part", rarm.RightArm)
  669. cor2.Name = "Thingy"
  670. cor2.Locked = true
  671. cor2.BottomSurface = 0
  672. cor2.CanCollide = false
  673. cor2.Size = Vector3.new(1, 1, 1)
  674. cor2.Transparency = 1
  675. cor2.TopSurface = 0
  676. corw2 = Instance.new("Weld", cor2)
  677. corw2.Part0 = rarm
  678. corw2.Part1 = cor2
  679. corw2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  680. corw2.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  681. weld2 = Instance.new("Weld", rarm.RightArm)
  682. weld2.Part0 = cor2
  683. weld2.Part1 = rarm.RightArm.RightArmPlate
  684. weld2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  685.  
  686.  
  687. --Zyrodoxa
  688. m8 = Instance.new("Model")
  689. m8.Name = "Zyrodoxa"
  690.  
  691. p16 = Instance.new("Part", m8)
  692. p16.BrickColor = BrickColor.new("Instutional white")
  693. p16.Material = Enum.Material.Metal
  694. p16.Name = "Handle"
  695. 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)
  696. p16.CanCollide = false
  697. p16.Locked = true
  698. p16.FormFactor = Enum.FormFactor.Custom
  699. p16.Size = Vector3.new(0, 0, 0)
  700. p16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  701. p16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  702. p16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  703. p16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  704. p16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  705. p16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  706. b16 = Instance.new("BlockMesh", p16)
  707. b16.Name = "Mesh"
  708. b16.Scale = Vector3.new(0, 0, 0)
  709.  
  710. w16 = Instance.new("Weld", p16)
  711. w16.Name = "Block_Weld"
  712. w16.Part0 = p16
  713. 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)
  714. w16.Part1 = p17
  715. 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)
  716.  
  717. m8.Parent = rarm
  718. m8:MakeJoints()
  719. ----------------------------------------------------
  720. local cor8 = Instance.new("Part", rarm.Zyrodoxa)
  721. cor8.Name = "Thingy"
  722. cor8.Locked = true
  723. cor8.BottomSurface = 0
  724. cor8.CanCollide = false
  725. cor8.Size = Vector3.new(1, 1, 1)
  726. cor8.Transparency = 1
  727. cor8.TopSurface = 0
  728. corw8 = Instance.new("Weld", cor8)
  729. corw8.Part0 = rarm
  730. corw8.Part1 = cor8
  731. corw8.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180))
  732. corw8.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  733. weld8 = Instance.new("Weld", rarm.Zyrodoxa)
  734. weld8.Part0 = cor8
  735. weld8.Part1 = rarm.Zyrodoxa.Handle
  736. weld8.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  737. ----------------------------------------------------
  738. models = {m,m2,m3,m4,m5,m6,m7,m8}
  739. parts = {}
  740. Stepped:connect(function()
  741. for i,v in pairs(models) do
  742. for _, a in pairs(v:GetChildren()) do
  743. if v:IsA("Part") and v.Name ~= "Thingy" then
  744. table.insert(parts, a)
  745. for i,v in pairs(parts) do
  746. v.CanCollide = false
  747. end
  748. end
  749. end
  750. end
  751. end)
  752. ----------------------------------------------------
  753. local animpose = "Idle1"
  754. local lastanimpose = "Idle1"
  755. local grab = false
  756. local Smooth = 1
  757. local sine = 0
  758. local change = 1
  759. local val = 0
  760. local ffing = false
  761. ----------------------------------------------------
  762. --[[local hitbox = rarm.Zyrodoxa.Hitbox--Zyrodoxa is the name of the dagger k
  763.  
  764. function FindHumanoids()
  765. local function c_region(Position, Size)
  766. local SizeOffset = Size/2
  767. local Point1 = Position - SizeOffset
  768. local Point2 = Position + SizeOffset
  769. local a = Instance.new("Part", workspace)
  770. a.Anchored = true
  771. a.Size = Size
  772. a.Position = Position
  773. print("Hey!, I'm making a part!")
  774. return Region3.new(Point1, Point2)
  775. end
  776.  
  777. local a = c_region((hitbox.CFrame * CFrame.new(0, -1.285, 0)), Vector3.new(0.22, 0.6425, 1.22))
  778. local b = c_region((hitbox.CFrame * CFrame.new(0, -0.6425, 0)), Vector3.new(0.22, 0.6425, 1.22))
  779. local c = c_region((hitbox.CFrame * CFrame.new(0, 0.6425, 0)), Vector3.new(0.22, 0.6425, 1.22))
  780. local d = c_region((hitbox.CFrame * CFrame.new(0, 1.285, 0)), Vector3.new(0.22, 0.6425, 1.22))
  781.  
  782. local regions = {a, b, c, d}
  783.  
  784. local found_humanoids = {}
  785. local already_found = {char.Name}
  786.  
  787. for _, region in pairs(regions) do
  788. for _, part in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(region, rarm.Zyrodoxa:GetChildren(), 100)) do
  789. print(part, part.Parent, part.Name) ---nope
  790. if part.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.ClassName == "Model" and not part:isDescendantOf(char) then
  791. local humanoid = part.Parent:FindFirstChild("Humanoid")
  792. local name = humanoid.Parent.Name
  793. local exists = false
  794. for _, n in pairs(already_found) do
  795. if n == name then
  796. exists = true
  797. end
  798. end
  799. if not exists then
  800. table.insert(already_found, name)
  801. table.insert(found_humanoids, humanoid)
  802. end
  803. elseif part.Parent.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.Parent.ClassName == "Model" and not part:isDescendantOf(char) then
  804. local humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
  805. local name = humanoid.Parent.Parent.Name
  806. local exists = false
  807. for _, n in pairs(already_found) do
  808. if n == name then
  809. exists = true
  810. end
  811. end
  812. if not exists then
  813. table.insert(already_found, name)
  814. table.insert(found_humanoids, humanoid)
  815. end
  816. end
  817. end
  818. end
  819. return found_humanoids
  820. end
  821.  
  822. local humanoids = FindHumanoids()
  823. if #humanoids == 0 then
  824. for i, v in pairs(humanoids) do
  825. print(v.Parent.Name)
  826. if Debounces.Slashing == true then
  827. v:TakeDamage(math.random(10,20) * math.random(1,3)) --max 60 damage?
  828. elseif Debounces.Slashing == false then
  829. wait()
  830. end
  831. end
  832. wait(0.3)
  833. end]]--
  834. ----------------------------------------------------
  835. --[[mouse.KeyDown:connect(function(key)
  836. if key == "f" then
  837. if Debounces.CanAttack == true then
  838. Debounces.CanAttack = false
  839. Debounces.NoIdl = true
  840. Debounces.on = true
  841. for i = 1, 20 do
  842. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1.05, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  843. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  844. CR.Joint.C1 = Lerp(CR.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(-4),0,0),0.1)
  845. CR2.Joint.C1 = Lerp(CR2.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  846. CR3.Joint.C1 = Lerp(CR3.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  847. CR4.Joint.C1 = Lerp(CR4.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  848. CR5.Joint.C1 = Lerp(CR5.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
  849. 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)
  850. 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)
  851. 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)
  852. 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)
  853. 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)
  854. 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)
  855. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-6), math.rad(0), 0), 0.1)
  856. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), 0), 0.1)
  857. 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)
  858. 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)
  859. 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)
  860. 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)
  861. if Debounces.on == false then
  862. break
  863. end
  864. fat.Event:wait()
  865. end
  866. end
  867. end
  868. end)]]--
  869. ----------------------------------------------------
  870. mod4 = Instance.new("Model",char)
  871.  
  872. ptez = {0.7, 0.8, 0.9, 1}
  873.  
  874. function FindNearestTorso(Position,Distance,SinglePlayer)
  875. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  876. local List = {}
  877. for i,v in pairs(workspace:GetChildren())do
  878. if v:IsA("Model")then
  879. if v:findFirstChild("Torso")then
  880. if v ~= char then
  881. if(v.Torso.Position -Position).magnitude <= Distance then
  882. table.insert(List,v)
  883. end
  884. end
  885. end
  886. end
  887. end
  888. return List
  889. end
  890.  
  891. function Slam()
  892. local part=Instance.new('Part',mod4)
  893. part.Anchored=true
  894. part.CanCollide=false
  895. part.FormFactor='Custom'
  896. part.Size=Vector3.new(.2,.2,.2)
  897. part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
  898. part.Transparency=.7
  899. part.BrickColor=BrickColor.new('Really black')
  900. mesh=Instance.new('SpecialMesh',part)
  901. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  902. mesh.Scale=Vector3.new(3,3,3)
  903. local part2=Instance.new('Part',mod4)
  904. part2.Anchored=true
  905. part2.CanCollide=false
  906. part2.FormFactor='Custom'
  907. part2.Size=Vector3.new(.2,.2,.2)
  908. part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
  909. part2.Transparency=.7
  910. part2.BrickColor=BrickColor.new('Institutional white')
  911. mesh2=Instance.new('SpecialMesh',part2)
  912. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  913. mesh2.Scale=Vector3.new(3,1.5,3)
  914. x = Instance.new("Sound",larm)
  915. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  916. x.Pitch = ptez[math.random(1,#ptez)]
  917. x.Volume = 1
  918. wait(.1)
  919. x1 = Instance.new("Sound",larm)
  920. x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  921. x1.Pitch = ptez[math.random(1,#ptez)]
  922. x1.Volume = 1
  923. wait(.1)
  924. x:Play()
  925. x1:Play()
  926. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  927. if v:FindFirstChild('Humanoid') then
  928. v.Humanoid:TakeDamage(math.random(30,45))
  929. end
  930. end
  931. coroutine.resume(coroutine.create(function()
  932. for i=0,0.62,0.13 do
  933. wait()
  934. part.CFrame=part.CFrame
  935. part.Transparency=i
  936. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  937. part2.CFrame=part2.CFrame
  938. part2.Transparency=i
  939. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  940. end
  941. part.Parent=nil
  942. part2.Parent=nil
  943. x:Destroy()
  944. end))
  945. end
  946. ----------------------------------------------------
  947. wPart = function(x,y,z,color,tr,cc,an,parent)
  948. local wp = Instance.new('WedgePart',parent or Weapon)
  949. wp.formFactor = 'Custom'
  950. wp.Size = Vector3.new(x,y,z)
  951. wp.BrickColor = BrickColor.new(color)
  952. wp.CanCollide = cc
  953. wp.Transparency = tr
  954. wp.Anchored = an
  955. wp.TopSurface,wp.BottomSurface = 0,0
  956. return wp
  957. end
  958.  
  959. Mesh = function(par,num,x,y,z)
  960. local msh = _
  961. if num == 1 then
  962. msh = Instance.new("CylinderMesh",par)
  963. elseif num == 2 then
  964. msh = Instance.new("SpecialMesh",par)
  965. msh.MeshType = 3
  966. elseif num == 3 then
  967. msh = Instance.new("BlockMesh",par)
  968. elseif num == 4 then
  969. msh = Instance.new("SpecialMesh",par)
  970. msh.MeshType = "Torso"
  971. elseif type(num) == 'string' then
  972. msh = Instance.new("SpecialMesh",par)
  973. msh.MeshId = num
  974. end
  975. msh.Scale = Vector3.new(x,y,z)
  976. return msh
  977. end
  978.  
  979. local function CFrameFromTopBack(at, top, back)
  980. local right = top:Cross(back)
  981. return CFrame.new(at.x, at.y, at.z,
  982. right.x, top.x, back.x,
  983. right.y, top.y, back.y,
  984. right.z, top.z, back.z)
  985. end
  986.  
  987. function Triangle(a, b, c)
  988. local edg1 = (c-a):Dot((b-a).unit)
  989. local edg2 = (a-b):Dot((c-b).unit)
  990. local edg3 = (b-c):Dot((a-c).unit)
  991. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  992. a, b, c = a, b, c
  993. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  994. a, b, c = b, c, a
  995. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  996. a, b, c = c, a, b
  997. else
  998. print("unreachable")
  999. end
  1000. local len1 = (c-a):Dot((b-a).unit)
  1001. local len2 = (b-a).magnitude - len1
  1002. local width = (a + (b-a).unit*len1 - c).magnitude
  1003. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1004. local list = {}
  1005. if len1 > 0.01 then
  1006. local w1 = wPart(0,0,0,'Institutional white',0.5,false,true,char)
  1007. local sz = Vector3.new(0.2, width, len1)
  1008. w1.Size = sz
  1009. local sp = Mesh(w1,2,0,0,0)
  1010. sp.MeshType='Wedge'
  1011. sp.Scale=Vector3.new(0,1,1)*sz/w1.Size
  1012. w1:BreakJoints()
  1013. w1.Anchored = true
  1014. w1.Transparency = 0.7
  1015. Spawn(function()
  1016. for i=0,1,0.1 do
  1017. fat.Event:wait()
  1018. w1.Transparency=w1.Transparency+0.03
  1019. end
  1020. end)
  1021. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1022. table.insert(list,w1)
  1023. end
  1024. if len2 > 0.01 then
  1025. local w2 = wPart(0,0,0,'Institutional white',0.5,false,true,char)
  1026. local sz = Vector3.new(0.2, width, len2)
  1027. w2.Size = sz
  1028. local sp = Mesh(w2,2,0,0,0)
  1029. sp.MeshType='Wedge'
  1030. sp.Scale=Vector3.new(0,1,1)*sz/w2.Size
  1031. w2:BreakJoints()
  1032. w2.Anchored = true
  1033. w2.Transparency = 0.7
  1034. Spawn(function()
  1035. for i=0,1,0.1 do
  1036. fat.Event:wait()
  1037. w2.Transparency=w2.Transparency+0.03
  1038. end
  1039. end)
  1040. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1041. table.insert(list,w2)
  1042. end
  1043. return unpack(list)
  1044. end
  1045.  
  1046. function trail(p,t,h)
  1047. Spawn(function()
  1048. local blcf = p.CFrame
  1049. local scfr = blcf
  1050. for i=1,t do
  1051. local blcf = p.CFrame
  1052. if scfr and (p.Position-scfr.p).magnitude > .1 then
  1053. 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)
  1054. if a then game.Debris:AddItem(a,1) end
  1055. if b then game.Debris:AddItem(b,1) end
  1056. 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)
  1057. if a then game.Debris:AddItem(a,1) end
  1058. if b then game.Debris:AddItem(b,1) end
  1059. scfr = blcf
  1060. elseif not scfr then
  1061. scfr = blcf
  1062. end
  1063. fat.Event:wait()
  1064. end
  1065. scfr=nil
  1066. end)
  1067. end
  1068. --trail(char.Sword.Blade,1e1000,5)
  1069. ----------------------------------------------------
  1070. function Dmg()
  1071. local partofdeath = rarm.Zyrodoxa.Hitbox
  1072. local function CreateRegion3FromLocAndSize(Position, Size)
  1073. local SizeOffset = Size/2
  1074. local Point1 = Position - SizeOffset
  1075. local Point2 = Position + SizeOffset
  1076. return Region3.new(Point1, Point2)
  1077. end
  1078. local reg = CreateRegion3FromLocAndSize(partofdeath.Position, partofdeath.Size)
  1079. for i, v in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(reg, char:GetChildren(), 100)) do
  1080. Spawn(function()
  1081. if Debounces.Slashing == true and Debounces.Slashed == false then
  1082. Debounces.Slashed = true
  1083. ypcall(function()
  1084. local humanoid = v.Parent:FindFirstChild("Humanoid") or v.Parent.Parent:FindFirstChild("Humanoid")
  1085. humanoid:TakeDamage(math.random(10,18))
  1086. end)
  1087. wait(.4)
  1088. Debounces.Slashed = false
  1089. end
  1090. end)
  1091. end
  1092. end
  1093. ----------------------------------------------------
  1094. pts = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  1095. ptz = {0.7, 0.8, 0.9, 1}
  1096. idz = {"161006212", "161006195"}
  1097. function attackone()
  1098. for i = 1, 13 do
  1099. 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)
  1100. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), math.rad(30), math.rad(0)), 0.8)
  1101. 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)
  1102. 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)
  1103. 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)
  1104. 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)
  1105. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(-50),0), 0.5)
  1106. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.5)
  1107. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.7)
  1108. 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)
  1109. 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)
  1110. 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)
  1111. 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)
  1112. 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)
  1113. if Debounces.on == false then
  1114. break
  1115. end
  1116. fat.Event:wait()
  1117. end
  1118. trail(rarm.Zyrodoxa.Hitbox,20,2)
  1119. Debounces.Slashing = true
  1120. wait(0.2)
  1121. --[[z = Instance.new("Sound", hed)
  1122. z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  1123. z.Pitch = ptz[math.random(1,#ptz)]
  1124. z.Volume = 1
  1125. wait(.01)
  1126. z:Play()]]--
  1127. for i = 1, 14 do
  1128. Dmg()
  1129. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0.2) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.8)
  1130. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-40), math.rad(30), math.rad(0)), 0.8)
  1131. 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)
  1132. 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)
  1133. 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)
  1134. 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)
  1135. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(40),0), 0.7)
  1136. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1137. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(-10), math.rad(-40), 0), 0.4)
  1138. 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)
  1139. 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)
  1140. 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)
  1141. 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)
  1142. 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)
  1143. if Debounces.on == false then break end
  1144. rs:wait()
  1145. end
  1146. Debounces.Slashing = false
  1147. end
  1148. function attacktwo()
  1149. Debounces.Slashing = true
  1150. for i = 1, 14 do
  1151. Dmg()
  1152. corw8.C0 = Lerp(corw8.C0, CFrame.new(-0.37, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 0.4)
  1153. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)), 0.4)
  1154. 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)
  1155. 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)
  1156. 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)
  1157. 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)
  1158. 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)
  1159. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1160. 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)
  1161. 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)
  1162. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.5)
  1163. 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)
  1164. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.5)
  1165. 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)
  1166. if Debounces.on == false then
  1167. break
  1168. end
  1169. rs:wait()
  1170. end
  1171. end
  1172. ----------------------------------------------------
  1173.  
  1174. ----------------------------------------------------
  1175. definition = 5
  1176. bc = {}
  1177. bezierparts = {}
  1178. function NoOutline(Part)
  1179. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1180. end
  1181. function draw(p,d)
  1182. for i=1,d do
  1183. local t = i/d
  1184. bc[i] = p[1]*(1-t)^2+2*p[2]*(1-t)*t+p[3]*t^2
  1185. end
  1186.  
  1187. Spawn(function() fat.Event:wait()
  1188. for i,v in pairs(bezierparts) do
  1189. v.Transparency = 1
  1190. end
  1191. end)
  1192. end
  1193. --local points = {larm.Position,rarn.Position,invisipart.Position}
  1194. --draw(points,definition)
  1195.  
  1196. fat.Event:wait()
  1197.  
  1198. rpart = Instance.new("Part",rarm)
  1199. NoOutline(rpart)
  1200. rpart.Anchored = false
  1201. rpart.Size = Vector3.new(1,1,1)
  1202. rpart.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  1203. rpart.Transparency = 1
  1204. newWeld(rarm, rpart, 0, 0, 0)
  1205. rpart.Weld.C1 = CFrame.new(0, 1.1, 0)
  1206. lpart = Instance.new("Part",larm)
  1207. NoOutline(lpart)
  1208. lpart.Anchored = false
  1209. lpart.Size = Vector3.new(1,1,1)
  1210. lpart.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  1211. lpart.Transparency = 1
  1212. newWeld(larm, lpart, 0, 0, 0)
  1213. lpart.Weld.C1 = CFrame.new(0, 1.1, 0)
  1214. invisipart = Instance.new("Part",torso)
  1215. NoOutline(invisipart)
  1216. invisipart.Anchored = false
  1217. invisipart.Size = Vector3.new(1,1,1)
  1218. invisipart.Transparency = 1
  1219. invisipart.CFrame = torso.CFrame
  1220. newWeld(torso, invisipart, 0, 0, 0)
  1221. invisipart.Weld.C1 = CFrame.new(0, 0, 6)
  1222. table.insert(bezierparts, rpart)
  1223. table.insert(bezierparts, lpart)
  1224. table.insert(bezierparts, invisipart)
  1225. for i = 1, 40 do
  1226. local points = {lpart.Position,invisipart.Position,rpart.Position}
  1227. draw(points,definition)
  1228. --invisipart.Weld.C1 = invisipart.Weld.C1 + Vector3.new(0,0,0.6)
  1229. 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)
  1230. 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)
  1231. 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)
  1232. 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)
  1233. 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)
  1234. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
  1235. 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)
  1236. 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)
  1237. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(0), 0, math.rad(-10)), 0.2)
  1238. 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)
  1239. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(0), 0, math.rad(10)), 0.2)
  1240. 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)
  1241. if Debounces.on == false then
  1242. break
  1243. end
  1244. fat.Event:wait()
  1245. end
  1246. for i,v in pairs(bezierparts) do
  1247. v:Destroy()
  1248. end
  1249. --draw(points,definition)
  1250. if Debounces.CanAttack == false then
  1251. Debounces.CanAttack = true
  1252. Debounces.NoIdl = false
  1253. Debounces.on = false
  1254. end
  1255.  
  1256. ----------------------------------------------------
  1257. pitches = {1}
  1258. IDs = {"139187200"}
  1259. mouse.KeyDown:connect(function(key)
  1260. if key == "q" then
  1261. if Debounces.CanJoke == true then
  1262. Debounces.CanJoke = false
  1263. z = Instance.new("Sound",hed)
  1264. z.SoundId = "rbxassetid://"..IDs[math.random(1,#IDs)]
  1265. z.Pitch = 1
  1266. z.Volume = 1
  1267. z1 = Instance.new("Sound",hed)
  1268. z1.SoundId = z.SoundId
  1269. z1.Pitch = 1
  1270. z1.Volume = 1
  1271. wait()
  1272. z:Play()
  1273. z1:Play()
  1274. wait(3)
  1275. z:Destroy()
  1276. z1:Destroy()
  1277. if Debounces.CanJoke == false then
  1278. Debounces.CanJoke = true
  1279. end
  1280. end
  1281. end
  1282. end)
  1283. ----------------------------------------------------
  1284. mouse.KeyDown:connect(function(key)
  1285. if key == "j" then
  1286. if Debounces.CanJoke == true then
  1287. Debounces.CanJoke = false
  1288. z = Instance.new("Sound",hed)
  1289. z.SoundId = "rbxassetid://415859013"
  1290. z.Pitch = pitches[math.random(1,#pitches)]
  1291. z.Volume = 1
  1292. wait()
  1293. z:Play()
  1294. wait(2)
  1295. z:Destroy()
  1296. if Debounces.CanJoke == false then
  1297. Debounces.CanJoke = true
  1298. end
  1299. end
  1300. end
  1301. end)
  1302. ----------------------------------------------------
  1303. mouse.KeyDown:connect(function(key)
  1304. if key == "r" then
  1305. game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"Hello Nigger", "Red")
  1306. end
  1307. end)
  1308. ----------------------------------------------------
  1309. ----------------------------------------------------
  1310. mouse.KeyDown:connect(function(key)
  1311. if key == "t" then
  1312. game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"I Will Kill You", "Red")
  1313. end
  1314. end)
  1315. ----------------------------------------------------
  1316. Grab = false
  1317. mouse.KeyDown:connect(function(key)
  1318. if key == "e" then
  1319. Debounces.on = true
  1320. Debounces.NoIdl = true
  1321. Debounces.ks = true
  1322. if Grab == false then
  1323. gp = nil
  1324. for i = 1, 20 do
  1325. 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)
  1326. 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)
  1327. 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)
  1328. 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)
  1329. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
  1330. 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)
  1331. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
  1332. 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)
  1333. 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)
  1334. 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)
  1335. 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)
  1336. 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)
  1337. if Debounces.on == false then break end
  1338. fat.Event:wait()
  1339. end
  1340. con1=larm.LeftArm.LeftArmPlate.Touched:connect(function(hit)
  1341. ht = hit.Parent
  1342. for i,v in pairs(ht:GetChildren()) do
  1343. if v:IsA("Part") then
  1344. v.CanCollide = false
  1345. v.CustomPhysicalProperties = PhysicalProperties.new(0.001,0.001,0.001,0.001,0.001)
  1346. end
  1347. end
  1348. hum1=ht:FindFirstChild('Humanoid')
  1349. if hum1 ~= nil then
  1350. if Debounces.ks==true then
  1351. z = Instance.new("Sound",hed)
  1352. z.SoundId = "rbxassetid://169380525"
  1353. z.Volume = 1
  1354. z:Play()
  1355. Debounces.ks=false
  1356. end
  1357. hum1.PlatformStand=true
  1358. hum1:ChangeState'Physics'
  1359. gp = ht
  1360. Grab = true
  1361. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,0.6),CFrame.new(0,0,0))
  1362. asd.Parent = larm
  1363. asd.Name = "asd"
  1364. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
  1365. stanceToggle = "Grabbed"
  1366. --[[elseif hum1 == nil then
  1367. con1:disconnect()
  1368. wait() return]]--
  1369. end
  1370. end)
  1371. for i = 1, 20 do
  1372. 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)
  1373. 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)
  1374. 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)
  1375. 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)
  1376. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.2)
  1377. 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)
  1378. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
  1379. 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)
  1380. 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)
  1381. 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)
  1382. 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)
  1383. 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)
  1384. if Debounces.on == false then break end
  1385. fat.Event:wait()
  1386. end
  1387. con1:disconnect()
  1388. Debounces.on = false
  1389. Debounces.NoIdl = false
  1390. elseif Grab == true then
  1391. Grab = false
  1392. --[[for i = 1, 16 do
  1393. 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)
  1394. 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)
  1395. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3)
  1396. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  1397. 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)
  1398. 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)
  1399. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3)
  1400. if Debounces.on == false then end
  1401. rs:wait()
  1402. end]]--
  1403. for i = 1, 16 do
  1404. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), 0.3)
  1405. 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)
  1406. 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)
  1407. 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)
  1408. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
  1409. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1410. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.3)
  1411. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1412. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3)
  1413. 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)
  1414. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
  1415. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1416. if Debounces.on == false then end
  1417. rs:wait()
  1418. end
  1419. for i = 1, 12 do
  1420. 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)
  1421. 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)
  1422. 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)
  1423. 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)
  1424. 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)
  1425. 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)
  1426. 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)
  1427. 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)
  1428. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.6)
  1429. 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)
  1430. 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)
  1431. 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)
  1432. if Debounces.on == false then end
  1433. rs:wait()
  1434. end
  1435. Slam()
  1436. if gp ~= nil then
  1437. for i,v in pairs(larm:GetChildren()) do
  1438. if v.Name == "asd" and v:IsA("Weld") then
  1439. v:Remove()
  1440. end
  1441. if v:IsA("Part") then
  1442. v.CanCollide = true
  1443. v.CustomPhysicalProperties = PhysicalProperties.new(1,1,1,1,1)
  1444. end
  1445. end
  1446. end
  1447. stanceToggle = "Idle1"
  1448. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  1449. bv.maxForce = Vector3.new(400000, 400000, 400000)
  1450. bv.P = 125000
  1451. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  1452. ht=nil
  1453. Debounces.on = false
  1454. Debounces.NoIdl = false
  1455. elseif ht == nil then wait()
  1456. Grab = false
  1457. Debounces.on = false
  1458. Debounces.NoIdl = false
  1459. end
  1460. end
  1461. end)
  1462. ----------------------------------------------------
  1463. Change = false
  1464. mouse.KeyDown:connect(function(key)
  1465. if key == "n" then
  1466. if Change == false then
  1467. Change = true
  1468. stanceToggle = "Idle2"
  1469. elseif Change == true then
  1470. Change = false
  1471. stanceToggle = "Idle1"
  1472. end
  1473. end
  1474. end)
  1475. ----------------------------------------------------
  1476. mouse.KeyDown:connect(function(key)
  1477. if string.byte(key) == 52 then
  1478. Swing = 2
  1479. char.Humanoid.WalkSpeed = 28
  1480. end
  1481. end)
  1482. mouse.KeyUp:connect(function(key)
  1483. if string.byte(key) == 52 then
  1484. Swing = 1
  1485. char.Humanoid.WalkSpeed = 16
  1486. end
  1487. end)
  1488. ----------------------------------------------------
  1489.  
  1490. jump = false
  1491. rs:connect(function()
  1492. if char.Humanoid.Jump == true then
  1493. jump = true
  1494. else
  1495. jump = false
  1496. end
  1497. char.Humanoid.FreeFalling:connect(function(f)
  1498. if f then
  1499. ffing = true
  1500. else
  1501. ffing = false
  1502. end
  1503. end)
  1504. sine = sine + change
  1505. if jump == true then
  1506. animpose = "Jumping"
  1507. elseif ffing == true then
  1508. animpose = "Freefalling"
  1509. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  1510. animpose = "Idle"
  1511. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  1512. animpose = "Walking"
  1513. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  1514. animpose = "Running"
  1515. end
  1516. RightLeg = CFrame.new(0.5,-1,0)
  1517. LeftLeg = CFrame.new(-0.5,-1,0)
  1518.  
  1519. lefth = (torso.CFrame*LeftLeg)
  1520. righth = (torso.CFrame*RightLeg)
  1521.  
  1522. speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
  1523.  
  1524. TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
  1525.  
  1526. local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
  1527. local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
  1528. if animpose ~= lastanimpose then
  1529. sine = 0
  1530. if Debounces.NoIdl == false then
  1531. if stanceToggle == "Idle1" then
  1532. 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)
  1533. 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)
  1534. 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)
  1535. 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)
  1536. 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)
  1537. 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)
  1538. elseif stanceToggle == "Idle2" then
  1539. 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)
  1540. 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)
  1541. 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)
  1542. 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)
  1543. 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)
  1544. 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)
  1545. end
  1546. fat.Event:wait()
  1547. end
  1548. else
  1549. end
  1550. lastanimpose = animpose
  1551. if Debounces.NoIdl == false then
  1552. if animpose == "Idle" then
  1553. change = 0.5
  1554. if stanceToggle == "Idle1" then
  1555. 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)
  1556. 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)
  1557.  
  1558. 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)
  1559. 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)
  1560. 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)
  1561. 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)
  1562. 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)
  1563. 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)
  1564. 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)
  1565. 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)
  1566. 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)
  1567. 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)
  1568. 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)
  1569. 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)
  1570. elseif stanceToggle == "Idle2" then
  1571.  
  1572. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1573. 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)
  1574. 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)
  1575. 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)
  1576. 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)
  1577. 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)
  1578. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  1579. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  1580. --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)
  1581. 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)
  1582. 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)
  1583. 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)
  1584. 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)
  1585. 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)
  1586. elseif stanceToggle == "Grabbed" then
  1587. grab = true
  1588. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1589. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1590. 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)
  1591. 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)
  1592. 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)
  1593. 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)
  1594. 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)
  1595. 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)
  1596. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  1597. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  1598. 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)
  1599. 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)
  1600. 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)
  1601. 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)
  1602. end
  1603. elseif animpose == "Walking" then
  1604. if stanceToggle == "Grabbed" then
  1605. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1606. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1607. 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)
  1608. 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)
  1609. 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)
  1610. 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)
  1611. 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)
  1612. 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)
  1613. 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)
  1614. --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
  1615. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  1616. 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)
  1617. 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)
  1618. 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)
  1619. 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)
  1620. elseif stanceToggle ~= "Grabbed" then
  1621. change = 1
  1622. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1623. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1624.  
  1625. 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)
  1626. 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)
  1627. 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)
  1628. 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)
  1629. 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)
  1630. 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)
  1631. 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)
  1632. --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
  1633. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  1634. --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)
  1635. 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)
  1636. 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)
  1637. --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)
  1638. 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)
  1639. 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)
  1640. end
  1641. elseif animpose == "Running" then
  1642. change = 1
  1643. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1644. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1645.  
  1646. 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)
  1647. 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)
  1648. 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)
  1649. 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)
  1650. 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)
  1651. 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)
  1652. 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)
  1653. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1654. 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)
  1655. 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)
  1656. 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)
  1657. 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)
  1658. elseif animpose == "Jumping" then
  1659.  
  1660. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1661. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1662. 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)
  1663. 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)
  1664. 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)
  1665. 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)
  1666. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),math.rad(0),0), 0.2)
  1667. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  1668. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1669. 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)
  1670. 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)
  1671. 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)
  1672. 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)
  1673. elseif animpose == "Freefalling" then
  1674.  
  1675. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1676. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1677. 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)
  1678. 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)
  1679. 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)
  1680. 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)
  1681. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),math.rad(0),0), 0.2)
  1682. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.2)
  1683. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1684. 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)
  1685. 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)
  1686. 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)
  1687. 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)
  1688. end
  1689. end
  1690. end)
  1691. hum.MaxHealth = 999999999999999
  1692. wait(3)
  1693. hum.Health = 999999999999999
  1694. ---------------------------------------------
  1695.  
  1696. Create = function(itemClass,tabl)
  1697. local item = Instance.new(itemClass)
  1698. for i,v in pairs(tabl) do
  1699. local a,b = ypcall(function() return item[i] end)
  1700. if a then
  1701. item[i] = tabl[i]
  1702. end
  1703. end
  1704. return item
  1705. end
  1706. function runDummyScript(f,scri)
  1707. local oldenv = getfenv(f)
  1708. local newenv = setmetatable({}, {
  1709. __index = function(_, k)
  1710. if k:lower() == 'script' then
  1711. return scri
  1712. else
  1713. return oldenv[k]
  1714. end
  1715. end
  1716. })
  1717. setfenv(f, newenv)
  1718. ypcall(function() f() end)
  1719. end
  1720. cors = {}
  1721. mas = Instance.new("Model",game:GetService("Lighting"))
  1722. mas.Name = "CompiledModel"
  1723. o1 = Create("Model",{
  1724. ["Name"] = "Gallows",
  1725. ["Parent"] = mas,
  1726. })
  1727. o2 = Create("Part",{
  1728. ["Name"] = "Smooth Block Model",
  1729. ["Parent"] = o1,
  1730. ["Material"] = Enum.Material.Wood,
  1731. ["BrickColor"] = BrickColor.new("Earth orange"),
  1732. ["Position"] = Vector3.new(-24, 0.600031018, 62),
  1733. ["Anchored"] = true,
  1734. ["CFrame"] = CFrame.new(-24, 0.600031018, 62, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1735. ["Size"] = Vector3.new(2, 1.20000005, 8),
  1736. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  1737. })
  1738. o3 = Create("Part",{
  1739. ["Name"] = "Smooth Block Model",
  1740. ["Parent"] = o1,
  1741. ["Material"] = Enum.Material.Wood,
  1742. ["BrickColor"] = BrickColor.new("Earth orange"),
  1743. ["Position"] = Vector3.new(-22, 1.20002401, 62),
  1744. ["Anchored"] = true,
  1745. ["CFrame"] = CFrame.new(-22, 1.20002401, 62, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1746. ["Size"] = Vector3.new(2, 2.4000001, 8),
  1747. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  1748. })
  1749. o4 = Create("Part",{
  1750. ["Name"] = "Smooth Block Model",
  1751. ["Parent"] = o1,
  1752. ["Material"] = Enum.Material.Wood,
  1753. ["BrickColor"] = BrickColor.new("Earth orange"),
  1754. ["Position"] = Vector3.new(-18, 2.40002704, 62),
  1755. ["Anchored"] = true,
  1756. ["CFrame"] = CFrame.new(-18, 2.40002704, 62, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1757. ["Size"] = Vector3.new(2, 4.80000019, 8),
  1758. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  1759. })
  1760. o5 = Create("Part",{
  1761. ["Name"] = "Smooth Block Model",
  1762. ["Parent"] = o1,
  1763. ["Material"] = Enum.Material.Wood,
  1764. ["BrickColor"] = BrickColor.new("Earth orange"),
  1765. ["Position"] = Vector3.new(-20, 1.80002904, 62),
  1766. ["Anchored"] = true,
  1767. ["CFrame"] = CFrame.new(-20, 1.80002904, 62, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1768. ["Size"] = Vector3.new(2, 3.60000014, 8),
  1769. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  1770. })
  1771. o6 = Create("Part",{
  1772. ["Name"] = "Smooth Block Model",
  1773. ["Parent"] = o1,
  1774. ["Material"] = Enum.Material.Wood,
  1775. ["BrickColor"] = BrickColor.new("Earth orange"),
  1776. ["Position"] = Vector3.new(-16, 3.00002789, 62),
  1777. ["Anchored"] = true,
  1778. ["CFrame"] = CFrame.new(-16, 3.00002789, 62, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1779. ["Size"] = Vector3.new(2, 6, 8),
  1780. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  1781. })
  1782. o7 = Create("Part",{
  1783. ["Name"] = "Smooth Block Model",
  1784. ["Parent"] = o1,
  1785. ["Material"] = Enum.Material.Wood,
  1786. ["BrickColor"] = BrickColor.new("Earth orange"),
  1787. ["Position"] = Vector3.new(-14.5, 2.40002704, 69.5),
  1788. ["Rotation"] = Vector3.new(-0, -90, 0),
  1789. ["Anchored"] = true,
  1790. ["CFrame"] = CFrame.new(-14.5, 2.40002704, 69.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  1791. ["Size"] = Vector3.new(1, 4.80000019, 1),
  1792. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  1793. })
  1794. o8 = Create("Part",{
  1795. ["Name"] = "Smooth Block Model",
  1796. ["Parent"] = o1,
  1797. ["Material"] = Enum.Material.Wood,
  1798. ["BrickColor"] = BrickColor.new("Earth orange"),
  1799. ["Position"] = Vector3.new(-5.5, 2.40002704, 69.5),
  1800. ["Rotation"] = Vector3.new(-0, -90, 0),
  1801. ["Anchored"] = true,
  1802. ["CFrame"] = CFrame.new(-5.5, 2.40002704, 69.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  1803. ["Size"] = Vector3.new(1, 4.80000019, 1),
  1804. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  1805. })
  1806. o9 = Create("Part",{
  1807. ["Name"] = "Smooth Block Model",
  1808. ["Parent"] = o1,
  1809. ["BrickColor"] = BrickColor.new("Earth orange"),
  1810. ["Position"] = Vector3.new(-3.5, 5.40002203, 50.5),
  1811. ["Rotation"] = Vector3.new(-0, -90, 0),
  1812. ["Anchored"] = true,
  1813. ["CFrame"] = CFrame.new(-3.5, 5.40002203, 50.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  1814. ["Size"] = Vector3.new(1, 1.20000005, 1),
  1815. ["LeftSurface"] = Enum.SurfaceType.Hinge,
  1816. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  1817. })
  1818. o10 = Create("Part",{
  1819. ["Name"] = "Smooth Block Model",
  1820. ["Parent"] = o1,
  1821. ["Material"] = Enum.Material.Wood,
  1822. ["BrickColor"] = BrickColor.new("Earth orange"),
  1823. ["Position"] = Vector3.new(-10, 5.40002203, 47.5),
  1824. ["Anchored"] = true,
  1825. ["CFrame"] = CFrame.new(-10, 5.40002203, 47.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1826. ["Size"] = Vector3.new(10, 1.20000005, 45),
  1827. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  1828. })
  1829. o11 = Create("Part",{
  1830. ["Name"] = "Smooth Block Model",
  1831. ["Parent"] = o1,
  1832. ["Material"] = Enum.Material.Wood,
  1833. ["BrickColor"] = BrickColor.new("Earth orange"),
  1834. ["Position"] = Vector3.new(-1, 5.40002203, 60.5),
  1835. ["Rotation"] = Vector3.new(-0, -90, 0),
  1836. ["Anchored"] = true,
  1837. ["CFrame"] = CFrame.new(-1, 5.40002203, 60.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  1838. ["Size"] = Vector3.new(19, 1.20000005, 8),
  1839. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  1840. })
  1841. o12 = Create("Part",{
  1842. ["Name"] = "trap",
  1843. ["Parent"] = o1,
  1844. ["Material"] = Enum.Material.Wood,
  1845. ["BrickColor"] = BrickColor.new("Earth orange"),
  1846. ["Position"] = Vector3.new(-1, 5.40002203, 47),
  1847. ["Rotation"] = Vector3.new(-0, -90, 0),
  1848. ["Anchored"] = true,
  1849. ["CFrame"] = CFrame.new(-1, 5.40002203, 47, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  1850. ["Size"] = Vector3.new(6, 1.20000005, 6),
  1851. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  1852. })
  1853. o13 = Create("Part",{
  1854. ["Name"] = "Smooth Block Model",
  1855. ["Parent"] = o1,
  1856. ["Material"] = Enum.Material.Wood,
  1857. ["BrickColor"] = BrickColor.new("Earth orange"),
  1858. ["Position"] = Vector3.new(-2.5, 7.20002079, 57.5),
  1859. ["CFrame"] = CFrame.new(-2.5, 7.20002079, 57.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1860. ["Size"] = Vector3.new(1, 2.4000001, 3),
  1861. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  1862. })
  1863. o14 = Create("Part",{
  1864. ["Name"] = "Smooth Block Model",
  1865. ["Parent"] = o1,
  1866. ["Material"] = Enum.Material.Wood,
  1867. ["BrickColor"] = BrickColor.new("Earth orange"),
  1868. ["Position"] = Vector3.new(3.5, 2.40002704, 69.5),
  1869. ["Rotation"] = Vector3.new(-0, -90, 0),
  1870. ["Anchored"] = true,
  1871. ["CFrame"] = CFrame.new(3.5, 2.40002704, 69.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  1872. ["Size"] = Vector3.new(1, 4.80000019, 1),
  1873. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  1874. })
  1875. o15 = Create("Part",{
  1876. ["Name"] = "Smooth Block Model",
  1877. ["Parent"] = o1,
  1878. ["Material"] = Enum.Material.Wood,
  1879. ["BrickColor"] = BrickColor.new("Earth orange"),
  1880. ["Position"] = Vector3.new(2.5, 5.40002203, 47),
  1881. ["Anchored"] = true,
  1882. ["CFrame"] = CFrame.new(2.5, 5.40002203, 47, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1883. ["CanCollide"] = false,
  1884. ["Size"] = Vector3.new(1, 1.20000005, 8),
  1885. ["TopSurface"] = Enum.SurfaceType.Smooth,
  1886. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  1887. })
  1888. o16 = Create("Part",{
  1889. ["Name"] = "Smooth Block Model",
  1890. ["Parent"] = o1,
  1891. ["BrickColor"] = BrickColor.new("Earth orange"),
  1892. ["Position"] = Vector3.new(-3.5, 5.40002203, 43.5),
  1893. ["Rotation"] = Vector3.new(-0, -90, 0),
  1894. ["Anchored"] = true,
  1895. ["CFrame"] = CFrame.new(-3.5, 5.40002203, 43.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  1896. ["Size"] = Vector3.new(1, 1.20000005, 1),
  1897. ["RightSurface"] = Enum.SurfaceType.Hinge,
  1898. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  1899. })
  1900. o17 = Create("Part",{
  1901. ["Name"] = "welder",
  1902. ["Parent"] = o1,
  1903. ["Material"] = Enum.Material.Wood,
  1904. ["BrickColor"] = BrickColor.new("Reddish brown"),
  1905. ["Position"] = Vector3.new(-0.5, 6.60002804, 47),
  1906. ["Rotation"] = Vector3.new(-0, -90, 0),
  1907. ["CFrame"] = CFrame.new(-0.5, 6.60002804, 47, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  1908. ["Size"] = Vector3.new(4, 1.20000005, 3),
  1909. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1910. ["Color"] = Color3.new(0.411765, 0.25098, 0.156863),
  1911. })
  1912. o18 = Create("Part",{
  1913. ["Name"] = "Smooth Block Model",
  1914. ["Parent"] = o1,
  1915. ["Material"] = Enum.Material.Wood,
  1916. ["BrickColor"] = BrickColor.new("Earth orange"),
  1917. ["Position"] = Vector3.new(0, 7.20002079, 56.5),
  1918. ["Rotation"] = Vector3.new(-0, -90, 0),
  1919. ["CFrame"] = CFrame.new(0, 7.20002079, 56.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  1920. ["Size"] = Vector3.new(1, 2.4000001, 4),
  1921. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  1922. })
  1923. o19 = Create("Part",{
  1924. ["Name"] = "Smooth Block Model",
  1925. ["Parent"] = o1,
  1926. ["Material"] = Enum.Material.Wood,
  1927. ["BrickColor"] = BrickColor.new("Earth orange"),
  1928. ["Position"] = Vector3.new(3.5, 5.40002203, 47.5),
  1929. ["Rotation"] = Vector3.new(-0, -90, 0),
  1930. ["Anchored"] = true,
  1931. ["CFrame"] = CFrame.new(3.5, 5.40002203, 47.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  1932. ["Size"] = Vector3.new(45, 1.20000005, 1),
  1933. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  1934. })
  1935. o20 = Create("Part",{
  1936. ["Name"] = "Smooth Block Model",
  1937. ["Parent"] = o1,
  1938. ["Material"] = Enum.Material.Wood,
  1939. ["BrickColor"] = BrickColor.new("Earth orange"),
  1940. ["Position"] = Vector3.new(0, 7.20002079, 58.5),
  1941. ["Rotation"] = Vector3.new(-0, -90, 0),
  1942. ["CFrame"] = CFrame.new(0, 7.20002079, 58.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  1943. ["Size"] = Vector3.new(1, 2.4000001, 4),
  1944. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  1945. })
  1946. o21 = Create("Part",{
  1947. ["Name"] = "gallowswitch",
  1948. ["Parent"] = o1,
  1949. ["Material"] = Enum.Material.Wood,
  1950. ["BrickColor"] = BrickColor.new("Earth orange"),
  1951. ["Position"] = Vector3.new(-1.63906896, 8.80330181, 57.5),
  1952. ["Rotation"] = Vector3.new(-90, 60.0933647, -90),
  1953. ["Anchored"] = true,
  1954. ["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),
  1955. ["Size"] = Vector3.new(1, 4.80000019, 1),
  1956. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  1957. })
  1958. o22 = Create("Part",{
  1959. ["Name"] = "Smooth Block Model",
  1960. ["Parent"] = o1,
  1961. ["Material"] = Enum.Material.Wood,
  1962. ["BrickColor"] = BrickColor.new("Earth orange"),
  1963. ["Position"] = Vector3.new(-0.5, 10.800024, 51.5),
  1964. ["Rotation"] = Vector3.new(-0, -90, 0),
  1965. ["Anchored"] = true,
  1966. ["CFrame"] = CFrame.new(-0.5, 10.800024, 51.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  1967. ["Size"] = Vector3.new(1, 9.60000038, 1),
  1968. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  1969. })
  1970. o23 = Create("Part",{
  1971. ["Name"] = "Smooth Block Model",
  1972. ["Parent"] = o1,
  1973. ["Material"] = Enum.Material.Wood,
  1974. ["BrickColor"] = BrickColor.new("Earth orange"),
  1975. ["Position"] = Vector3.new(-0.5, 10.800024, 42.5),
  1976. ["Rotation"] = Vector3.new(-0, -90, 0),
  1977. ["Anchored"] = true,
  1978. ["CFrame"] = CFrame.new(-0.5, 10.800024, 42.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  1979. ["Size"] = Vector3.new(1, 9.60000038, 1),
  1980. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  1981. })
  1982. o24 = Create("Part",{
  1983. ["Name"] = "Smooth Block Model",
  1984. ["Parent"] = o1,
  1985. ["Material"] = Enum.Material.Wood,
  1986. ["BrickColor"] = BrickColor.new("Earth orange"),
  1987. ["Position"] = Vector3.new(2.5, 7.20002079, 57.5),
  1988. ["CFrame"] = CFrame.new(2.5, 7.20002079, 57.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1989. ["Size"] = Vector3.new(1, 2.4000001, 3),
  1990. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  1991. })
  1992. o25 = Create("Part",{
  1993. ["Name"] = "gallowswitch2",
  1994. ["Parent"] = o1,
  1995. ["Material"] = Enum.Material.Wood,
  1996. ["BrickColor"] = BrickColor.new("Earth orange"),
  1997. ["Transparency"] = 1,
  1998. ["Position"] = Vector3.new(1.5, 9.00002384, 57.5),
  1999. ["Rotation"] = Vector3.new(-0, -90, 0),
  2000. ["Anchored"] = true,
  2001. ["CFrame"] = CFrame.new(1.5, 9.00002384, 57.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  2002. ["Size"] = Vector3.new(1, 6, 1),
  2003. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  2004. })
  2005. o26 = Create("Part",{
  2006. ["Name"] = "rope",
  2007. ["Parent"] = o1,
  2008. ["BrickColor"] = BrickColor.new("Earth orange"),
  2009. ["Position"] = Vector3.new(-0.5, 12.6000204, 46.5),
  2010. ["Rotation"] = Vector3.new(-0, -90, 0),
  2011. ["RotVelocity"] = Vector3.new(9.29485318e-017, 7.26643592e-018, 9.29485318e-017),
  2012. ["Velocity"] = Vector3.new(6.78266e-017, -0.644254982, 6.78266e-017),
  2013. ["CFrame"] = CFrame.new(-0.5, 12.6000204, 46.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  2014. ["Size"] = Vector3.new(1, 1.20000005, 1),
  2015. ["BottomSurface"] = Enum.SurfaceType.Motor,
  2016. ["TopSurface"] = Enum.SurfaceType.Motor,
  2017. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  2018. })
  2019. o27 = Create("SpecialMesh",{
  2020. ["Parent"] = o26,
  2021. ["MeshType"] = Enum.MeshType.Sphere,
  2022. })
  2023. o28 = Create("Part",{
  2024. ["Name"] = "Smooth Block Model",
  2025. ["Parent"] = o1,
  2026. ["Material"] = Enum.Material.Wood,
  2027. ["BrickColor"] = BrickColor.new("Earth orange"),
  2028. ["Position"] = Vector3.new(-1, 5.40002203, 34),
  2029. ["Rotation"] = Vector3.new(-0, -90, 0),
  2030. ["Anchored"] = true,
  2031. ["CFrame"] = CFrame.new(-1, 5.40002203, 34, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  2032. ["Size"] = Vector3.new(18, 1.20000005, 8),
  2033. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  2034. })
  2035. o29 = Create("Part",{
  2036. ["Name"] = "rope",
  2037. ["Parent"] = o1,
  2038. ["BrickColor"] = BrickColor.new("Earth orange"),
  2039. ["Position"] = Vector3.new(-0.5, 13.8000278, 46.5),
  2040. ["Rotation"] = Vector3.new(-0, -90, 0),
  2041. ["RotVelocity"] = Vector3.new(9.29485318e-017, 5.65548431e-018, 9.29485318e-017),
  2042. ["Velocity"] = Vector3.new(6.78266e-017, -0.42925173, 6.78266e-017),
  2043. ["CFrame"] = CFrame.new(-0.5, 13.8000278, 46.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  2044. ["Size"] = Vector3.new(1, 1.20000005, 1),
  2045. ["BottomSurface"] = Enum.SurfaceType.Motor,
  2046. ["TopSurface"] = Enum.SurfaceType.Motor,
  2047. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  2048. })
  2049. o30 = Create("SpecialMesh",{
  2050. ["Parent"] = o29,
  2051. ["MeshType"] = Enum.MeshType.Sphere,
  2052. })
  2053. o31 = Create("Part",{
  2054. ["Name"] = "Smooth Block Model",
  2055. ["Parent"] = o1,
  2056. ["Material"] = Enum.Material.Wood,
  2057. ["BrickColor"] = BrickColor.new("Earth orange"),
  2058. ["Position"] = Vector3.new(-24, 0.600031018, 33),
  2059. ["Anchored"] = true,
  2060. ["CFrame"] = CFrame.new(-24, 0.600031018, 33, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2061. ["Size"] = Vector3.new(2, 1.20000005, 8),
  2062. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  2063. })
  2064. o32 = Create("Part",{
  2065. ["Name"] = "Smooth Block Model",
  2066. ["Parent"] = o1,
  2067. ["Material"] = Enum.Material.Wood,
  2068. ["BrickColor"] = BrickColor.new("Earth orange"),
  2069. ["Position"] = Vector3.new(-22, 1.20002401, 33),
  2070. ["Anchored"] = true,
  2071. ["CFrame"] = CFrame.new(-22, 1.20002401, 33, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2072. ["Size"] = Vector3.new(2, 2.4000001, 8),
  2073. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  2074. })
  2075. o33 = Create("Part",{
  2076. ["Name"] = "Smooth Block Model",
  2077. ["Parent"] = o1,
  2078. ["Material"] = Enum.Material.Wood,
  2079. ["BrickColor"] = BrickColor.new("Earth orange"),
  2080. ["Position"] = Vector3.new(-16, 3.00002789, 33),
  2081. ["Anchored"] = true,
  2082. ["CFrame"] = CFrame.new(-16, 3.00002789, 33, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2083. ["Size"] = Vector3.new(2, 6, 8),
  2084. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  2085. })
  2086. o34 = Create("Part",{
  2087. ["Name"] = "Smooth Block Model",
  2088. ["Parent"] = o1,
  2089. ["Material"] = Enum.Material.Wood,
  2090. ["BrickColor"] = BrickColor.new("Earth orange"),
  2091. ["Position"] = Vector3.new(-18, 2.40002704, 33),
  2092. ["Anchored"] = true,
  2093. ["CFrame"] = CFrame.new(-18, 2.40002704, 33, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2094. ["Size"] = Vector3.new(2, 4.80000019, 8),
  2095. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  2096. })
  2097. o35 = Create("Part",{
  2098. ["Name"] = "Smooth Block Model",
  2099. ["Parent"] = o1,
  2100. ["Material"] = Enum.Material.Wood,
  2101. ["BrickColor"] = BrickColor.new("Earth orange"),
  2102. ["Position"] = Vector3.new(-20, 1.80002904, 33),
  2103. ["Anchored"] = true,
  2104. ["CFrame"] = CFrame.new(-20, 1.80002904, 33, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2105. ["Size"] = Vector3.new(2, 3.60000014, 8),
  2106. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  2107. })
  2108. o36 = Create("Part",{
  2109. ["Name"] = "rope",
  2110. ["Parent"] = o1,
  2111. ["BrickColor"] = BrickColor.new("Earth orange"),
  2112. ["Position"] = Vector3.new(-0.5, 15.0000238, 46.5),
  2113. ["Rotation"] = Vector3.new(-0, -90, 0),
  2114. ["RotVelocity"] = Vector3.new(9.29485318e-017, 3.22718457e-018, 9.29485318e-017),
  2115. ["Velocity"] = Vector3.new(6.78266e-017, -0.210931048, 6.78266e-017),
  2116. ["CFrame"] = CFrame.new(-0.5, 15.0000238, 46.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  2117. ["Size"] = Vector3.new(1, 1.20000005, 1),
  2118. ["BottomSurface"] = Enum.SurfaceType.Motor,
  2119. ["TopSurface"] = Enum.SurfaceType.Motor,
  2120. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  2121. })
  2122. o37 = Create("SpecialMesh",{
  2123. ["Parent"] = o36,
  2124. ["MeshType"] = Enum.MeshType.Sphere,
  2125. })
  2126. o38 = Create("Part",{
  2127. ["Name"] = "Smooth Block Model",
  2128. ["Parent"] = o1,
  2129. ["Material"] = Enum.Material.Wood,
  2130. ["BrickColor"] = BrickColor.new("Earth orange"),
  2131. ["Position"] = Vector3.new(3.5, 2.40002704, 25.5),
  2132. ["Rotation"] = Vector3.new(-0, -90, 0),
  2133. ["Anchored"] = true,
  2134. ["CFrame"] = CFrame.new(3.5, 2.40002704, 25.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  2135. ["Size"] = Vector3.new(1, 4.80000019, 1),
  2136. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  2137. })
  2138. o39 = Create("Part",{
  2139. ["Name"] = "Smooth Block Model",
  2140. ["Parent"] = o1,
  2141. ["Material"] = Enum.Material.Wood,
  2142. ["BrickColor"] = BrickColor.new("Earth orange"),
  2143. ["Position"] = Vector3.new(-0.5, 16.2000294, 47),
  2144. ["Rotation"] = Vector3.new(-0, -90, 0),
  2145. ["Anchored"] = true,
  2146. ["CFrame"] = CFrame.new(-0.5, 16.2000294, 47, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  2147. ["Size"] = Vector3.new(10, 1.20000005, 1),
  2148. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  2149. })
  2150. o40 = Create("Part",{
  2151. ["Name"] = "Smooth Block Model",
  2152. ["Parent"] = o1,
  2153. ["Material"] = Enum.Material.Wood,
  2154. ["BrickColor"] = BrickColor.new("Earth orange"),
  2155. ["Position"] = Vector3.new(-5.5, 2.40002704, 25.5),
  2156. ["Rotation"] = Vector3.new(-0, -90, 0),
  2157. ["Anchored"] = true,
  2158. ["CFrame"] = CFrame.new(-5.5, 2.40002704, 25.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  2159. ["Size"] = Vector3.new(1, 4.80000019, 1),
  2160. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  2161. })
  2162. o41 = Create("Part",{
  2163. ["Name"] = "Smooth Block Model",
  2164. ["Parent"] = o1,
  2165. ["Material"] = Enum.Material.Wood,
  2166. ["BrickColor"] = BrickColor.new("Earth orange"),
  2167. ["Position"] = Vector3.new(-14.5, 2.40002704, 25.5),
  2168. ["Rotation"] = Vector3.new(-0, -90, 0),
  2169. ["Anchored"] = true,
  2170. ["CFrame"] = CFrame.new(-14.5, 2.40002704, 25.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  2171. ["Size"] = Vector3.new(1, 4.80000019, 1),
  2172. ["Color"] = Color3.new(0.384314, 0.278431, 0.196078),
  2173. })
  2174. o42 = Create("Part",{
  2175. ["Name"] = "hanger",
  2176. ["Parent"] = o1,
  2177. ["BrickColor"] = BrickColor.new("Earth orange"),
  2178. ["Position"] = Vector3.new(-0.5, 11.4000158, 46.5),
  2179. ["Rotation"] = Vector3.new(-0, -90, 0),
  2180. ["RotVelocity"] = Vector3.new(9.29485318e-017, 8.0695067e-018, 9.29485318e-017),
  2181. ["Velocity"] = Vector3.new(6.78266e-017, -0.611982644, 6.78266e-017),
  2182. ["CFrame"] = CFrame.new(-0.5, 11.4000158, 46.5, 0, 0, -1, 0, 1, -0, 1, 0, -0),
  2183. ["Size"] = Vector3.new(1, 1.20000005, 1),
  2184. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  2185. ["TopSurface"] = Enum.SurfaceType.Smooth,
  2186. ["Color"] = Color3.new(0.411765, 0.25098, 0.156863),
  2187. })
  2188. o43 = Create("SpecialMesh",{
  2189. ["Parent"] = o42,
  2190. ["MeshId"] = "http://www.roblox.com/asset/?id=3270017",
  2191. ["Scale"] = Vector3.new(2, 2, 1),
  2192. ["MeshType"] = Enum.MeshType.FileMesh,
  2193. })
  2194.  
  2195. mas.Parent = workspace
  2196. mas:MakeJoints()
  2197.  
  2198. local mas1 = mas:GetChildren()
  2199.  
  2200. for i=1,#mas1 do
  2201. mas1[i].Parent = workspace
  2202. ypcall(function() mas1[i]:MakeJoints() end)
  2203. end
  2204.  
  2205. mas:Destroy()
  2206.  
  2207. for i=1,#cors do
  2208. coroutine.resume(cors[i])
  2209. end
  2210.  
  2211. model = o1
  2212. switch = model.gallowswitch
  2213. backup = model:Clone() --kek
  2214.  
  2215. function onClick()
  2216. model.trap.Anchored = false
  2217. c = game.Workspace:GetChildren()
  2218. switch.Transparency = 1
  2219. model.gallowswitch2.Transparency = 0
  2220. for i = 1, #c do
  2221. if c[i].Name == "Help!" then
  2222. w = Instance.new("Weld")
  2223. c[i].Humanoid.Health = 0
  2224. wait(.01)
  2225. w.Parent = c[i].Head
  2226. w.Part0 = w.Parent
  2227. w.Part1 = c[i].Torso
  2228. w.C1 = CFrame.new(0,1.5,0)
  2229. w1 = Instance.new("Weld")
  2230. w1.Parent = c[i].Torso
  2231. w1.Part0 = w1.Parent
  2232. w1.Part1 = c[i]["Right Arm"]
  2233. w1.C1 = CFrame.new(1.5,0,0)
  2234. w2 = Instance.new("Weld")
  2235. w2.Parent = c[i].Torso
  2236. w2.Part0 = w2.Parent
  2237. w2.Part1 = c[i]["Left Arm"]
  2238. w2.C1 = CFrame.new(-1.5,0,0)
  2239. w3 = Instance.new("Weld")
  2240. w3.Parent = c[i].Torso
  2241. w3.Part0 = w3.Parent
  2242. w3.Part1 = c[i]["Left Leg"]
  2243. w3.C1 = CFrame.new(-.5,2,0)
  2244. w4 = Instance.new("Weld")
  2245. w4.Parent = c[i].Torso
  2246. w4.Part0 = w4.Parent
  2247. w4.Part1 = c[i]["Right Leg"]
  2248. w4.C1 = CFrame.new(.5,2,0)
  2249. end
  2250. end
  2251. Victim.Character.Humanoid.Health = 0
  2252. wait(1)
  2253. switch.Transparency = 0
  2254. model.gallowswitch2.Transparency = 1
  2255. wait(4)
  2256. model:remove()
  2257. backup.Parent = game.Workspace
  2258. backup:makeJoints()
  2259. wait(5)
  2260. game.Workspace.Gallows:Destroy()
  2261. end
  2262.  
  2263. Instance.new("ClickDetector", switch)
  2264.  
  2265. connection = switch.ClickDetector.MouseClick:connect(onClick)
  2266. b = model.welder
  2267.  
  2268. function onTouched(part)
  2269. if part.Parent.Humanoid ~= nil then
  2270. w = Instance.new("Weld")
  2271. w.Parent = part.Parent.Head
  2272. w.Part0 = w.Parent
  2273. w.Part1 = model.hanger
  2274. end
  2275. end
  2276.  
  2277. connection = b.Touched:connect(onTouched)
Add Comment
Please, Sign In to add comment