Advertisement
EdgyHedgehog

Meme V2 Fe

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