Advertisement
robloxy

Untitled

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