Advertisement
5325325325

Untitled

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