Advertisement
Dark_EccentricYT

Untitled

Jun 9th, 2018
3,477
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.68 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5. wait(0.2)
  6.  
  7. Player = game:GetService("Players").LocalPlayer
  8. PlayerGui = Player.PlayerGui
  9. Cam = workspace.CurrentCamera
  10. Backpack = Player.Backpack
  11. Character = Player.Character
  12. Humanoid = Character:FindFirstChildOfClass("Humanoid")
  13. Mouse = Player:GetMouse()
  14. RootPart = Character["HumanoidRootPart"]
  15. Torso = Character["Torso"]
  16. Head = Character["Head"]
  17. RightArm = Character["Right Arm"]
  18. LeftArm = Character["Left Arm"]
  19. RightLeg = Character["Right Leg"]
  20. LeftLeg = Character["Left Leg"]
  21. RootJoint = RootPart["RootJoint"]
  22. Neck = Torso["Neck"]
  23. RightShoulder = Torso["Right Shoulder"]
  24. LeftShoulder = Torso["Left Shoulder"]
  25. RightHip = Torso["Right Hip"]
  26. LeftHip = Torso["Left Hip"]
  27. local sick = Instance.new("Sound",Character)
  28.  
  29. IT = Instance.new
  30. CF = CFrame.new
  31. VT = Vector3.new
  32. RAD = math.rad
  33. C3 = Color3.new
  34. UD2 = UDim2.new
  35. BRICKC = BrickColor.new
  36. ANGLES = CFrame.Angles
  37. EULER = CFrame.fromEulerAnglesXYZ
  38. COS = math.cos
  39. ACOS = math.acos
  40. SIN = math.sin
  41. ASIN = math.asin
  42. ABS = math.abs
  43. MRANDOM = math.random
  44. FLOOR = math.floor
  45.  
  46. --//=================================\\
  47. --|| USEFUL VALUES
  48. --\\=================================//
  49.  
  50. Animation_Speed = 3
  51. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  52. local Speed = 45
  53. local SIZE = 1.3
  54. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  55. local NECKC0 = CF(0, 1.1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  56. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  57. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  58. local ANIM = "Idle"
  59. local ATTACK = false
  60. local COMBO = 1
  61. local Rooted = false
  62. local SINE = 0
  63. local CHANGE = 2 / Animation_Speed
  64. local ROBLOXIDLEANIMATION = IT("Animation")
  65. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  66. WEAPONGUI.Name = "Big Boie Squad"
  67. local ANIMATOR = Humanoid.Animator
  68. local ANIMATE = Character.Animate
  69. local UNANCHOR = true
  70. local KILLCOUNT = 0
  71.  
  72. --//=================================\\
  73. --\\=================================//
  74.  
  75.  
  76. --//=================================\\
  77. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  78. --\\=================================//
  79.  
  80. ArtificialHB = Instance.new("BindableEvent", script)
  81. ArtificialHB.Name = "ArtificialHB"
  82.  
  83. script:WaitForChild("ArtificialHB")
  84.  
  85. frame = Frame_Speed
  86. tf = 0
  87. allowframeloss = false
  88. tossremainder = false
  89. lastframe = tick()
  90. script.ArtificialHB:Fire()
  91.  
  92. game:GetService("RunService").Heartbeat:connect(function(s, p)
  93. tf = tf + s
  94. if tf >= frame then
  95. if allowframeloss then
  96. script.ArtificialHB:Fire()
  97. lastframe = tick()
  98. else
  99. for i = 1, math.floor(tf / frame) do
  100. script.ArtificialHB:Fire()
  101. end
  102. lastframe = tick()
  103. end
  104. if tossremainder then
  105. tf = 0
  106. else
  107. tf = tf - frame * math.floor(tf / frame)
  108. end
  109. end
  110. end)
  111.  
  112. --//=================================\\
  113. --\\=================================//
  114.  
  115. --//=================================\\
  116. --|| SOME FUNCTIONS
  117. --\\=================================//
  118.  
  119. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  120. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  121. end
  122.  
  123. function PositiveAngle(NUMBER)
  124. if NUMBER >= 0 then
  125. NUMBER = 0
  126. end
  127. return NUMBER
  128. end
  129.  
  130. function NegativeAngle(NUMBER)
  131. if NUMBER <= 0 then
  132. NUMBER = 0
  133. end
  134. return NUMBER
  135. end
  136.  
  137. function Swait(NUMBER)
  138. if NUMBER == 0 or NUMBER == nil then
  139. ArtificialHB.Event:wait()
  140. else
  141. for i = 1, NUMBER do
  142. ArtificialHB.Event:wait()
  143. end
  144. end
  145. end
  146.  
  147. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  148. local NEWMESH = IT(MESH)
  149. if MESH == "SpecialMesh" then
  150. NEWMESH.MeshType = MESHTYPE
  151. if MESHID ~= "nil" and MESHID ~= "" then
  152. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  153. end
  154. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  155. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  156. end
  157. end
  158. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  159. NEWMESH.Scale = SCALE
  160. NEWMESH.Parent = PARENT
  161. return NEWMESH
  162. end
  163.  
  164. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  165. local NEWPART = IT("Part")
  166. NEWPART.formFactor = FORMFACTOR
  167. NEWPART.Reflectance = REFLECTANCE
  168. NEWPART.Transparency = TRANSPARENCY
  169. NEWPART.CanCollide = false
  170. NEWPART.Locked = true
  171. NEWPART.Anchored = true
  172. if ANCHOR == false then
  173. NEWPART.Anchored = false
  174. end
  175. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  176. NEWPART.Name = NAME
  177. NEWPART.Size = SIZE
  178. NEWPART.Position = Torso.Position
  179. NEWPART.Material = MATERIAL
  180. NEWPART:BreakJoints()
  181. NEWPART.Parent = PARENT
  182. return NEWPART
  183. end
  184.  
  185. local function weldBetween(a, b)
  186. local weldd = Instance.new("ManualWeld")
  187. weldd.Part0 = a
  188. weldd.Part1 = b
  189. weldd.C0 = CFrame.new()
  190. weldd.C1 = b.CFrame:inverse() * a.CFrame
  191. weldd.Parent = a
  192. return weldd
  193. end
  194.  
  195.  
  196. function QuaternionFromCFrame(cf)
  197. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  198. local trace = m00 + m11 + m22
  199. if trace > 0 then
  200. local s = math.sqrt(1 + trace)
  201. local recip = 0.5 / s
  202. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  203. else
  204. local i = 0
  205. if m11 > m00 then
  206. i = 1
  207. end
  208. if m22 > (i == 0 and m00 or m11) then
  209. i = 2
  210. end
  211. if i == 0 then
  212. local s = math.sqrt(m00 - m11 - m22 + 1)
  213. local recip = 0.5 / s
  214. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  215. elseif i == 1 then
  216. local s = math.sqrt(m11 - m22 - m00 + 1)
  217. local recip = 0.5 / s
  218. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  219. elseif i == 2 then
  220. local s = math.sqrt(m22 - m00 - m11 + 1)
  221. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  222. end
  223. end
  224. end
  225.  
  226. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  227. local xs, ys, zs = x + x, y + y, z + z
  228. local wx, wy, wz = w * xs, w * ys, w * zs
  229. local xx = x * xs
  230. local xy = x * ys
  231. local xz = x * zs
  232. local yy = y * ys
  233. local yz = y * zs
  234. local zz = z * zs
  235. 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))
  236. end
  237.  
  238. function QuaternionSlerp(a, b, t)
  239. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  240. local startInterp, finishInterp;
  241. if cosTheta >= 0.0001 then
  242. if (1 - cosTheta) > 0.0001 then
  243. local theta = ACOS(cosTheta)
  244. local invSinTheta = 1 / SIN(theta)
  245. startInterp = SIN((1 - t) * theta) * invSinTheta
  246. finishInterp = SIN(t * theta) * invSinTheta
  247. else
  248. startInterp = 1 - t
  249. finishInterp = t
  250. end
  251. else
  252. if (1 + cosTheta) > 0.0001 then
  253. local theta = ACOS(-cosTheta)
  254. local invSinTheta = 1 / SIN(theta)
  255. startInterp = SIN((t - 1) * theta) * invSinTheta
  256. finishInterp = SIN(t * theta) * invSinTheta
  257. else
  258. startInterp = t - 1
  259. finishInterp = t
  260. end
  261. end
  262. 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
  263. end
  264.  
  265. function Clerp(a, b, t)
  266. local qa = {QuaternionFromCFrame(a)}
  267. local qb = {QuaternionFromCFrame(b)}
  268. local ax, ay, az = a.x, a.y, a.z
  269. local bx, by, bz = b.x, b.y, b.z
  270. local _t = 1 - t
  271. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  272. end
  273.  
  274. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  275. local frame = IT("Frame")
  276. frame.BackgroundTransparency = TRANSPARENCY
  277. frame.BorderSizePixel = BORDERSIZEPIXEL
  278. frame.Position = POSITION
  279. frame.Size = SIZE
  280. frame.BackgroundColor3 = COLOR
  281. frame.BorderColor3 = BORDERCOLOR
  282. frame.Name = NAME
  283. frame.Parent = PARENT
  284. return frame
  285. end
  286.  
  287. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  288. local label = IT("TextLabel")
  289. label.BackgroundTransparency = 1
  290. label.Size = UD2(1, 0, 1, 0)
  291. label.Position = UD2(0, 0, 0, 0)
  292. label.TextColor3 = TEXTCOLOR
  293. label.TextStrokeTransparency = STROKETRANSPARENCY
  294. label.TextTransparency = TRANSPARENCY
  295. label.FontSize = TEXTFONTSIZE
  296. label.Font = TEXTFONT
  297. label.BorderSizePixel = BORDERSIZEPIXEL
  298. label.TextScaled = false
  299. label.Text = TEXT
  300. label.Name = NAME
  301. label.Parent = PARENT
  302. return label
  303. end
  304.  
  305. function NoOutlines(PART)
  306. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  307. end
  308.  
  309. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  310. local NEWWELD = IT(TYPE)
  311. NEWWELD.Part0 = PART0
  312. NEWWELD.Part1 = PART1
  313. NEWWELD.C0 = C0
  314. NEWWELD.C1 = C1
  315. NEWWELD.Parent = PARENT
  316. return NEWWELD
  317. end
  318.  
  319. local S = IT("Sound")
  320. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  321. local NEWSOUND = nil
  322. coroutine.resume(coroutine.create(function()
  323. NEWSOUND = S:Clone()
  324. NEWSOUND.Parent = PARENT
  325. NEWSOUND.Volume = VOLUME
  326. NEWSOUND.Pitch = PITCH
  327. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  328. NEWSOUND:play()
  329. if DOESLOOP == true then
  330. NEWSOUND.Looped = false
  331. else
  332. repeat wait(1) until NEWSOUND.Playing == false
  333. NEWSOUND:remove()
  334. end
  335. end))
  336. return NEWSOUND
  337. end
  338.  
  339. function CFrameFromTopBack(at, top, back)
  340. local right = top:Cross(back)
  341. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  342. end
  343.  
  344. function MakeForm(PART,TYPE)
  345. if TYPE == "Cyl" then
  346. local MSH = IT("CylinderMesh",PART)
  347. elseif TYPE == "Ball" then
  348. local MSH = IT("SpecialMesh",PART)
  349. MSH.MeshType = "Sphere"
  350. elseif TYPE == "Wedge" then
  351. local MSH = IT("SpecialMesh",PART)
  352. MSH.MeshType = "Wedge"
  353. end
  354. end
  355.  
  356. Debris = game:GetService("Debris")
  357.  
  358. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  359. local DIRECTION = CF(StartPos,EndPos).lookVector
  360. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  361. end
  362.  
  363. --//=================================\\
  364. --|| WEAPON CREATION
  365. --\\=================================//
  366.  
  367. Humanoid.Parent = nil
  368. RootPart.Size = RootPart.Size*SIZE
  369. Torso.Size = Torso.Size*SIZE
  370. RightArm.Size = RightArm.Size*SIZE
  371. RightLeg.Size = RightLeg.Size*SIZE
  372. LeftArm.Size = LeftArm.Size*SIZE
  373. LeftLeg.Size = LeftLeg.Size*SIZE
  374. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  375. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  376. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  377. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  378. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  379. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  380. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  381. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  382. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  383. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  384. Head.Size = Head.Size*SIZE
  385. RootJoint.Parent = RootPart
  386. Neck.Parent = Torso
  387. RightShoulder.Parent = Torso
  388. LeftShoulder.Parent = Torso
  389. RightHip.Parent = Torso
  390. LeftHip.Parent = Torso
  391.  
  392. local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1.4,1,0.2),false)
  393. MakeForm(PART,"Ball")
  394. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(0.45*SIZE,0.6*SIZE,-0.45*SIZE), CF(0, 0, 0))
  395. local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1.4,1,0.2),false)
  396. MakeForm(PART,"Ball")
  397. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(-0.45*SIZE,0.6*SIZE,-0.45*SIZE), CF(0, 0, 0))
  398. local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1,0.7,0.2),false)
  399. MakeForm(PART,"Ball")
  400. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(0.35*SIZE,0.15*SIZE,-0.45*SIZE), CF(0, 0, 0))
  401. local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1,0.7,0.2),false)
  402. MakeForm(PART,"Ball")
  403. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(-0.35*SIZE,0.15*SIZE,-0.45*SIZE), CF(0, 0, 0))
  404. local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(0.75,0.5,0.2),false)
  405. MakeForm(PART,"Ball")
  406. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(0.3*SIZE,-0.13*SIZE,-0.45*SIZE), CF(0, 0, 0))
  407. local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(0.75,0.5,0.2),false)
  408. MakeForm(PART,"Ball")
  409. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(-0.3*SIZE,-0.13*SIZE,-0.45*SIZE), CF(0, 0, 0))
  410.  
  411. Humanoid.Parent = Character
  412.  
  413. Humanoid.Died:connect(function()
  414. ATTACK = true
  415. end)
  416.  
  417. local TRACKFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Yeet")
  418.  
  419. local TEXT = CreateLabel(TRACKFRAME, KILLCOUNT, C3(1,0,0), 8, "SourceSans", 0, 2, 1, "Text")
  420.  
  421. --//=================================\\
  422. --|| DAMAGING
  423. --\\=================================//
  424.  
  425. local EXPLOSION = IT("Explosion",nil)
  426. EXPLOSION.BlastPressure = 0
  427. function PUNCH(Fist)
  428. TOUCH = Fist.Touched:Connect(function(hit)
  429. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  430. local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
  431. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  432. if TORSO and HUM.Health > 0 then
  433. CreateSound(296102734,Fist,6,1,false)
  434. CreateSound(12222242,TORSO,7,MRANDOM(8,14)/10,false)
  435. TORSO.Parent:BreakJoints()
  436. for _, c in pairs(TORSO.Parent:GetChildren()) do
  437. if c:IsA("BasePart") then
  438. local bv = Instance.new("BodyVelocity",c)
  439. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  440. bv.velocity = CF(TORSO.Position,c.Position+VT(0,0.1,0)).lookVector*MRANDOM(70,100)
  441. Debris:AddItem(bv,0.05)
  442. end
  443. end
  444. local BOOM = EXPLOSION:Clone()
  445. BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p
  446. BOOM.Parent = Character
  447. TOUCH:Disconnect()
  448. KILLCOUNT = KILLCOUNT + 1
  449. end
  450. elseif hit.Material == Enum.Material.Glass or hit.Transparency > 0.2 then
  451. hit:remove()
  452. CreateSound(296102734,Fist,6,1,false)
  453. local BOOM = EXPLOSION:Clone()
  454. BOOM.BlastPressure = 15
  455. BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p
  456. BOOM.Parent = Character
  457. elseif hit.Anchored == false then
  458. CreateSound(296102734,Fist,6,1,false)
  459. local BOOM = EXPLOSION:Clone()
  460. BOOM.BlastPressure = 70
  461. BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p
  462. BOOM.Parent = Character
  463. TOUCH:Disconnect()
  464. end
  465. end)
  466. return TOUCH
  467. end
  468.  
  469. --//=================================\\
  470. --|| ATTACK FUNCTIONS AND STUFF
  471. --\\=================================//
  472.  
  473. function Yeet()
  474. ATTACK = true
  475. Rooted = false
  476. if COMBO == 1 then
  477. COMBO = 2
  478. for i=0, 0.1, 0.1 / Animation_Speed do
  479. Swait()
  480. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / Animation_Speed)
  481. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 1 / Animation_Speed)
  482. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  483. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  484. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  485. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  486. end
  487. local FIST = PUNCH(LeftArm)
  488. for i=0, 0.15, 0.1 / Animation_Speed do
  489. Swait()
  490. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-45)), 1 / Animation_Speed)
  491. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(45)), 1 / Animation_Speed)
  492. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  493. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(25)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  494. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  495. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  496. end
  497. FIST:Disconnect()
  498. else
  499. COMBO = 1
  500. for i=0, 0.1, 0.1 / Animation_Speed do
  501. Swait()
  502. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / Animation_Speed)
  503. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  504. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  505. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  506. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  507. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  508. end
  509. local FIST = PUNCH(RightArm)
  510. for i=0, 0.15, 0.1 / Animation_Speed do
  511. Swait()
  512. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(45)), 1 / Animation_Speed)
  513. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  514. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  515. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  516. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  517. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  518. end
  519. FIST:Disconnect()
  520. end
  521. ATTACK = false
  522. Rooted = false
  523. end
  524.  
  525. function YesPlease()
  526. ATTACK = true
  527. Rooted = true
  528. CreateSound(291394633,Head,6,1,false)
  529. for i=0, 2, 0.1 / Animation_Speed do
  530. Swait()
  531. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.3*SIZE) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  532. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  533. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(2+(MRANDOM(-5,5)/100)*SIZE, (0.45+(MRANDOM(-5,5)/100))*SIZE, -0.5*SIZE) * ANGLES(RAD(75), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  534. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-2+(MRANDOM(-5,5)/100)*SIZE, (0.65+(MRANDOM(-5,5)/100))*SIZE, -0.5*SIZE) * ANGLES(RAD(65), RAD(0), RAD(65)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  535. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.85*SIZE, -0.6*SIZE) * ANGLES(RAD(25), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  536. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.85*SIZE, -0.6*SIZE) * ANGLES(RAD(25), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  537. end
  538. ATTACK = false
  539. Rooted = false
  540. end
  541.  
  542. --//=================================\\
  543. --|| ASSIGN THINGS TO KEYS
  544. --\\=================================//
  545.  
  546. Mouse.Button1Down:connect(function(NEWKEY)
  547. if ATTACK == false then
  548. Yeet()
  549. end
  550. end)
  551. Mouse.KeyDown:connect(function(NEWKEY)
  552. if NEWKEY == "t" and ATTACK == false then
  553. YesPlease()
  554. end
  555. end)
  556.  
  557. --//=================================\\
  558. --\\=================================//
  559.  
  560. function unanchor()
  561. if UNANCHOR == true then
  562. g = Character:GetChildren()
  563. for i = 1, #g do
  564. if g[i].ClassName == "Part" then
  565. g[i].Anchored = false
  566. end
  567. end
  568. end
  569. end
  570.  
  571. --//=================================\\
  572. --|| WRAP THE WHOLE SCRIPT UP
  573. --\\=================================//
  574.  
  575. Humanoid.Changed:connect(function(Jump)
  576. if Jump == "Jump" and (Disable_Jump == true) then
  577. Humanoid.Jump = false
  578. end
  579. end)
  580.  
  581. local FF = IT("ForceField",Character)
  582. FF.Visible = false
  583.  
  584. while true do
  585. Swait()
  586. script.Parent = WEAPONGUI
  587. ANIMATE.Parent = nil
  588. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  589. v:Stop();
  590. end
  591. SINE = SINE + CHANGE
  592. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  593. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  594. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  595. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  596. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  597. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 / Animation_Speed)
  598. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  599. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.5- 0.5 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  600. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.5+ 0.5 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  601. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  602. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  603. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  604. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  605. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  606. end
  607. if HITFLOOR == nil then
  608. ANIM = "Midair"
  609. if ATTACK == false then
  610. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  611. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  612. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(145), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  613. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.45*SIZE, 0.3*SIZE) * ANGLES(RAD(35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  614. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.2*SIZE, -0.7*SIZE) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
  615. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
  616. end
  617. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  618. ANIM = "Idle"
  619. if ATTACK == false then
  620. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  621. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  622. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55*SIZE, 0.5*SIZE, 0.1*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  623. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55*SIZE, 0.5*SIZE, 0.1*SIZE) * ANGLES(RAD(15), RAD(0), RAD(12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  624. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  625. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  626. end
  627. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  628. ANIM = "Walk"
  629. if ATTACK == false then
  630. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  631. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1/ Animation_Speed)
  632. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, (0.35+0.15 * COS(SINE / WALKSPEEDVALUE))*SIZE, 0*SIZE) * ANGLES(RAD(25+70 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  633. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, (0.35-0.15 * COS(SINE / WALKSPEEDVALUE))*SIZE, 0*SIZE) * ANGLES(RAD(25-70 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  634. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  635. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  636. end
  637. end
  638. unanchor()
  639. Humanoid.MaxHealth = 5e7
  640. Humanoid.Health = 5e7
  641. Humanoid.Name = "BigBoie"
  642. if Rooted == false then
  643. Disable_Jump = false
  644. Humanoid.WalkSpeed = Speed
  645. elseif Rooted == true then
  646. Disable_Jump = true
  647. Humanoid.WalkSpeed = 0
  648. end
  649. for _, c in pairs(Character:GetChildren()) do
  650. if c.ClassName == "Part" then
  651. c.Material = "SmoothPlastic"
  652. if c:FindFirstChildOfClass("ParticleEmitter") then
  653. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  654. end
  655. if c == Torso or c.Name == "Muscle" then
  656. c.BrickColor = BRICKC"Bright blue"
  657. elseif c == RightLeg or c == LeftLeg then
  658. c.BrickColor = BRICKC"Br. yellowish green"
  659. else
  660. c.BrickColor = BRICKC"Bright yellow"
  661. end
  662. if c == Head then
  663. if c:FindFirstChild("face") then
  664. c.face.Texture = "http://www.roblox.com/asset/?id=145914523"
  665. end
  666. end
  667. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  668. c:remove()
  669. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  670. c:remove()
  671. end
  672. end
  673. sick.SoundId = "rbxassetid://1383666704"
  674. sick.Looped = false
  675. sick.Pitch = (MRANDOM(95,115)/100)+0.2
  676. sick.Volume = 0
  677. sick:Resume()
  678. sick.Parent = Torso
  679. Humanoid.JumpPower = 150
  680. TEXT.Text = KILLCOUNT
  681. end
  682.  
  683. --//=================================\\
  684. --\\=================================//
  685.  
  686.  
  687.  
  688.  
  689.  
  690. --//====================================================\\--
  691. --|| END OF SCRIPT
  692. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement