Advertisement
Guest User

Memeus 2.1

a guest
Jun 13th, 2018
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --YOLOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
  2. wait()
  3. local Player = game.Players.localPlayer
  4. local Character = Player.Character
  5. local plr = game:service'Players'.LocalPlayer
  6. local Humanoid = Character.Humanoid
  7. local char = plr.Character
  8. local hum = char.Humanoid
  9. local ra = char["Right Arm"]
  10. local la= char["Left Arm"]
  11. local rl= char["Right Leg"]
  12. local ll = char["Left Leg"]
  13. local hed = char.Head
  14. local root = char.HumanoidRootPart
  15. local rootj = root.RootJoint
  16. local tors = char.Torso
  17. local mouse = plr:GetMouse()
  18. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  19. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  20. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  21. local cam = game.Workspace.CurrentCamera
  22. trazx = Instance.new("ParticleEmitter")
  23. c = game.Players.LocalPlayer.Character
  24. local sine=0
  25. Character.Head.face.Texture = "rbxassetid://183225545"
  26.  
  27. -------------------------------------------------------
  28. --Start Good Stuff--
  29. -------------------------------------------------------
  30. CF = CFrame.new
  31. angles = CFrame.Angles
  32. attack = false
  33. timetofly = true
  34. Euler = CFrame.fromEulerAnglesXYZ
  35. Rad = math.rad
  36. IT = Instance.new
  37. BrickC = BrickColor.new
  38. Cos = math.cos
  39. Acos = math.acos
  40. Sin = math.sin
  41. Asin = math.asin
  42. Abs = math.abs
  43. Mrandom = math.random
  44. Floor = math.floor
  45. random = math.random
  46. radian = math.rad
  47. Vec3 = Vector3.new
  48. cFrame = CFrame.new
  49. Euler = CFrame.fromEulerAnglesXYZ
  50. -------------------------------------------------------
  51. --End Good Stuff--
  52. -------------------------------------------------------
  53. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  54. RSH, LSH = nil, nil
  55. RW = Instance.new("Weld")
  56. LW = Instance.new("Weld")
  57. RH = tors["Right Hip"]
  58. LH = tors["Left Hip"]
  59. RSH = tors["Right Shoulder"]
  60. LSH = tors["Left Shoulder"]
  61. RSH.Parent = nil
  62. LSH.Parent = nil
  63. RW.Name = "RW"
  64. RW.Part0 = tors
  65. RW.C0 = CF(1.5, 0.5, 0)
  66. RW.C1 = CF(0, 0.5, 0)
  67. RW.Part1 = ra
  68. RW.Parent = tors
  69. LW.Name = "LW"
  70. LW.Part0 = tors
  71. LW.C0 = CF(-1.5, 0.5, 0)
  72. LW.C1 = CF(0, 0.5, 0)
  73. LW.Part1 = la
  74. LW.Parent = tors
  75. Effects = {}
  76.  
  77. -------------------------------------------------------
  78. --Start HeartBeat--
  79. -------------------------------------------------------
  80. ArtificialHB = Instance.new("BindableEvent", script)
  81. ArtificialHB.Name = "Heartbeat"
  82. script:WaitForChild("Heartbeat")
  83.  
  84. frame = 1 / 60
  85. tf = 0
  86. allowframeloss = false
  87. tossremainder = false
  88.  
  89.  
  90. lastframe = tick()
  91. script.Heartbeat:Fire()
  92.  
  93.  
  94. game:GetService("RunService").Heartbeat:connect(function(s, p)
  95. tf = tf + s
  96. if tf >= frame then
  97. if allowframeloss then
  98. script.Heartbeat:Fire()
  99. lastframe = tick()
  100. else
  101. for i = 1, math.floor(tf / frame) do
  102. script.Heartbeat:Fire()
  103. end
  104. lastframe = tick()
  105. end
  106. if tossremainder then
  107. tf = 0
  108. else
  109. tf = tf - frame * math.floor(tf / frame)
  110. end
  111. end
  112. end)
  113. -------------------------------------------------------
  114. --End HeartBeat--
  115. -------------------------------------------------------
  116.  
  117. function CameraEnshaking(Length, Intensity) --Took Straight from StarGlitcher!
  118. coroutine.resume(coroutine.create(function()
  119. local intensity = 1 * Intensity
  120. local rotM = 0.01 * Intensity
  121. for i = 0, Length, 0.1 do
  122. swait()
  123. intensity = intensity - 0.05 * Intensity / Length
  124. rotM = rotM - 5.0E-4 * Intensity / Length
  125. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  126. cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  127. end
  128. Humanoid.CameraOffset = Vec3(0, 0, 0)
  129. end))
  130. end
  131.  
  132. local joyemoji = Instance.new('ParticleEmitter', tors)
  133. joyemoji.VelocitySpread = 2000
  134. joyemoji.Lifetime = NumberRange.new(1)
  135. joyemoji.Speed = NumberRange.new(40)
  136. joy= {}
  137. for i=0, 19 do
  138. joy[#joy+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  139. end
  140. joyemoji.Size = NumberSequence.new(joy)
  141. joyemoji.Rate = 0
  142. joyemoji.LockedToPart = false
  143. joyemoji.LightEmission = 0
  144. joyemoji.Texture = "rbxassetid://1176402123"
  145. joyemoji.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
  146.  
  147.  
  148. local LIT = Instance.new('ParticleEmitter', tors)
  149. LIT.VelocitySpread = 2000
  150. LIT.Lifetime = NumberRange.new(1)
  151. LIT.Speed = NumberRange.new(45)
  152. nani= {}
  153. for i=0, 19 do
  154. nani[#nani+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  155. end
  156. LIT.Size = NumberSequence.new(nani)
  157. LIT.Rate = 0
  158. LIT.LockedToPart = false
  159. LIT.LightEmission = 0
  160. LIT.Texture = "rbxassetid://1492670151"
  161. LIT.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
  162.  
  163. local toast = Instance.new('ParticleEmitter', tors)
  164. toast.VelocitySpread = 2000
  165. toast.Lifetime = NumberRange.new(1)
  166. toast.Speed = NumberRange.new(60)
  167. toasterstoasttoast= {}
  168. for i=0, 19 do
  169. toasterstoasttoast[#toasterstoasttoast+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  170. end
  171. toast.Size = NumberSequence.new(toasterstoasttoast)
  172. toast.Rate = 0
  173. toast.LockedToPart = false
  174. toast.LightEmission = 0
  175. toast.Texture = "rbxassetid://436096230"
  176. toast.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
  177.  
  178. local ok = Instance.new('ParticleEmitter', tors)
  179. ok.VelocitySpread = 2000
  180. ok.Lifetime = NumberRange.new(1)
  181. ok.Speed = NumberRange.new(50)
  182. cool= {}
  183. for i=0, 19 do
  184. cool[#cool+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  185. end
  186. ok.Size = NumberSequence.new(cool)
  187. ok.Rate = 0
  188. ok.LockedToPart = false
  189. ok.LightEmission = 0
  190. ok.Texture = "rbxassetid://636768448"
  191. ok.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
  192.  
  193. -------------------------------------------------------
  194. --Start Kyu's shitty stuff--
  195. -------------------------------------------------------
  196.  
  197. function ragdoll(model)
  198. local char = model
  199. torso = char.HumanoidRootPart
  200. torso2 = char.Torso
  201. LW.Parent = nil
  202. RW.Parent = nil
  203. LH.Parent = nil
  204. RH.Parent = nil
  205. if hum ~= nil then
  206. hum.PlatformStand = true
  207. end
  208.  
  209. local Head = char:FindFirstChild("Head")
  210. if Head then
  211. local Neck = Instance.new("Weld")
  212. Neck.Name = "Neck"
  213. Neck.Part0 = torso
  214. Neck.Part1 = Head
  215. Neck.C0 = CFrame.new(0, 1.5, 0)
  216. Neck.C1 = CFrame.new()
  217. Neck.Parent = torso
  218. end
  219. local Limb = char:FindFirstChild("Right Arm")
  220. if Limb then
  221.  
  222. Limb.CFrame = torso.CFrame * CFrame.new(1.5, 0, 0)
  223. local Joint = Instance.new("Glue")
  224. Joint.Name = "RightShoulder"
  225. Joint.Part0 = torso
  226. Joint.Part1 = Limb
  227. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  228. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  229. Joint.Parent = torso
  230.  
  231. local B = Instance.new("Part")
  232. B.TopSurface = 0
  233. B.BottomSurface = 0
  234. B.formFactor = "Symmetric"
  235. B.Size = Vector3.new(1, 1, 1)
  236. B.Transparency = 1
  237. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  238. B.Parent = char
  239. local W = Instance.new("Weld")
  240. W.Part0 = Limb
  241. W.Part1 = B
  242. W.C0 = CFrame.new(0, -0.5, 0)
  243. W.Parent = Limb
  244.  
  245. end
  246. local Limb = char:FindFirstChild("Left Arm")
  247. if Limb then
  248.  
  249. Limb.CFrame = torso.CFrame * CFrame.new(-1.5, 0, 0)
  250. local Joint = Instance.new("Glue")
  251. Joint.Name = "LeftShoulder"
  252. Joint.Part0 = torso
  253. Joint.Part1 = Limb
  254. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  255. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  256. Joint.Parent = torso
  257.  
  258. local B = Instance.new("Part")
  259. B.TopSurface = 0
  260. B.BottomSurface = 0
  261. B.formFactor = "Symmetric"
  262. B.Size = Vector3.new(1, 1, 1)
  263. B.Transparency = 1
  264. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  265. B.Parent = char
  266. local W = Instance.new("Weld")
  267. W.Part0 = Limb
  268. W.Part1 = B
  269. W.C0 = CFrame.new(0, -0.5, 0)
  270. W.Parent = Limb
  271.  
  272. end
  273. local Limb = char:FindFirstChild("Right Leg")
  274. if Limb then
  275.  
  276. Limb.CFrame = torso.CFrame * CFrame.new(0.5, -2, 0)
  277. local Joint = Instance.new("Glue")
  278. Joint.Name = "RightHip"
  279. Joint.Part0 = torso
  280. Joint.Part1 = Limb
  281. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  282. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  283. Joint.Parent = torso
  284.  
  285. local B = Instance.new("Part")
  286. B.TopSurface = 0
  287. B.BottomSurface = 0
  288. B.formFactor = "Symmetric"
  289. B.Size = Vector3.new(1, 1, 1)
  290. B.Transparency = 1
  291. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  292. B.Parent = char
  293. local W = Instance.new("Weld")
  294. W.Part0 = Limb
  295. W.Part1 = B
  296. W.C0 = CFrame.new(0, -0.5, 0)
  297. W.Parent = Limb
  298.  
  299. end
  300. local Limb = char:FindFirstChild("Left Leg")
  301. if Limb then
  302.  
  303. Limb.CFrame = torso.CFrame * CFrame.new(-0.5, -2, 0)
  304. local Joint = Instance.new("Glue")
  305. Joint.Name = "LeftHip"
  306. Joint.Part0 = torso
  307. Joint.Part1 = Limb
  308. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  309. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  310. Joint.Parent = torso
  311.  
  312. local B = Instance.new("Part")
  313. B.TopSurface = 0
  314. B.BottomSurface = 0
  315. B.formFactor = "Symmetric"
  316. B.Size = Vector3.new(1, 1, 1)
  317. B.Transparency = 1
  318. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  319. B.Parent = char
  320. local W = Instance.new("Weld")
  321. W.Part0 = Limb
  322. W.Part1 = B
  323. W.C0 = CFrame.new(0, -0.5, 0)
  324. W.Parent = Limb
  325.  
  326. end
  327. --[
  328. local Bar = Instance.new("Part")
  329. Bar.TopSurface = 0
  330. Bar.BottomSurface = 0
  331. Bar.formFactor = "Symmetric"
  332. Bar.Size = Vector3.new(1, 1, 1)
  333. Bar.Transparency = 1
  334. Bar.CFrame = torso.CFrame * CFrame.new(0, 0.5, 0)
  335. Bar.Parent = char
  336. local Weld = Instance.new("Weld")
  337. Weld.Part0 = torso
  338. Weld.Part1 = Bar
  339. Weld.C0 = CFrame.new(0, 0.5, 0)
  340. Weld.Parent = torso
  341. --]]
  342.  
  343. torso.CFrame = CFrame.new(torso.Position)*CFrame.Angles(math.rad(20),math.rad(torso.Orientation.Y),math.rad(torso.Orientation.Z))
  344.  
  345. end
  346.  
  347. -------------------------------------------------------
  348. --End Kyu's shitty stuff--
  349. -------------------------------------------------------
  350.  
  351. -------------------------------------------------------
  352. --Start Important Functions--
  353. -------------------------------------------------------
  354. function swait(num)
  355. if num == 0 or num == nil then
  356. game:service("RunService").Stepped:wait(0)
  357. else
  358. for i = 0, num do
  359. game:service("RunService").Stepped:wait(0)
  360. end
  361. end
  362. end
  363. function thread(f)
  364. coroutine.resume(coroutine.create(f))
  365. end
  366. function clerp(a, b, t)
  367. local qa = {
  368. QuaternionFromCFrame(a)
  369. }
  370. local qb = {
  371. QuaternionFromCFrame(b)
  372. }
  373. local ax, ay, az = a.x, a.y, a.z
  374. local bx, by, bz = b.x, b.y, b.z
  375. local _t = 1 - t
  376. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  377. end
  378. function QuaternionFromCFrame(cf)
  379. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  380. local trace = m00 + m11 + m22
  381. if trace > 0 then
  382. local s = math.sqrt(1 + trace)
  383. local recip = 0.5 / s
  384. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  385. else
  386. local i = 0
  387. if m00 < m11 then
  388. i = 1
  389. end
  390. if m22 > (i == 0 and m00 or m11) then
  391. i = 2
  392. end
  393. if i == 0 then
  394. local s = math.sqrt(m00 - m11 - m22 + 1)
  395. local recip = 0.5 / s
  396. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  397. elseif i == 1 then
  398. local s = math.sqrt(m11 - m22 - m00 + 1)
  399. local recip = 0.5 / s
  400. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  401. elseif i == 2 then
  402. local s = math.sqrt(m22 - m00 - m11 + 1)
  403. local recip = 0.5 / s
  404. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  405. end
  406. end
  407. end
  408. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  409. local xs, ys, zs = x + x, y + y, z + z
  410. local wx, wy, wz = w * xs, w * ys, w * zs
  411. local xx = x * xs
  412. local xy = x * ys
  413. local xz = x * zs
  414. local yy = y * ys
  415. local yz = y * zs
  416. local zz = z * zs
  417. 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))
  418. end
  419. function QuaternionSlerp(a, b, t)
  420. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  421. local startInterp, finishInterp
  422. if cosTheta >= 1.0E-4 then
  423. if 1 - cosTheta > 1.0E-4 then
  424. local theta = math.acos(cosTheta)
  425. local invSinTheta = 1 / Sin(theta)
  426. startInterp = Sin((1 - t) * theta) * invSinTheta
  427. finishInterp = Sin(t * theta) * invSinTheta
  428. else
  429. startInterp = 1 - t
  430. finishInterp = t
  431. end
  432. elseif 1 + cosTheta > 1.0E-4 then
  433. local theta = math.acos(-cosTheta)
  434. local invSinTheta = 1 / Sin(theta)
  435. startInterp = Sin((t - 1) * theta) * invSinTheta
  436. finishInterp = Sin(t * theta) * invSinTheta
  437. else
  438. startInterp = t - 1
  439. finishInterp = t
  440. end
  441. 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
  442. end
  443. function rayCast(Position, Direction, Range, Ignore)
  444. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  445. end
  446. local RbxUtility = LoadLibrary("RbxUtility")
  447. local Create = RbxUtility.Create
  448.  
  449. -------------------------------------------------------
  450. --Start Damage Function--
  451. -------------------------------------------------------
  452. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  453. if hit.Parent == nil then
  454. return
  455. end
  456. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  457. for _, v in pairs(hit.Parent:children()) do
  458. if v:IsA("Humanoid") then
  459. h = v
  460. end
  461. end
  462. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  463. warn'No R15 allowed'
  464. hit.Parent:FindFirstChild("Head"):BreakJoints()
  465. end
  466.  
  467. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  468. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  469. if hit.Parent.DebounceHit.Value == true then
  470. return
  471. end
  472. end
  473. if insta == true then
  474. hit.Parent:FindFirstChild("Head"):BreakJoints()
  475. end
  476. local c = Create("ObjectValue"){
  477. Name = "creator",
  478. Value = game:service("Players").LocalPlayer,
  479. Parent = h,
  480. }
  481. game:GetService("Debris"):AddItem(c, .5)
  482. if HitSound ~= nil and HitPitch ~= nil then
  483. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  484. end
  485. local Damage = math.random(minim, maxim)
  486. local blocked = false
  487. local block = hit.Parent:findFirstChild("Block")
  488. if block ~= nil then
  489. if block.className == "IntValue" then
  490. if block.Value > 0 then
  491. blocked = true
  492. block.Value = block.Value - 1
  493. print(block.Value)
  494. end
  495. end
  496. end
  497. if blocked == false then
  498. h.Health = h.Health - Damage
  499. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  500. else
  501. h.Health = h.Health - (Damage / 2)
  502. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  503. end
  504. if Type == "Knockdown" then
  505. local hum = hit.Parent.Humanoid
  506. hum.PlatformStand = true
  507. coroutine.resume(coroutine.create(function(HHumanoid)
  508. swait(1)
  509. HHumanoid.PlatformStand = false
  510. end), hum)
  511. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  512. local bodvol = Create("BodyVelocity"){
  513. velocity = angle * knockback,
  514. P = 5000,
  515. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  516. Parent = hit,
  517. }
  518. local rl = Create("BodyAngularVelocity"){
  519. P = 3000,
  520. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  521. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  522. Parent = hit,
  523. }
  524. game:GetService("Debris"):AddItem(bodvol, .5)
  525. game:GetService("Debris"):AddItem(rl, .5)
  526. elseif Type == "Normal" then
  527. local vp = Create("BodyVelocity"){
  528. P = 500,
  529. maxForce = Vector3.new(math.huge, 0, math.huge),
  530. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  531. }
  532. if knockback > 0 then
  533. vp.Parent = hit.Parent.Torso
  534. end
  535. game:GetService("Debris"):AddItem(vp, .5)
  536. elseif Type == "Up" then
  537. local bodyVelocity = Create("BodyVelocity"){
  538. velocity = Vector3.new(0, 20, 0),
  539. P = 5000,
  540. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  541. Parent = hit,
  542. }
  543. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  544. elseif Type == "DarkUp" then
  545. coroutine.resume(coroutine.create(function()
  546. for i = 0, 1, 0.1 do
  547. swait()
  548. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  549. end
  550. end))
  551. local bodyVelocity = Create("BodyVelocity"){
  552. velocity = Vector3.new(0, 20, 0),
  553. P = 5000,
  554. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  555. Parent = hit,
  556. }
  557. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  558. elseif Type == "Snare" then
  559. local bp = Create("BodyPosition"){
  560. P = 2000,
  561. D = 100,
  562. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  563. position = hit.Parent.Torso.Position,
  564. Parent = hit.Parent.Torso,
  565. }
  566. game:GetService("Debris"):AddItem(bp, 1)
  567. elseif Type == "Freeze" then
  568. local BodPos = Create("BodyPosition"){
  569. P = 50000,
  570. D = 1000,
  571. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  572. position = hit.Parent.Torso.Position,
  573. Parent = hit.Parent.Torso,
  574. }
  575. local BodGy = Create("BodyGyro") {
  576. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  577. P = 20e+003,
  578. Parent = hit.Parent.Torso,
  579. cframe = hit.Parent.Torso.CFrame,
  580. }
  581. hit.Parent.Torso.Anchored = true
  582. coroutine.resume(coroutine.create(function(Part)
  583. swait(1.5)
  584. Part.Anchored = false
  585. end), hit.Parent.Torso)
  586. game:GetService("Debris"):AddItem(BodPos, 3)
  587. game:GetService("Debris"):AddItem(BodGy, 3)
  588. end
  589. local debounce = Create("BoolValue"){
  590. Name = "DebounceHit",
  591. Parent = hit.Parent,
  592. Value = true,
  593. }
  594. game:GetService("Debris"):AddItem(debounce, Delay)
  595. c = Create("ObjectValue"){
  596. Name = "creator",
  597. Value = Player,
  598. Parent = h,
  599. }
  600. game:GetService("Debris"):AddItem(c, .5)
  601. end
  602. end
  603. -------------------------------------------------------
  604. --End Damage Function--
  605. -------------------------------------------------------
  606.  
  607. -------------------------------------------------------
  608. --Start Damage Function Customization--
  609. -------------------------------------------------------
  610. function ShowDamage(Pos, Text, Time, Color)
  611. local Rate = (1 / 30)
  612. local Pos = (Pos or Vector3.new(0, 0, 0))
  613. local Text = (Text or "")
  614. local Time = (Time or 2)
  615. local Color = (Color or Color3.new(1, 0, 1))
  616. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  617. EffectPart.Anchored = true
  618. local BillboardGui = Create("BillboardGui"){
  619. Size = UDim2.new(3, 0, 3, 0),
  620. Adornee = EffectPart,
  621. Parent = EffectPart,
  622. }
  623. local TextLabel = Create("TextLabel"){
  624. BackgroundTransparency = 1,
  625. Size = UDim2.new(1, 0, 1, 0),
  626. Text = Text,
  627. Font = "Highway",
  628. TextColor3 = Color,
  629. TextScaled = true,
  630. Parent = BillboardGui,
  631. }
  632. game.Debris:AddItem(EffectPart, (Time))
  633. EffectPart.Parent = game:GetService("Workspace")
  634. delay(0, function()
  635. local Frames = (Time / Rate)
  636. for Frame = 1, Frames do
  637. wait(Rate)
  638. local Percent = (Frame / Frames)
  639. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  640. TextLabel.TextTransparency = Percent
  641. end
  642. if EffectPart and EffectPart.Parent then
  643. EffectPart:Destroy()
  644. end
  645. end)
  646. end
  647. -------------------------------------------------------
  648. --End Damage Function Customization--
  649. -------------------------------------------------------
  650.  
  651. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  652. for _, c in pairs(workspace:children()) do
  653. local hum = c:findFirstChild("Humanoid")
  654. if hum ~= nil then
  655. local head = c:findFirstChild("Head")
  656. if head ~= nil then
  657. local targ = head.Position - Part.Position
  658. local mag = targ.magnitude
  659. if magni >= mag and c.Name ~= plr.Name then
  660. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=231917784", 1.2)
  661. end
  662. end
  663. end
  664. end
  665. end
  666.  
  667.  
  668. CFuncs = {
  669. Part = {
  670. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  671. local Part = Create("Part")({
  672. Parent = Parent,
  673. Reflectance = Reflectance,
  674. Transparency = Transparency,
  675. CanCollide = false,
  676. Locked = true,
  677. BrickColor = BrickColor.new(tostring(BColor)),
  678. Name = Name,
  679. Size = Size,
  680. Material = Material
  681. })
  682. RemoveOutlines(Part)
  683. return Part
  684. end
  685. },
  686. Mesh = {
  687. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  688. local Msh = Create(Mesh)({
  689. Parent = Part,
  690. Offset = OffSet,
  691. Scale = Scale
  692. })
  693. if Mesh == "SpecialMesh" then
  694. Msh.MeshType = MeshType
  695. Msh.MeshId = MeshId
  696. end
  697. return Msh
  698. end
  699. },
  700. Mesh = {
  701. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  702. local Msh = Create(Mesh)({
  703. Parent = Part,
  704. Offset = OffSet,
  705. Scale = Scale
  706. })
  707. if Mesh == "SpecialMesh" then
  708. Msh.MeshType = MeshType
  709. Msh.MeshId = MeshId
  710. end
  711. return Msh
  712. end
  713. },
  714. Weld = {
  715. Create = function(Parent, Part0, Part1, C0, C1)
  716. local Weld = Create("Weld")({
  717. Parent = Parent,
  718. Part0 = Part0,
  719. Part1 = Part1,
  720. C0 = C0,
  721. C1 = C1
  722. })
  723. return Weld
  724. end
  725. },
  726. Sound = {
  727. Create = function(id, par, vol, pit)
  728. coroutine.resume(coroutine.create(function()
  729. local S = Create("Sound")({
  730. Volume = vol,
  731. Pitch = pit or 1,
  732. SoundId = id,
  733. Parent = par or workspace
  734. })
  735. wait()
  736. S:play()
  737. game:GetService("Debris"):AddItem(S, 6)
  738. end))
  739. end
  740. },
  741. ParticleEmitter = {
  742. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  743. local fp = Create("ParticleEmitter")({
  744. Parent = Parent,
  745. Color = ColorSequence.new(Color1, Color2),
  746. LightEmission = LightEmission,
  747. Size = Size,
  748. Texture = Texture,
  749. Transparency = Transparency,
  750. ZOffset = ZOffset,
  751. Acceleration = Accel,
  752. Drag = Drag,
  753. LockedToPart = LockedToPart,
  754. VelocityInheritance = VelocityInheritance,
  755. EmissionDirection = EmissionDirection,
  756. Enabled = Enabled,
  757. Lifetime = LifeTime,
  758. Rate = Rate,
  759. Rotation = Rotation,
  760. RotSpeed = RotSpeed,
  761. Speed = Speed,
  762. VelocitySpread = VelocitySpread
  763. })
  764. return fp
  765. end
  766. }
  767. }
  768. function RemoveOutlines(part)
  769. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  770. end
  771. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  772. local Part = Create("Part")({
  773. formFactor = FormFactor,
  774. Parent = Parent,
  775. Reflectance = Reflectance,
  776. Transparency = Transparency,
  777. CanCollide = false,
  778. Locked = true,
  779. BrickColor = BrickColor.new(tostring(BColor)),
  780. Name = Name,
  781. Size = Size,
  782. Material = Material
  783. })
  784. RemoveOutlines(Part)
  785. return Part
  786. end
  787. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  788. local Msh = Create(Mesh)({
  789. Parent = Part,
  790. Offset = OffSet,
  791. Scale = Scale
  792. })
  793. if Mesh == "SpecialMesh" then
  794. Msh.MeshType = MeshType
  795. Msh.MeshId = MeshId
  796. end
  797. return Msh
  798. end
  799. function CreateWeld(Parent, Part0, Part1, C0, C1)
  800. local Weld = Create("Weld")({
  801. Parent = Parent,
  802. Part0 = Part0,
  803. Part1 = Part1,
  804. C0 = C0,
  805. C1 = C1
  806. })
  807. return Weld
  808. end
  809.  
  810.  
  811. -------------------------------------------------------
  812. --Start Effect Function--
  813. -------------------------------------------------------
  814. EffectModel = Instance.new("Model", char)
  815. Effects = {
  816. Block = {
  817. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  818. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  819. prt.Anchored = true
  820. prt.CFrame = cframe
  821. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  822. game:GetService("Debris"):AddItem(prt, 10)
  823. if Type == 1 or Type == nil then
  824. table.insert(Effects, {
  825. prt,
  826. "Block1",
  827. delay,
  828. x3,
  829. y3,
  830. z3,
  831. msh
  832. })
  833. elseif Type == 2 then
  834. table.insert(Effects, {
  835. prt,
  836. "Block2",
  837. delay,
  838. x3,
  839. y3,
  840. z3,
  841. msh
  842. })
  843. else
  844. table.insert(Effects, {
  845. prt,
  846. "Block3",
  847. delay,
  848. x3,
  849. y3,
  850. z3,
  851. msh
  852. })
  853. end
  854. end
  855. },
  856. Sphere = {
  857. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  858. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  859. prt.Anchored = true
  860. prt.CFrame = cframe
  861. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0,0,0), Vector3.new(x1, y1, z1))
  862. game:GetService("Debris"):AddItem(prt, 10)
  863. table.insert(Effects, {
  864. prt,
  865. "Cylinder",
  866. delay,
  867. x3,
  868. y3,
  869. z3,
  870. msh
  871. })
  872. end
  873. },
  874. Cylinder = {
  875. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  876. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  877. prt.Anchored = true
  878. prt.CFrame = cframe
  879. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  880. game:GetService("Debris"):AddItem(prt, 10)
  881. table.insert(Effects, {
  882. prt,
  883. "Cylinder",
  884. delay,
  885. x3,
  886. y3,
  887. z3,
  888. msh
  889. })
  890. end
  891. },
  892. Wave = {
  893. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  894. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  895. prt.Anchored = true
  896. prt.CFrame = cframe
  897. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  898. game:GetService("Debris"):AddItem(prt, 10)
  899. table.insert(Effects, {
  900. prt,
  901. "Cylinder",
  902. delay,
  903. x3 / 60,
  904. y3 / 60,
  905. z3 / 60,
  906. msh
  907. })
  908. end
  909. },
  910. Ring = {
  911. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  912. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  913. prt.Anchored = true
  914. prt.CFrame = cframe
  915. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  916. game:GetService("Debris"):AddItem(prt, 10)
  917. table.insert(Effects, {
  918. prt,
  919. "Cylinder",
  920. delay,
  921. x3,
  922. y3,
  923. z3,
  924. msh
  925. })
  926. end
  927. },
  928. Break = {
  929. Create = function(brickcolor, cframe, x1, y1, z1)
  930. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  931. prt.Anchored = true
  932. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  933. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  934. local num = math.random(10, 50) / 1000
  935. game:GetService("Debris"):AddItem(prt, 10)
  936. table.insert(Effects, {
  937. prt,
  938. "Shatter",
  939. num,
  940. prt.CFrame,
  941. math.random() - math.random(),
  942. 0,
  943. math.random(50, 100) / 100
  944. })
  945. end
  946. },
  947. Spiral = {
  948. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  949. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  950. prt.Anchored = true
  951. prt.CFrame = cframe
  952. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  953. game:GetService("Debris"):AddItem(prt, 10)
  954. table.insert(Effects, {
  955. prt,
  956. "Cylinder",
  957. delay,
  958. x3,
  959. y3,
  960. z3,
  961. msh
  962. })
  963. end
  964. },
  965. Push = {
  966. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  967. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  968. prt.Anchored = true
  969. prt.CFrame = cframe
  970. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  971. game:GetService("Debris"):AddItem(prt, 10)
  972. table.insert(Effects, {
  973. prt,
  974. "Cylinder",
  975. delay,
  976. x3,
  977. y3,
  978. z3,
  979. msh
  980. })
  981. end
  982. }
  983. }
  984. -------------------------------------------------------
  985. --End Effect Function--
  986. -------------------------------------------------------
  987.  
  988. function CreateSound(ID, PARENT, VOLUME, PITCH) --Very important.
  989. local NSound = nil
  990. coroutine.resume(coroutine.create(function()
  991. NSound = Instance.new("Sound", PARENT)
  992. NSound.Volume = VOLUME
  993. NSound.Pitch = PITCH
  994. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  995. swait()
  996. NSound:play()
  997. game:GetService("Debris"):AddItem(NSound, 10)
  998. end))
  999. return NSound
  1000. end
  1001.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006. -------------------------------------------------------
  1007. --End Important Functions--
  1008. -------------------------------------------------------
  1009.  
  1010. NEWS = Instance.new("Sound", tors) --O NO
  1011. NEWS.SoundId = "http://www.roblox.com/asset/?id=1742986731"
  1012. NEWS.Volume = 100
  1013. NEWS.Pitch = 1
  1014. NEWS.Looped = false
  1015. NEWS.TimePosition = 1
  1016.  
  1017. AAAAA = Instance.new("Sound", tors) --aaa
  1018. AAAAA.SoundId = "http://www.roblox.com/asset/?id=0"
  1019. AAAAA.Volume = 10
  1020. AAAAA.Pitch = 1
  1021. AAAAA.Looped = false
  1022. AAAAA.TimePosition = 1
  1023.  
  1024. MERKIO = Instance.new("Sound", tors) --why
  1025. MERKIO.SoundId = "http://www.roblox.com/asset/?id=1095187518"
  1026. MERKIO.Volume = 10
  1027. MERKIO.Pitch = 1
  1028. MERKIO.Looped = false
  1029. MERKIO.TimePosition = 0
  1030.  
  1031. -------------------------------------------------------
  1032. --Start Music Option--
  1033. -------------------------------------------------------
  1034. local Music = Instance.new("Sound",tors)
  1035. Music.Volume = 2.5
  1036. Music.SoundId = "rbxassetid://"
  1037. Music.Looped = true
  1038. Music.Pitch = 1 --Pitcher
  1039. Music:Play()
  1040. -------------------------------------------------------
  1041. --End Music Option--
  1042. -------------------------------------------------------
  1043. --hi fat >:)
  1044. -------------------------------------------------------
  1045. --Start Attacks N Stuff--
  1046. -------------------------------------------------------
  1047.  
  1048. function THEBESTOVERUSEDJOKEEVER() --oh god why did i make this a thing jeezus help me pls
  1049. attack = true
  1050. hum.WalkSpeed = 16
  1051. Character.Head.face.Texture = "rbxassetid://183225545"
  1052. NEWS:Play()
  1053. repeat
  1054. NEWS.Parent = tors
  1055. swait()
  1056. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  1057. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.3)
  1058. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * RHCF * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  1059. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * LHCF * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  1060. RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1)
  1061. LW.C0 = clerp(LW.C0, CF(-1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1)
  1062. until NEWS.Playing == false
  1063. game.Players.LocalPlayer.Character:BreakJoints()
  1064. local S = Instance.new("Explosion",workspace)
  1065. S.Position = tors.Position
  1066. S.BlastPressure = 9
  1067. S.BlastRadius = 30
  1068. S.ExplosionType = 0
  1069. attack = false
  1070. hum.WalkSpeed = 16
  1071. Character.Head.face.Texture = "rbxassetid://295197013"
  1072. attack = false
  1073. hum.WalkSpeed = 16
  1074. end
  1075.  
  1076. function sneakonehundred()
  1077. attack = true
  1078. hum.WalkSpeed = 0.03
  1079. Character.Head.face.Texture = "rbxassetid://183225545"
  1080. CreateSound("1542642349", tors, 10, 1.05)
  1081. for i = 0,20,0.1 do
  1082. swait()
  1083. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -2.64 + 0.1) * angles(Rad(90), Rad(0), Rad(0)), 0.15)
  1084. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-110), Rad(0), Rad(0)), 0.4)
  1085. 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)
  1086. 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)
  1087. RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.0001 * Cos(sine / 20)) * angles(Rad(1), Rad(0), Rad(-180)), 0.4)
  1088. LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.0001 * Cos(sine / 20)) * angles(Rad(1), Rad(0), Rad(180)), 0.4)
  1089. end
  1090. CreateSound("138093919", tors, 10, 1.05)
  1091. wait(0.25)
  1092. Character.Head.face.Texture = "rbxassetid://1223903433"
  1093. for i = 0,7,0.1 do
  1094. swait()
  1095. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -2.64 + 0.1) * angles(Rad(90), Rad(0), Rad(0)), 0.15)
  1096. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-110), Rad(0), Rad(0)), 0.4)
  1097. 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)
  1098. 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)
  1099. RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.0001 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(-180)), 0.4)
  1100. LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.0001 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(180)), 0.4)
  1101. end
  1102. Character.Head.face.Texture = "rbxassetid://183225545"
  1103. attack = false
  1104. hum.WalkSpeed = 16
  1105. end
  1106.  
  1107. function DANCEFORME()
  1108. attack = true
  1109. Character.Head.face.Texture = "rbxassetid://183225545"
  1110. MERKIO:Play()
  1111. repeat
  1112. for i = 0,0.7,0.2 do
  1113. swait()
  1114. MERKIO.Parent = tors
  1115. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8)
  1116. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9)
  1117. RH.C0 = clerp(RH.C0, CF(1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1118. LH.C0 = clerp(LH.C0, CF(-1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1119. RW.C0 = clerp(RW.C0, CF(1.5, 0.7 + 0.1 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(115)), 0.77)
  1120. LW.C0 = clerp(LW.C0, CF(-1.5, 0.7 + 0.1 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-115)), 0.67)
  1121. end
  1122. for i = 0,0.7,0.2 do
  1123. swait()
  1124. MERKIO.Parent = tors
  1125. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8)
  1126. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9)
  1127. 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.8)
  1128. 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.8)
  1129. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.7)
  1130. 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(-90)), 0.7)
  1131. end
  1132. until MERKIO.Playing == false
  1133. MERKIO:Stop()
  1134. Character.Head.face.Texture = "rbxassetid://183225545"
  1135. attack = false
  1136. hum.WalkSpeed = 16
  1137. end
  1138.  
  1139. function takethat()
  1140. attack = true
  1141. hum.WalkSpeed = 0
  1142. CreateSound("1238240145", tors, 10, 1.05)
  1143. for i = 0,8.3,0.1 do
  1144. swait()
  1145. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(90)), 0.7)
  1146. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.7)
  1147. 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.7)
  1148. 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.7)
  1149. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-.6), Rad(0)), 0.7)
  1150. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-45), Rad(-.6), Rad(136 - 4.5 * Sin(sine / 20))), 0.7)
  1151. end
  1152. CreateSound("135165859", tors, 10, 1.05)
  1153. for i = 0,6,0.1 do
  1154. swait()
  1155. rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1156. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.85)
  1157. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.7)
  1158. 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.7)
  1159. 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.7)
  1160. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-.6), Rad(0)), 0.7)
  1161. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-0), Rad(-.6), Rad(0 - 4.5 * Sin(sine / 20))), 0.7)
  1162. end
  1163. attack = false
  1164. hum.WalkSpeed = 16
  1165. end
  1166. function SCREAM()
  1167. attack = true
  1168. hum.WalkSpeed = 16
  1169. Character.Head.face.Texture = "rbxassetid://183225545"
  1170. local A = math.random(1,13)
  1171. if A == 1 then
  1172. AAAAA.SoundId = "rbxassetid://244510642"
  1173. AAAAA.TimePosition = 0
  1174. end
  1175. if A == 2 then
  1176. AAAAA.SoundId = "rbxassetid://1439720915"
  1177. AAAAA.TimePosition = 0
  1178. end
  1179. if A == 3 then
  1180. AAAAA.SoundId = "rbxassetid://1213179504"
  1181. AAAAA.TimePosition = 0
  1182. end
  1183. if A == 4 then
  1184. AAAAA.SoundId = "rbxassetid://1129186687"
  1185. AAAAA.TimePosition = 0
  1186. end
  1187. if A == 5 then
  1188. AAAAA.SoundId = "rbxassetid://1163493843"
  1189. AAAAA.TimePosition = 0
  1190. end
  1191. if A == 6 then
  1192. AAAAA.SoundId = "rbxassetid://1163494840"
  1193. AAAAA.TimePosition = 0
  1194. end
  1195. if A == 7 then
  1196. AAAAA.SoundId = "rbxassetid://963936697"
  1197. AAAAA.TimePosition = 0
  1198. end
  1199. if A == 8 then
  1200. AAAAA.SoundId = "rbxassetid://1494176499"
  1201. AAAAA.TimePosition = 1
  1202. end
  1203. if A == 9 then
  1204. AAAAA.SoundId = "rbxassetid://1591656314"
  1205. AAAAA.TimePosition = 0
  1206. end
  1207. if A == 10 then
  1208. AAAAA.SoundId = "rbxassetid://130767645"
  1209. AAAAA.TimePosition = 0
  1210. end
  1211. if A == 11 then
  1212. AAAAA.SoundId = "rbxassetid://172818886"
  1213. AAAAA.TimePosition = 0
  1214. end
  1215. if A == 12 then
  1216. AAAAA.SoundId = "rbxassetid://1402021995"
  1217. AAAAA.TimePosition = 0
  1218. end
  1219. if A == 13 then
  1220. AAAAA.SoundId = "rbxassetid://130766856"
  1221. AAAAA.TimePosition = 0
  1222. end
  1223. AAAAA:Play()
  1224. repeat
  1225. swait()
  1226. AAAAA.Parent = tors
  1227. rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1228. until AAAAA.Playing == false
  1229. hum.WalkSpeed = 16
  1230. attack = false
  1231. hum.WalkSpeed = 16
  1232. end
  1233.  
  1234. MoreTaunts = false
  1235. mouse.KeyDown:connect(function(key)
  1236. if attack == false then
  1237. if MoreTaunts == false then
  1238. if key == 'q' then
  1239. THEBESTOVERUSEDJOKEEVER()
  1240. elseif key == 'e' then
  1241. SCREAM()
  1242. elseif key == 'r' then
  1243. sneakonehundred()
  1244. elseif key == 't' then
  1245. DANCEFORME()
  1246. elseif key == 'y' then
  1247. takethat()
  1248. end
  1249. end
  1250. end
  1251. end)
  1252.  
  1253. -------------------------------------------------------
  1254. --End Attacks N Stuff--
  1255. -------------------------------------------------------
  1256.  
  1257.  
  1258.  
  1259.  
  1260. while jumping do
  1261. Humanoid.Jump = true
  1262. wait(0.9)
  1263. end
  1264.  
  1265.  
  1266.  
  1267.  
  1268. -------------------------------------------------------
  1269. --Start Animations--
  1270. -------------------------------------------------------
  1271. local equipped = false
  1272. local idle = 0
  1273. local change = 1
  1274. local val = 0
  1275. local toim = 0
  1276. local idleanim = 0.4
  1277. hum.Animator.Parent = nil
  1278. while true do
  1279. swait()
  1280. sine = sine + change
  1281. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1282. local velderp = root.Velocity.y
  1283. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  1284. if equipped == true or equipped == false then
  1285. if attack == false then
  1286. idle = idle + 1
  1287. else
  1288. idle = 0
  1289. end
  1290. if 1 < root.Velocity.y and hitfloor == nil then
  1291. Anim = "Jump"
  1292. if attack == false then
  1293. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(60)), 0.15)
  1294. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  1295. 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)
  1296. 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)
  1297. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  1298. 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(-90)), 0.1)
  1299. end
  1300. elseif -1 > root.Velocity.y and hitfloor == nil then
  1301. Anim = "Fall"
  1302. if attack == false then
  1303. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(180), Rad(0), Rad(0)), 0.15)
  1304. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  1305. 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)
  1306. 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)
  1307. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  1308. 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(-90)), 0.1)
  1309. end
  1310. elseif torvel < 1 and hitfloor ~= nil then
  1311. Anim = "Idle"
  1312. change = 1
  1313. if attack == false then
  1314. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1315. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  1316. 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)
  1317. 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)
  1318. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  1319. 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(-90)), 0.1)
  1320. end
  1321. elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then
  1322. Anim = "Walk"
  1323. change = 1
  1324. if attack == false then
  1325. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0-255.45), Rad(0), Rad(0)), 0.15)
  1326. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  1327. 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)
  1328. 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)
  1329. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  1330. 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(-90)), 0.1)
  1331. end
  1332. end
  1333. end
  1334. if 0 < #Effects then
  1335. for e = 1, #Effects do
  1336. if Effects[e] ~= nil then
  1337. local Thing = Effects[e]
  1338. if Thing ~= nil then
  1339. local Part = Thing[1]
  1340. local Mode = Thing[2]
  1341. local Delay = Thing[3]
  1342. local IncX = Thing[4]
  1343. local IncY = Thing[5]
  1344. local IncZ = Thing[6]
  1345. if 1 >= Thing[1].Transparency then
  1346. if Thing[2] == "Block1" then
  1347. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1348. local Mesh = Thing[1].Mesh
  1349. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1350. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1351. elseif Thing[2] == "Block2" then
  1352. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1353. local Mesh = Thing[7]
  1354. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1355. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1356. elseif Thing[2] == "Block3" then
  1357. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  1358. local Mesh = Thing[7]
  1359. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1360. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1361. elseif Thing[2] == "Cylinder" then
  1362. local Mesh = Thing[1].Mesh
  1363. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1364. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1365. elseif Thing[2] == "Blood" then
  1366. local Mesh = Thing[7]
  1367. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1368. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1369. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1370. elseif Thing[2] == "Elec" then
  1371. local Mesh = Thing[1].Mesh
  1372. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1373. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1374. elseif Thing[2] == "Disappear" then
  1375. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1376. elseif Thing[2] == "Shatter" then
  1377. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1378. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1379. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1380. Thing[6] = Thing[6] + Thing[5]
  1381. end
  1382. else
  1383. Part.Parent = nil
  1384. table.remove(Effects, e)
  1385. end
  1386. end
  1387. end
  1388. end
  1389. end
  1390. end
  1391. -------------------------------------------------------
  1392. --End Animations And Script--
  1393. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement