Advertisement
metilol

Untitled

Apr 1st, 2018
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.09 KB | None | 0 0
  1. --gr8
  2. local plr = game:service'Players'.LocalPlayer
  3. print(":D")
  4. local char = plr.Character
  5. local hum = char.Humanoid
  6. local ra = char["Right Arm"]
  7. local la= char["Left Arm"]
  8. local rl= char["Right Leg"]
  9. local ll = char["Left Leg"]
  10. local hed = char.Head
  11. local root = char.HumanoidRootPart
  12. local rootj = root.RootJoint
  13. local tors = char.Torso
  14. local mouse = plr:GetMouse()
  15. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  16. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  17. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  18.  
  19. CF = CFrame.new
  20. angles = CFrame.Angles
  21. attack = false
  22. Euler = CFrame.fromEulerAnglesXYZ
  23. Rad = math.rad
  24. IT = Instance.new
  25. BrickC = BrickColor.new
  26. Cos = math.cos
  27. Acos = math.acos
  28. Sin = math.sin
  29. Asin = math.asin
  30. Abs = math.abs
  31. Mrandom = math.random
  32. Floor = math.floor
  33.  
  34. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  35. RSH, LSH = nil, nil
  36. RW = Instance.new("Weld")
  37. LW = Instance.new("Weld")
  38. RH = tors["Right Hip"]
  39. LH = tors["Left Hip"]
  40. RSH = tors["Right Shoulder"]
  41. LSH = tors["Left Shoulder"]
  42. RSH.Parent = nil
  43. LSH.Parent = nil
  44. RW.Name = "RW"
  45. RW.Part0 = tors
  46. RW.C0 = CF(1.5, 0.5, 0)
  47. RW.C1 = CF(0, 0.5, 0)
  48. RW.Part1 = ra
  49. RW.Parent = tors
  50. LW.Name = "LW"
  51. LW.Part0 = tors
  52. LW.C0 = CF(-1.5, 0.5, 0)
  53. LW.C1 = CF(0, 0.5, 0)
  54. LW.Part1 = la
  55. LW.Parent = tors
  56. Effects = {}
  57.  
  58. function RemoveOutlines(part)
  59. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  60. end
  61.  
  62. function ragdoll(model)
  63. local char = model
  64. torso = char.HumanoidRootPart
  65. torso2 = char.Torso
  66. LW.Parent = nil
  67. RW.Parent = nil
  68. LH.Parent = nil
  69. RH.Parent = nil
  70. if hum ~= nil then
  71. hum.PlatformStand = true
  72. end
  73.  
  74. local Head = char:FindFirstChild("Head")
  75. if Head then
  76. local Neck = Instance.new("Weld")
  77. Neck.Name = "Neck"
  78. Neck.Part0 = torso
  79. Neck.Part1 = Head
  80. Neck.C0 = CFrame.new(0, 1.5, 0)
  81. Neck.C1 = CFrame.new()
  82. Neck.Parent = torso
  83. end
  84. local Limb = char:FindFirstChild("Right Arm")
  85. if Limb then
  86.  
  87. Limb.CFrame = torso.CFrame * CFrame.new(1.5, 0, 0)
  88. local Joint = Instance.new("Glue")
  89. Joint.Name = "RightShoulder"
  90. Joint.Part0 = torso
  91. Joint.Part1 = Limb
  92. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  93. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  94. Joint.Parent = torso
  95.  
  96. local B = Instance.new("Part")
  97. B.TopSurface = 0
  98. B.BottomSurface = 0
  99. B.formFactor = "Symmetric"
  100. B.Size = Vector3.new(1, 1, 1)
  101. B.Transparency = 1
  102. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  103. B.Parent = char
  104. local W = Instance.new("Weld")
  105. W.Part0 = Limb
  106. W.Part1 = B
  107. W.C0 = CFrame.new(0, -0.5, 0)
  108. W.Parent = Limb
  109.  
  110. end
  111. local Limb = char:FindFirstChild("Left Arm")
  112. if Limb then
  113.  
  114. Limb.CFrame = torso.CFrame * CFrame.new(-1.5, 0, 0)
  115. local Joint = Instance.new("Glue")
  116. Joint.Name = "LeftShoulder"
  117. Joint.Part0 = torso
  118. Joint.Part1 = Limb
  119. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  120. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  121. Joint.Parent = torso
  122.  
  123. local B = Instance.new("Part")
  124. B.TopSurface = 0
  125. B.BottomSurface = 0
  126. B.formFactor = "Symmetric"
  127. B.Size = Vector3.new(1, 1, 1)
  128. B.Transparency = 1
  129. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  130. B.Parent = char
  131. local W = Instance.new("Weld")
  132. W.Part0 = Limb
  133. W.Part1 = B
  134. W.C0 = CFrame.new(0, -0.5, 0)
  135. W.Parent = Limb
  136.  
  137. end
  138. local Limb = char:FindFirstChild("Right Leg")
  139. if Limb then
  140.  
  141. Limb.CFrame = torso.CFrame * CFrame.new(0.5, -2, 0)
  142. local Joint = Instance.new("Glue")
  143. Joint.Name = "RightHip"
  144. Joint.Part0 = torso
  145. Joint.Part1 = Limb
  146. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  147. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  148. Joint.Parent = torso
  149.  
  150. local B = Instance.new("Part")
  151. B.TopSurface = 0
  152. B.BottomSurface = 0
  153. B.formFactor = "Symmetric"
  154. B.Size = Vector3.new(1, 1, 1)
  155. B.Transparency = 1
  156. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  157. B.Parent = char
  158. local W = Instance.new("Weld")
  159. W.Part0 = Limb
  160. W.Part1 = B
  161. W.C0 = CFrame.new(0, -0.5, 0)
  162. W.Parent = Limb
  163.  
  164. end
  165. local Limb = char:FindFirstChild("Left Leg")
  166. if Limb then
  167.  
  168. Limb.CFrame = torso.CFrame * CFrame.new(-0.5, -2, 0)
  169. local Joint = Instance.new("Glue")
  170. Joint.Name = "LeftHip"
  171. Joint.Part0 = torso
  172. Joint.Part1 = Limb
  173. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  174. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  175. Joint.Parent = torso
  176.  
  177. local B = Instance.new("Part")
  178. B.TopSurface = 0
  179. B.BottomSurface = 0
  180. B.formFactor = "Symmetric"
  181. B.Size = Vector3.new(1, 1, 1)
  182. B.Transparency = 1
  183. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  184. B.Parent = char
  185. local W = Instance.new("Weld")
  186. W.Part0 = Limb
  187. W.Part1 = B
  188. W.C0 = CFrame.new(0, -0.5, 0)
  189. W.Parent = Limb
  190.  
  191. end
  192. --[
  193. local Bar = Instance.new("Part")
  194. Bar.TopSurface = 0
  195. Bar.BottomSurface = 0
  196. Bar.formFactor = "Symmetric"
  197. Bar.Size = Vector3.new(1, 1, 1)
  198. Bar.Transparency = 1
  199. Bar.CFrame = torso.CFrame * CFrame.new(0, 0.5, 0)
  200. Bar.Parent = char
  201. local Weld = Instance.new("Weld")
  202. Weld.Part0 = torso
  203. Weld.Part1 = Bar
  204. Weld.C0 = CFrame.new(0, 0.5, 0)
  205. Weld.Parent = torso
  206. --]]
  207.  
  208. torso.CFrame = CFrame.new(torso.Position)*CFrame.Angles(math.rad(20),math.rad(torso.Orientation.Y),math.rad(torso.Orientation.Z))
  209.  
  210. end
  211.  
  212. function swait(num)
  213. if num == 0 or num == nil then
  214. game:service("RunService").Stepped:wait(0)
  215. else
  216. for i = 0, num do
  217. game:service("RunService").Stepped:wait(0)
  218. end
  219. end
  220. end
  221. function thread(f)
  222. coroutine.resume(coroutine.create(f))
  223. end
  224. function clerp(a, b, t)
  225. local qa = {
  226. QuaternionFromCFrame(a)
  227. }
  228. local qb = {
  229. QuaternionFromCFrame(b)
  230. }
  231. local ax, ay, az = a.x, a.y, a.z
  232. local bx, by, bz = b.x, b.y, b.z
  233. local _t = 1 - t
  234. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  235. end
  236. function QuaternionFromCFrame(cf)
  237. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  238. local trace = m00 + m11 + m22
  239. if trace > 0 then
  240. local s = math.sqrt(1 + trace)
  241. local recip = 0.5 / s
  242. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  243. else
  244. local i = 0
  245. if m00 < m11 then
  246. i = 1
  247. end
  248. if m22 > (i == 0 and m00 or m11) then
  249. i = 2
  250. end
  251. if i == 0 then
  252. local s = math.sqrt(m00 - m11 - m22 + 1)
  253. local recip = 0.5 / s
  254. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  255. elseif i == 1 then
  256. local s = math.sqrt(m11 - m22 - m00 + 1)
  257. local recip = 0.5 / s
  258. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  259. elseif i == 2 then
  260. local s = math.sqrt(m22 - m00 - m11 + 1)
  261. local recip = 0.5 / s
  262. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  263. end
  264. end
  265. end
  266. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  267. local xs, ys, zs = x + x, y + y, z + z
  268. local wx, wy, wz = w * xs, w * ys, w * zs
  269. local xx = x * xs
  270. local xy = x * ys
  271. local xz = x * zs
  272. local yy = y * ys
  273. local yz = y * zs
  274. local zz = z * zs
  275. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  276. end
  277. function QuaternionSlerp(a, b, t)
  278. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  279. local startInterp, finishInterp
  280. if cosTheta >= 1.0E-4 then
  281. if 1 - cosTheta > 1.0E-4 then
  282. local theta = math.acos(cosTheta)
  283. local invSinTheta = 1 / Sin(theta)
  284. startInterp = Sin((1 - t) * theta) * invSinTheta
  285. finishInterp = Sin(t * theta) * invSinTheta
  286. else
  287. startInterp = 1 - t
  288. finishInterp = t
  289. end
  290. elseif 1 + cosTheta > 1.0E-4 then
  291. local theta = math.acos(-cosTheta)
  292. local invSinTheta = 1 / Sin(theta)
  293. startInterp = Sin((t - 1) * theta) * invSinTheta
  294. finishInterp = Sin(t * theta) * invSinTheta
  295. else
  296. startInterp = t - 1
  297. finishInterp = t
  298. end
  299. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  300. end
  301. function rayCast(Position, Direction, Range, Ignore)
  302. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  303. end
  304. local RbxUtility = LoadLibrary("RbxUtility")
  305. local Create = RbxUtility.Create
  306.  
  307. function CreateSound(ID, PARENT, VOLUME, PITCH)
  308. local NSound = nil
  309. coroutine.resume(coroutine.create(function()
  310. NSound = Instance.new("Sound", PARENT)
  311. NSound.Volume = VOLUME
  312. NSound.Pitch = PITCH
  313. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  314. swait()
  315. NSound:play()
  316. game:GetService("Debris"):AddItem(NSound, 10)
  317. end))
  318. return NSound
  319. end
  320.  
  321. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  322. if hit.Parent == nil then
  323. return
  324. end
  325. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  326. for _, v in pairs(hit.Parent:children()) do
  327. if v:IsA("Humanoid") then
  328. h = v
  329. end
  330. end
  331. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  332. warn'No R15 allowed'
  333. hit.Parent:FindFirstChild("Head"):BreakJoints()
  334. end
  335.  
  336. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  337. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  338. if hit.Parent.DebounceHit.Value == true then
  339. return
  340. end
  341. end
  342. if insta == true then
  343. hit.Parent:FindFirstChild("Head"):BreakJoints()
  344. end
  345. local c = Create("ObjectValue"){
  346. Name = "creator",
  347. Value = game:service("Players").LocalPlayer,
  348. Parent = h,
  349. }
  350. game:GetService("Debris"):AddItem(c, .5)
  351. if HitSound ~= nil and HitPitch ~= nil then
  352. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  353. end
  354. local Damage = math.random(minim, maxim)
  355. local blocked = false
  356. local block = hit.Parent:findFirstChild("Block")
  357. if block ~= nil then
  358. if block.className == "IntValue" then
  359. if block.Value > 0 then
  360. blocked = true
  361. block.Value = block.Value - 1
  362. print(block.Value)
  363. end
  364. end
  365. end
  366. if blocked == false then
  367. h.Health = h.Health - Damage
  368. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  369. else
  370. h.Health = h.Health - (Damage / 2)
  371. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  372. end
  373. if Type == "Knockdown" then
  374. local hum = hit.Parent.Humanoid
  375. hum.Parent:Remove()
  376. hum.PlatformStand = true
  377. coroutine.resume(coroutine.create(function(HHumanoid)
  378. swait(1)
  379. HHumanoid.PlatformStand = false
  380. end), hum)
  381. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  382. local bodvol = Create("BodyVelocity"){
  383. velocity = angle * knockback,
  384. P = 5000,
  385. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  386. Parent = hit,
  387. }
  388. local rl = Create("BodyAngularVelocity"){
  389. P = 3000,
  390. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  391. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  392. Parent = hit,
  393. }
  394. game:GetService("Debris"):AddItem(bodvol, .5)
  395. game:GetService("Debris"):AddItem(rl, .5)
  396. elseif Type == "Normal" then
  397. local vp = Create("BodyVelocity"){
  398. P = 500,
  399. maxForce = Vector3.new(math.huge, 0, math.huge),
  400. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  401. }
  402. if knockback > 0 then
  403. vp.Parent = hit.Parent.Torso
  404. end
  405. game:GetService("Debris"):AddItem(vp, .5)
  406. elseif Type == "Up" then
  407. local bodyVelocity = Create("BodyVelocity"){
  408. velocity = Vector3.new(0, 20, 0),
  409. P = 5000,
  410. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  411. Parent = hit,
  412. }
  413. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  414. elseif Type == "DarkUp" then
  415. coroutine.resume(coroutine.create(function()
  416. for i = 0, 1, 0.1 do
  417. swait()
  418. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  419. end
  420. end))
  421. local bodyVelocity = Create("BodyVelocity"){
  422. velocity = Vector3.new(0, 20, 0),
  423. P = 5000,
  424. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  425. Parent = hit,
  426. }
  427. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  428. elseif Type == "Snare" then
  429. local bp = Create("BodyPosition"){
  430. P = 2000,
  431. D = 100,
  432. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  433. position = hit.Parent.Torso.Position,
  434. Parent = hit.Parent.Torso,
  435. }
  436. game:GetService("Debris"):AddItem(bp, 1)
  437. elseif Type == "Freeze" then
  438. local BodPos = Create("BodyPosition"){
  439. P = 50000,
  440. D = 1000,
  441. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  442. position = hit.Parent.Torso.Position,
  443. Parent = hit.Parent.Torso,
  444. }
  445. local BodGy = Create("BodyGyro") {
  446. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  447. P = 20e+003,
  448. Parent = hit.Parent.Torso,
  449. cframe = hit.Parent.Torso.CFrame,
  450. }
  451. hit.Parent.Torso.Anchored = true
  452. coroutine.resume(coroutine.create(function(Part)
  453. swait(1.5)
  454. Part.Anchored = false
  455. end), hit.Parent.Torso)
  456. game:GetService("Debris"):AddItem(BodPos, 3)
  457. game:GetService("Debris"):AddItem(BodGy, 3)
  458. end
  459. local debounce = Create("BoolValue"){
  460. Name = "DebounceHit",
  461. Parent = hit.Parent,
  462. Value = true,
  463. }
  464. game:GetService("Debris"):AddItem(debounce, Delay)
  465. c = Create("ObjectValue"){
  466. Name = "creator",
  467. Value = Player,
  468. Parent = h,
  469. }
  470. game:GetService("Debris"):AddItem(c, .5)
  471. end
  472. end
  473.  
  474. local sine=0
  475. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  476. local Hitboxpart = Instance.new("Part", EffectModel)
  477. RemoveOutlines(Hitboxpart)
  478. Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  479. Hitboxpart.CanCollide = false
  480. Hitboxpart.Transparency = 1
  481. Hitboxpart.Anchored = true
  482. Hitboxpart.CFrame = Pose
  483. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  484. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  485. end
  486. function GEtOuT()
  487. attack = true
  488. hum.WalkSpeed = 2.01
  489. CreateSound("749031341", hed, 10, 1)
  490. for i = 0,2,0.1 do
  491. swait()
  492. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5) * angles(Rad(50), Rad(0), Rad(0)), 0.15)
  493. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  494. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-40)), 0.15)
  495. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-40)), 0.15)
  496. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-90), Rad(0), Rad(5)), 0.1)
  497. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-90), Rad(0), Rad(-5)), 0.1)
  498. end
  499. HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 7, 10, 53, "Knockdown")
  500. for i = 0,4,0.1 do
  501. swait()
  502. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5) * angles(Rad(-50), Rad(0), Rad(0)), 0.15)
  503. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  504. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(40)), 0.15)
  505. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(40)), 0.15)
  506. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-90), Rad(0), Rad(5)), 0.1)
  507. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-90), Rad(0), Rad(-5)), 0.1)
  508. end
  509. local Blobby = Instance.new("Part", char)
  510. Blobby.Name = "Blob"
  511. Blobby.CanCollide = false
  512. Blobby.BrickColor = BrickColor.new("Really black")
  513. Blobby.Transparency = 0
  514. Blobby.Material = "Plastic"
  515. Blobby.Size = Vector3.new(1, 1, 2)
  516. Blobby.TopSurface = Enum.SurfaceType.Smooth
  517. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  518.  
  519. local Weld = Instance.new("Weld", Blobby)
  520. Weld.Part0 = ra
  521. Weld.Part1 = Blobby
  522. Weld.C1 = CFrame.new(0, -.3, 1.4)
  523. Weld.C0 = CFrame.Angles(math.rad(-90),0,0)
  524.  
  525. local M2 = Instance.new("SpecialMesh")
  526. M2.Parent = Blobby
  527. M2.MeshId = "http://www.roblox.com/asset/?id=491267221"
  528. M2.TextureId = "http://www.roblox.com/asset/?id=491267267"
  529. M2.Scale = Vector3.new(0.65, 0.65, 0.65)
  530. for i = 0,6,0.1 do
  531. swait()
  532. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  533. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  534. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  535. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  536. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(5)), 0.1)
  537. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  538. end
  539. Blobby.Transparency = 1
  540. Blobby:Destroy()
  541. attack = false
  542. hum.WalkSpeed = 16
  543. end
  544.  
  545. function AnotherOne()
  546. attack = true
  547. hum.WalkSpeed = 1.01
  548. local icri = CreateSound("1205111204", hed, 10, 1)
  549. swait(130)
  550. local FRAME = tors.CFrame
  551. repeat
  552. swait()
  553. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  554. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  555. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  556. RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  557. LW.C0 = clerp(LW.C0, CF(-1.3, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1)
  558. tors.CFrame = FRAME * CF(0,1,0)
  559. swait()
  560. tors.CFrame = FRAME
  561. until icri.Playing == false
  562. attack = false
  563. hum.WalkSpeed = 16
  564. end
  565.  
  566. function kyu_will_break_your_neck_asdf_longest_function_name_ever_xd()
  567. attack = true
  568. for i = 0,6,0.1 do
  569. swait()
  570. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  571. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  572. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  573. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  574. RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.2 * Cos(sine / 20)) * angles(Rad(170), Rad(0), Rad(-15)), 0.1)
  575. LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.025 * Cos(sine / 20)) * angles(Rad(140), Rad(0), Rad(15)), 0.1)
  576. end
  577. CreateSound("131346888", hed, 10, 1)
  578. for i = 0,4,0.1 do
  579. swait()
  580. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(5), Rad(0), Rad(0)), 0.15)
  581. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(40), Rad(0)), 0.4)
  582. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  583. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  584. RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.2 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-40)), 0.4)
  585. LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.025 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(40)), 0.4)
  586. end
  587. hum.MaxHealth = 0
  588. ragdoll(char)
  589. error("Seems like you just died.")
  590. end
  591.  
  592. mouse.KeyDown:connect(function(key)
  593. if key == 'q' then
  594. GEtOuT()
  595. if key == 'e' then
  596. AnotherOne()
  597. if key == 'r' then
  598. AnotherOne()
  599.  
  600. end
  601. end
  602. end
  603. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement