Advertisement
Guest User

Memeus 2.5

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