danielaust

OP

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