Advertisement
memberhero

Memes script

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