Advertisement
saba1517

MTF MEME

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