Advertisement
Im_Meme

Some What Tiny Boi

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