Advertisement
HenloMyDude

memeus v2

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