Advertisement
MrSlakyx

t pose

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