Advertisement
Guest User

Memeus v2 FE by owenpinet06

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