Advertisement
SirMemz

Untitled

Jul 12th, 2018
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER|EDITED BY COMMON_SENSE
  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 = "Common Sense 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 = true
  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.  
  345. Debris = game:GetService("Debris")
  346.  
  347. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  348. local DIRECTION = CF(StartPos,EndPos).lookVector
  349. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  350. end
  351.  
  352. --//=================================\\
  353. --|| WEAPON CREATION
  354. --\\=================================//
  355.  
  356. Humanoid.Parent = nil
  357. RootPart.Size = RootPart.Size*SIZE
  358. Torso.Size = Torso.Size*SIZE
  359. RightArm.Size = RightArm.Size*SIZE
  360. RightLeg.Size = RightLeg.Size*SIZE
  361. LeftArm.Size = LeftArm.Size*SIZE
  362. LeftLeg.Size = LeftLeg.Size*SIZE
  363. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  364. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  365. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  366. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  367. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  368. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  369. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  370. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  371. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  372. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  373. Head.Size = Head.Size*SIZE
  374. RootJoint.Parent = RootPart
  375. Neck.Parent = Torso
  376. RightShoulder.Parent = Torso
  377. LeftShoulder.Parent = Torso
  378. RightHip.Parent = Torso
  379. LeftHip.Parent = Torso
  380.  
  381.  
  382. Humanoid.Parent = Character
  383.  
  384. Humanoid.Died:connect(function()
  385. ATTACK = true
  386. end)
  387.  
  388. 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")
  389.  
  390. local TEXT = CreateLabel(TRACKFRAME, KILLCOUNT, C3(1,0,0), 8, "SourceSans", 0, 2, 1, "Text")
  391.  
  392. --//=================================\\
  393. --|| DAMAGING
  394. --\\=================================//
  395.  
  396. local EXPLOSION = IT("Explosion",nil)
  397. EXPLOSION.BlastPressure = 0
  398. function PUNCH(Fist)
  399. TOUCH = Fist.Touched:Connect(function(hit)
  400. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  401. local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
  402. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  403. if TORSO and HUM.Health > 0 then
  404. CreateSound(525743689,Fist,6,1,false)
  405. CreateSound(12222242,TORSO,7,MRANDOM(8,14)/10,false)
  406. TORSO.Parent:BreakJoints()
  407. for _, c in pairs(TORSO.Parent:GetChildren()) do
  408. if c:IsA("BasePart") then
  409. local bv = Instance.new("BodyVelocity",c)
  410. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  411. bv.velocity = CF(TORSO.Position,c.Position+VT(0,0.1,0)).lookVector*MRANDOM(70,100)
  412. Debris:AddItem(bv,0.05)
  413. end
  414. end
  415. local BOOM = EXPLOSION:Clone()
  416. BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p
  417. BOOM.Parent = Character
  418. TOUCH:Disconnect()
  419. KILLCOUNT = KILLCOUNT + 1
  420. end
  421. elseif hit.Material == Enum.Material.Glass or hit.Transparency > 0.2 then
  422. hit:remove()
  423. CreateSound(525743689,Fist,6,1,false)
  424. local BOOM = EXPLOSION:Clone()
  425. BOOM.BlastPressure = 15
  426. BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p
  427. BOOM.Parent = Character
  428. elseif hit.Anchored == false then
  429. CreateSound(525743689,Fist,6,1,false)
  430. local BOOM = EXPLOSION:Clone()
  431. BOOM.BlastPressure = 70
  432. BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p
  433. BOOM.Parent = Character
  434. TOUCH:Disconnect()
  435. end
  436. end)
  437. return TOUCH
  438. end
  439.  
  440. --//=================================\\
  441. --|| ATTACK FUNCTIONS AND STUFF
  442. --\\=================================//
  443.  
  444. function Yeet()
  445. ATTACK = true
  446. Rooted = false
  447. if COMBO == 1 then
  448. COMBO = 2
  449. for i=0, 0.1, 0.1 / Animation_Speed do
  450. Swait()
  451. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / Animation_Speed)
  452. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 1 / Animation_Speed)
  453. 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)
  454. 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)
  455. 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)
  456. 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)
  457. end
  458. local FIST = PUNCH(LeftArm)
  459. for i=0, 0.15, 0.1 / Animation_Speed do
  460. Swait()
  461. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-45)), 1 / Animation_Speed)
  462. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(45)), 1 / Animation_Speed)
  463. 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)
  464. 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)
  465. 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)
  466. 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)
  467. end
  468. FIST:Disconnect()
  469. else
  470. COMBO = 1
  471. for i=0, 0.1, 0.1 / Animation_Speed do
  472. Swait()
  473. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / Animation_Speed)
  474. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  475. 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)
  476. 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)
  477. 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)
  478. 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)
  479. end
  480. local FIST = PUNCH(RightArm)
  481. for i=0, 0.15, 0.1 / Animation_Speed do
  482. Swait()
  483. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(45)), 1 / Animation_Speed)
  484. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  485. 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)
  486. 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)
  487. 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)
  488. 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)
  489. end
  490. FIST:Disconnect()
  491. end
  492. ATTACK = false
  493. Rooted = false
  494. end
  495.  
  496. function YesPlease()
  497. ATTACK = true
  498. Rooted = true
  499. CreateSound(135359832,Head,6,1,false)
  500. for i=0, 2, 0.1 / Animation_Speed do
  501. Swait()
  502. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.3*SIZE) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  503. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  504. 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)
  505. 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)
  506. 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)
  507. 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)
  508. end
  509. ATTACK = false
  510. Rooted = false
  511. end
  512.  
  513. --//=================================\\
  514. --|| ASSIGN THINGS TO KEYS
  515. --\\=================================//
  516.  
  517. Mouse.Button1Down:connect(function(NEWKEY)
  518. if ATTACK == false then
  519. Yeet()
  520. end
  521. end)
  522. Mouse.KeyDown:connect(function(NEWKEY)
  523. if NEWKEY == "t" and ATTACK == false then
  524. YesPlease()
  525. end
  526. end)
  527.  
  528. --//=================================\\
  529. --\\=================================//
  530.  
  531. function unanchor()
  532. if UNANCHOR == true then
  533. g = Character:GetChildren()
  534. for i = 1, #g do
  535. if g[i].ClassName == "Part" then
  536. g[i].Anchored = false
  537. end
  538. end
  539. end
  540. end
  541.  
  542. --//=================================\\
  543. --|| WRAP THE WHOLE SCRIPT UP
  544. --\\=================================//
  545.  
  546. Humanoid.Changed:connect(function(Jump)
  547. if Jump == "Jump" and (Disable_Jump == true) then
  548. Humanoid.Jump = false
  549. end
  550. end)
  551.  
  552. local FF = IT("ForceField",Character)
  553. FF.Visible = false
  554.  
  555. while true do
  556. Swait()
  557. script.Parent = WEAPONGUI
  558. ANIMATE.Parent = nil
  559. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  560. v:Stop();
  561. end
  562. SINE = SINE + CHANGE
  563. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  564. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  565. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  566. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  567. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  568. 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)
  569. 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)
  570. 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)
  571. 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)
  572. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  573. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  574. 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)
  575. 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)
  576. 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)
  577. end
  578. if HITFLOOR == nil then
  579. ANIM = "Midair"
  580. if ATTACK == false then
  581. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  582. 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)
  583. 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)
  584. 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)
  585. 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)
  586. 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)
  587. end
  588. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  589. ANIM = "Idle"
  590. if ATTACK == false then
  591. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  592. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  593. 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)
  594. 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)
  595. 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)
  596. 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)
  597. end
  598. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  599. ANIM = "Walk"
  600. if ATTACK == false then
  601. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  602. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1/ Animation_Speed)
  603. 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)
  604. 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)
  605. 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)
  606. 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)
  607. end
  608. end
  609. unanchor()
  610. Humanoid.MaxHealth = 5e7
  611. Humanoid.Health = 5e7
  612. Humanoid.Name = "BigBoie"
  613. if Rooted == false then
  614. Disable_Jump = false
  615. Humanoid.WalkSpeed = Speed
  616. elseif Rooted == true then
  617. Disable_Jump = true
  618. Humanoid.WalkSpeed = 0
  619. end
  620. for _, c in pairs(Character:GetChildren()) do
  621. if c.ClassName == "Part" then
  622. c.Material = "SmoothPlastic"
  623. if c:FindFirstChildOfClass("ParticleEmitter") then
  624. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  625. end
  626. if c == Torso or c.Name == "Muscle" then
  627. c.BrickColor = BRICKC"White"
  628. elseif c == RightLeg or c == LeftLeg then
  629. c.BrickColor = BRICKC"White"
  630. else
  631. c.BrickColor = BRICKC"White"
  632. end
  633. if c == Head then
  634. if c:FindFirstChild("face") then
  635. c.face.Texture = "http://www.roblox.com/asset/?id=181425983"
  636. end
  637. end
  638. elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
  639. c:remove()
  640. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants")then
  641. c:remove()
  642. end
  643. end
  644. sick.SoundId = "rbxassetid://332169109"
  645. sick.Looped = true
  646. sick.Pitch = 1
  647. sick.Volume = 3
  648. sick:Resume()
  649. sick.Parent = Torso
  650. Humanoid.JumpPower = 150
  651. TEXT.Text = KILLCOUNT
  652. end
  653.  
  654. --//=================================\\
  655. --\\=================================//
  656.  
  657.  
  658.  
  659.  
  660.  
  661. --//====================================================\\--
  662. --|| END OF SCRIPT
  663. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement