Advertisement
Kittdy2

Untitled

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